summaryrefslogtreecommitdiff
path: root/vendor/bootstrap-3.2.0/mixins/_background-variant.scss
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/bootstrap-3.2.0/mixins/_background-variant.scss')
-rw-r--r--vendor/bootstrap-3.2.0/mixins/_background-variant.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/bootstrap-3.2.0/mixins/_background-variant.scss b/vendor/bootstrap-3.2.0/mixins/_background-variant.scss
new file mode 100644
index 00000000..4993bd2b
--- /dev/null
+++ b/vendor/bootstrap-3.2.0/mixins/_background-variant.scss
@@ -0,0 +1,11 @@
+// Contextual backgrounds
+
+// [converter] $parent hack
+@mixin bg-variant($parent, $color) {
+ #{$parent} {
+ background-color: $color;
+ }
+ a#{$parent}:hover {
+ background-color: darken($color, 10%);
+ }
+}