diff options
Diffstat (limited to 'app/assets')
-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); + } +} |