2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Update dropdown vars

* Update `.nav-divider` mixin to simplify to a 1px line (one value
instead of two in parametric mixin)
* Rename and consolidate dropdown caret vars
* Add vars to Customizer
This commit is contained in:
Mark Otto
2013-07-23 23:18:53 -07:00
parent cdf6019e11
commit 398038c798
4 changed files with 13 additions and 16 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px solid @caret-border-top-color;
border-top: 4px solid @dropdown-caret-color;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
content: "";
@@ -45,7 +45,7 @@
// Dividers (basically an hr) within the dropdown
.divider {
.nav-divider(@dropdown-divider-top, @dropdown-divider-bottom);
.nav-divider(@dropdown-divider-bg);
}
// Links within the dropdown menu
@@ -159,7 +159,7 @@
// Reverse the caret
.caret {
border-top: 0;
border-bottom: 4px solid @dropup-caret-border-color;
border-bottom: 4px solid @dropdown-caret-color;
content: "";
}
// Different positioning for bottom up menu