diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-06-24 04:39:16 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-06-24 05:08:13 +0400 |
commit | 380194abaf1721915e763dfc4a1ca29ebf3eaaa7 (patch) | |
tree | 3a1922f1ced96c217afd2fed833ee0eff526938f /assets/stylesheets/bootstrap/mixins/_list-group.scss | |
parent | 081372ebf582d69791b3f77c6e4c383f86043a04 (diff) |
move asset files to assets/
Diffstat (limited to 'assets/stylesheets/bootstrap/mixins/_list-group.scss')
-rw-r--r-- | assets/stylesheets/bootstrap/mixins/_list-group.scss | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/assets/stylesheets/bootstrap/mixins/_list-group.scss b/assets/stylesheets/bootstrap/mixins/_list-group.scss new file mode 100644 index 0000000..5f05e7b --- /dev/null +++ b/assets/stylesheets/bootstrap/mixins/_list-group.scss @@ -0,0 +1,31 @@ +// List Groups + +@mixin list-group-item-variant($state, $background, $color) { + .list-group-item-#{$state} { + color: $color; + background-color: $background; + + // [converter] extracted a& to a.list-group-item-#{$state} + } + + a.list-group-item-#{$state} { + color: $color; + + .list-group-item-heading { + color: inherit; + } + + &:hover, + &:focus { + color: $color; + background-color: darken($background, 5%); + } + &.active, + &.active:hover, + &.active:focus { + color: #fff; + background-color: $color; + border-color: $color; + } + } +} |