aboutsummaryrefslogtreecommitdiff
path: root/app/javascript/scss/components/_flash.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/scss/components/_flash.scss')
-rw-r--r--app/javascript/scss/components/_flash.scss35
1 files changed, 35 insertions, 0 deletions
diff --git a/app/javascript/scss/components/_flash.scss b/app/javascript/scss/components/_flash.scss
new file mode 100644
index 0000000..f168e68
--- /dev/null
+++ b/app/javascript/scss/components/_flash.scss
@@ -0,0 +1,35 @@
+/*
+ * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
+ *
+ * SPDX-License-Identifier: LAL-1.3
+ */
+
+/*
+ FLASH
+*/
+
+#flashes {
+ position: absolute;
+ bottom: 2rem;
+ right: 0;
+ margin: 0 auto;
+ width: 50%;
+ min-width: 24rem;
+ max-width: 64rem;
+ max-height: 10rem;
+ overflow: auto;
+ padding: 0.25rem;
+ z-index: 500;
+
+ > span {
+ display: block;
+ padding: 0.5rem;
+ }
+
+ .alert {
+ background-color: var(--danger-medium);
+ }
+ .notice {
+ background-color: var(--highlight-low);
+ }
+}