mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
new @component-active-bg variable
This commit is contained in:
parent
674768b177
commit
5c601e7ac2
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user