1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 08:34:08 +02:00

Limit .close hover/focus to non-disabled controls (#26654)

This commit is contained in:
Patrick H. Lauke
2018-06-03 18:25:17 +01:00
committed by GitHub
parent a79b8aa16a
commit 4f1bb98587

View File

@@ -7,6 +7,8 @@
text-shadow: $close-text-shadow;
opacity: .5;
&:not(:disabled):not(.disabled) {
@include hover-focus {
color: $close-color;
text-decoration: none;
@@ -14,7 +16,6 @@
}
// Opinionated: add "hand" cursor to non-disabled .close elements
&:not(:disabled):not(.disabled) {
cursor: pointer;
}
}