blob: 9295b17e2583a4715208668a8551af4b253c580f [file] [log] [blame]
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -08001.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 Montague4e90eed2020-03-03 18:11:44 -06007 border-width: 0 0 0 3px;
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -08008 .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;
Derick Montague4e90eed2020-03-03 18:11:44 -060028 background-color: $success-light;
29}
30
31.b-toast-info .toast {
32 border-left-color: $info!important;
33 background-color: $info-light;
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -080034}
35
36.b-toast-danger .toast {
37 border-left-color: $danger!important;
Derick Montague4e90eed2020-03-03 18:11:44 -060038 background-color: $danger-light;
Yoshie Muranaka183c2752020-02-12 11:30:49 -080039}
40
41.b-toast-warning .toast {
42 border-left-color: $warning!important;
Derick Montague4e90eed2020-03-03 18:11:44 -060043 background-color: $warning-light;
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -080044}