]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Rename some .open to .show (#22389)
authorMark Otto <markd.otto@gmail.com>
Sat, 8 Apr 2017 23:30:18 +0000 (16:30 -0700)
committerGitHub <noreply@github.com>
Sat, 8 Apr 2017 23:30:18 +0000 (16:30 -0700)
* no more outline overrides
* rename old .open to .show

scss/_button-group.scss
scss/_navbar.scss

index af74a55f1c7d076a7c50f7a113b1e0cb9f35ace8..d4c79ab60b457b643d75a8acd5d2b40225ec7c38 100644 (file)
   @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
 //
 
 
 // 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.
index 854e7df12adbbde774145f9d013b4cc2dd7389cb..419d9263ad7053c7b4646619b1ef3714e2181ea8 100644 (file)
       }
     }
 
-    .open > .nav-link,
+    .show > .nav-link,
     .active > .nav-link,
-    .nav-link.open,
+    .nav-link.show,
     .nav-link.active {
       color: $navbar-light-active-color;
     }
       }
     }
 
-    .open > .nav-link,
+    .show > .nav-link,
     .active > .nav-link,
-    .nav-link.open,
+    .nav-link.show,
     .nav-link.active {
       color: $navbar-inverse-active-color;
     }