mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08:22 +01:00
Drop .carete (#21525)
This commit is contained in:
parent
acea0b4cc2
commit
2ea7e388e7
@ -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
|
// Vertical button groups
|
||||||
//
|
//
|
||||||
|
@ -152,13 +152,6 @@
|
|||||||
// Just add .dropup after the standard .dropdown class and you're set.
|
// Just add .dropup after the standard .dropdown class and you're set.
|
||||||
|
|
||||||
.dropup {
|
.dropup {
|
||||||
// Reverse the caret
|
|
||||||
.caret {
|
|
||||||
content: "";
|
|
||||||
border-top: 0;
|
|
||||||
border-bottom: $caret-width solid;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Different positioning for bottom up menu
|
// Different positioning for bottom up menu
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
top: auto;
|
top: auto;
|
||||||
|
@ -95,12 +95,6 @@
|
|||||||
.navbar {
|
.navbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.btn,
|
|
||||||
.dropup > .btn {
|
|
||||||
> .caret {
|
|
||||||
border-top-color: #000 !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.badge {
|
.badge {
|
||||||
border: $border-width solid #000;
|
border: $border-width solid #000;
|
||||||
}
|
}
|
||||||
|
@ -329,7 +329,6 @@ $component-active-color: $white !default;
|
|||||||
$component-active-bg: $brand-primary !default;
|
$component-active-bg: $brand-primary !default;
|
||||||
|
|
||||||
$caret-width: .3em !default;
|
$caret-width: .3em !default;
|
||||||
$caret-width-lg: $caret-width !default;
|
|
||||||
|
|
||||||
$transition-base: all .2s ease-in-out !default;
|
$transition-base: all .2s ease-in-out !default;
|
||||||
$transition-fade: opacity .15s linear !default;
|
$transition-fade: opacity .15s linear !default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user