ensl.org/app/assets/stylesheets/themes/flat/components/_flashes.scss
Luke Barratt 8bef59868e Fixes gather music not playing during voting phase
Fixes issues with topic ordering
Tweaked read/unread icon colours for forums
2014-05-16 23:54:41 +01:00

89 lines
No EOL
1.1 KiB
SCSS

/*
Flash Messages
*/
.flash {
@include span-columns(12);
margin-bottom: 20px;
font-weight: 600;
&.notice {
@include flash;
}
&.success {
@include flash($flash-success);
&:before {
content: "\f00c";
}
}
&.error {
@include flash($flash-error);
&:before {
content: "\f00d";
}
}
&.warning,
&.alert {
@include flash($flash-warning);
&:before {
content: "\f071";
}
}
}
/*
Error Messages
*/
div#errors {
@extend .flash.error;
@include span-columns(12);
margin-bottom: 20px;
strong {
@include span-columns(12);
margin-bottom: 10px;
}
ul.errors {
@include span-columns(12);
li {
margin-bottom: 0;
&:last-child {
margin-bottom: 0;
}
}
}
}
/*
Notification Messages
*/
#notification {
position: absolute;
margin: 0 auto;
left: 50%;
top: 0;
.message {
@extend .flash;
position: relative;
width: auto;
left: -50%;
text-align: center;
font-family: $header-font-family;
color: white;
padding: 0 100px;
z-index: 2;
}
}