summaryrefslogtreecommitdiff
path: root/bootstrap/fonts/less/mixins/alerts.less
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/fonts/less/mixins/alerts.less')
-rwxr-xr-xbootstrap/fonts/less/mixins/alerts.less15
1 files changed, 15 insertions, 0 deletions
diff --git a/bootstrap/fonts/less/mixins/alerts.less b/bootstrap/fonts/less/mixins/alerts.less
new file mode 100755
index 0000000..b27cc5d
--- /dev/null
+++ b/bootstrap/fonts/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%);
+ }
+}