blob: b8ec246ed3f8d908eaa6a107457bbecb903646bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
.b-toaster {
top: 75px!important; // make sure toasts do not hide top header
}
// Toast component and status icon style
.toast {
padding: $spacer/2 $spacer/2 $spacer/2 $spacer+2;
border-width: 0 0 0 3px;
box-shadow: $box-shadow;
.close {
font-weight: 300;
opacity: 1;
}
}
.toast-icon svg {
position: absolute;
top: 20px;
left: 20px;
}
.toast-header {
background-color: inherit!important; //override specificity
border: none;
color: theme-color("dark")!important; //override specificity
padding-bottom: 0;
}
.toast-body {
color: theme-color("dark");
padding-top: 0;
}
.b-toast-success .toast {
border-left-color: theme-color("success")!important;
background-color: theme-color-light("success")!important;
}
.b-toast-info .toast {
border-left-color: theme-color("info")!important;
background-color: theme-color-light("info")!important;
}
.b-toast-danger .toast {
border-left-color: theme-color("danger")!important;
background-color: theme-color-light("danger")!important;
}
.b-toast-warning .toast {
border-left-color: theme-color("warning")!important;
background-color: theme-color-light("warning")!important;
}
|