aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2018-06-03 18:25:17 +0100
committerGitHub <[email protected]>2018-06-03 18:25:17 +0100
commit4f1bb98587411d6db16783ea116ff6d5d8f8fa49 (patch)
tree664a9ec69c98302040275a38d70ce0736531deb4 /scss
parenta79b8aa16ab5fa5c71a91425d8464f0bdcd3fe37 (diff)
downloadbootstrap-4f1bb98587411d6db16783ea116ff6d5d8f8fa49.tar.xz
bootstrap-4f1bb98587411d6db16783ea116ff6d5d8f8fa49.zip
Limit .close hover/focus to non-disabled controls (#26654)
Diffstat (limited to 'scss')
-rw-r--r--scss/_close.scss15
1 files changed, 8 insertions, 7 deletions
diff --git a/scss/_close.scss b/scss/_close.scss
index 871cb08fd..a0dd1e2af 100644
--- a/scss/_close.scss
+++ b/scss/_close.scss
@@ -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;
}
}