1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 17:14:04 +02:00

new @component-active-bg variable

This commit is contained in:
Mark Otto
2013-03-31 12:16:16 -07:00
parent 674768b177
commit 5c601e7ac2
2 changed files with 6 additions and 4 deletions

View File

@@ -91,7 +91,7 @@
.nav-pills > .active > a:hover, .nav-pills > .active > a:hover,
.nav-pills > .active > a:focus { .nav-pills > .active > a:focus {
color: #fff; color: #fff;
background-color: @link-color; background-color: @component-active-bg;
} }
// Stacked pills // Stacked pills

View File

@@ -34,7 +34,7 @@
// Links // Links
// ------------------------- // -------------------------
@link-color: #428bca; @link-color: @brand-primary;
@link-color-hover: darken(@link-color, 15%); @link-color-hover: darken(@link-color, 15%);
// Typography // Typography
@@ -56,7 +56,7 @@
@headings-font-weight: 500; @headings-font-weight: 500;
// Component sizing // Components
// ------------------------- // -------------------------
// Based on 14px font-size and 1.5 line-height // Based on 14px font-size and 1.5 line-height
@@ -68,6 +68,8 @@
@border-radius-large: 6px; @border-radius-large: 6px;
@border-radius-small: 3px; @border-radius-small: 3px;
@component-active-bg: @brand-primary;
// Tables // Tables
// ------------------------- // -------------------------
@@ -137,7 +139,7 @@
@dropdown-link-color-hover: #fff; @dropdown-link-color-hover: #fff;
@dropdown-link-color-active: #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; @dropdown-link-background-hover: @dropdown-link-background-active;