remove gradient & box-shadow on buttons

This commit is contained in:
Régis Hanol 2014-02-12 20:06:49 -08:00
parent a86002f582
commit c5c6986f02

View file

@ -48,25 +48,22 @@ button {
color: $primary;
font-weight: normal;
background: lighten($primary_lighter, 10%);
&[href] {
color: $btn-default-color;
}
&:hover
{
&:hover {
background: #aaa;
color: #fff;
}
&:active {
@include linear-gradient( darken(#aaa, 8%), #aaa);
@include box-shadow(inset 0 1px 3px rgba($primary, 0.2));
}
&[disabled] {
background: $btn-default-background-color;
@include box-shadow(inset 0 -1px 2px rgba($primary, 0.2));
&:hover { color: $primary; }
cursor: not-allowed;
}
}
// Buttons used in admin panel
@ -82,25 +79,18 @@ button {
border: none;
color: $secondary;
font-weight: normal;
color: #fff;
background: $btn-primary-background-color;
&[href] {
color: $secondary;
}
&:hover
{
&:hover {
color: #fff;
background: darken($btn-primary-background-color, 12%);
}
&:active {
@include linear-gradient(darken($btn-primary-background-color, 18%), darken($btn-primary-background-color, 12%));
@include box-shadow(inset 0 1px 3px rgba($primary, 0.2));
color: #fff;
}
&[disabled] {
@ -122,11 +112,10 @@ button {
background: $btn-danger-background-color-dark;
}
&:active {
@include linear-gradient($btn-primary-background-color-dark, $btn-primary-background-color);
@include box-shadow(inset 0 1px 3px rgba($primary, 0.2));
@include linear-gradient($btn-danger-background-color-dark, $btn-danger-background-color);
}
&[disabled] {
background: $btn-danger-background-color;
}
}