KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/lecturebazaar.com/resources/sass/bootstrap/mixins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/lecturebazaar.com/resources/sass/bootstrap/mixins/buttons.scss
// Button sizes
@mixin button-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
    padding-right: $padding-x;
    padding-left: $padding-x;
    height: $padding-y;
    @include font-size($font-size);
    @include border-radius(8px, 0);

    font-weight: $line-height;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}


@mixin button-text-variant($color, $color-hover: color-yiq($color), $active-background: $color, $active-border: $color) {
    color: $color !important;
//    border-color: $color;

    @include hover() {
        color: $color-hover !important;
        background-color: $active-background !important;
        border-color: $active-border !important;
    }

    &:focus,
    &.focus {
        box-shadow: 0 0 0 $btn-focus-width rgba($color, .5) !important;
    }

    &.disabled,
    &:disabled {
        color: $color !important;
        background-color: transparent !important;
    }
}

@each $color, $value in $theme-colors {
    .btn-text-#{$color} {
        @include button-text-variant($value);
    }
}

.btn-block {
    display: inline-flex !important;
}

Anon7 - 2021