summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/bootstrap/mixins/_background-variant.scss
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/resources/scss/bootstrap/mixins/_background-variant.scss')
-rw-r--r--openecomp-ui/resources/scss/bootstrap/mixins/_background-variant.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/openecomp-ui/resources/scss/bootstrap/mixins/_background-variant.scss b/openecomp-ui/resources/scss/bootstrap/mixins/_background-variant.scss
new file mode 100644
index 0000000000..533ff12c84
--- /dev/null
+++ b/openecomp-ui/resources/scss/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%);
+ }
+}