blob: dcc3985a16cbf9740700776594865a0bdc86a068 [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;
Dixsie Wolmers12bc8752020-09-22 09:38:28 -05008 box-shadow: $box-shadow;
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -08009 .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 Muranaka01da8182020-07-08 15:46:43 -070018 color: theme-color("dark")!important; //override specificity
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -080019 padding-bottom: 0;
20}
21
22.toast-body {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070023 color: theme-color("dark");
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -080024 padding-top: 0;
25}
26
27.b-toast-success .toast {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070028 border-left-color: theme-color("success")!important;
Yoshie Muranaka1f4eaa12020-08-10 11:17:12 -070029 background-color: theme-color-light("success")!important;
Derick Montague4e90eed2020-03-03 18:11:44 -060030}
31
32.b-toast-info .toast {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070033 border-left-color: theme-color("info")!important;
Yoshie Muranaka1f4eaa12020-08-10 11:17:12 -070034 background-color: theme-color-light("info")!important;
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -080035}
36
37.b-toast-danger .toast {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070038 border-left-color: theme-color("danger")!important;
Yoshie Muranaka1f4eaa12020-08-10 11:17:12 -070039 background-color: theme-color-light("danger")!important;
Yoshie Muranaka183c2752020-02-12 11:30:49 -080040}
41
42.b-toast-warning .toast {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070043 border-left-color: theme-color("warning")!important;
Yoshie Muranaka1f4eaa12020-08-10 11:17:12 -070044 background-color: theme-color-light("warning")!important;
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -080045}