summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Bootstrap/resources/bootstrap/less/mixins/labels.less
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
committerYaco <franco@reevo.org>2020-06-04 11:01:00 -0300
commitfc7369835258467bf97eb64f184b93691f9a9fd5 (patch)
treedaabd60089d2dd76d9f5fb416b005fbe159c799d /www/wiki/extensions/Bootstrap/resources/bootstrap/less/mixins/labels.less
first commit
Diffstat (limited to 'www/wiki/extensions/Bootstrap/resources/bootstrap/less/mixins/labels.less')
-rw-r--r--www/wiki/extensions/Bootstrap/resources/bootstrap/less/mixins/labels.less12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/wiki/extensions/Bootstrap/resources/bootstrap/less/mixins/labels.less b/www/wiki/extensions/Bootstrap/resources/bootstrap/less/mixins/labels.less
new file mode 100644
index 00000000..9f7a67ee
--- /dev/null
+++ b/www/wiki/extensions/Bootstrap/resources/bootstrap/less/mixins/labels.less
@@ -0,0 +1,12 @@
+// Labels
+
+.label-variant(@color) {
+ background-color: @color;
+
+ &[href] {
+ &:hover,
+ &:focus {
+ background-color: darken(@color, 10%);
+ }
+ }
+}