]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #9063: add var for navbar border radius
authorMark Otto <otto@github.com>
Mon, 5 Aug 2013 07:47:23 +0000 (00:47 -0700)
committerMark Otto <otto@github.com>
Mon, 5 Aug 2013 07:47:23 +0000 (00:47 -0700)
customize.html
less/navbar.less
less/variables.less

index 08092d7632adf69c5a1120d4c717699edd43dcf8..fcff581929d0dc307deaafedb20fa8e304115020 100644 (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">
index ccd75517d65a7271ad2bb36b3711aabf33f689b5..9429a1dd062ef7c8cfbeffbf7ff46bb3b13d0cfd 100644 (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();
   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;
index b8c7cf6c85b6d9e47e111576a6012dae5637b272..5824578744ffc5bf4be1834d79a788a67d629ce1 100644 (file)
 @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);