summaryrefslogtreecommitdiffstats
path: root/src/seastar/fmt/doc/bootstrap/mixins/background-variant.less
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/fmt/doc/bootstrap/mixins/background-variant.less')
-rw-r--r--src/seastar/fmt/doc/bootstrap/mixins/background-variant.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/seastar/fmt/doc/bootstrap/mixins/background-variant.less b/src/seastar/fmt/doc/bootstrap/mixins/background-variant.less
new file mode 100644
index 00000000..556e490d
--- /dev/null
+++ b/src/seastar/fmt/doc/bootstrap/mixins/background-variant.less
@@ -0,0 +1,8 @@
+// Contextual backgrounds
+
+.bg-variant(@color) {
+ background-color: @color;
+ a&:hover {
+ background-color: darken(@color, 10%);
+ }
+}