mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-23 05:33:02 +02:00
Use .list-group-item-action for list group item variant (#25338)
This commit is contained in:
@@ -4,21 +4,18 @@
|
|||||||
.list-group-item-#{$state} {
|
.list-group-item-#{$state} {
|
||||||
color: $color;
|
color: $color;
|
||||||
background-color: $background;
|
background-color: $background;
|
||||||
}
|
|
||||||
|
|
||||||
a.list-group-item-#{$state},
|
&.list-group-item-action {
|
||||||
button.list-group-item-#{$state} {
|
@include hover-focus {
|
||||||
color: $color;
|
color: $color;
|
||||||
|
background-color: darken($background, 5%);
|
||||||
|
}
|
||||||
|
|
||||||
@include hover-focus {
|
&.active {
|
||||||
color: $color;
|
color: #fff;
|
||||||
background-color: darken($background, 5%);
|
background-color: $color;
|
||||||
}
|
border-color: $color;
|
||||||
|
}
|
||||||
&.active {
|
|
||||||
color: #fff;
|
|
||||||
background-color: $color;
|
|
||||||
border-color: $color;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user