2014-04-06 14:14:03 +00:00
|
|
|
/*
|
|
|
|
Flash Messages
|
|
|
|
*/
|
|
|
|
|
2014-04-08 23:28:46 +00:00
|
|
|
.flash {
|
2014-04-06 14:14:03 +00:00
|
|
|
@include span-columns(12);
|
2014-04-29 18:18:14 +00:00
|
|
|
margin-bottom: 20px;
|
2014-04-27 23:58:11 +00:00
|
|
|
font-weight: 600;
|
2014-04-08 23:28:46 +00:00
|
|
|
|
|
|
|
&.notice {
|
2014-04-06 14:14:03 +00:00
|
|
|
@include flash;
|
|
|
|
}
|
2014-04-08 23:28:46 +00:00
|
|
|
|
|
|
|
&.success {
|
2014-04-06 14:14:03 +00:00
|
|
|
@include flash($flash-success);
|
2014-04-15 22:04:43 +00:00
|
|
|
|
2014-04-06 14:14:03 +00:00
|
|
|
&:before {
|
|
|
|
content: "\f00c";
|
|
|
|
}
|
|
|
|
}
|
2014-04-08 23:28:46 +00:00
|
|
|
|
|
|
|
&.error {
|
2014-04-06 14:14:03 +00:00
|
|
|
@include flash($flash-error);
|
2014-04-15 22:04:43 +00:00
|
|
|
|
2014-04-06 14:14:03 +00:00
|
|
|
&:before {
|
|
|
|
content: "\f00d";
|
|
|
|
}
|
|
|
|
}
|
2014-04-08 23:28:46 +00:00
|
|
|
|
|
|
|
&.warning,
|
|
|
|
&.alert {
|
2014-04-06 14:14:03 +00:00
|
|
|
@include flash($flash-warning);
|
2014-04-15 22:04:43 +00:00
|
|
|
|
2014-04-06 14:14:03 +00:00
|
|
|
&:before {
|
|
|
|
content: "\f071";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-04-09 23:43:20 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
Error Messages
|
|
|
|
*/
|
|
|
|
|
|
|
|
div#errors {
|
|
|
|
@extend .flash.error;
|
|
|
|
@include span-columns(12);
|
2014-04-29 18:18:14 +00:00
|
|
|
margin-bottom: 20px;
|
2014-04-09 23:43:20 +00:00
|
|
|
|
|
|
|
strong {
|
|
|
|
@include span-columns(12);
|
2014-04-29 18:18:14 +00:00
|
|
|
margin-bottom: 10px;
|
2014-04-09 23:43:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.errors {
|
|
|
|
@include span-columns(12);
|
|
|
|
|
|
|
|
li {
|
2014-04-29 18:18:14 +00:00
|
|
|
margin-bottom: 0;
|
2014-04-09 23:43:20 +00:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-05-03 23:01:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Banner flash messages
|
|
|
|
*/
|
|
|
|
|
|
|
|
#notification {
|
|
|
|
position: absolute;
|
|
|
|
margin: 0 auto;
|
|
|
|
left: 50%;
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
.message {
|
|
|
|
background: image-url('layout/flash-notice-background.png');
|
|
|
|
position: relative;
|
|
|
|
width: 730px;
|
|
|
|
height: 60px;
|
|
|
|
left: -50%;
|
|
|
|
text-align: center;
|
|
|
|
font-family: $header-font-family;
|
|
|
|
font-size: 22px;
|
|
|
|
color: white;
|
|
|
|
line-height: 45px;
|
|
|
|
padding: 0 100px;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
background: image-url('layout/flash-notice-icon.png');
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
left: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.warning,
|
|
|
|
&.error,
|
|
|
|
&.alert {
|
|
|
|
background: image-url('layout/flash-error-background.png');
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
background: image-url('layout/flash-error-icon.png');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-04-09 23:43:20 +00:00
|
|
|
}
|