From: Mark Otto Date: Sat, 8 Apr 2017 23:30:18 +0000 (-0700) Subject: Rename some .open to .show (#22389) X-Git-Tag: v4.0.0-beta~147^2~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dfffbde89b1f8483dce560513f3ab97e6a17e86;p=thirdparty%2Fbootstrap.git Rename some .open to .show (#22389) * no more outline overrides * rename old .open to .show --- diff --git a/scss/_button-group.scss b/scss/_button-group.scss index af74a55f1c..d4c79ab60b 100644 --- a/scss/_button-group.scss +++ b/scss/_button-group.scss @@ -79,12 +79,6 @@ @include border-left-radius(0); } -// On active and open, don't show outline -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} - // Sizing // @@ -119,8 +113,8 @@ // The clickable button for toggling the menu -// Remove the gradient and set the same inset shadow as the :active state -.btn-group.open .dropdown-toggle { +// Set the same inset shadow as the :active state +.btn-group.show .dropdown-toggle { @include box-shadow($btn-active-box-shadow); // Show no shadow for `.btn-link` since it has no other button styles. diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 854e7df12a..419d9263ad 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -216,9 +216,9 @@ } } - .open > .nav-link, + .show > .nav-link, .active > .nav-link, - .nav-link.open, + .nav-link.show, .nav-link.active { color: $navbar-light-active-color; } @@ -261,9 +261,9 @@ } } - .open > .nav-link, + .show > .nav-link, .active > .nav-link, - .nav-link.open, + .nav-link.show, .nav-link.active { color: $navbar-inverse-active-color; }