2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03: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
+8 -7
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;
}
}