Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 1 | .b-toaster { |
| 2 | top: 75px!important; // make sure toasts do not hide top header |
| 3 | } |
| 4 | |
| 5 | .toast { |
| 6 | padding: $spacer/2 $spacer/2 $spacer/2 $spacer; |
Derick Montague | 4e90eed | 2020-03-03 18:11:44 -0600 | [diff] [blame] | 7 | border-width: 0 0 0 3px; |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 8 | .close { |
| 9 | font-weight: 300; |
| 10 | opacity: 1; |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | .toast-header { |
| 15 | background-color: inherit!important; //override specificity |
| 16 | border: none; |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 17 | color: theme-color("dark")!important; //override specificity |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 18 | padding-bottom: 0; |
| 19 | } |
| 20 | |
| 21 | .toast-body { |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 22 | color: theme-color("dark"); |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 23 | padding-top: 0; |
| 24 | } |
| 25 | |
| 26 | .b-toast-success .toast { |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 27 | border-left-color: theme-color("success")!important; |
Yoshie Muranaka | 1f4eaa1 | 2020-08-10 11:17:12 -0700 | [diff] [blame] | 28 | background-color: theme-color-light("success")!important; |
Derick Montague | 4e90eed | 2020-03-03 18:11:44 -0600 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | .b-toast-info .toast { |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 32 | border-left-color: theme-color("info")!important; |
Yoshie Muranaka | 1f4eaa1 | 2020-08-10 11:17:12 -0700 | [diff] [blame] | 33 | background-color: theme-color-light("info")!important; |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | .b-toast-danger .toast { |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 37 | border-left-color: theme-color("danger")!important; |
Yoshie Muranaka | 1f4eaa1 | 2020-08-10 11:17:12 -0700 | [diff] [blame] | 38 | background-color: theme-color-light("danger")!important; |
Yoshie Muranaka | 183c275 | 2020-02-12 11:30:49 -0800 | [diff] [blame] | 39 | } |
| 40 | |
| 41 | .b-toast-warning .toast { |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 42 | border-left-color: theme-color("warning")!important; |
Yoshie Muranaka | 1f4eaa1 | 2020-08-10 11:17:12 -0700 | [diff] [blame] | 43 | background-color: theme-color-light("warning")!important; |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 44 | } |