addressing #9189 manually, part 6: add a navbar margin var, but avoid the navbar-nav var because that should really be customizable

This commit is contained in:
Mark Otto 2013-08-11 18:32:52 -07:00
parent e9650f51bf
commit c2cfd3153b
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@
.navbar {
position: relative;
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
margin-bottom: 20px;
margin-bottom: @navbar-margin-bottom;
padding-left: @navbar-padding-horizontal;
padding-right: @navbar-padding-horizontal;
background-color: @navbar-bg;

View File

@ -232,6 +232,7 @@
@navbar-height: 50px;
@navbar-color: #777;
@navbar-bg: #eee;
@navbar-margin-bottom: @line-height-computed;
@navbar-border-radius: @border-radius-base;
@navbar-padding-horizontal: floor(@grid-gutter-width / 2);
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);