//=============Over ride =====

@import "../../../node_modules/bootstrap/scss/functions";

@import "variables";
@mixin button-variant(
    $background,
    $border,
    $hover-background: darken($background, 10%),
    $hover-border: darken($border, 10%),
    $active-background: darken($background, 18%),
    $active-border: darken($border, 18%)
) {
    color: color-yiq($background);
    @include gradient-bg($background);
    border-color: $border;
    @include box-shadow($btn-box-shadow);

    @include hover {
        color: color-yiq($hover-background);
        @include gradient-bg($hover-background);
        border-color: $hover-border;
        box-shadow: 0 1px 10px rgba($background, 0.4);
    }

    &:focus,
    &.focus {
        color: color-yiq($background);
        // Avoid using mixin so we can pass custom focus shadow properly
        @if $enable-shadows {
            box-shadow: $btn-box-shadow,
                0 0 0 $btn-focus-width rgba($border, 0.5);
        } @else {
            box-shadow: 0 0 0 $btn-focus-width rgba($border, 0.5);
        }
    }

    // Disabled comes first so active can properly restyle
    &.disabled,
    &:disabled {
        background-color: $background;
        border-color: $border;
    }

    &:not([disabled]):not(.disabled):active,
    &:not([disabled]):not(.disabled).active,
    .show > &.dropdown-toggle {
        color: color-yiq($active-background);
        background-color: $active-background;
        @if $enable-gradients {
            background-image: none; // Remove the gradient for the pressed/active state
        }
        border-color: $active-border;

        // Avoid using mixin so we can pass custom focus shadow properly
        @if $enable-shadows {
            box-shadow: $btn-active-box-shadow,
                0 0 0 $btn-focus-width rgba($border, 0.5);
        } @else {
            box-shadow: 0 0 0 $btn-focus-width rgba($border, 0.5);
        }
    }
}

// Core variables and mixins
@import "../../../node_modules/bootstrap/scss/bootstrap";
//@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
$spacers: 4 5 8 10 12 15 16 20 24 25 30 35 40 45 50 60 70 80 90 100 120 140 150
    160 180 200 250 300;

@each $prop, $abbrev in (margin: m, padding: p) {
    @each $size in $spacers {
        .#{$abbrev}#{$size} {
            #{$prop}: $size !important;
        }
        .#{$abbrev}t-#{$size},
        .#{$abbrev}y-#{$size} {
            #{$prop}-top: #{$size}px !important;
        }
        .#{$abbrev}r-#{$size},
        .#{$abbrev}x-#{$size} {
            #{$prop}-right: #{$size}px !important;
        }
        .#{$abbrev}b-#{$size},
        .#{$abbrev}y-#{$size} {
            #{$prop}-bottom: #{$size}px !important;
        }
        .#{$abbrev}l-#{$size},
        .#{$abbrev}x-#{$size} {
            #{$prop}-left: #{$size}px !important;
        }
        //// Axes
        //.#{$abbrev}x-#{$size} {
        //  #{$prop}-right:  #{$size}px !important;
        //  #{$prop}-left:   #{$size}px !important;
        //}
        //.#{$abbrev}y-#{$size} {
        //  #{$prop}-top:    #{$size}px !important;
        //  #{$prop}-bottom: #{$size}px !important;
        //}
    }
}

@import "cards";

.table {
    thead th {
        border-bottom: 0;
        border-top: 0;
    }
}
