From 3ea39841c8049525e31e9f4d6300f0c60cdb42de Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 24 Jan 2023 13:33:51 +0100 Subject: Adding upstream version 5.2.3+dfsg. Signed-off-by: Daniel Baumann --- scss/mixins/_list-group.scss | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 scss/mixins/_list-group.scss (limited to 'scss/mixins/_list-group.scss') diff --git a/scss/mixins/_list-group.scss b/scss/mixins/_list-group.scss new file mode 100644 index 0000000..e55415f --- /dev/null +++ b/scss/mixins/_list-group.scss @@ -0,0 +1,24 @@ +// List Groups + +// scss-docs-start list-group-mixin +@mixin list-group-item-variant($state, $background, $color) { + .list-group-item-#{$state} { + color: $color; + background-color: $background; + + &.list-group-item-action { + &:hover, + &:focus { + color: $color; + background-color: shade-color($background, 10%); + } + + &.active { + color: $white; + background-color: $color; + border-color: $color; + } + } + } +} +// scss-docs-end list-group-mixin -- cgit v1.2.3