diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-22 19:19:26 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-22 19:19:26 +0100 |
| commit | d42c8b528eb595101954f478e0024e3f079f6fbf (patch) | |
| tree | 61a528cf94f1f6941f4683ae8736a4a0135c035e /templates/assets/bootstrap/scss/mixins/_list-group.scss | |
| download | minionlivesmatter-d42c8b528eb595101954f478e0024e3f079f6fbf.tar.gz minionlivesmatter-d42c8b528eb595101954f478e0024e3f079f6fbf.zip | |
first implementation of fun stats site
Diffstat (limited to 'templates/assets/bootstrap/scss/mixins/_list-group.scss')
| -rw-r--r-- | templates/assets/bootstrap/scss/mixins/_list-group.scss | 26 |
1 files changed, 26 insertions, 0 deletions
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 +} |
