tab-page-exp.less 1.7 KB
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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
.app-page-tag {
    position: relative;
    width: 100%;
    height: 40px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    .app-page-tag__left {
        display: flex;
        align-items: center;
        width: 100%;
        .el-tabs {
            width: 100%;
            .el-tabs__nav {
                padding: 0px 16px;
                border: none;
            }

            .el-tabs__item {
                height: 32px;
                line-height: 32px;
                padding: 0 12px;
                display: inline-block;
                margin: 4px 4px 4px 0;
                border-radius: 3px;
                font-size: 12px;
                vertical-align: middle;
                opacity: 1;
                overflow: hidden;

                .ivu-tag-dot-inner {
                    display: inline-block;
                    width: 12px;
                    height: 12px;
                    margin-right: 8px;
                    border-radius: 50%;
                    position: relative;
                    top: 1px;
                }
            }

            .is-active {
                border-bottom:2px solid transparent;
            }

            .el-tabs__header {
                margin: 0;
                border-bottom: none;
                padding-right: 120px;
            }
        }
    }

    .app-page-tag__right {
        position: absolute;
        right: 0px;
        top: 0px;
        width: 120px;
        margin: 5px 0px;
        display: flex;
        justify-content: center;

        .el-dropdown {
            button {
                &:hover {
                    opacity: 0.8;
                }
            }
        }
    }
}