aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuy <[email protected]>2017-01-03 19:31:27 -0800
committerMark Otto <[email protected]>2017-01-03 19:31:27 -0800
commit2ea7e388e7d180d8251e01d0905a694a779d16d0 (patch)
tree847b0e942069c52c588de6d27865222afd0e3ef0
parentacea0b4cc2b513baf240c737af8f8cfd99ae87ab (diff)
downloadbootstrap-2ea7e388e7d180d8251e01d0905a694a779d16d0.tar.xz
bootstrap-2ea7e388e7d180d8251e01d0905a694a779d16d0.zip
Drop .carete (#21525)
-rw-r--r--scss/_button-group.scss16
-rw-r--r--scss/_dropdown.scss7
-rw-r--r--scss/_print.scss6
-rw-r--r--scss/_variables.scss1
4 files changed, 0 insertions, 30 deletions
diff --git a/scss/_button-group.scss b/scss/_button-group.scss
index af3c48669..584ed1513 100644
--- a/scss/_button-group.scss
+++ b/scss/_button-group.scss
@@ -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
//
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index 9638b8171..1c9c4f235 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -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;
diff --git a/scss/_print.scss b/scss/_print.scss
index e77ac1dba..e20219a38 100644
--- a/scss/_print.scss
+++ b/scss/_print.scss
@@ -95,12 +95,6 @@
.navbar {
display: none;
}
- .btn,
- .dropup > .btn {
- > .caret {
- border-top-color: #000 !important;
- }
- }
.badge {
border: $border-width solid #000;
}
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 44e4d5737..56d1c87a8 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -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;