2017-05-09 12:18:52 +02:00
|
|
|
@import "colors";
|
2019-01-24 18:32:11 +01:00
|
|
|
@import "constants";
|
2017-05-09 12:18:52 +02:00
|
|
|
|
2017-05-05 14:55:05 +02:00
|
|
|
.alert {
|
|
|
|
padding: 15px;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-danger {
|
2018-03-01 10:47:36 +01:00
|
|
|
background-color: $medium-red;
|
2018-02-26 17:21:21 +01:00
|
|
|
color: #FFFFFF;
|
2018-08-30 13:47:45 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: #FFFFFF;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2017-05-05 14:55:05 +02:00
|
|
|
}
|
2017-09-15 10:56:14 +02:00
|
|
|
|
|
|
|
.alert-success {
|
|
|
|
background-color: $lighter-green;
|
|
|
|
border-color: $light-green;
|
|
|
|
color: $dark-green;
|
|
|
|
}
|
2018-11-14 16:28:02 +01:00
|
|
|
|
|
|
|
.alert-fixed {
|
|
|
|
position: fixed;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -100px;
|
|
|
|
width: 200px;
|
|
|
|
top: 10px;
|
|
|
|
border-radius: 10px;
|
2019-01-24 18:32:11 +01:00
|
|
|
// Ensure fixed flash messages are above `position: absolute` elements (like maps)
|
|
|
|
z-index: $alert-z-index;
|
2018-11-14 16:28:02 +01:00
|
|
|
}
|