mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Active state overrides contextual list-item styles
This commit is contained in:
parent
0c2055ef38
commit
693915d127
12
dist/css/bootstrap.css
vendored
12
dist/css/bootstrap.css
vendored
@ -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;
|
||||
}
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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%);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user