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