mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 13:31:06 +00:00
b4a0db69d7
User current ENSL blue colour
65 lines
No EOL
801 B
SCSS
65 lines
No EOL
801 B
SCSS
/*
|
|
Flash Messages
|
|
*/
|
|
|
|
.flash {
|
|
@include span-columns(12);
|
|
margin-bottom: em(20);
|
|
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: em(20);
|
|
|
|
strong {
|
|
@include span-columns(12);
|
|
margin-bottom: em(10);
|
|
}
|
|
|
|
ul.errors {
|
|
@include span-columns(12);
|
|
|
|
li {
|
|
margin-bottom: .5em;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
} |