Commit 693915d1 authored by Max Edmands's avatar Max Edmands

Active state overrides contextual list-item styles

parent 0c2055ef
......@@ -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;
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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%);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment