blob: 93c7752f01e74b168e7c33cae0994d53845a9fa1 [file] [log] [blame]
Akron7636edf2025-11-04 12:44:53 +01001@use "../util";
2@use "alertify/alertify-core";
3@use "alertify/alertify-default";
4@use "../base/colors";
5@use "../base/lengths";
Nils Diewalda944fab2015-04-08 21:02:04 +00006
Akron7e5afce2020-08-25 15:50:19 +02007/**
8 * Alertify styles.
9 */
Nils Diewalda944fab2015-04-08 21:02:04 +000010
11article.alertify-log-warn {
Akron7636edf2025-11-04 12:44:53 +010012 background-color: colors.$dark-orange;
Akronc0a2da82018-07-04 15:27:37 +020013 code.src {
Akron7636edf2025-11-04 12:44:53 +010014 color: colors.$darkest-orange;
Akronc0a2da82018-07-04 15:27:37 +020015 }
Nils Diewalda944fab2015-04-08 21:02:04 +000016}
Akronc0a2da82018-07-04 15:27:37 +020017
18article.alertify-log code.src {
19 display: block;
Akron7636edf2025-11-04 12:44:53 +010020 color: colors.$dark-red;
Akronc0a2da82018-07-04 15:27:37 +020021 font-size: 70%;
Akron7e5afce2020-08-25 15:50:19 +020022}
23
24.alertify-log-error {
Akron7636edf2025-11-04 12:44:53 +010025 background-color: colors.$alert-red;
Akroncb5c1712021-01-26 18:01:04 +010026}
27
28#notifications {
29 display: none;
30}
31
32// TODO:
33// This differs from alertify messages and should be united
34div.notify {
35 position: relative;
36 margin: .5em auto;
37 display: block;
38 padding: .5em;
39
Akron7636edf2025-11-04 12:44:53 +010040 border-radius: lengths.$standard-border-radius;
Akroncb5c1712021-01-26 18:01:04 +010041 max-width: 30em;
Akron7636edf2025-11-04 12:44:53 +010042 background-color: colors.$alert-red;
43 color: colors.$nearly-white;
Akroncb5c1712021-01-26 18:01:04 +010044 &.notify-success {
Akron7636edf2025-11-04 12:44:53 +010045 background-color: colors.$ids-green-1
Akroncb5c1712021-01-26 18:01:04 +010046 }
47 &.notify-warn {
Akron7636edf2025-11-04 12:44:53 +010048 background-color: colors.$ids-orange-2
Akroncb5c1712021-01-26 18:01:04 +010049 }
Akronc0a2da82018-07-04 15:27:37 +020050}