Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 1 | @import "../util"; |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 2 | @import "alertify/alertify-core"; |
| 3 | @import "alertify/alertify-default"; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 4 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 5 | /** |
| 6 | * Alertify styles. |
| 7 | */ |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 8 | |
| 9 | article.alertify-log-warn { |
| 10 | background-color: $dark-orange; |
Akron | c0a2da8 | 2018-07-04 15:27:37 +0200 | [diff] [blame] | 11 | code.src { |
| 12 | color: $darkest-orange; |
| 13 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 14 | } |
Akron | c0a2da8 | 2018-07-04 15:27:37 +0200 | [diff] [blame] | 15 | |
| 16 | article.alertify-log code.src { |
| 17 | display: block; |
| 18 | color: $dark-red; |
| 19 | font-size: 70%; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | .alertify-log-error { |
| 23 | background-color: $alert-red; |
Akron | cb5c171 | 2021-01-26 18:01:04 +0100 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | #notifications { |
| 27 | display: none; |
| 28 | } |
| 29 | |
| 30 | // TODO: |
| 31 | // This differs from alertify messages and should be united |
| 32 | div.notify { |
| 33 | position: relative; |
| 34 | margin: .5em auto; |
| 35 | display: block; |
| 36 | padding: .5em; |
| 37 | |
| 38 | border-radius: $standard-border-radius; |
| 39 | max-width: 30em; |
| 40 | background-color: $alert-red; |
| 41 | color: $nearly-white; |
| 42 | &.notify-success { |
| 43 | background-color: $ids-green-1 |
| 44 | } |
| 45 | &.notify-warn { |
| 46 | background-color: $ids-orange-2 |
| 47 | } |
Akron | c0a2da8 | 2018-07-04 15:27:37 +0200 | [diff] [blame] | 48 | } |