summaryrefslogtreecommitdiffstats
path: root/src/seastar/fmt/doc/bootstrap/mixins/alerts.less
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/fmt/doc/bootstrap/mixins/alerts.less')
-rw-r--r--src/seastar/fmt/doc/bootstrap/mixins/alerts.less14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/seastar/fmt/doc/bootstrap/mixins/alerts.less b/src/seastar/fmt/doc/bootstrap/mixins/alerts.less
new file mode 100644
index 00000000..396196f4
--- /dev/null
+++ b/src/seastar/fmt/doc/bootstrap/mixins/alerts.less
@@ -0,0 +1,14 @@
+// Alerts
+
+.alert-variant(@background; @border; @text-color) {
+ background-color: @background;
+ border-color: @border;
+ color: @text-color;
+
+ hr {
+ border-top-color: darken(@border, 5%);
+ }
+ .alert-link {
+ color: darken(@text-color, 10%);
+ }
+}