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 +++++++++++++++++++++-- themes/default/images/ico-error.png | Bin 0 -> 701 bytes themes/default/images/ico-help.png | Bin 0 -> 786 bytes themes/default/images/ico-info.png | Bin 0 -> 778 bytes themes/default/images/ico-success.png | Bin 0 -> 537 bytes themes/default/images/ico-warning.png | Bin 0 -> 666 bytes 6 files changed, 21 insertions(+), 2 deletions(-) create mode 100755 themes/default/images/ico-error.png create mode 100755 themes/default/images/ico-help.png create mode 100755 themes/default/images/ico-info.png create mode 100755 themes/default/images/ico-success.png create mode 100755 themes/default/images/ico-warning.png 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) ~~~~~~~~~~ */ diff --git a/themes/default/images/ico-error.png b/themes/default/images/ico-error.png new file mode 100755 index 00000000..c37bd062 Binary files /dev/null and b/themes/default/images/ico-error.png differ diff --git a/themes/default/images/ico-help.png b/themes/default/images/ico-help.png new file mode 100755 index 00000000..5c870176 Binary files /dev/null and b/themes/default/images/ico-help.png differ diff --git a/themes/default/images/ico-info.png b/themes/default/images/ico-info.png new file mode 100755 index 00000000..12cd1aef Binary files /dev/null and b/themes/default/images/ico-info.png differ diff --git a/themes/default/images/ico-success.png b/themes/default/images/ico-success.png new file mode 100755 index 00000000..a9925a06 Binary files /dev/null and b/themes/default/images/ico-success.png differ diff --git a/themes/default/images/ico-warning.png b/themes/default/images/ico-warning.png new file mode 100755 index 00000000..628cf2da Binary files /dev/null and b/themes/default/images/ico-warning.png differ -- cgit v1.2.3