aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--customize.html2
-rw-r--r--less/navbar.less4
-rw-r--r--less/variables.less1
3 files changed, 5 insertions, 2 deletions
diff --git a/customize.html b/customize.html
index 08092d763..fcff58192 100644
--- a/customize.html
+++ b/customize.html
@@ -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">
diff --git a/less/navbar.less b/less/navbar.less
index ccd75517d..9429a1dd0 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -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;
diff --git a/less/variables.less b/less/variables.less
index b8c7cf6c8..582457874 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -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);