mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +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:
+3
-4
@@ -332,12 +332,11 @@
|
||||
// Horizontal dividers
|
||||
// -------------------------
|
||||
// Dividers (basically an hr) within dropdowns and nav lists
|
||||
.nav-divider(@top: #e5e5e5, @bottom: #fff) {
|
||||
height: 2px; // 1px for background, one for border
|
||||
.nav-divider(@color: #e5e5e5) {
|
||||
height: 1px;
|
||||
margin: ((@line-height-computed / 2) - 1) 0;
|
||||
overflow: hidden;
|
||||
background-color: @top;
|
||||
border-bottom: 1px solid @bottom;
|
||||
background-color: @color;
|
||||
}
|
||||
|
||||
// Alerts
|
||||
|
||||
Reference in New Issue
Block a user