Skip to content

Commit

Permalink
Drop .carete (twbs#21525)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy authored and mdo committed Jan 4, 2017
1 parent acea0b4 commit 2ea7e38
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 30 deletions.
16 changes: 0 additions & 16 deletions scss/_button-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,22 +128,6 @@
}


// 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
//
Expand Down
7 changes: 0 additions & 7 deletions scss/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,6 @@
// 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;
Expand Down
6 changes: 0 additions & 6 deletions scss/_print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,6 @@
.navbar {
display: none;
}
.btn,
.dropup > .btn {
> .caret {
border-top-color: #000 !important;
}
}
.badge {
border: $border-width solid #000;
}
Expand Down
1 change: 0 additions & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2ea7e38

Please sign in to comment.