mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 16:14:04 +02:00
Limit .close hover/focus to non-disabled controls (#26654)
This commit is contained in:
@@ -7,14 +7,15 @@
|
|||||||
text-shadow: $close-text-shadow;
|
text-shadow: $close-text-shadow;
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
|
|
||||||
@include hover-focus {
|
|
||||||
color: $close-color;
|
|
||||||
text-decoration: none;
|
|
||||||
opacity: .75;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Opinionated: add "hand" cursor to non-disabled .close elements
|
|
||||||
&:not(:disabled):not(.disabled) {
|
&:not(:disabled):not(.disabled) {
|
||||||
|
|
||||||
|
@include hover-focus {
|
||||||
|
color: $close-color;
|
||||||
|
text-decoration: none;
|
||||||
|
opacity: .75;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Opinionated: add "hand" cursor to non-disabled .close elements
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user