diff options
author | hellekin <hellekin@cepheide.org> | 2020-10-09 12:46:11 +0200 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2020-10-09 12:46:11 +0200 |
commit | fd9e9c4679ea36bed60acf01a43dda307db203e4 (patch) | |
tree | 7fe4b438818a512b77ee5c4d1df770af45bfa0f8 /app/assets/stylesheets/application/_flash.scss | |
parent | 156f0a221ea5d68b8a47ffa959d48d3639cb7e97 (diff) | |
download | incommon-map-fd9e9c4679ea36bed60acf01a43dda307db203e4.tar.gz |
Fix flashes style
Diffstat (limited to 'app/assets/stylesheets/application/_flash.scss')
-rw-r--r-- | app/assets/stylesheets/application/_flash.scss | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/app/assets/stylesheets/application/_flash.scss b/app/assets/stylesheets/application/_flash.scss index 37d27b2..c373796 100644 --- a/app/assets/stylesheets/application/_flash.scss +++ b/app/assets/stylesheets/application/_flash.scss @@ -2,21 +2,28 @@ FLASH */ -#flash { +#flashes { position: absolute; bottom: 2rem; + right: 0; margin: 0 auto; width: 50%; min-width: 24rem; max-width: 64rem; max-height: 10rem; - overflow: scroll; - padding: 1rem; + overflow: auto; + padding: 0.25rem; + z-index: 500; - &.alert { + > span { + display: block; + padding: 0.5rem; + } + + .alert { background-color: var(--danger-medium); } - &.notice { + .notice { background-color: var(--highlight-low); } } |