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