@import './colors';

// tab

@mixin hc-tab() {
    min-width: 0;
}

@mixin hc-tab-vertical() {
    background-color: $white;
    color: $offblack;
    display: block;
    padding: 20px;
    text-decoration: none;

    &:hover {
        cursor: pointer;
    }
    &.active {
        background-color: $slate-gray-100;
        border-left: $wcf-red 8px solid;
        color: $wcf-red;
        font-weight: 600;
        padding-left: 12px;
    }
}

@mixin hc-tab-vertical-active() {
    background-color: $slate-gray-100;
    border-left: $wcf-red 8px solid;
    color: $wcf-red;
    font-weight: 600;
    padding-left: 12px;
}

@mixin hc-tab-horizontal() {
    background-color: inherit;
    color: $offblack;
    display: block;
    font-size: 14px;
    min-width: 100px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;

    &:hover {
        cursor: pointer;
    }
    &.active {
        border-bottom: $wcf-red 4px solid;
        color: $wcf-blue;
        font-weight: bold;
    }
}

@mixin hc-tab-horizontal-active() {
    border-bottom: $wcf-red 4px solid;
    color: $wcf-blue;
    font-weight: bold;
}

// tab-set

@mixin hc-tab-set-container-horizontal() {
    height: auto;
    width: 100%;
}

@mixin hc-tab-set-bar-horizontal() {
    align-items: baseline;
    background-color: inherit;
    border-bottom: 1px solid $slate-gray-300;
    display: flex;
    flex-direction: row;
}

@mixin hc-tab-set-content-horizontal() {
    background-color: inherit;
    height: 100%;
    overflow: visible;
    width: 100%;
}

@mixin hc-tab-set-container-vertical() {
    display: flex;
    height: 100%;
    width: 100%;
}

@mixin hc-tab-set-bar-vertical() {
    background-color: $white;
    padding: 15px 0;
    width: 20%;
}

@mixin hc-tab-set-content-vertical() {
    background-color: $slate-gray-100;
    width: 80%;
}
