Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop .caret #21525

Merged
merged 1 commit into from
Jan 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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