//
// toastr.scss
//

.jq-toast-single {
    padding: 15px;
    font-family: $font-family-base;
    background-color: $primary;
    font-size: 13px;
    line-height: 22px;
    h2 {
        font-family: $font-family-base;
    }
    a {
        font-size: $font-size-base;
        &:hover {
            color: $white;
        }
    }
}

.jq-has-icon {
    padding: 10px;
}

.close-jq-toast-single {
    position: absolute;
    top: -12px;
    right: -12px;
    left: auto;
    font-size: 20px;
    cursor: pointer;
    height: 32px;
    width: 32px;
    background-color: $dark;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    color: $color-contrast-light;
}

.jq-toast-loader {
    height: 3px;
    top: 0;
    border-radius: 0;
}

@each $color,$value in $theme-colors {
    .jq-icon-#{$color} {
        background-color: #{$value};
        color: $white;
        border-color: #{$value};
    }
}

// For error
.jq-icon-error {
    background-color: $danger;
    color: $white;
    border-color: $danger;
}


.jq-icon-info, .jq-icon-warning, .jq-icon-error, .jq-icon-success {
    background-image: none;
}