Files
everything2/EveryThing/wwwroot/vendor/libs/sweetalert2/_mixins.scss
David Štaleker 03b92525d7 Prvi commit
2023-05-12 09:00:07 +02:00

19 lines
720 B
SCSS

@import "../../css/_appwork/functions";
@mixin sweetalert2-theme($background, $color: null) {
$color: if($color, $color, yiq($background));
.swal2-progress-steps[class] .swal2-progress-step.swal2-active-progress-step,
.swal2-progress-steps[class] .swal2-progress-step-line,
.swal2-progress-steps[class] .swal2-active-progress-step,
.swal2-progress-steps[class] .swal2-progress-step {
background: $background;
color: $color;
}
.swal2-progress-steps[class] .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step,
.swal2-progress-steps[class] .swal2-progress-step.swal2-active-progress-step ~ .swal2-progress-step-line {
background: rgba-to-hex(rgba($background, .25));
}
}