}
// Opinionated: add "hand" cursor to non-disabled .btn elements
- &:not([disabled]):not(.disabled) {
+ &:not(:disabled):not(.disabled) {
cursor: pointer;
}
- &:not([disabled]):not(.disabled):active,
- &:not([disabled]):not(.disabled).active {
+ &:not(:disabled):not(.disabled):active,
+ &:not(:disabled):not(.disabled).active {
background-image: none;
@include box-shadow($btn-active-box-shadow);
// Future-proof disabling of clicks on `<a>` elements
a.btn.disabled,
-fieldset[disabled] a.btn {
+fieldset:disabled a.btn {
pointer-events: none;
}
}
// Opinionated: add "hand" cursor to non-disabled .close elements
- &:not([disabled]):not(.disabled) {
+ &:not(:disabled):not(.disabled) {
cursor: pointer;
}
}
}
// Opinionated: add "hand" cursor to non-disabled .navbar-toggler elements
- &:not([disabled]):not(.disabled) {
+ &:not(:disabled):not(.disabled) {
cursor: pointer;
}
}
}
// Opinionated: add "hand" cursor to non-disabled .page-link elements
- &:not([disabled]):not(.disabled) {
+ &:not(:disabled):not(.disabled) {
cursor: pointer;
}
}
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;
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;