diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-06 21:59:13 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-06 21:59:13 +0200 |
commit | cf6b277ca3f22e575b059a8d8029163ddcee86db (patch) | |
tree | 960074763696f58860f2a57d009c3dba90fe1e6a /app/assets/stylesheets/application | |
parent | 8c7c0501e49871765d6ac971e4027dac0ea20407 (diff) | |
download | incommon-map-cf6b277ca3f22e575b059a8d8029163ddcee86db.tar.gz |
Fix form, add flash
Diffstat (limited to 'app/assets/stylesheets/application')
-rw-r--r-- | app/assets/stylesheets/application/_flash.scss | 22 |
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); + } +} |