diff options
Diffstat (limited to 'themes/docsy/assets/vendor/bootstrap/scss/mixins/_list-group.scss')
-rw-r--r-- | themes/docsy/assets/vendor/bootstrap/scss/mixins/_list-group.scss | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/themes/docsy/assets/vendor/bootstrap/scss/mixins/_list-group.scss b/themes/docsy/assets/vendor/bootstrap/scss/mixins/_list-group.scss new file mode 100644 index 0000000..cd47a4e --- /dev/null +++ b/themes/docsy/assets/vendor/bootstrap/scss/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; + } + } + } +} |