diff options
Diffstat (limited to 'themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_list-group.scss')
-rwxr-xr-x | themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_list-group.scss | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_list-group.scss b/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_list-group.scss new file mode 100755 index 0000000..cd47a4e --- /dev/null +++ b/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_list-group.scss @@ -0,0 +1,21 @@ +// List Groups + +@mixin list-group-item-variant($state, $background, $color) { + .list-group-item-#{$state} { + color: $color; + background-color: $background; + + &.list-group-item-action { + @include hover-focus { + color: $color; + background-color: darken($background, 5%); + } + + &.active { + color: $white; + background-color: $color; + border-color: $color; + } + } + } +} |