2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Active state overrides contextual list-item styles

This commit is contained in:
Max Edmands
2013-10-16 22:55:40 -07:00
parent 0c2055ef38
commit 693915d127
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -451,13 +451,13 @@
// List Groups
// -------------------------
.list-group-item-variant(@state; @background; @border) {
.list-group > .list-group-item.@{state} {
.list-group-item.@{state} {
background-color: @background;
border-color: @border;
}
// Hover states
.list-group > .list-group-item.@{state}:hover {
.list-group-item.@{state}:hover {
background-color: darken(@background, 5%);
border-color: darken(@border, 5%);
}