From d42c8b528eb595101954f478e0024e3f079f6fbf Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 22 Mar 2017 19:19:26 +0100 Subject: first implementation of fun stats site --- .../assets/bootstrap/scss/mixins/_list-group.scss | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 templates/assets/bootstrap/scss/mixins/_list-group.scss (limited to 'templates/assets/bootstrap/scss/mixins/_list-group.scss') diff --git a/templates/assets/bootstrap/scss/mixins/_list-group.scss b/templates/assets/bootstrap/scss/mixins/_list-group.scss new file mode 100644 index 0000000..ba27b50 --- /dev/null +++ b/templates/assets/bootstrap/scss/mixins/_list-group.scss @@ -0,0 +1,26 @@ +// List Groups + +@mixin list-group-item-variant($state, $background, $color) { + .list-group-item-#{$state} { + color: $color; + background-color: $background; + } + + //scss-lint:disable QualifyingElement + a.list-group-item-#{$state}, + button.list-group-item-#{$state} { + color: $color; + + @include hover-focus { + color: $color; + background-color: darken($background, 5%); + } + + &.active { + color: #fff; + background-color: $color; + border-color: $color; + } + } + // scss-lint:enable QualifyingElement +} -- cgit v1.3.1