mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 06:44:35 +02:00
more nesting in .list-group-item-variant mixin
This commit is contained in:
@@ -443,23 +443,24 @@
|
|||||||
.list-group-item-@{state} {
|
.list-group-item-@{state} {
|
||||||
color: @color;
|
color: @color;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
}
|
|
||||||
a.list-group-item-@{state} {
|
|
||||||
color: @color;
|
|
||||||
|
|
||||||
.list-group-item-heading { color: inherit; }
|
a& {
|
||||||
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
color: @color;
|
color: @color;
|
||||||
background-color: darken(@background, 5%);
|
|
||||||
}
|
.list-group-item-heading { color: inherit; }
|
||||||
&.active,
|
|
||||||
&.active:hover,
|
&:hover,
|
||||||
&.active:focus {
|
&:focus {
|
||||||
color: #fff;
|
color: @color;
|
||||||
background-color: @color;
|
background-color: darken(@background, 5%);
|
||||||
border-color: @color;
|
}
|
||||||
|
&.active,
|
||||||
|
&.active:hover,
|
||||||
|
&.active:focus {
|
||||||
|
color: #fff;
|
||||||
|
background-color: @color;
|
||||||
|
border-color: @color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user