app-custom-theme.less 2.3 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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
.app-custom-theme {
    .title {
        margin-left: 4px;
    }
}
//  抽屉样式
.app-custom-theme-drawaer {
    .el-drawer__body {
        padding: 24px;
    }
    .theme-color {
        height: 54px;
        h3 {
            margin-bottom: 10px;
            font-size: 14px;
            line-height: 22px;
        }
        .theme-tag {
            float: left;
            width: 56px;
            height: 24px;
            margin-right: 8px;
            font-weight: 700;
            text-align: center;
            border-radius: 2px;
            cursor: pointer;
            position: relative;
        }
        .is-select::after {
            content: '';
            position: absolute;
            top: 4px;
            right: 24px;
            width: 6px;
            height: 12px;
            border: 0;
            border-right: 2px solid;
            border-bottom: 2px solid;
            border-color: #fff;
            transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            transition: all 0.3s ease;
            -webkit-transition: all 0.3s ease;
        }
    }
    .theme-color .theme-tag:first-of-type.is-select::after {
        border-color: #409eff;
    }
    .theme-setting {
        height: 500px;
        > .el-tabs {
            height: 100%;
            > .el-tabs__content {
                height: calc(100% - 55px);
                overflow: auto;
            }
        }
        > .el-tabs > .el-tabs__content .el-tab-pane {
            .setting {
                overflow: auto;
            }
            .setting-item {
                display: flex;
                align-items: center;
                justify-content: space-between;
                .el-color-picker .el-color-picker__trigger {
                    width: 100px;
                }
            }
        }
        .app-setting{
          .el-select{
            width: 100px;
          }
        }
    }
    .split {
        height: 2px;
        background-color: rgba(0, 0, 0, 0.06);
        margin: 24px 0;
    }
    button {
        color: var(--button-font-color);
        border-color: var(--button-font-color-light);
        background-color: var(--button-background-color);
    }
    button:hover {
        background-color: var(--button-background-color-bright);
        color: var(--button-font-color-bright);
    }
}