Rename some .open to .show (#22389)

* no more outline overrides
* rename old .open to .show
This commit is contained in:
Mark Otto 2017-04-08 16:30:18 -07:00 committed by GitHub
parent 0c59741812
commit 2dfffbde89
2 changed files with 6 additions and 12 deletions

View File

@ -79,12 +79,6 @@
@include border-left-radius(0); @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 // Sizing
// //
@ -119,8 +113,8 @@
// The clickable button for toggling the menu // The clickable button for toggling the menu
// Remove the gradient and set the same inset shadow as the :active state // Set the same inset shadow as the :active state
.btn-group.open .dropdown-toggle { .btn-group.show .dropdown-toggle {
@include box-shadow($btn-active-box-shadow); @include box-shadow($btn-active-box-shadow);
// Show no shadow for `.btn-link` since it has no other button styles. // Show no shadow for `.btn-link` since it has no other button styles.

View File

@ -216,9 +216,9 @@
} }
} }
.open > .nav-link, .show > .nav-link,
.active > .nav-link, .active > .nav-link,
.nav-link.open, .nav-link.show,
.nav-link.active { .nav-link.active {
color: $navbar-light-active-color; color: $navbar-light-active-color;
} }
@ -261,9 +261,9 @@
} }
} }
.open > .nav-link, .show > .nav-link,
.active > .nav-link, .active > .nav-link,
.nav-link.open, .nav-link.show,
.nav-link.active { .nav-link.active {
color: $navbar-inverse-active-color; color: $navbar-inverse-active-color;
} }