1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

more navbar variables

This commit is contained in:
Mark Otto 2016-05-13 08:15:48 -07:00
parent 745e37a325
commit c6c0522598
2 changed files with 6 additions and 3 deletions

View file

@ -87,8 +87,8 @@
.navbar-divider {
float: left;
width: $border-width;
padding-top: .425rem;
padding-bottom: .425rem;
padding-top: $navbar-divider-padding-y;
padding-bottom: $navbar-divider-padding-y;
margin-right: $navbar-padding-x;
margin-left: $navbar-padding-x;
overflow: hidden;
@ -105,7 +105,7 @@
// Bootstrap JavaScript plugin.
.navbar-toggler {
padding: .5rem .75rem;
padding: $navbar-toggler-padding-y $navbar-toggler-padding-x;
font-size: $navbar-toggler-font-size;
line-height: 1;
background: none;

View file

@ -477,8 +477,11 @@ $zindex-modal: 1050 !default;
$navbar-border-radius: $border-radius !default;
$navbar-padding-x: $spacer !default;
$navbar-padding-y: ($spacer / 2) !default;
$navbar-brand-padding-y: .25rem !default;
$navbar-divider-padding-y: .425rem !default;
$navbar-toggler-font-size: $font-size-lg !default;
$navbar-toggler-border-radius: $btn-border-radius !default;