mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 21:49:09 +01:00
move badges inline properties to variables.less
This commit is contained in:
parent
95be924926
commit
b37127e2fc
@ -10,7 +10,7 @@
|
||||
padding: 3px 7px;
|
||||
font-size: @font-size-small;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
color: @badge-color;
|
||||
line-height: 1;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
@ -28,7 +28,7 @@
|
||||
a.badge {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: #fff;
|
||||
color: @badge-link-hover-color;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
@ -44,7 +44,7 @@ a.badge {
|
||||
a.list-group-item.active > .badge,
|
||||
.nav-pills > .active > a > .badge {
|
||||
color: @link-color;
|
||||
background-color: #fff;
|
||||
background-color: @active-badge-bg-color;
|
||||
}
|
||||
.nav-pills > li > a > .badge {
|
||||
margin-left: 3px;
|
||||
|
@ -14,6 +14,10 @@
|
||||
|
||||
@accordion-group-border-color: @color-1;
|
||||
|
||||
@active-badge-bg-color: @color-2;
|
||||
@badge-link-hover-color: @color-2;
|
||||
@badge-color: @color-2;
|
||||
|
||||
// Grays
|
||||
// -------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user