blob: 4e2ad7fa9f8c1fff1881e1e3aa1e3e6d3045c7c4 (
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
53
54
55
56
57
58
59
60
61
|
.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-header {
display: flex;
align-items: flex-start;
background-color: inherit!important; //override specificity
border: none;
color: theme-color("dark")!important; //override specificity
padding-bottom: 0;
}
.toast-icon {
display: flex;
margin-right: 1rem;
svg {
margin-left: -2.5rem;
}
+ .close {
line-height: .9;
}
}
.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;
}
|