0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00

Use .list-group-item-action for list group item variant (#25338)

This commit is contained in:
ysds 2018-01-18 08:36:57 +09:00 committed by XhmikosR
parent 4c96f58e31
commit b1a754863e

View File

@ -4,21 +4,18 @@
.list-group-item-#{$state} {
color: $color;
background-color: $background;
}
a.list-group-item-#{$state},
button.list-group-item-#{$state} {
color: $color;
&.list-group-item-action {
@include hover-focus {
color: $color;
background-color: darken($background, 5%);
}
@include hover-focus {
color: $color;
background-color: darken($background, 5%);
}
&.active {
color: #fff;
background-color: $color;
border-color: $color;
&.active {
color: #fff;
background-color: $color;
border-color: $color;
}
}
}
}