From 54fa28441c5f0bdcd9687615f4a6b7a0fab024a3 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 7 Sep 2018 11:26:02 +0200 Subject: install bootstrap via composer --- .../bootstrap/scss/mixins/_background-variant.scss | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 vendor/twbs/bootstrap/scss/mixins/_background-variant.scss (limited to 'vendor/twbs/bootstrap/scss/mixins/_background-variant.scss') diff --git a/vendor/twbs/bootstrap/scss/mixins/_background-variant.scss b/vendor/twbs/bootstrap/scss/mixins/_background-variant.scss new file mode 100644 index 000000000..494439d2b --- /dev/null +++ b/vendor/twbs/bootstrap/scss/mixins/_background-variant.scss @@ -0,0 +1,21 @@ +// stylelint-disable declaration-no-important + +// Contextual backgrounds + +@mixin bg-variant($parent, $color) { + #{$parent} { + background-color: $color !important; + } + a#{$parent}, + button#{$parent} { + @include hover-focus { + background-color: darken($color, 10%) !important; + } + } +} + +@mixin bg-gradient-variant($parent, $color) { + #{$parent} { + background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important; + } +} -- cgit v1.2.3