index-view-layout-left.scss 2.3 KB
Newer Older
1 2
.index-view-layout--left {
    position: relative;
3 4 5
    font-size: var(--app-font-size);
    line-height: var(--app-line-height);
    color: var(--app-color-black);
6

7
    .index-view-sider {
8 9 10
        flex: none !important;
        max-width: none !important;
        transition: none 0s ease 0s;
11 12
        background-color: #001529;
        color: var(--app-color-white);
13

14
        .index-view-sider__top {
15 16 17 18
            height: 64px;
            display: flex;
            justify-content: center;
            align-items: center;
19 20 21 22 23 24 25

            .app-icon {
                width: 37px;
                height: 37px;
            }

            .app-caption {
26 27
                font-size: 18px;
                font-weight: 400;
28 29 30
                margin-left: 10px;
                color: var(--app-color-white);
            }
31 32 33
        }

        .app-menu {
34
            height: calc(100% - 164px);
35 36 37
            overflow-y: auto;
            overflow-x: hidden;
        }
38 39 40 41 42 43 44 45 46 47 48 49 50

        .index-view-sider__bottom {
            .collapse-icon {
                font-size: 20px;
                color: var(--app-color-white);
                margin-left: 15px;
                cursor: pointer;

                &:hover {
                    color: var(--app-color-blue);
                }
            }
        }
51 52
    }

53
    .index-view-split {
54
        position: absolute;
55 56
        left: 204px;
        width: 4px;
57 58 59 60
        height: 100%;
        cursor: w-resize;
    }

61
    .index-view-header {
62
        height: 64px;
63 64
        display: flex;
        justify-content: space-between;
65
        align-items: center;
66 67
        background-color: #001529;
        color: var(--app-color-white);
68

69
        .index-view-header__left {
70 71 72 73 74 75
            display: flex;
            font-size: 21px;
            margin-left: 8px;
            align-items: center;
        }

76
        .index-view-header__right {
77 78
            display: flex;
            align-items: center;
79
            margin-right: 38px;
80
        }
81
    }
82

83
    .index-view-content {
84 85 86 87 88
        height: calc(100% - 64px);
        background-color: var(--app-color-gray-400);

        >.view-container {
            overflow: auto;
89
            margin: 0 12px;
90 91
        }

92
        &.index-view-content--tab {
93 94

            >.view-container {
95
                height: calc(100% - 65px);
96 97
            }
        }
98 99
    }
}