From: Patrick H. Lauke Date: Sun, 3 Jun 2018 17:25:17 +0000 (+0100) Subject: Limit .close hover/focus to non-disabled controls (#26654) X-Git-Tag: v4.1.2~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f1bb98587411d6db16783ea116ff6d5d8f8fa49;p=thirdparty%2Fbootstrap.git Limit .close hover/focus to non-disabled controls (#26654) --- 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; } }