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

View File

@ -5511,32 +5511,32 @@ a.thumbnail.active {
margin-right: 5px;
}
.list-group > .list-group-item.success {
.list-group-item.success {
background-color: #dff0d8;
border-color: #d6e9c6;
}
.list-group > .list-group-item.success:hover {
.list-group-item.success:hover {
background-color: #d0e9c6;
border-color: #c9e2b3;
}
.list-group > .list-group-item.danger {
.list-group-item.danger {
background-color: #f2dede;
border-color: #ebccd1;
}
.list-group > .list-group-item.danger:hover {
.list-group-item.danger:hover {
background-color: #ebcccc;
border-color: #e4b9c0;
}
.list-group > .list-group-item.warning {
.list-group-item.warning {
background-color: #fcf8e3;
border-color: #faebcc;
}
.list-group > .list-group-item.warning:hover {
.list-group-item.warning:hover {
background-color: #faf2cc;
border-color: #f7e1b5;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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%);
}