Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
adding bg colors to buttons for gradient-less folks (bug 668152)
Browse files Browse the repository at this point in the history
  • Loading branch information
potch committed Jul 6, 2011
1 parent a747f7e commit 935b916
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion media/css/impala/buttons.less
Expand Up @@ -11,6 +11,7 @@
text-decoration: none;
color: #fff;
cursor: pointer;
background: #5784BF;
.gradient-two-color(#669BE1, #5784BF);
text-shadow: 0 1px 0 rgba(0,0,0,.5);
.border-radius(6px);
Expand All @@ -25,6 +26,7 @@
.box-shadow(0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset);
}
&.add { // Green
background: #489615;
.gradient-two-color(#84C63C, #489615);
color: #fff;
span {
Expand Down Expand Up @@ -59,6 +61,7 @@
}
&.disabled,
&.concealed {
background: #c1c5ca;
.gradient-two-color(#d1d4d7, #c1c5ca);
color: #919497;
.box-shadow(0 3px rgba(0, 0, 0, 0.05), 0 -4px rgba(0, 0, 0, 0.05) inset);
Expand All @@ -78,7 +81,8 @@
}
}
&.developer { // Red
background: -moz-linear-gradient(#f84b4e, #bc2b1a);
background: #bc2b1a;
.gradient-two-color(#f84b4e, #bc2b1a);
color: #fff;
span {
margin-left: -4px;
Expand Down

0 comments on commit 935b916

Please sign in to comment.