diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-08-01 13:38:35 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-08-01 13:38:35 +0200 |
commit | 3ef15d64c60d943b64d998449ed0eaa1dee0ac3e (patch) | |
tree | a5446f8020e10fc1b0b9662dec04303dd2cdf74d /public/assets | |
parent | d285d0525f86160a61067942346fb40f2bc5c797 (diff) | |
download | rocket-blog-3ef15d64c60d943b64d998449ed0eaa1dee0ac3e.tar.gz rocket-blog-3ef15d64c60d943b64d998449ed0eaa1dee0ac3e.tar.bz2 rocket-blog-3ef15d64c60d943b64d998449ed0eaa1dee0ac3e.zip |
Fix display of flash messages.
Pass full flash to template, and style according
to flash name/type.
Diffstat (limited to 'public/assets')
-rw-r--r-- | public/assets/application.css | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/public/assets/application.css b/public/assets/application.css index 299be36..3063805 100644 --- a/public/assets/application.css +++ b/public/assets/application.css @@ -36,3 +36,16 @@ form { .actions { display: block; } + +.flash { + padding: 0.5em; + border: 1px dashed darkgray; +} + +.error { + background-color: #f74c4c; +} + +.success { + background-color: lightgreen; +} |