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_background-variant.scss;fp=vendor%2Ftwbs%2Fbootstrap-sass%2Fassets%2Fstylesheets%2Fbootstrap%2Fmixins%2F_background-variant.scss;h=4c7769e13a3665a5cb9b12884f3ed82cfb277f34;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/twbs/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss b/vendor/twbs/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss new file mode 100644 index 000000000..4c7769e13 --- /dev/null +++ b/vendor/twbs/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss @@ -0,0 +1,12 @@ +// Contextual backgrounds + +// [converter] $parent hack +@mixin bg-variant($parent, $color) { + #{$parent} { + background-color: $color; + } + a#{$parent}:hover, + a#{$parent}:focus { + background-color: darken($color, 10%); + } +}