Skip to content

Commit

Permalink
Revisions to message/segment shadows, fixes for emotive colors, espec…
Browse files Browse the repository at this point in the history
…ially headers on warning/info/etc
  • Loading branch information
jlukic committed Aug 11, 2014
1 parent d813776 commit d9aa41e
Show file tree
Hide file tree
Showing 105 changed files with 1,548 additions and 1,501 deletions.
9 changes: 3 additions & 6 deletions build/examples/homepage.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,11 @@ p a {

.masthead.segment {
background-image: url(images/bg.jpg);
-webkit-background-size: cover;
background-size: cover;
background-size: cover;
margin: 0em;
padding-top: 4rem;
overflow: hidden;
-webkit-box-shadow: 0 -20px 10px 0 rgba(0, 0, 0, 0.1) inset !important;
box-shadow: 0 -20px 10px 0 rgba(0, 0, 0, 0.1) inset !important;
box-shadow: 0 -20px 10px 0 rgba(0, 0, 0, 0.1) inset !important;
}

.masthead.segment .column {
Expand Down Expand Up @@ -149,8 +147,7 @@ p a {
}

.masthead.segment {
-webkit-background-size: auto auto;
background-size: auto;
background-size: auto;
}

.masthead.segment .information {
Expand Down
30 changes: 24 additions & 6 deletions build/less/definitions/collections/menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}

/*--------------
Colors
Colors
---------------*/

/* Text Color */
Expand Down Expand Up @@ -156,6 +156,15 @@
margin-bottom: 0;
}

/*--------------
Icons
---------------*/

.ui.menu .item > i.icon {
opacity: @iconOpacity;
float: @iconFloat;
margin: @iconMargin;
}

/*--------------
Button
Expand Down Expand Up @@ -385,6 +394,11 @@
font-weight: @activeFontWeight;
box-shadow: 0em @activeBorderSize 0em inset;
}
.ui.menu .active.item > i.icon {
opacity: @activeIconOpacity;
}

/* Vertical */
.ui.vertical.menu .active.item {
background: @activeBackground;
border-radius: 0em;
Expand All @@ -399,7 +413,6 @@
.ui.vertical.menu > .active.item:only-child {
border-radius: 0em @borderRadius @borderRadius 0em;
}

.ui.vertical.menu .active.item .menu .active.item {
border-left: none;
}
Expand All @@ -408,6 +421,7 @@
box-shadow: none;
}


/*--------------
Active Hover
---------------*/
Expand Down Expand Up @@ -461,6 +475,7 @@
background: @verticalBackground;
}

/*--- Item ---*/
.ui.vertical.menu .item {
background: @verticalItemBackground;
display: block;
Expand All @@ -476,18 +491,21 @@
border-radius: 0px 0px @borderRadius @borderRadius;
}

/*--- Label ---*/
.ui.vertical.menu .item > .label {
float: right;
text-align: center;
}

/*--- Icon ---*/
.ui.vertical.menu .item > i.icon {
float: right;
width: @iconWidth;
margin: 0em 0em 0em @iconMargin;
float: @verticalIconFloat;
margin: @verticalIconMargin;
}
.ui.vertical.menu .item > .label + i.icon {
float: none;
margin: 0em @iconLabelMargin 0em 0em;
float: @labelAndIconFloat;
margin: @labelAndIconMargin;
}

/*--- Border ---*/
Expand Down
1 change: 1 addition & 0 deletions build/less/definitions/collections/message.less
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
.ui.bottom.attached.message {
margin-top: @attachedOffset;
border-radius: 0em 0em @borderRadius @borderRadius;
box-shadow: @attachedBottomBoxShadow;
}
.ui.bottom.attached.message:not(:last-child) {
margin-bottom: @verticalMargin;
Expand Down
61 changes: 29 additions & 32 deletions build/less/definitions/elements/segment.less
Original file line number Diff line number Diff line change
Expand Up @@ -251,41 +251,41 @@
Colors
--------------------*/

.ui.black.segment {
.ui.black.segment:not(.inverted) {
border-top: @coloredBorderSize solid @black;
border-radius: @coloredBorderRadius;
border-raidus: @coloredBorderRadius !important;
}
.ui.blue.segment {
.ui.blue.segment:not(.inverted) {
border-top: @coloredBorderSize solid @blue;
border-radius: @coloredBorderRadius;
border-raidus: @coloredBorderRadius !important;
}
.ui.green.segment {
.ui.green.segment:not(.inverted) {
border-top: @coloredBorderSize solid @green;
border-radius: @coloredBorderRadius;
border-raidus: @coloredBorderRadius !important;
}
.ui.orange.segment {
.ui.orange.segment:not(.inverted) {
border-top: @coloredBorderSize solid @orange;
border-radius: @coloredBorderRadius;
border-raidus: @coloredBorderRadius !important;
}
.ui.pink.segment {
.ui.pink.segment:not(.inverted) {
border-top: @coloredBorderSize solid @pink;
border-radius: @coloredBorderRadius;
border-raidus: @coloredBorderRadius !important;
}
.ui.purple.segment {
.ui.purple.segment:not(.inverted) {
border-top: @coloredBorderSize solid @purple;
border-radius: @coloredBorderRadius;
border-raidus: @coloredBorderRadius !important;
}
.ui.red.segment {
.ui.red.segment:not(.inverted) {
border-top: @coloredBorderSize solid @red;
border-radius: @coloredBorderRadius;
border-raidus: @coloredBorderRadius !important;
}
.ui.teal.segment {
.ui.teal.segment:not(.inverted) {
border-top: @coloredBorderSize solid @teal;
border-radius: @coloredBorderRadius;
border-raidus: @coloredBorderRadius !important;
}
.ui.yellow.segment {
.ui.yellow.segment:not(.inverted) {
border-top: @coloredBorderSize solid @yellow;
border-radius: @coloredBorderRadius;
border-raidus: @coloredBorderRadius !important;
}

/*-------------------
Expand Down Expand Up @@ -388,23 +388,21 @@
--------------------*/

.ui.secondary.segment {
background-color: @secondaryBackground;
background: @secondaryBackground;
color: @secondaryColor;
}

.ui.tertiary.segment {
background-color: @tertiaryBackground;
background: @tertiaryBackground;
color: @textColor;
}

.ui.secondary.inverted.segment {
background-color: @black;
background-image: @secondaryInvertedBackground;
background: @secondaryInvertedBackground;
color: @secondaryInvertedColor;
}
.ui.tertiary.inverted.segment {
background-color: @black;
background-image: @tertiaryInvertedColor;
background: @tertiaryInvertedBackground;
color: @tertiaryInvertedColor;
}

Expand All @@ -414,16 +412,16 @@
--------------------*/

.ui.segment.attached {
top: -1px;
bottom: -1px;
top: @attachedTopOffset;
bottom: @attachedBottomOffset;
margin: 0em;
border-radius: 0px;
box-shadow: 0px 0px 0px 1px @solidBorderColor;
box-shadow: @attachedBoxShadow;
}

.ui.top.attached.segment {
top: 0px;
bottom: -1px;
bottom: @attachedBottomOffset;

margin-top: @margin;
margin-bottom: 0em;
Expand All @@ -434,13 +432,12 @@
}

.ui.segment.bottom.attached {
top: -1px;
top: @attachedTopOffset;
bottom: 0px;

margin-top: 0em;
margin-bottom: @margin;

border-radius: 0px 0px @borderRadius @borderRadius;
box-shadow: @attachedBottomBoxShadow;
border-radius: 0em 0em @borderRadius @borderRadius;
}
.ui.segment.bottom.attached:last-child {
margin-bottom: 0em;
Expand Down
Loading

0 comments on commit d9aa41e

Please sign in to comment.