summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-02 17:42:20 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-08-02 17:42:20 +0000
commit2d5ac54d2eb9f49b8a2f65b4469aa6d95a1e85d6 (patch)
treeefc30fe2b599ba2cce8f368460b76c32fb197413 /public
parent7701de9ae4fd85ef7ddc0e3a26e2234793d7e902 (diff)
downloadredmine-2d5ac54d2eb9f49b8a2f65b4469aa6d95a1e85d6.tar.gz
redmine-2d5ac54d2eb9f49b8a2f65b4469aa6d95a1e85d6.zip
Applied the flash notices patch by Matt Jones (slightly edited).
flash[:notice] and flash[:error] are now used for notice/error messages. git-svn-id: http://redmine.rubyforge.org/svn/trunk@600 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/application.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 16206f001..732d02753 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -695,3 +695,25 @@ background-image: url(../images/loading.gif);
padding-left: 26px;
vertical-align: bottom;
}
+
+/***** Flash messages ****/
+#flash {
+ padding: 4px 4px 4px 30px;
+ margin-bottom: 16px;
+ font-size: 1.2em;
+ border: 2px solid;
+}
+
+#flash.error {
+ background: url(../images/false.png) 8px 50% no-repeat;
+ background-color: #ffe3e3;
+ border-color: #dd0000;
+ color: #550000;
+}
+
+#flash.notice {
+ background: url(../images/true.png) 8px 50% no-repeat;
+ background-color: #dfffdf;
+ border-color: #9fcf9f;
+ color: #005f00;
+}