aboutsummaryrefslogtreecommitdiff
path: root/dist/css/bootstrap.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-08 14:23:34 -0700
committerMark Otto <[email protected]>2014-07-08 14:23:34 -0700
commit8582659d5ced017aa50c03cf59594daccdf7073d (patch)
treeed4ea1dabfeede75d3a0ed2fe3a3b27d9b8f4fba /dist/css/bootstrap.css
parentb33b208ce1398752fc8342ce995d504419942c18 (diff)
downloadbootstrap-8582659d5ced017aa50c03cf59594daccdf7073d.tar.xz
bootstrap-8582659d5ced017aa50c03cf59594daccdf7073d.zip
Refactor: drop .dropdown .caret for a generated caret using .dropdown-toggle:after
Diffstat (limited to 'dist/css/bootstrap.css')
-rw-r--r--dist/css/bootstrap.css23
1 files changed, 12 insertions, 11 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css
index 9576931e0..5aa77f5cf 100644
--- a/dist/css/bootstrap.css
+++ b/dist/css/bootstrap.css
@@ -2515,18 +2515,19 @@ tbody.collapse.in {
-o-transition: height .35s ease;
transition: height .35s ease;
}
-.caret {
+.dropdown {
+ position: relative;
+}
+.dropdown-toggle:after {
display: inline-block;
width: 0;
height: 0;
- margin-left: 2px;
+ margin-left: .25rem;
vertical-align: middle;
- border-top: 4px solid;
- border-right: 4px solid transparent;
- border-left: 4px solid transparent;
-}
-.dropdown {
- position: relative;
+ content: "";
+ border-top: .25rem solid;
+ border-right: .25rem solid transparent;
+ border-left: .25rem solid transparent;
}
.dropdown-toggle:focus {
outline: 0;
@@ -2633,7 +2634,7 @@ tbody.collapse.in {
.navbar-fixed-bottom .dropdown .caret {
content: "";
border-top: 0;
- border-bottom: 4px solid;
+ border-bottom: .25rem solid;
}
.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
@@ -2748,11 +2749,11 @@ tbody.collapse.in {
margin-left: 0;
}
.btn-lg .caret {
- border-width: 5px 5px 0;
+ border-width: .25rem .25rem 0;
border-bottom-width: 0;
}
.dropup .btn-lg .caret {
- border-width: 0 5px 5px;
+ border-width: 0 .25rem .25rem;
}
.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group,