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rB,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\";\r\n\r\n$border: 1px solid $newGreyColor1;\r\n$headerBackgroundColor: $newGreyColor3;\r\n$headerColor: $newBlackColor2;\r\n\r\n.bk-tab {\r\n    border-radius: 2px;\r\n}\r\n.bk-tab.bk-tab-border-card {\r\n    >.bk-tab-header {\r\n        height: 43px;\r\n        border: $border;\r\n        border-bottom: none;\r\n        background-color: $headerBackgroundColor;\r\n        border-radius: 2px 2px 0 0;\r\n    }\r\n    >.bk-tab-header>.bk-tab-label-wrapper>.bk-tab-label-list{\r\n        >.bk-tab-label-item.active {\r\n            background-color: #fff;\r\n        }\r\n    }\r\n}\r\n.bk-tab.bk-tab-card {\r\n    .bk-tab-label-wrapper {\r\n        &.has-add {\r\n            .bk-tab-label-list {\r\n                border-radius: 2px 0 0 0;\r\n            }\r\n        }\r\n        &.has-scroller {\r\n            .bk-tab-label-list {\r\n                border-radius: 0;\r\n            }\r\n        }\r\n    }\r\n    .bk-tab-label-list {\r\n        border-top: $border;\r\n        border-radius: 2px 2px 0 0;\r\n        .bk-tab-label-item.is-first {\r\n            border-left: $border;\r\n        }\r\n    }\r\n    .bk-tab-scroll-controller {\r\n        border-top: $border;\r\n        &.prev {\r\n            border-left: $border;\r\n            &.disabled {\r\n                border-right: none;\r\n            }\r\n        }\r\n    }\r\n    .bk-tab-add-controller {\r\n        border-top: $border;\r\n        background-color: #fff;\r\n    }\r\n    >.bk-tab-header>.bk-tab-label-wrapper>.bk-tab-label-list{\r\n        >.bk-tab-label-item.active {\r\n            background-color: #fff;\r\n        }\r\n    }\r\n}\r\n\r\n.bk-tab-label-list-has-bar {\r\n    &::after {\r\n        content: '';\r\n        position: absolute;\r\n        bottom: var(--activeBarBottom);\r\n        top: var(----activeBarTop);\r\n        left: var(--activeBarLeft);\r\n        height: var(--activeBarHeight);\r\n        width: var(--activeBarWidth);\r\n        transform: var(--activeBarTransform);\r\n        background: $newMainColor;\r\n        transition: transform .3s cubic-bezier(.645, .045, .355, 1);\r\n    }\r\n}\r\n\r\n.bk-tab.bk-tab-unborder-card {\r\n    .bk-tab-label-list {\r\n        border-top: none;\r\n    }\r\n    .bk-tab-label-wrapper {\r\n        &.has-scroller.has-add {\r\n            .bk-tab-add-controller {\r\n                border-left: none;\r\n            }\r\n        }\r\n        .bk-tab-add-controller,\r\n        .bk-tab-scroll-controller {\r\n            border: none;\r\n            border-bottom: $border;\r\n            background-color: #fff;\r\n        }\r\n        .bk-tab-label-list {\r\n            .bk-tab-label-item {\r\n                border: none!important;\r\n            }\r\n        }\r\n    }\r\n    .bk-tab-section {\r\n        border: none;\r\n    }\r\n}\r\n\r\n.position-left,.position-right {\r\n    display: flex;\r\n    align-items: stretch;\r\n    min-height: 225px;\r\n    &.position-right {\r\n        flex-direction: row-reverse;\r\n        .bk-tab-header {\r\n            border-right: none;\r\n            right: 0;\r\n            &:after, &:before {\r\n                left: 0;\r\n                right: calc(100% - 1px);\r\n            }\r\n        }\r\n        .bk-tab-label-wrapper {\r\n            &:after {\r\n                border-right: none;\r\n                border-left: $border;\r\n            }\r\n            .bk-tab-label-list .bk-tab-label-item {\r\n                text-align: left;\r\n                border-right: none;\r\n                border-left: $border;\r\n            }\r\n        }\r\n    }\r\n\r\n    .bk-tab-header {\r\n        height: auto;\r\n        background: #fff;\r\n        padding: 10px 0;\r\n        &:after, &:before {\r\n            content: '';\r\n            position: absolute;\r\n            height: 10px;\r\n            width: 1px;\r\n            right: 0;\r\n            top: 0;\r\n            background: $newGreyColor1;\r\n        }\r\n        &:after {\r\n            top: calc(100% - 10px);\r\n            bottom: 0;\r\n        }\r\n    }\r\n    .bk-tab-label-wrapper {\r\n        display: flex;\r\n        flex-direction: column;\r\n        overflow-y: auto;\r\n        overflow-y: overlay;\r\n        &:after {\r\n            content: '';\r\n            flex: 1;\r\n            border-right: $border;\r\n        }\r\n        &.has-scroller.has-add {\r\n            .bk-tab-add-controller {\r\n                border-left: none;\r\n            }\r\n        }\r\n\r\n        .bk-tab-label-list {\r\n            display: flex;\r\n            flex-direction: column;\r\n            height: auto;\r\n            .bk-tab-label-item {\r\n                border-right: $border;\r\n                padding: 0 12px;\r\n                margin: 0;\r\n                text-align: right;\r\n                position: relative;\r\n            }\r\n        }\r\n    }\r\n    .bk-tab-section {\r\n        border: none;\r\n        padding: 10px 20px;\r\n        flex: 1;\r\n        .bk-tab-content {\r\n            word-break: break-all;\r\n        }\r\n    }\r\n}\r\n\r\n.bk-tab-header {\r\n    position: relative;\r\n    height: 42px;\r\n    color: $headerColor;\r\n    background-image: linear-gradient(transparent 41px, $newGreyColor1 1px);\r\n}\r\n\r\n.bk-tab-label-wrapper {\r\n    position: relative;\r\n    height: 100%;\r\n    font-size: 0;\r\n    overflow: hidden;\r\n    &.has-add .bk-tab-label-list {\r\n        .bk-tab-label-item.has-close {\r\n            transition: color .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1);\r\n            &:hover {\r\n                padding: 0 11px;\r\n            }\r\n            .bk-tab-close-controller {\r\n                transition: all .3s cubic-bezier(.645,.045,.355,1);\r\n            }\r\n        }\r\n\r\n    }\r\n\r\n    &.has-scroller {\r\n        padding: 0 24px;\r\n        .bk-tab-label-list {\r\n            .bk-tab-label-item.is-last {\r\n                border-right: none;\r\n            }\r\n        }\r\n    }\r\n    &.has-scroller.has-add {\r\n        padding: 0 66px 0 24px;\r\n        .bk-tab-add-controller {\r\n            position: absolute;\r\n            top: 0;\r\n            right: 0;\r\n            border-bottom: $border;\r\n            border-left: $border;\r\n            &.next-right {\r\n                right: 24px;\r\n                box-shadow: -10px 0 10px rgb(0 0 0 / .05);\r\n                border-right: 0;\r\n            }\r\n        }\r\n        .bk-tab-scroll-controller.next {\r\n            right: 42px;\r\n        }\r\n        .bk-tab-add-custom {\r\n            position: absolute;\r\n            top: 0;\r\n            right: 0;\r\n            border-left: $border;\r\n            &.next-right {\r\n                right: 24px;\r\n                border-left: $border;\r\n                box-shadow: -10px 0 10px rgb(0 0 0 / .05);\r\n            }\r\n        }\r\n    }\r\n    .bk-tab-add-controller {\r\n        display: inline-block;\r\n        vertical-align: middle;\r\n        width: 42px;\r\n        height: 42px;\r\n        border-right: $border;\r\n        border-bottom: $border;\r\n        line-height: 41px;\r\n        text-align: center;\r\n        font-size: $iconNormalSize;\r\n        background-color: $headerBackgroundColor;\r\n        cursor: pointer;\r\n        z-index: 2;\r\n        &:hover {\r\n            color: $newMainColor;\r\n        }\r\n        &.left-border {\r\n            border-left: $border;\r\n        }\r\n    }\r\n    .bk-tab-add-custom {\r\n        display: inline-block;\r\n        position: relative;\r\n        font-size: $iconNormalSize;\r\n        z-index: 2;\r\n        vertical-align: middle;\r\n        opacity: 1;\r\n        background-color: $headerBackgroundColor;\r\n        border-bottom: $border;\r\n    }\r\n    .bk-tab-scroll-controller {\r\n        position: absolute;\r\n        top: 0;\r\n        width: 24px;\r\n        height: 42px;\r\n        border-bottom: $border;\r\n        line-height: 41px;\r\n        text-align: center;\r\n        font-size: $iconNormalSize;\r\n        background-color: $headerBackgroundColor;\r\n        box-shadow: 0 0 20px rgba(0, 0, 0, .2);\r\n        cursor: pointer;\r\n        z-index: 1;\r\n        &.prev {\r\n            left: 0;\r\n            border-right: $border;\r\n            border-radius: 2px 0 0 0;\r\n        }\r\n\r\n        &.next {\r\n            right: 0;\r\n            border-left: $border;\r\n        }\r\n\r\n        &.add {\r\n            width: 42px;\r\n            right: 24px;\r\n            box-shadow: none;\r\n            border-right: $border;\r\n            border-left: $border;\r\n        }\r\n        &:hover {\r\n            color: $newMainColor;\r\n        }\r\n\r\n        &.disabled {\r\n            box-shadow: none;\r\n            cursor: not-allowed;\r\n            color: $newGreyColor;\r\n        }\r\n    }\r\n    .bk-tab-label-list {\r\n        display: inline-block;\r\n        height: 42px;\r\n        vertical-align: middle;\r\n        padding: 0;\r\n        margin: 0;\r\n        font-size: 0;\r\n        list-style: none;\r\n        white-space: nowrap;\r\n        transition: transform .3s;\r\n\r\n        .bk-tab-label-item {\r\n            position: relative;\r\n            display: inline-block;\r\n            vertical-align: middle;\r\n            min-width: 100px;\r\n            padding: 0 18px;\r\n            border-right: $border;\r\n            text-align: center;\r\n            line-height: 42px;\r\n            cursor: pointer;\r\n            &:not(.is-disabled):hover {\r\n                color: $newMainColor;\r\n            }\r\n            &.simulate-border-bottom {\r\n                padding: 0 10px;\r\n                .bk-tab-label {\r\n                    box-shadow: inset 0px -4px 0px -2px $newMainColor !important;\r\n                    padding: 0 8px;\r\n                }\r\n            }\r\n            &.simulate-border-right {\r\n                /* box-shadow: inset -4px 0px 0px -2px #3a84ff; */\r\n                border-right: 2px solid $newMainColor;\r\n                padding-right: 11px;\r\n            }\r\n            &.active {\r\n                /* background-color: #fff; */\r\n                color: $newMainColor;\r\n                cursor: default;\r\n            }\r\n            &.is-disabled {\r\n                color: $newGreyColor;\r\n                cursor: not-allowed;\r\n            }\r\n            &.is-dragging {\r\n                cursor: move;\r\n                user-select: none;\r\n            }\r\n            &.is-dragenter {\r\n                background: $newGreyColor2;\r\n            }\r\n            &.is-unsortable {\r\n                cursor: not-allowed;\r\n                background: none;\r\n            }\r\n            &.has-close:hover {\r\n                padding: 0 10px;\r\n                .bk-tab-close-controller {\r\n                    margin: 0 0 0 6px;\r\n                    width: 14px;\r\n                }\r\n            }\r\n            .bk-tab-label {\r\n                font-size: 14px;\r\n                display: inline-block;\r\n                vertical-align: middle;\r\n            }\r\n            .bk-tab-close-controller {\r\n                position: relative;\r\n                display: inline-block;\r\n                vertical-align: middle;\r\n                width: 0;\r\n                height: 14px;\r\n                border-radius: 50%;\r\n                background-color: $newGreyColor;\r\n                overflow: hidden;\r\n                cursor: pointer;\r\n                &:before,\r\n                &:after {\r\n                    content: \"\";\r\n                    position: absolute;\r\n                    top: 6px;\r\n                    left: 3px;\r\n                    width: 8px;\r\n                    height: 1px;\r\n                    background-color: #fff;\r\n                }\r\n                &:before {\r\n                    transform: translateY(0.5px) rotate(45deg);\r\n                }\r\n                &:after {\r\n                    transform: translateY(0.5px) rotate(-45deg);\r\n                }\r\n                &:hover {\r\n                    background-color: $newBlackColor3;\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\n\r\n.bk-tab-header-setting {\r\n    float: right;\r\n    height: 42px;\r\n    line-height: 42px;\r\n}\r\n\r\n.bk-tab-section {\r\n    padding: 20px;\r\n    border: $border;\r\n    border-top: none;\r\n    border-radius: 0 0 2px 2px;\r\n}\r\n"]}