_toastr.scss
1.17 KB
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
//
// Plugin: Toastr
//
// Background to FontAwesome Icons
// #toast-container > .toast {
// background-image: none !important;
// }
// #toast-container > .toast .toast-message:before {
// font-family: 'Font Awesome 5 Free';
// font-size: 24px;
// font-weight: 900;
// line-height: 18px;
// float: left;
// color: $white;
// padding-right: 0.5em;
// margin: auto 0.5em auto -1.5em;
// }
// #toast-container > .toast-warning .toast-message:before {
// content: "\f06a";
// }
// #toast-container > .toast-error .toast-message:before {
// content: "\f071";
// }
// #toast-container > .toast-info .toast-message:before {
// content: "\f05a";
// }
// #toast-container > .toast-success .toast-message:before {
// content: "\f058";
// }
#toast-container {
// Background color
.toast {
background-color: $primary;
}
.toast-success {
background-color: $success;
}
.toast-error {
background-color: $danger;
}
.toast-info {
background-color: $info;
}
.toast-warning {
background-color: $warning;
}
}
// full width fix
.toast-bottom-full-width .toast,
.toast-top-full-width .toast {
max-width: inherit;
}