Fix theme.css .btn[disabled] styles.

This commit is contained in:
vsn4ik 2015-04-04 13:18:16 +03:00
parent f76d1a0e87
commit d6acfd3ef4
1 changed files with 17 additions and 4 deletions

View File

@ -28,6 +28,12 @@
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
}
&.disabled,
&[disabled],
fieldset[disabled] & {
.box-shadow(none);
}
.badge {
text-shadow: none;
}
@ -53,10 +59,17 @@
}
&.disabled,
&:disabled,
&[disabled] {
background-color: darken(@btn-color, 12%);
background-image: none;
&[disabled],
fieldset[disabled] & {
&,
&:hover,
&:focus,
&.focus,
&:active,
&.active {
background-color: darken(@btn-color, 12%);
background-image: none;
}
}
}