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hB,eAAgB,CAChB,kBAAmB,CACnB,aACJ,CAEJ,yCACI,oBAAqB,CACrB,WAAY,CACZ,qBAAsB,CACtB,SAAU,CACV,QAAS,CACT,WAAY,CACZ,eAAgB,CAChB,kBAAmB,CACnB,wCAAyB,CAAzB,gCAAyB,CAAzB,wBAAyB,CAAzB,8CA0FJ,CAxFI,4DACI,iBAAkB,CAClB,oBAAqB,CACrB,qBAAsB,CACtB,eAAgB,CAChB,cAAe,CACf,8BAAqB,CACrB,iBAAkB,CAClB,gBAAiB,CACjB,cA8EJ,CA7EI,oFACI,aACJ,CACA,mFACI,cAKJ,CAJI,iGACI,wDAA4D,CAA5D,gDAA4D,CAC5D,aACJ,CAEJ,kFAEI,8BAAqC,CACrC,kBACJ,CACA,mEAEI,aAAoB,CACpB,cACJ,CACA,wEACI,aAAoB,CACpB,kBACJ,CACA,wEACI,WAAY,CACZ,wBAAiB,CAAjB,qBAAiB,CAAjB,oBAAiB,CAAjB,gBACJ,CACA,yEACI,kBACJ,CACA,0EACI,kBAAmB,CACnB,eACJ,CACA,4EACI,cAKJ,CAJI,qGACI,gBAAiB,CACjB,UACJ,CAEJ,0EACI,cAAe,CACf,oBAAqB,CACrB,qBACJ,CACA,qFACI,iBAAkB,CAClB,oBAAqB,CACrB,qBAAsB,CACtB,OAAQ,CACR,WAAY,CACZ,iBAAkB,CAClB,wBAA+B,CAC/B,eAAgB,CAChB,cAoBJ,CAnBI,uLAEI,UAAW,CACX,iBAAkB,CAClB,OAAQ,CACR,QAAS,CACT,SAAU,CACV,UAAW,CACX,qBACJ,CACA,4FACI,gDAA0C,CAA1C,wCACJ,CACA,2FACI,iDAA2C,CAA3C,yCACJ,CACA,2FACI,wBACJ,CAMhB,uBACI,WAAY,CACZ,WAAY,CACZ,gBACJ,CAEA,gBACI,YAAa,CAEb,wBAAgB,CAAhB,eAAgB,CAChB,yBACJ","file":"tab.min.css","sourcesContent":["@import \"./variable.css\";\n\n$border: 1px solid $newGreyColor1;\n$headerBackgroundColor: $newGreyColor3;\n$headerColor: $newBlackColor2;\n\n.bk-tab {\n    border-radius: 2px;\n}\n.bk-tab.bk-tab-border-card {\n    > .bk-tab-header {\n        height: 43px;\n        border: $border;\n        border-bottom: none;\n        background-color: $headerBackgroundColor;\n        border-radius: 2px 2px 0 0;\n    }\n    > .bk-tab-header > .bk-tab-label-wrapper > .bk-tab-label-list {\n        > .bk-tab-label-item.active {\n            background-color: #fff;\n        }\n    }\n}\n\n\n.bk-tab.bk-tab-card-tab {\n    border-radius: 4px;\n\n    > .bk-tab-header {\n        border: 0;\n        background: $newGreyColor2;\n        border-radius: 4px 4px 0 0;\n        overflow: hidden;\n    }\n\n    .bk-tab-label-wrapper {\n        &.has-scroller.has-add {\n            .bk-tab-add-controller {\n                border-left: none;\n            }\n\n            .bk-tab-extension-controller {\n                border-left: none;\n            }\n        }\n\n        .bk-tab-extension-controller,\n        .bk-tab-add-controller,\n        .bk-tab-scroll-controller {\n            border: none;\n            background: $newGreyColor2;\n        }\n\n        .bk-tab-label-list {\n            .bk-tab-label-item {\n                border: 0 !important;\n                position: relative;\n\n                &:before {\n                    content: '';\n                    display: block;\n                    position: absolute;\n                    left: 0;\n                    top: 50%;\n                    margin-top: -8px;\n                    width: 1px;\n                    height: 16px;\n                    background: $newGreyColor;\n                }\n            }\n\n            .is-first {\n                &:before {\n                    display: none;\n                }\n            }\n\n            .is-last:not(.active) {\n                &:after {\n                    content: '';\n                    display: block;\n                    position: absolute;\n                    right: 0;\n                    top: 50%;\n                    margin-top: -8px;\n                    width: 1px;\n                    height: 16px;\n                    background: $newGreyColor;\n                }\n            }\n\n            .active {\n                background: #fff;\n                border-radius: 4px 4px 0 0;\n                overflow: hidden;\n\n                &:before {\n                    display: none;\n                }\n            }\n\n            .active, .active + li {\n                &:before {\n                    display: none;\n                }\n            }\n\n        }\n    }\n\n    .bk-tab-section {\n        border: none;\n    }\n}\n.bk-tab.bk-tab-card {\n    .bk-tab-label-wrapper {\n        &.has-add {\n            .bk-tab-label-list {\n                border-radius: 2px 0 0 0;\n            }\n        }\n        &.has-scroller {\n            .bk-tab-label-list {\n                border-radius: 0;\n            }\n        }\n    }\n\n    .bk-tab-label-list {\n        border-top: $border;\n        border-radius: 2px 2px 0 0;\n        .bk-tab-label-item.is-first {\n            border-left: $border;\n        }\n    }\n\n    .bk-tab-scroll-controller {\n        border-top: $border;\n        &.prev {\n            border-left: $border;\n            &.disabled {\n                border-right: none;\n            }\n        }\n    }\n\n    .bk-tab-extension-controller, .bk-tab-add-controller {\n        border-top: $border;\n        background-color: #fff;\n    }\n\n    > .bk-tab-header > .bk-tab-label-wrapper > .bk-tab-label-list {\n        > .bk-tab-label-item.active {\n            background-color: #fff;\n        }\n    }\n}\n\n.bk-tab-label-list-has-bar {\n    &::after {\n        content: '';\n        position: absolute;\n        bottom: var(--activeBarBottom);\n        top: var(----activeBarTop);\n        left: var(--activeBarLeft);\n        height: var(--activeBarHeight);\n        width: var(--activeBarWidth);\n        transform: var(--activeBarTransform);\n        background: $newMainColor;\n        transition: transform .3s cubic-bezier(.645, .045, .355, 1);\n    }\n}\n\n.bk-tab.bk-tab-unborder-card {\n    .bk-tab-label-list {\n        border-top: none;\n    }\n    .bk-tab-label-wrapper {\n        &.has-scroller.has-add {\n            .bk-tab-add-controller {\n                border-left: none;\n            }\n            \n            .bk-tab-extension-controller {\n                border-left: none;\n            }\n        }\n        .bk-tab-extension-controller,\n        .bk-tab-add-controller,\n        .bk-tab-scroll-controller {\n            border: none;\n            border-bottom: $border;\n            background-color: #fff;\n        }\n        .bk-tab-label-list {\n            .bk-tab-label-item {\n                border: none !important;\n            }\n        }\n    }\n    .bk-tab-section {\n        border: none;\n    }\n}\n\n.position-left, .position-right {\n    display: flex;\n    align-items: stretch;\n    min-height: 225px;\n    &.position-right {\n        flex-direction: row-reverse;\n        .bk-tab-header {\n            border-right: none;\n            right: 0;\n            &:after, &:before {\n                left: 0;\n                right: calc(100% - 1px);\n            }\n        }\n        .bk-tab-label-wrapper {\n            &:after {\n                border-right: none;\n                border-left: $border;\n            }\n            .bk-tab-label-list .bk-tab-label-item {\n                text-align: left;\n                border-right: none;\n                border-left: $border;\n            }\n        }\n    }\n\n    .bk-tab-header {\n        height: auto;\n        background: #fff;\n        padding: 10px 0;\n        &:after, &:before {\n            content: '';\n            position: absolute;\n            height: 10px;\n            width: 1px;\n            right: 0;\n            top: 0;\n            background: $newGreyColor1;\n        }\n        &:after {\n            top: calc(100% - 10px);\n            bottom: 0;\n        }\n    }\n    .bk-tab-label-wrapper {\n        display: flex;\n        flex-direction: column;\n        overflow-y: auto;\n        overflow-y: overlay;\n        &:after {\n            content: '';\n            flex: 1;\n            border-right: $border;\n        }\n        &.has-scroller.has-add {\n            .bk-tab-add-controller {\n                border-left: none;\n            }\n            .bk-tab-extension-controller {\n                border-left: none;\n            }\n        }\n\n        .bk-tab-label-list {\n            display: flex;\n            flex-direction: column;\n            height: auto;\n            .bk-tab-label-item {\n                border-right: $border;\n                padding: 0 12px;\n                margin: 0;\n                text-align: right;\n                position: relative;\n            }\n        }\n    }\n    .bk-tab-section {\n        border: none;\n        padding: 10px 20px;\n        flex: 1;\n        .bk-tab-content {\n            word-break: break-all;\n        }\n    }\n    &.bk-tab-vertical-tab{\n        .bk-tab-header{\n            padding: 0;\n            background: $newGreyColor2;\n        }\n        .bk-tab-label-wrapper {\n            .active{\n                background: #fff;\n            }\n            &:after {\n               display: none;\n            }\n\n\n            .bk-tab-label-list {\n                .bk-tab-label-item {\n                    border: 0;\n                }\n            }\n        }\n    }\n}\n\n.bk-tab-header {\n    position: relative;\n    height: 42px;\n    color: $headerColor;\n    background-image: linear-gradient(transparent 41px, $newGreyColor1 1px);\n}\n\n.bk-tab-label-wrapper {\n    position: relative;\n    height: 100%;\n    font-size: 0;\n    overflow: hidden;\n    &.has-add .bk-tab-label-list {\n        .bk-tab-label-item.has-close {\n            transition: color .3s cubic-bezier(.645, .045, .355, 1), padding .3s cubic-bezier(.645, .045, .355, 1);\n            &:hover {\n                padding: 0 11px;\n            }\n            .bk-tab-close-controller {\n                transition: all .3s cubic-bezier(.645, .045, .355, 1);\n            }\n        }\n\n    }\n\n    &.has-scroller {\n        padding: 0 24px;\n        .bk-tab-label-list {\n            .bk-tab-label-item.is-last {\n                border-right: none;\n            }\n        }\n    }\n    &.has-scroller.has-add {\n        padding: 0 66px 0 24px;\n        .bk-tab-add-controller {\n            position: absolute;\n            top: 0;\n            right: 0;\n            border-bottom: $border;\n            border-left: $border;\n            &.next-right {\n                right: 24px;\n                box-shadow: -10px 0 10px rgb(0 0 0 / .05);\n                border-right: 0;\n            }\n        }\n        &.has-extension {\n            .bk-tab-extension-controller {\n                position: absolute;\n                top: 0;\n                right: 42px;\n                border-left: $border;\n            }\n            .bk-tab-add-controller {\n                border-left-width: 0;\n            }\n            .bk-tab-scroll-controller.next {\n                right: 84px !important;\n            }\n        }\n        .bk-tab-scroll-controller.next {\n            right: 42px;\n        }\n        .bk-tab-add-custom {\n            position: absolute;\n            top: 0;\n            right: 0;\n            border-left: $border;\n            &.next-right {\n                right: 24px;\n                border-left: $border;\n                box-shadow: -10px 0 10px rgb(0 0 0 / .05);\n            }\n        }\n    }\n    &.has-scroller.has-extension:not(.has-add) {\n        .bk-tab-extension-controller {\n            position: absolute;\n            top: 0;\n            right: 0;\n            border-bottom: $border;\n            border-left: $border;\n        }\n        .bk-tab-scroll-controller.next {\n            right: 42px;\n        }\n    }\n    .bk-tab-extension-controller, .bk-tab-add-controller {\n        display: inline-block;\n        vertical-align: middle;\n        width: 42px;\n        height: 42px;\n        border-right: $border;\n        border-bottom: $border;\n        line-height: 41px;\n        text-align: center;\n        font-size: $iconNormalSize;\n        background-color: $headerBackgroundColor;\n        cursor: pointer;\n        z-index: 2;\n        &:hover {\n            color: $newMainColor;\n        }\n        &.left-border {\n            border-left: $border;\n        }\n    }\n    .bk-tab-add-custom {\n        display: inline-block;\n        position: relative;\n        font-size: $iconNormalSize;\n        z-index: 2;\n        vertical-align: middle;\n        opacity: 1;\n        background-color: $headerBackgroundColor;\n        border-bottom: $border;\n    }\n    .bk-tab-scroll-controller {\n        position: absolute;\n        top: 0;\n        width: 24px;\n        height: 42px;\n        border-bottom: $border;\n        line-height: 41px;\n        text-align: center;\n        font-size: $iconNormalSize;\n        background-color: $headerBackgroundColor;\n        box-shadow: 0 0 20px rgba(0, 0, 0, .2);\n        cursor: pointer;\n        z-index: 1;\n        &.prev {\n            left: 0;\n            border-right: $border;\n            border-radius: 2px 0 0 0;\n        }\n\n        &.next {\n            right: 0;\n            border-left: $border;\n        }\n\n        &.add {\n            width: 42px;\n            right: 24px;\n            box-shadow: none;\n            border-right: $border;\n            border-left: $border;\n        }\n        &:hover {\n            color: $newMainColor;\n        }\n\n        &.disabled {\n            box-shadow: none;\n            cursor: not-allowed;\n            color: $newGreyColor;\n        }\n    }\n    .bk-tab-label-list {\n        display: inline-block;\n        height: 42px;\n        vertical-align: middle;\n        padding: 0;\n        margin: 0;\n        font-size: 0;\n        list-style: none;\n        white-space: nowrap;\n        transition: transform .3s;\n\n        .bk-tab-label-item {\n            position: relative;\n            display: inline-block;\n            vertical-align: middle;\n            min-width: 100px;\n            padding: 0 18px;\n            border-right: $border;\n            text-align: center;\n            line-height: 42px;\n            cursor: pointer;\n            &:not(.is-disabled):hover {\n                color: $newMainColor;\n            }\n            &.simulate-border-bottom {\n                padding: 0 10px;\n                .bk-tab-label {\n                    box-shadow: inset 0px -4px 0px -2px $newMainColor !important;\n                    padding: 0 8px;\n                }\n            }\n            &.simulate-border-right {\n                /* box-shadow: inset -4px 0px 0px -2px #3a84ff; */\n                border-right: 2px solid $newMainColor;\n                padding-right: 11px;\n            }\n            &.active {\n                /* background-color: #fff; */\n                color: $newMainColor;\n                cursor: default;\n            }\n            &.is-disabled {\n                color: $newGreyColor;\n                cursor: not-allowed;\n            }\n            &.is-dragging {\n                cursor: move;\n                user-select: none;\n            }\n            &.is-dragenter {\n                background: $newGreyColor2;\n            }\n            &.is-unsortable {\n                cursor: not-allowed;\n                background: none;\n            }\n            &.has-close:hover {\n                padding: 0 10px;\n                .bk-tab-close-controller {\n                    margin: 0 0 0 6px;\n                    width: 14px;\n                }\n            }\n            .bk-tab-label {\n                font-size: 14px;\n                display: inline-block;\n                vertical-align: middle;\n            }\n            .bk-tab-close-controller {\n                position: relative;\n                display: inline-block;\n                vertical-align: middle;\n                width: 0;\n                height: 14px;\n                border-radius: 50%;\n                background-color: $newGreyColor;\n                overflow: hidden;\n                cursor: pointer;\n                &:before,\n                &:after {\n                    content: \"\";\n                    position: absolute;\n                    top: 6px;\n                    left: 3px;\n                    width: 8px;\n                    height: 1px;\n                    background-color: #fff;\n                }\n                &:before {\n                    transform: translateY(0.5px) rotate(45deg);\n                }\n                &:after {\n                    transform: translateY(0.5px) rotate(-45deg);\n                }\n                &:hover {\n                    background-color: $newBlackColor3;\n                }\n            }\n        }\n    }\n}\n\n.bk-tab-header-setting {\n    float: right;\n    height: 42px;\n    line-height: 42px;\n}\n\n.bk-tab-section {\n    padding: 20px;\n    border: $border;\n    border-top: none;\n    border-radius: 0 0 2px 2px;\n}\n"]}