From b1a754863e4a80e0182d9783a0af84540c51d03b Mon Sep 17 00:00:00 2001 From: ysds Date: Thu, 18 Jan 2018 08:36:57 +0900 Subject: [PATCH] Use .list-group-item-action for list group item variant (#25338) --- scss/mixins/_list-group.scss | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/scss/mixins/_list-group.scss b/scss/mixins/_list-group.scss index 278787bbed..607ffcb86b 100644 --- a/scss/mixins/_list-group.scss +++ b/scss/mixins/_list-group.scss @@ -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; + } } } }