Skip to content

Commit

Permalink
Use .list-group-item-action for list group item variant (#25338)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysds authored and XhmikosR committed Jan 17, 2018
1 parent 4c96f58 commit b1a7548
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions scss/mixins/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

@include hover-focus {
color: $color;
background-color: darken($background, 5%);
}
&.list-group-item-action {
@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;
}
}
}
}

0 comments on commit b1a7548

Please sign in to comment.