app-default-drtab.less 920 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
.app-control-drtab {
    > .ivu-tabs-bar {
        margin-bottom: 16px;
    }
    .ivu-tabs-tab-disabled {
        pointer-events: auto;
    }
    > .ivu-tabs-content {
        height: calc(100% - 52px);
        padding: 0px;
        overflow: auto;
    }
    .ivu-tabs-tabpane {
        height: 100%;
    }
    .app-control-drtab__item {
        display: inline-block;
        position: relative;
        height: 100%;
        line-height: 39px;
        font-weight: 400;
        padding: 0 14px;
        cursor: pointer;
        &.is-active {
            &::after {
                content: '';
                position: absolute;
                width: 100%;
                height: 2px;
                bottom: 0px;
                left: 0;
            }
        }
        &.is-disable,
        &.is-disable:hover {
            cursor: no-drop;
        }
    }
    .item__icon {
        padding-right: 8px;
    }
}