From cf6b277ca3f22e575b059a8d8029163ddcee86db Mon Sep 17 00:00:00 2001 From: hellekin Date: Tue, 6 Oct 2020 21:59:13 +0200 Subject: Fix form, add flash --- app/assets/stylesheets/application/_flash.scss | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app/assets/stylesheets/application/_flash.scss (limited to 'app/assets/stylesheets/application/_flash.scss') 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); + } +} -- cgit v1.2.3