ensl.org/app/assets/stylesheets/mixins/_flashes.scss
Luke Barratt 5487854a6c Start to cleanup old assets
Added new ISO country code flag icons to asset pipeline
Lots and lots of new style changes
Began converting to JS to coffeescript
2014-04-09 00:28:53 +01:00

31 lines
647 B
SCSS

/*
Flash Messages
*/
@mixin flash($background: $flash-notice, $text: $flash-text) {
background-color: $background;
color: $text;
font-size: em(16);
line-height: em(16);
padding: em(14) em(14) em(14) em(54);
position: relative;
&:before {
@include box-sizing(border-box);
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
content: "\f05a";
background-color: darken($background, 10%);
display: block;
position: absolute;
top: 0;
left: 0;
float: left;
width: em(44);
height: em(44);
padding: em(9);
line-height: em(26);
text-align: center;
}
}