X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=scss%2Fbootstrap%2Fmixins%2F_list-group.scss;fp=scss%2Fbootstrap%2Fmixins%2F_list-group.scss;h=cd47a4e9fa86d1468055d65fc88146e92bd073c7;hb=8430d6a060aeeb59f6bfd733e3abbae2927f4b25;hp=0000000000000000000000000000000000000000;hpb=40df769531f3a9fc7d9567586a8c0aa26964771a;p=roojs1 diff --git a/scss/bootstrap/mixins/_list-group.scss b/scss/bootstrap/mixins/_list-group.scss new file mode 100644 index 0000000000..cd47a4e9fa --- /dev/null +++ b/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; + } + } + } +}