From c6d55f462ebc1d5fb387ccc7873582406205bef8 Mon Sep 17 00:00:00 2001 From: Marian Sigler Date: Fri, 21 Sep 2012 15:32:15 +0200 Subject: add color to flashes --- static/layout.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'static') diff --git a/static/layout.css b/static/layout.css index 730d79f..2d7be98 100644 --- a/static/layout.css +++ b/static/layout.css @@ -2,6 +2,28 @@ form .errors { color: #D00; } +ul.flashes { + padding-left: 0; +} +ul.flashes li { + list-style: none; + margin-left: 0; + display: block; + padding: .2em .4em; + + border: 1px solid #ee3; + background-color: #ffd; +} +ul.flashes li.error { + border-color: #e33; + background-color: #fdd; +} +ul.flashes li.success { + border-color: #3e3; + background-color: #dfd; +} + + body { margin: 0 auto; width: 640px; -- cgit v1.2.3-1-g7c22