1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-11 08:04:59 +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,14 +7,15 @@
text-shadow: $close-text-shadow;
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) {
@include hover-focus {
color: $close-color;
text-decoration: none;
opacity: .75;
}
// Opinionated: add "hand" cursor to non-disabled .close elements
cursor: pointer;
}
}