fixes #9063: add var for navbar border radius
This commit is contained in:
parent
52266cfdcd
commit
11e46845b2
|
@ -710,6 +710,8 @@ base_url: "../"
|
||||||
<input type="text" class="form-control" placeholder="#777">
|
<input type="text" class="form-control" placeholder="#777">
|
||||||
<label>@navbar-bg</label>
|
<label>@navbar-bg</label>
|
||||||
<input type="text" class="form-control" placeholder="#eee">
|
<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>
|
<h4>Links</h4>
|
||||||
<label>@navbar-link-color</label>
|
<label>@navbar-link-color</label>
|
||||||
<input type="text" class="form-control" placeholder="#777">
|
<input type="text" class="form-control" placeholder="#777">
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
padding-left: @navbar-padding-horizontal;
|
padding-left: @navbar-padding-horizontal;
|
||||||
padding-right: @navbar-padding-horizontal;
|
padding-right: @navbar-padding-horizontal;
|
||||||
background-color: @navbar-bg;
|
background-color: @navbar-bg;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @navbar-border-radius;
|
||||||
|
|
||||||
// Prevent floats from breaking the navbar
|
// Prevent floats from breaking the navbar
|
||||||
.clearfix();
|
.clearfix();
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
height: 34px;
|
height: 34px;
|
||||||
width: 48px;
|
width: 48px;
|
||||||
.navbar-vertical-align(34px);
|
.navbar-vertical-align(34px);
|
||||||
padding: @padding-base-vertical @padding-base-horizontal;
|
padding: @padding-base-vertical @padding-base-horizontal;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: 1px solid @navbar-toggle-border-color;
|
border: 1px solid @navbar-toggle-border-color;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
|
|
|
@ -219,6 +219,7 @@
|
||||||
@navbar-height: 50px;
|
@navbar-height: 50px;
|
||||||
@navbar-color: #777;
|
@navbar-color: #777;
|
||||||
@navbar-bg: #eee;
|
@navbar-bg: #eee;
|
||||||
|
@navbar-border-radius: @border-radius-base;
|
||||||
@navbar-padding-horizontal: floor(@grid-gutter-width / 2); // ~15px
|
@navbar-padding-horizontal: floor(@grid-gutter-width / 2); // ~15px
|
||||||
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue