HEX
Server: LiteSpeed
System: Linux server.zepintelhosting.com 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: enamadmin (1026)
PHP: 8.2.30
Disabled: exec,system,passthru,shell_exec,proc_open,popen,apache_child_terminate
Upload Files
File: /home/enamadmin/public_html/elearning_plateforme1/theme/boost/scss/moodle/toasts.scss
@mixin toast-icon($content) {
    @extend .fa-solid;
    margin: 2px 5px 0 0;
    content: fa-content($content);
}

@mixin toast-variant($color) {
    $color-value: map-get($theme-colors, $color);
    background-color: rgba(shift-color($color-value, $alert-bg-scale), .95);
    color: shift-color($color-value, $alert-color-scale);
    .toast-header {
        color: shift-color($color-value, $alert-color-scale);
    }
}

.toast {
    border-radius: $toast-border-radius;

    &.toast-success {
        @include toast-variant('success');
        .toast-body:before {
            @include toast-icon($fa-var-check-circle);
        }
    }

    &.toast-danger {
        @include toast-variant('danger');
        .toast-body:before {
            @include toast-icon($fa-var-times-circle);
        }
    }

    &.toast-info {
        @include toast-variant('info');
        .toast-body:before {
            @include toast-icon($fa-var-info-circle);
        }
    }

    &.toast-warning {
        @include toast-variant('warning');
        .toast-body:before {
            @include toast-icon($fa-var-exclamation-circle);
        }
    }

    .btn-close {
        color: inherit;
    }
}