.rs-tab {
    .ant-tabs-tab {
        padding: 8px 12px;
        margin: 0;
    }

    .inner-table-container {
        .ant-table-header {
            table {
                visibility: visible !important;
            }
        }
    }
}

.ant-tabs-nav {
    margin: 0 !important;
}

// 包裹型
.rs-tab-wrapped {
    .ant-tabs-ink-bar {
        display: none;
    }

    .ant-tabs-tab {
        font-size: 16px;
        margin-right: 4px;
        border-radius: 6px 6px 0 0;
        border: 0 solid var(--ant-border-color-base);

        &.ant-tabs-tab-active {
            z-index: 1;
            background-color: #e5e6e8;

            .ant-tabs-tab-btn {
                color: #171a1d !important;

            }
        }
    }
}

// text
.rs-tab-text {
    .ant-tabs-ink-bar {
        display: none;
    }

    .ant-tabs-tab:not(:last-child):after {
        content: "";
        position: absolute;
        right: 0;
        top: calc(50% - 4px);
        width: 1px;
        height: 8px;
        background-color: #e5e6e8;
    }
}

// 胶囊型
.rs-tab-capsule {
    .ant-tabs-ink-bar {
        display: none;
    }

    .ant-tabs-tab {
        margin-right: -1px;

        transition: background-color .1s linear;
        border: 1px solid var(--ant-border-color-base);
        border-right-color: transparent;
        background-color: #fff;

        &:nth-last-child(2) {
            border-radius: 0 6px 6px 0;
            border-right: 1px;
            margin-right: -1px;
        }

        &:first-child {
            border-radius: 6px 0 0 6px;
        }
    }

    .ant-tabs-tab-active {
        z-index: 1;
        background-color: var(--ant-primary-color);
        border-color: var(--ant-primary-color);

        .ant-tabs-tab-btn {
            color: #fff !important;
        }
    }
}


.ant-tabs.rs-tab-slide>.ant-tabs-nav .ant-tabs-nav-operations {
    display: none;
}

.rs-tab-extra-more {
    width: 64px;
    text-align: center;

    >span {
        display: inline-block;
        vertical-align: top;

        &.disabled {
            color: var(--tab-nav-arrow-color-disabled, #e5e6e8);
            cursor: not-allowed;
        }
    }
}