Permalink
Browse files

Combine duplicate gradients

There are still some outstanding dupes between differend sheets that are
outstanding
  • Loading branch information...
nschonni committed Feb 9, 2013
1 parent 4626fad commit 1d5fca6efc6fa45a59b4be11f19ad773c70c4fba
@@ -38,15 +38,18 @@
}
}
%grid-button-color-button-accent {
@include color-button($accent);
}
/* added for Firefox, Chrome, Safari to default submit buttons to blue */
input[type="button"] {
@include color-button($accent);
@extend %grid-button-color-button-accent;
}
/* without line 29 the buttons would not be coloured in IE, move to fixes? */
input, button, a, summary {
&.button-accent {
@include color-button($accent);
@extend %grid-button-color-button-accent;
}
&.button-dark {
@include color-button($dark);
@@ -15,6 +15,11 @@
height: 20px;
margin: 0 0 10px 0
}
%slider-gradient-left-89A5BD-165C91 {
@include background-image(linear-gradient(left, #89A5BD, #165c91));
}
.fd-slider-vertical {
width: 20px;
height: 100%;
@@ -37,7 +42,7 @@
bottom: 11px;
left: 9px;
background-color: #165c91;
@include background-image(linear-gradient(left, #89A5BD, #165c91));
@extend %slider-gradient-left-89A5BD-165C91;
}
.fd-slider-disabled {
.fd-slider-bar {
@@ -111,7 +116,7 @@
overflow: hidden;
line-height: 2px;
background-color: #165c91;
@include background-image(linear-gradient(left, #89A5BD, #165c91));
@extend %slider-gradient-left-89A5BD-165C91;
@include border-radius(2px);
@include background-clip(padding-box);
}
@@ -315,6 +315,10 @@ table {
margin: 0;
}
%gcwu-default-linear-gradient-606060-333333 {
@include background-image(linear-gradient(#606060, #333333));
}
%gcwu-default-mobile-monster { //TODO: better name
width: 50%;
float: right;
@@ -325,7 +329,7 @@ table {
@include background-image(linear-gradient(#444444, #2D2D2D));
&:hover, &:focus, &:active {
background-color: #444444;
@include background-image(linear-gradient(#606060, #333333));
@extend %gcwu-default-linear-gradient-606060-333333;
}
color: #fff;
text-align: center;
@@ -355,7 +359,7 @@ table {
a {
&.ui-btn-active {
background-color: #444444;
@include background-image(linear-gradient(#606060, #333333));
@extend %gcwu-default-linear-gradient-606060-333333;
border: 1px solid #000;
border-right: none;
}

0 comments on commit 1d5fca6

Please sign in to comment.