blob: 42b91dbb7a488a0633b35f52c301ccb018d65ec9 [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;
Yoshie Muranaka01da8182020-07-08 15:46:43 -070017 color: theme-color("dark")!important; //override specificity
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -080018 padding-bottom: 0;
19}
20
21.toast-body {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070022 color: theme-color("dark");
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -080023 padding-top: 0;
24}
25
26.b-toast-success .toast {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070027 border-left-color: theme-color("success")!important;
Yoshie Muranaka1f4eaa12020-08-10 11:17:12 -070028 background-color: theme-color-light("success")!important;
Derick Montague4e90eed2020-03-03 18:11:44 -060029}
30
31.b-toast-info .toast {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070032 border-left-color: theme-color("info")!important;
Yoshie Muranaka1f4eaa12020-08-10 11:17:12 -070033 background-color: theme-color-light("info")!important;
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -080034}
35
36.b-toast-danger .toast {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070037 border-left-color: theme-color("danger")!important;
Yoshie Muranaka1f4eaa12020-08-10 11:17:12 -070038 background-color: theme-color-light("danger")!important;
Yoshie Muranaka183c2752020-02-12 11:30:49 -080039}
40
41.b-toast-warning .toast {
Yoshie Muranaka01da8182020-07-08 15:46:43 -070042 border-left-color: theme-color("warning")!important;
Yoshie Muranaka1f4eaa12020-08-10 11:17:12 -070043 background-color: theme-color-light("warning")!important;
Yoshie Muranaka0fc91e72020-02-05 11:23:06 -080044}