]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Drop .carete (#21525)
authorQuy <quy@fluxbb.org>
Wed, 4 Jan 2017 03:31:27 +0000 (19:31 -0800)
committerMark Otto <markd.otto@gmail.com>
Wed, 4 Jan 2017 03:31:27 +0000 (19:31 -0800)
scss/_button-group.scss
scss/_dropdown.scss
scss/_print.scss
scss/_variables.scss

index af3c486692fb3abacaadecf2889adc305c05ff0e..584ed151377cea71f96024e198def3ce8feaff81 100644 (file)
 }
 
 
-// Reposition the caret
-.btn .caret {
-  margin-left: 0;
-}
-// Carets in other button sizes
-.btn-lg .caret {
-  border-width: $caret-width-lg $caret-width-lg 0;
-  border-bottom-width: 0;
-}
-// Upside down carets for .dropup
-.dropup .btn-lg .caret {
-  border-width: 0 $caret-width-lg $caret-width-lg;
-}
-
-
-
 //
 // Vertical button groups
 //
index 9638b81712deae2afb2ea14d62bfb7246fe05d01..1c9c4f2352744d09ae7279be991ba7e0b3982cde 100644 (file)
 // Just add .dropup after the standard .dropdown class and you're set.
 
 .dropup {
-  // Reverse the caret
-  .caret {
-    content: "";
-    border-top: 0;
-    border-bottom: $caret-width solid;
-  }
-
   // Different positioning for bottom up menu
   .dropdown-menu {
     top: auto;
index e77ac1dbac0d14c806c4a663b8b2419c17a38c7a..e20219a38bd7c8924fb7013d278b608afe6b3a5e 100644 (file)
     .navbar {
       display: none;
     }
-    .btn,
-    .dropup > .btn {
-      > .caret {
-        border-top-color: #000 !important;
-      }
-    }
     .badge {
       border: $border-width solid #000;
     }
index 44e4d57370050681bfe2f8930f422009e5e830c2..56d1c87a8b4820f694fda4dc711970686b5c4e22 100644 (file)
@@ -329,7 +329,6 @@ $component-active-color: $white !default;
 $component-active-bg:    $brand-primary !default;
 
 $caret-width:            .3em !default;
-$caret-width-lg:         $caret-width !default;
 
 $transition-base:        all .2s ease-in-out !default;
 $transition-fade:        opacity .15s linear !default;