Skip to content

Instantly share code, notes, and snippets.

@gwing33
Created September 29, 2010 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gwing33/603779 to your computer and use it in GitHub Desktop.
Save gwing33/603779 to your computer and use it in GitHub Desktop.
<ul id="message-popdown">
<% flash.each_pair do |key, value| %>
<li class='<%= key %>'><%= value %></li>
<% end %>
</ul>
#message-popdown {
background-color: #dea852;
display: none;
position: fixed;
z-index: 999;
cursor: pointer;
padding-top: 20px;
padding-bottom: 20px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
#message-popdown li {
padding-left: 40px;
font-size: 14pt;
font-weight: bold;
margin: 0 auto;
}
.success_msg { color: #00aa00; }
.error_msg { color: #dd0000; }
.notice_msg { color: #2b0100; }
.warning_msg { color: #ec8049; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment