mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Introduce $nav-item-margin variable
[skip sauce]
This commit is contained in:
parent
223e3505ce
commit
de9ad37c5d
@ -57,7 +57,7 @@
|
||||
margin-bottom: -1px;
|
||||
|
||||
+ .nav-item {
|
||||
margin-left: .2rem;
|
||||
margin-left: $nav-item-margin;
|
||||
}
|
||||
}
|
||||
|
||||
@ -102,7 +102,7 @@
|
||||
float: left;
|
||||
|
||||
+ .nav-item {
|
||||
margin-left: .2rem;
|
||||
margin-left: $nav-item-margin;
|
||||
}
|
||||
}
|
||||
|
||||
@ -128,7 +128,7 @@
|
||||
float: none;
|
||||
|
||||
+ .nav-item {
|
||||
margin-top: .2rem;
|
||||
margin-top: $nav-item-margin;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
@ -363,6 +363,8 @@ $navbar-light-disabled-color: rgba(0,0,0,.15) !default;
|
||||
|
||||
// Navs
|
||||
|
||||
$nav-item-margin: .2rem !default;
|
||||
|
||||
$nav-link-padding: .5em 1em !default;
|
||||
$nav-link-hover-bg: $gray-lighter !default;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user