fixes #9063: add var for navbar border radius

This commit is contained in:
Mark Otto 2013-08-05 00:47:23 -07:00
parent 52266cfdcd
commit 11e46845b2
3 changed files with 5 additions and 2 deletions

View File

@ -710,6 +710,8 @@ base_url: "../"
<input type="text" class="form-control" placeholder="#777">
<label>@navbar-bg</label>
<input type="text" class="form-control" placeholder="#eee">
<label>@navbar-border-radius</label>
<input type="text" class="form-control" placeholder="@border-radius-base">
<h4>Links</h4>
<label>@navbar-link-color</label>
<input type="text" class="form-control" placeholder="#777">

View File

@ -10,7 +10,7 @@
padding-left: @navbar-padding-horizontal;
padding-right: @navbar-padding-horizontal;
background-color: @navbar-bg;
border-radius: @border-radius-base;
border-radius: @navbar-border-radius;
// Prevent floats from breaking the navbar
.clearfix();
@ -121,7 +121,7 @@
height: 34px;
width: 48px;
.navbar-vertical-align(34px);
padding: @padding-base-vertical @padding-base-horizontal;
padding: @padding-base-vertical @padding-base-horizontal;
background-color: transparent;
border: 1px solid @navbar-toggle-border-color;
border-radius: @border-radius-base;

View File

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