Michael Davis | cb8bb19 | 2017-02-09 15:45:13 -0600 | [diff] [blame] | 1 | //Fixed alerts |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 2 | .alert-danger { |
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 3 | background-color: $accent-04--02; |
| 4 | border-color: $accent-04--01; |
beccabroek | a09cc2d | 2019-01-23 14:26:55 -0600 | [diff] [blame] | 5 | border-radius: 0; |
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 6 | color: $primary-dark; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 7 | text-align: left; |
| 8 | } |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 9 | .alert-warning { |
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 10 | background-color: $accent-03--03; |
| 11 | border-color: $accent-03--02; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 12 | border-radius: 0; |
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 13 | color: $primary-dark; |
beccabroek | a09cc2d | 2019-01-23 14:26:55 -0600 | [diff] [blame] | 14 | text-align: left; |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 15 | } |
Yoshie Muranaka | eaa40dd | 2019-07-17 15:30:00 -0500 | [diff] [blame] | 16 | |
| 17 | .message-container { |
| 18 | background-color: $background-02; |
| 19 | padding: 1em 1.5em; |
| 20 | display: inline-block; |
| 21 | >*:last-child { |
| 22 | margin-bottom: 0; |
| 23 | } |
| 24 | } |
Yoshie Muranaka | b4d9c09 | 2019-08-01 16:19:40 -0500 | [diff] [blame^] | 25 | |
| 26 | .notification-banner { |
| 27 | padding: 8px 10px; |
| 28 | margin-bottom: 24px; |
| 29 | border-style: solid; |
| 30 | border-width: 1px; |
| 31 | } |
| 32 | |
| 33 | .notification-banner__text { |
| 34 | font-size: 0.9em; |
| 35 | margin-bottom: 0; |
| 36 | line-height: 1.2; |
| 37 | } |
| 38 | |
| 39 | .notification-banner--information { |
| 40 | background-color: $background-02; |
| 41 | border-color: $border-color-01; |
| 42 | } |
| 43 | |
| 44 | .notification-banner--warning { |
| 45 | background-color: $accent-03--03; |
| 46 | border-color: $accent-03--02; |
| 47 | .notification-banner__text { |
| 48 | &::before { |
| 49 | content: ''; |
| 50 | display: inline-block; |
| 51 | width: 18px; |
| 52 | height: 18px; |
| 53 | vertical-align: bottom; |
| 54 | margin-right: 0.5em; |
| 55 | background-image: url(../assets/images/icon-warning.svg); |
| 56 | } |
| 57 | } |
| 58 | } |