From 00c9709fd9763542e848f6278db8ba26af5c9886 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 15 Oct 2018 23:46:42 +0200 Subject: Initial commit. --- src/sass/bootstrap4/mixins/_list-group.scss | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/sass/bootstrap4/mixins/_list-group.scss (limited to 'src/sass/bootstrap4/mixins/_list-group.scss') diff --git a/src/sass/bootstrap4/mixins/_list-group.scss b/src/sass/bootstrap4/mixins/_list-group.scss new file mode 100644 index 0000000..cd47a4e --- /dev/null +++ b/src/sass/bootstrap4/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; + } + } + } +} -- cgit v1.2.3