Commit 7735bfe3 authored by Mark Otto's avatar Mark Otto

Merge pull request #16224 from vsn4ik/fix_theme_disabled_btn

Fix theme.css .btn[disabled] styles.
parents 9c0bd376 d6acfd3e
...@@ -28,6 +28,12 @@ ...@@ -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,11 +59,18 @@ ...@@ -53,11 +59,18 @@
} }
&.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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment