diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-21 14:30:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-21 14:30:01 +0000 |
commit | 0d605006a3eb95e0e62de9ea68c20e24926ae3bb (patch) | |
tree | 794279140485cda0586de1e1e721691b8d78ddc7 | |
parent | a200e97667a7367945389b5b6934c4a04d33f750 (diff) | |
download | redmine-0d605006a3eb95e0e62de9ea68c20e24926ae3bb.tar.gz redmine-0d605006a3eb95e0e62de9ea68c20e24926ae3bb.zip |
Fixed flashes style for IE6.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@859 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/admin/mail_options.rhtml | 2 | ||||
-rw-r--r-- | app/views/layouts/base.rhtml | 6 | ||||
-rw-r--r-- | public/stylesheets/application.css | 8 |
3 files changed, 7 insertions, 9 deletions
diff --git a/app/views/admin/mail_options.rhtml b/app/views/admin/mail_options.rhtml index 5f1fd9bb3..3c95ebd71 100644 --- a/app/views/admin/mail_options.rhtml +++ b/app/views/admin/mail_options.rhtml @@ -14,7 +14,7 @@ <p><%= check_all_links('mail-options-form') %></p> </fieldset> -<fieldset class="box"><legend>Emails footer</legend> +<fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend> <%= text_area_tag 'emails_footer', Setting.emails_footer, :class => 'wiki-edit', :rows => 5 %> </fieldset> diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 2b25820d9..3cd384c1e 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -64,10 +64,8 @@ </div> <div id="content"> - <div id="flash"> - <%= content_tag('div', flash[:error], :class => 'error') if flash[:error] %> - <%= content_tag('div', flash[:notice], :class => 'notice') if flash[:notice] %> - </div> + <%= content_tag('div', flash[:error], :class => 'flash error') if flash[:error] %> + <%= content_tag('div', flash[:notice], :class => 'flash notice') if flash[:notice] %> <%= yield %> </div> </div> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 979c0d274..298e5748b 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -154,23 +154,23 @@ width: 200px; div.attachments p { margin:4px 0 2px 0; } /***** Flash & error messages ****/ -#flash div, #errorExplanation, .nodata { +#errorExplanation, div.flash, div.nodata { padding: 4px 4px 4px 30px; margin-bottom: 12px; font-size: 1.1em; border: 2px solid; } -#flash div {margin-top: 6px;} +div.flash {margin-top: 8px;} -#flash div.error, #errorExplanation { +div.flash.error, #errorExplanation { background: url(../images/false.png) 8px 5px no-repeat; background-color: #ffe3e3; border-color: #dd0000; color: #550000; } -#flash div.notice { +div.flash.notice { background: url(../images/true.png) 8px 5px no-repeat; background-color: #dfffdf; border-color: #9fcf9f; |