aboutsummaryrefslogtreecommitdiff
path: root/assets/css/lib/bootstrap/mixins/_alerts.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/lib/bootstrap/mixins/_alerts.scss')
-rw-r--r--assets/css/lib/bootstrap/mixins/_alerts.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/css/lib/bootstrap/mixins/_alerts.scss b/assets/css/lib/bootstrap/mixins/_alerts.scss
new file mode 100644
index 0000000..3faf0b5
--- /dev/null
+++ b/assets/css/lib/bootstrap/mixins/_alerts.scss
@@ -0,0 +1,14 @@
+// Alerts
+
+@mixin 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%);
+ }
+}