Displaying 2 results from an estimated 2 matches for "e2f9e3".
Did you mean:
e2e3
2010 Mar 24
3
flash error & fade away
this is my current code:
#notice {
border: solid 1px #99cc99;
background-color: #e2f9e3;
color: #006600;
padding: 5px;
margin-bottom: 5px;
}
#notice.error {
border-color: #e2f9e3;
background-color: #eeaaaa;
color: #cc0000;
}
<% flash.each do |key, msg| %>
<%= content_tag :div, flash[:error] || flash[:notice], :id => ''notice'',
:class => (''...
2006 Jan 25
1
Flash CSS issues
...ft;
border: 1px solid #ccc;
padding: 5px 5px 5px 30px;
font-size: 14px;
margin: 0 auto 12px auto;
margin-right: 7px;
}
.login #Flash {
margin-top: 12px;
font-size: 12px;
}
#Flash.good {
border-color: #9c9;
color: #060;
background: url(/images/alertgood_icon.gif) #E2F9E3 left no-repeat;
}
#Flash.bad {
border-color: #c99;
color: #fff;
background: url(/images/alertbad_icon.gif) #c00 left no-repeat;
}
I display the errors in my main application layout file using:
<%= ''<div class="bad" id="Flash">'' + flash[:...