Fixed flashes style for IE6.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@859 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a200e97667
commit
0d605006a3
|
@ -14,7 +14,7 @@
|
||||||
<p><%= check_all_links('mail-options-form') %></p>
|
<p><%= check_all_links('mail-options-form') %></p>
|
||||||
</fieldset>
|
</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 %>
|
<%= text_area_tag 'emails_footer', Setting.emails_footer, :class => 'wiki-edit', :rows => 5 %>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
|
|
@ -64,10 +64,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<div id="flash">
|
<%= content_tag('div', flash[:error], :class => 'flash error') if flash[:error] %>
|
||||||
<%= content_tag('div', flash[:error], :class => 'error') if flash[:error] %>
|
<%= content_tag('div', flash[:notice], :class => 'flash notice') if flash[:notice] %>
|
||||||
<%= content_tag('div', flash[:notice], :class => 'notice') if flash[:notice] %>
|
|
||||||
</div>
|
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -154,23 +154,23 @@ width: 200px;
|
||||||
div.attachments p { margin:4px 0 2px 0; }
|
div.attachments p { margin:4px 0 2px 0; }
|
||||||
|
|
||||||
/***** Flash & error messages ****/
|
/***** Flash & error messages ****/
|
||||||
#flash div, #errorExplanation, .nodata {
|
#errorExplanation, div.flash, div.nodata {
|
||||||
padding: 4px 4px 4px 30px;
|
padding: 4px 4px 4px 30px;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
border: 2px solid;
|
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: url(../images/false.png) 8px 5px no-repeat;
|
||||||
background-color: #ffe3e3;
|
background-color: #ffe3e3;
|
||||||
border-color: #dd0000;
|
border-color: #dd0000;
|
||||||
color: #550000;
|
color: #550000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#flash div.notice {
|
div.flash.notice {
|
||||||
background: url(../images/true.png) 8px 5px no-repeat;
|
background: url(../images/true.png) 8px 5px no-repeat;
|
||||||
background-color: #dfffdf;
|
background-color: #dfffdf;
|
||||||
border-color: #9fcf9f;
|
border-color: #9fcf9f;
|
||||||
|
|
Loading…
Reference in New Issue