Update styling of feedback bar to use the alert styles and string builder

This commit is contained in:
Joseph Schorr 2015-07-14 12:22:18 +03:00
parent dcf8922799
commit d74da9a3db
5 changed files with 36 additions and 17 deletions

View file

@ -34,19 +34,26 @@
text-align: center;
display: inline-block;
background: #eee;
padding: 10px;
border: 1px solid #eee;
border-top: 0px;
animation-name: flow-down-up;
animation-duration: 5s;
}
.feedback-bar .feedback-bar-element.info {
background-color: #F0FAFF;
.feedback-bar-element .co-alert {
margin: 0px;
border-top: 0px;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
}
.feedback-bar .feedback-bar-element.warning {
background-color: #FFFBF0;
.feedback-bar-element .co-alert:before {
top: 5px !important;
}
.feedback-bar-element .co-alert .feedback-text i {
display: inline-block;
margin-left: 6px;
margin-right: 4px;
vertical-align: middle;
}