aboutsummaryrefslogtreecommitdiff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-06 21:59:13 +0200
committerhellekin <hellekin@cepheide.org>2020-10-06 21:59:13 +0200
commitcf6b277ca3f22e575b059a8d8029163ddcee86db (patch)
tree960074763696f58860f2a57d009c3dba90fe1e6a /app/assets/stylesheets
parent8c7c0501e49871765d6ac971e4027dac0ea20407 (diff)
downloadincommon-map-cf6b277ca3f22e575b059a8d8029163ddcee86db.tar.gz
Fix form, add flash
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/application/_flash.scss22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/assets/stylesheets/application/_flash.scss b/app/assets/stylesheets/application/_flash.scss
new file mode 100644
index 0000000..37d27b2
--- /dev/null
+++ b/app/assets/stylesheets/application/_flash.scss
@@ -0,0 +1,22 @@
+/*
+ FLASH
+*/
+
+#flash {
+ position: absolute;
+ bottom: 2rem;
+ margin: 0 auto;
+ width: 50%;
+ min-width: 24rem;
+ max-width: 64rem;
+ max-height: 10rem;
+ overflow: scroll;
+ padding: 1rem;
+
+ &.alert {
+ background-color: var(--danger-medium);
+ }
+ &.notice {
+ background-color: var(--highlight-low);
+ }
+}