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; |
Dixsie Wolmers | 12bc875 | 2020-09-22 09:38:28 -0500 | [diff] [blame] | 8 | box-shadow: $box-shadow; |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 9 | .close { |
| 10 | font-weight: 300; |
| 11 | opacity: 1; |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | .toast-header { |
| 16 | background-color: inherit!important; //override specificity |
| 17 | border: none; |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 18 | color: theme-color("dark")!important; //override specificity |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 19 | padding-bottom: 0; |
| 20 | } |
| 21 | |
| 22 | .toast-body { |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 23 | color: theme-color("dark"); |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 24 | padding-top: 0; |
| 25 | } |
| 26 | |
| 27 | .b-toast-success .toast { |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 28 | border-left-color: theme-color("success")!important; |
Yoshie Muranaka | 1f4eaa1 | 2020-08-10 11:17:12 -0700 | [diff] [blame] | 29 | background-color: theme-color-light("success")!important; |
Derick Montague | 4e90eed | 2020-03-03 18:11:44 -0600 | [diff] [blame] | 30 | } |
| 31 | |
| 32 | .b-toast-info .toast { |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 33 | border-left-color: theme-color("info")!important; |
Yoshie Muranaka | 1f4eaa1 | 2020-08-10 11:17:12 -0700 | [diff] [blame] | 34 | background-color: theme-color-light("info")!important; |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | .b-toast-danger .toast { |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 38 | border-left-color: theme-color("danger")!important; |
Yoshie Muranaka | 1f4eaa1 | 2020-08-10 11:17:12 -0700 | [diff] [blame] | 39 | background-color: theme-color-light("danger")!important; |
Yoshie Muranaka | 183c275 | 2020-02-12 11:30:49 -0800 | [diff] [blame] | 40 | } |
| 41 | |
| 42 | .b-toast-warning .toast { |
Yoshie Muranaka | 01da818 | 2020-07-08 15:46:43 -0700 | [diff] [blame] | 43 | border-left-color: theme-color("warning")!important; |
Yoshie Muranaka | 1f4eaa1 | 2020-08-10 11:17:12 -0700 | [diff] [blame] | 44 | background-color: theme-color-light("warning")!important; |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 45 | } |