aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-03-31 12:16:16 -0700
committerMark Otto <[email protected]>2013-03-31 12:16:16 -0700
commit5c601e7ac24f916e31c7506e07f0a34b8442eba0 (patch)
tree78b80a1c25547ccad061deb5750ac7d57baa9b60
parent674768b1775a135a4ed66f299795d8221dc89982 (diff)
downloadbootstrap-5c601e7ac24f916e31c7506e07f0a34b8442eba0.tar.xz
bootstrap-5c601e7ac24f916e31c7506e07f0a34b8442eba0.zip
new @component-active-bg variable
-rw-r--r--less/navs.less2
-rw-r--r--less/variables.less8
2 files changed, 6 insertions, 4 deletions
diff --git a/less/navs.less b/less/navs.less
index ed41b8cb4..47e564e83 100644
--- a/less/navs.less
+++ b/less/navs.less
@@ -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
diff --git a/less/variables.less b/less/variables.less
index 2552c8e90..2d2756b55 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -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
// -------------------------
@@ -137,7 +139,7 @@
@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;