Skip to content

Commit

Permalink
Updated component to version 2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Semantic-Pusher-Robot committed Jul 17, 2015
1 parent d93c553 commit b48652b
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 25 deletions.
6 changes: 6 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### Version 2.0.4 - July 17, 2015

- **Segment** - Added additional variables for `inverted` segment.
- **Segment* - `horizontal segments` in IE will no longer stretch to the natural width of child imgs [#2550](https://github.com/Semantic-Org/Semantic-UI/issues/2550) [flexbug [#1](h](https://github.com/Semantic-Org/Semantic-UI/issues/1](h)ttps://github.com/philipwalton/flexbugs[#1-mi](https://github.com/Semantic-Org/Semantic-UI/issues/1-mi)nimum-content-sizing-of-flex-items-not-honored)
- **Menu/Segment/Table** - Consolidated `attached` logic for all components using attached. [#2599](https://github.com/Semantic-Org/Semantic-UI/issues/2599)

### Version 2.0.1 - July 6, 2015

- **Segment** - Fixed incorrect margin set on `attached segment` [#2503](https://github.com/Semantic-Org/Semantic-UI/issues/2503)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"framework"
],
"license": "MIT",
"version": "2.0.3"
"version": "2.0.4"
}
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Package.describe({
name : 'semantic:ui-segment',
summary : 'Semantic UI - Segment: Single component release',
version : '2.0.3',
version : '2.0.4',
git : 'git://github.com/Semantic-Org/UI-Segment.git',
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "semantic-ui-segment",
"version": "2.0.3",
"version": "2.0.4",
"title": "Semantic UI - Segment",
"description": "Single component release of segment",
"homepage": "http://www.semantic-ui.com",
Expand Down
47 changes: 27 additions & 20 deletions segment.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.0.3 - Segment
* # Semantic UI 2.0.4 - Segment
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -16,7 +16,7 @@

.ui.segment {
position: relative;
background-color: #ffffff;
background: #ffffff;
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
margin: 1rem 0em;
padding: 1em 1em;
Expand All @@ -35,7 +35,7 @@
margin: 0em;
padding-left: 0em;
padding-right: 0em;
background-color: transparent;
background: none transparent;
border-radius: 0px;
box-shadow: none;
border: none;
Expand Down Expand Up @@ -180,7 +180,7 @@
bottom: -3px;
left: 0%;
border-top: 1px solid rgba(34, 36, 38, 0.15);
background-color: rgba(0, 0, 0, 0.03);
background: rgba(0, 0, 0, 0.03);
width: 100%;
height: 6px;
visibility: visible;
Expand Down Expand Up @@ -314,7 +314,7 @@
bottom: 0px;
margin-top: 0em;
margin-bottom: 0em;
box-shadow: none, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
}

Expand Down Expand Up @@ -365,8 +365,10 @@
.ui.horizontal.segments > .segment {
-webkit-box-flex: 1;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-ms-flex: 1 1 0px;

/* Solves #2550 MS Flex */
margin: 0em;
min-width: 0px;
background-color: transparent;
Expand Down Expand Up @@ -646,18 +648,21 @@
border: none;
box-shadow: none;
}
.ui.inverted.segment,
.ui.primary.inverted.segment {
background: #1b1c1d;
color: rgba(255, 255, 255, 0.9);
}

/* Nested */
.ui.inverted.segment .segment {
color: rgba(0, 0, 0, 0.87);
}
.ui.inverted.segment .inverted.segment {
color: #ffffff;
}
.ui.inverted.segment,
.ui.primary.inverted.segment {
background-color: #1b1c1d;
color: #ffffff;
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.block.segment,

/* Attached */
.ui.inverted.attached.segment {
border-color: #555555;
}
Expand Down Expand Up @@ -693,26 +698,28 @@
Attached
--------------------*/

.ui.segment.attached {

/* Middle */
.ui.attached.segment {
top: 0px;
bottom: 0px;
border-radius: 0px;
margin: 0em -1px;
width: calc(100% + 2px );
max-width: calc(100% + 2px );
border-radius: 0px;
box-shadow: none;
border: 1px solid #d4d4d5;
}
.ui.segment.attached + .ui.segment.attached:not(.top) {
.ui.attached + .ui.attached.segment:not(.top) {
border-top: none;
}

/* Top */
.ui[class*="top attached"].segment {
top: 0px;
bottom: 0px;
margin-top: 1rem;
margin-bottom: 0em;
top: 0px;
margin-top: 1rem;
border-radius: 0.28571429rem 0.28571429rem 0em 0em;
}
.ui.segment[class*="top attached"]:first-child {
Expand All @@ -721,11 +728,11 @@

/* Bottom */
.ui.segment[class*="bottom attached"] {
top: 0px;
bottom: 0px;
margin-top: 0em;
top: 0px;
margin-bottom: 1rem;
box-shadow: none, 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
}
.ui.segment[class*="bottom attached"]:last-child {
Expand Down
4 changes: 2 additions & 2 deletions segment.min.css

Large diffs are not rendered by default.

0 comments on commit b48652b

Please sign in to comment.