X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Ftwbs%2Fbootstrap-sass%2Fassets%2Fstylesheets%2Fbootstrap%2Fmixins%2F_list-group.scss;fp=vendor%2Ftwbs%2Fbootstrap-sass%2Fassets%2Fstylesheets%2Fbootstrap%2Fmixins%2F_list-group.scss;h=c478eeb31e321a4199329b653e06b2cb57ab3436;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/twbs/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss b/vendor/twbs/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss new file mode 100644 index 000000000..c478eeb31 --- /dev/null +++ b/vendor/twbs/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss @@ -0,0 +1,32 @@ +// List Groups + +@mixin list-group-item-variant($state, $background, $color) { + .list-group-item-#{$state} { + color: $color; + background-color: $background; + + // [converter] extracted a&, button& to a.list-group-item-#{$state}, button.list-group-item-#{$state} + } + + a.list-group-item-#{$state}, + button.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; + } + } +}