1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-28 15:50:01 +02:00

Consistently use :disabled rather than [disabled] selector (#25317)

Closes https://github.com/twbs/bootstrap/issues/25316
This commit is contained in:
Patrick H. Lauke
2018-01-15 20:51:01 +00:00
committed by GitHub
parent fa3de5cbd8
commit 1f490ec165
5 changed files with 11 additions and 11 deletions

View File

@@ -33,8 +33,8 @@
border-color: $border;
}
&:not([disabled]):not(.disabled):active,
&:not([disabled]):not(.disabled).active,
&:not(:disabled):not(.disabled):active,
&:not(:disabled):not(.disabled).active,
.show > &.dropdown-toggle {
color: color-yiq($active-background);
background-color: $active-background;
@@ -77,8 +77,8 @@
background-color: transparent;
}
&:not([disabled]):not(.disabled):active,
&:not([disabled]):not(.disabled).active,
&:not(:disabled):not(.disabled):active,
&:not(:disabled):not(.disabled).active,
.show > &.dropdown-toggle {
color: color-yiq($active-background);
background-color: $active-background;