提交 37cf2eb6 编写于 作者: D Dmitriy Zaporozhets

More readable notice/alert messages

上级 11ecf007
......@@ -46,15 +46,26 @@ table a code {
/** FLASH message **/
.flash-container {
display: none;
.alert {
cursor: pointer;
margin: 0;
text-align: center;
border-radius: 0;
cursor: pointer;
margin: 0;
text-align: center;
border-radius: 0;
color: #fff;
span {
font-size: 14px;
}
span {
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
- if alert
.alert.alert-error
.flash-alert
%span= alert
- elsif notice
.alert.alert-info
.flash-notice
%span= notice
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册