Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2018-06-03 20:25:17 +0300
committerGitHub <noreply@github.com>2018-06-03 20:25:17 +0300
commit4f1bb98587411d6db16783ea116ff6d5d8f8fa49 (patch)
tree664a9ec69c98302040275a38d70ce0736531deb4 /scss/_close.scss
parenta79b8aa16ab5fa5c71a91425d8464f0bdcd3fe37 (diff)
Limit .close hover/focus to non-disabled controls (#26654)
Diffstat (limited to 'scss/_close.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 871cb08fd8..a0dd1e2af1 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;
}
}