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