2014-07-07 11:46:32 -04:00
|
|
|
.alert {
|
2020-05-07 22:57:52 -04:00
|
|
|
padding: 0.5em 2.5em 0.5em 1em;
|
2017-10-10 16:07:46 -04:00
|
|
|
background-color: $danger-low;
|
2019-04-05 16:21:16 -04:00
|
|
|
color: $primary;
|
|
|
|
position: relative;
|
2014-07-07 11:46:32 -04:00
|
|
|
|
|
|
|
.close {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-3;
|
2019-12-30 21:43:16 -05:00
|
|
|
position: absolute;
|
2020-05-07 22:57:52 -04:00
|
|
|
top: 0.265em;
|
|
|
|
right: 0.66em;
|
2019-10-28 16:04:29 -04:00
|
|
|
.d-icon {
|
2020-05-07 22:57:52 -04:00
|
|
|
color: $primary-medium;
|
2014-07-07 11:46:32 -04:00
|
|
|
}
|
|
|
|
}
|
2019-10-28 16:04:29 -04:00
|
|
|
|
2014-07-07 11:46:32 -04:00
|
|
|
&.alert-success {
|
2019-04-05 16:21:16 -04:00
|
|
|
background-color: $success-low;
|
2014-08-06 09:31:13 -04:00
|
|
|
color: $primary;
|
2014-07-07 11:46:32 -04:00
|
|
|
}
|
|
|
|
&.alert-error {
|
2019-04-05 16:21:16 -04:00
|
|
|
background-color: $danger-low;
|
2014-08-06 09:31:13 -04:00
|
|
|
color: $primary;
|
2014-07-07 11:46:32 -04:00
|
|
|
}
|
|
|
|
&.alert-info {
|
2017-06-11 22:20:14 -04:00
|
|
|
background-color: $tertiary-low;
|
2014-07-07 11:46:32 -04:00
|
|
|
color: $primary;
|
2016-04-26 00:36:28 -04:00
|
|
|
&.clickable {
|
2016-04-24 18:24:17 -04:00
|
|
|
color: $tertiary;
|
|
|
|
}
|
2014-07-07 11:46:32 -04:00
|
|
|
}
|
|
|
|
}
|
2020-02-11 09:55:16 -05:00
|
|
|
|
|
|
|
a.alert.clickable {
|
|
|
|
display: flex;
|
|
|
|
}
|