aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-05-01 16:11:51 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-05-01 16:11:51 +0100
commit9caa15360effe79b84197fd68fc22996b64e35aa (patch)
tree5b49819eb94bbd80d90d6fbf1d86be895e6e20ef /static
parent2e5b3be3a89e54a986608c37d1093e17356b7e5c (diff)
Updated views to be neater with respect to notice/errors and in the case when no
alerts are found in a table.
Diffstat (limited to 'static')
-rw-r--r--static/stylesheets/mauve.css21
1 files changed, 16 insertions, 5 deletions
diff --git a/static/stylesheets/mauve.css b/static/stylesheets/mauve.css
index 4649775..cac6833 100644
--- a/static/stylesheets/mauve.css
+++ b/static/stylesheets/mauve.css
@@ -52,27 +52,38 @@ tr.detail {
/** Flash notices **/
-div.error {
+.error {
background-color: #ffe;
border: solid 2px #ffc;
background-image: url('/images/error.png');
}
-div.notice {
+.notice {
background-color: #eef;
border: solid 2px #ccf;
background-image: url('/images/information.png');
}
-div.flash {
+tr.error, tr.notice {
margin: 5px 5px 0px;
padding: 0px;
- padding-left: 20px;
+ padding-left: 25px;
color: black;
font-size: large;
background-position: 5px;
background-repeat: no-repeat;
- min-height: 20px;
+ min-height: 25px;
+}
+
+div.error, div.notice {
+ margin: 5px 5px 0px;
+ padding: 0px;
+ padding-left: 25px;
+ color: black;
+ font-size: large;
+ background-position: 5px;
+ background-repeat: no-repeat;
+ min-height: 25px;
}
div.flash p {