summaryrefslogtreecommitdiff
path: root/bootstrap/less/mixins/alerts.less
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/less/mixins/alerts.less')
-rwxr-xr-xbootstrap/less/mixins/alerts.less15
1 files changed, 15 insertions, 0 deletions
diff --git a/bootstrap/less/mixins/alerts.less b/bootstrap/less/mixins/alerts.less
new file mode 100755
index 0000000..b27cc5d
--- /dev/null
+++ b/bootstrap/less/mixins/alerts.less
@@ -0,0 +1,15 @@
+// Alerts
+
+.alert-variant(@background; @border; @text-color) {
+ color: @text-color;
+ background-color: @background;
+ border-color: @border;
+
+ hr {
+ border-top-color: darken(@border, 5%);
+ }
+
+ .alert-link {
+ color: darken(@text-color, 10%);
+ }
+}