]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
new @component-active-bg variable
authorMark Otto <otto@github.com>
Sun, 31 Mar 2013 19:16:16 +0000 (12:16 -0700)
committerMark Otto <otto@github.com>
Sun, 31 Mar 2013 19:16:16 +0000 (12:16 -0700)
less/navs.less
less/variables.less

index ed41b8cb4722864e1eb1967832222f933b2946ff..47e564e83d9d22aa14dc2bbfacc9c7c9776839f5 100644 (file)
@@ -91,7 +91,7 @@
 .nav-pills > .active > a:hover,
 .nav-pills > .active > a:focus {
   color: #fff;
-  background-color: @link-color;
+  background-color: @component-active-bg;
 }
 
 // Stacked pills
index 2552c8e9059f59c97ae22cc0e57a5d387d5bd389..2d2756b55316fefd0637982526bbe42f332ef1f0 100644 (file)
@@ -34,7 +34,7 @@
 // Links
 // -------------------------
 
-@link-color:            #428bca;
+@link-color:            @brand-primary;
 @link-color-hover:      darken(@link-color, 15%);
 
 // Typography
@@ -56,7 +56,7 @@
 @headings-font-weight:    500;
 
 
-// Component sizing
+// Components
 // -------------------------
 // Based on 14px font-size and 1.5 line-height
 
@@ -68,6 +68,8 @@
 @border-radius-large:     6px;
 @border-radius-small:     3px;
 
+@component-active-bg:            @brand-primary;
+
 
 // Tables
 // -------------------------
 @dropdown-link-color-hover:      #fff;
 @dropdown-link-color-active:     #fff;
 
-@dropdown-link-background-active:  @link-color;
+@dropdown-link-background-active:  @component-active-bg;
 @dropdown-link-background-hover:   @dropdown-link-background-active;