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; |
miramurali23 | 219738d | 2019-08-15 16:22:06 -0400 | [diff] [blame] | 15 | .icon { |
| 16 | vertical-align: bottom; |
| 17 | } |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 18 | } |
Yoshie Muranaka | eaa40dd | 2019-07-17 15:30:00 -0500 | [diff] [blame] | 19 | |
| 20 | .message-container { |
| 21 | background-color: $background-02; |
| 22 | padding: 1em 1.5em; |
| 23 | display: inline-block; |
| 24 | >*:last-child { |
| 25 | margin-bottom: 0; |
| 26 | } |
| 27 | } |
Yoshie Muranaka | b4d9c09 | 2019-08-01 16:19:40 -0500 | [diff] [blame] | 28 | |
| 29 | .notification-banner { |
| 30 | padding: 8px 10px; |
| 31 | margin-bottom: 24px; |
| 32 | border-style: solid; |
| 33 | border-width: 1px; |
| 34 | } |
| 35 | |
| 36 | .notification-banner__text { |
| 37 | font-size: 0.9em; |
| 38 | margin-bottom: 0; |
| 39 | line-height: 1.2; |
| 40 | } |
| 41 | |
| 42 | .notification-banner--information { |
| 43 | background-color: $background-02; |
| 44 | border-color: $border-color-01; |
| 45 | } |
| 46 | |
| 47 | .notification-banner--warning { |
| 48 | background-color: $accent-03--03; |
| 49 | border-color: $accent-03--02; |
| 50 | .notification-banner__text { |
| 51 | &::before { |
| 52 | content: ''; |
| 53 | display: inline-block; |
| 54 | width: 18px; |
| 55 | height: 18px; |
| 56 | vertical-align: bottom; |
| 57 | margin-right: 0.5em; |
| 58 | background-image: url(../assets/images/icon-warning.svg); |
| 59 | } |
| 60 | } |
miramurali23 | 219738d | 2019-08-15 16:22:06 -0400 | [diff] [blame] | 61 | } |