0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Fix theme.css .btn[disabled] styles.

This commit is contained in:
vsn4ik 2015-04-04 13:18:16 +03:00
parent f76d1a0e87
commit d6acfd3ef4

View File

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