summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/bootstrap/mixins/_labels.scss
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/resources/scss/bootstrap/mixins/_labels.scss')
-rw-r--r--openecomp-ui/resources/scss/bootstrap/mixins/_labels.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/openecomp-ui/resources/scss/bootstrap/mixins/_labels.scss b/openecomp-ui/resources/scss/bootstrap/mixins/_labels.scss
new file mode 100644
index 0000000000..3fa443c662
--- /dev/null
+++ b/openecomp-ui/resources/scss/bootstrap/mixins/_labels.scss
@@ -0,0 +1,12 @@
+// Labels
+
+@mixin label-variant($color) {
+ background-color: $color;
+
+ &[href] {
+ &:hover,
+ &:focus {
+ background-color: darken($color, 10%);
+ }
+ }
+}