From 2eac9119f7ac12b20074b478676ae0fb785394fc Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Thu, 11 Dec 2008 01:15:48 +0000 Subject: Added status message styles, container (.gMessages) and message types complete with icons for message types ( .gSuccess, .gError, .gWarning, .gInfo, .gHelp). --- themes/default/css/screen.css | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'themes/default/css') diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index 17aa61c4..19c1c55a 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -401,21 +401,40 @@ table.gMetadata td.toggle { /* Status messages ~~~~~~~~~~~~~~~~~~~~~~~ */ -.gStatus { +.gMessages { + border: 1px solid #ddd; + padding: .5em; +} +.gMessages li { + background-position: .5em .1em; + background-repeat: no-repeat; + border: 1px solid #ccc; + margin-bottom: .7em; + padding: .1em 5px 2px 30px; } .gError { + background-color: #fcc; + background-image: url('../images/ico-error.png'); color: red; - padding-bottom: 0; } .gWarning { + background-color: #ff9; + background-image: url('../images/ico-warning.png'); } .gSuccess { + background-color: #cfc; + background-image: url('../images/ico-success.png'); +} + +.gHelp { + background-image: url('../images/ico-help.png'); } .gInfo { + background-image: url('../images/ico-info.png'); } /* Inline layout (forms, lists) ~~~~~~~~~~ */ -- cgit v1.2.3