Created
September 29, 2010 23:50
-
-
Save gwing33/603779 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul id="message-popdown"> | |
<% flash.each_pair do |key, value| %> | |
<li class='<%= key %>'><%= value %></li> | |
<% end %> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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