2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

[disabled] => :disabled

:disabled is supported in IE9+ and all modern browsers
This commit is contained in:
Chris Rebert
2014-12-22 13:33:58 -08:00
parent 497b05c1be
commit 5b03c9ad63
4 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -43,7 +43,7 @@
}
&.disabled,
&[disabled],
&:disabled,
fieldset[disabled] & {
pointer-events: none; // Future-proof disabling of clicks
cursor: $cursor-disabled;
@@ -88,7 +88,7 @@
&,
&:active,
&.active,
&[disabled],
&:disabled,
fieldset[disabled] & {
background-color: transparent;
@include box-shadow(none);
@@ -105,7 +105,7 @@
text-decoration: underline;
background-color: transparent;
}
&[disabled],
&:disabled,
fieldset[disabled] & {
&:hover,
&:focus {