Commit 37cf2eb6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

More readable notice/alert messages

parent 11ecf007
...@@ -46,15 +46,26 @@ table a code { ...@@ -46,15 +46,26 @@ table a code {
/** FLASH message **/ /** FLASH message **/
.flash-container { .flash-container {
display: none; display: none;
.alert {
cursor: pointer; cursor: pointer;
margin: 0; margin: 0;
text-align: center; text-align: center;
border-radius: 0; border-radius: 0;
color: #fff;
span { span {
font-size: 14px; font-size: 14px;
} }
.flash-notice {
background: #49C;
padding: 10px;
text-shadow: 0 1px 1px #178;
}
.flash-alert {
background: #C67;
text-shadow: 0 1px 1px #945;
padding: 10px;
} }
} }
......
.flash-container .flash-container
- if alert - if alert
.alert.alert-error .flash-alert
%span= alert %span= alert
- elsif notice - elsif notice
.alert.alert-info .flash-notice
%span= notice %span= notice
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment