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; |
| 7 | border-width: 0 0 0 5px; |
| 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; |
| 17 | color: $dark!important; //override specificity |
| 18 | padding-bottom: 0; |
| 19 | } |
| 20 | |
| 21 | .toast-body { |
| 22 | color: $dark; |
| 23 | padding-top: 0; |
| 24 | } |
| 25 | |
| 26 | .b-toast-success .toast { |
| 27 | border-left-color: $success!important; |
| 28 | } |
| 29 | |
| 30 | .b-toast-danger .toast { |
| 31 | border-left-color: $danger!important; |
Yoshie Muranaka | 183c275 | 2020-02-12 11:30:49 -0800 | [diff] [blame^] | 32 | } |
| 33 | |
| 34 | .b-toast-warning .toast { |
| 35 | border-left-color: $warning!important; |
Yoshie Muranaka | 0fc91e7 | 2020-02-05 11:23:06 -0800 | [diff] [blame] | 36 | } |