mirror of https://github.com/ColorlibHQ/AdminLTE
scss fix for build
&.bg-#{$name} { -> #{if(&, '&.bg-#{$name}','.bg-#{$name}')} {pull/5715/head
parent
a6a1fd3341
commit
2003c99a97
|
@ -4,10 +4,9 @@
|
||||||
|
|
||||||
// Toast Variant
|
// Toast Variant
|
||||||
@mixin toast-variant($name, $color) {
|
@mixin toast-variant($name, $color) {
|
||||||
&.bg-#{$name} {
|
#{if(&, '&.bg-#{$name}','.bg-#{$name}')} {
|
||||||
background-color: rgba($color, .9) !important;
|
background-color: rgba($color, 0.9) !important;
|
||||||
@if (color-yiq($color) == $yiq-text-light) {
|
@if (color-yiq($color) == $yiq-text-light) {
|
||||||
|
|
||||||
.close {
|
.close {
|
||||||
color: color-yiq($color);
|
color: color-yiq($color);
|
||||||
text-shadow: 0 1px 0 $black;
|
text-shadow: 0 1px 0 $black;
|
||||||
|
@ -15,9 +14,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.toast-header {
|
.toast-header {
|
||||||
background-color: rgba($color, .85);
|
background-color: rgba($color, 0.85);
|
||||||
color: color-yiq($color);
|
color: color-yiq($color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue