app-content.less 1.6 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-content {
    height: 100%;
    width: 100%;

    .app-content-left {
        height: 100%;
        width: 100%;
    }
}
.app-content-right.hidden-bottom {
    .ivu-split-vertical {
        > .top-pane.ivu-split-pane {
            bottom: 0px ;
        }

        > .ivu-split-trigger-con {
            display: none;
        }

        > .bottom-pane.ivu-split-pane {
            display: none;
        }
    }
}
.ivu-split-wrapper.app-content-split.hidden-left {
    > .ivu-split-horizontal {
        > .left-pane.ivu-split-pane {
            right: calc(100vw - 48px);
        }

        > .ivu-split-trigger-con {
            display: none;
        }

        > .right-pane.ivu-split-pane {
            left: 48px;
        }
    }
}

.app-content-right {
    height: 100%;
    width: 100%;

    .app-content-exp {
        height: 100%;
        width: 100%;
        overflow: hidden;

        > .view-warp {
            height: calc(100% - 34px);
        }
    }

    .app-content-bottom {
        position: relative;
        height: 100%;
        width: 100%;

        > .app-content-bottom-close {
            position: absolute;
            cursor: pointer;
            top: 2px;
            right: 5px;
            font-size: 16px;
            z-index: 1;
        }
    }
}
// 样式二布局修正
.app-layout.style2 {
    .app-content {
        display: flex;

        > .app-content-nav {
            flex-shrink: 0;
        }

        > .app-content-right {
            flex-grow: 1;
        }
    }

    .app-content-right {
        .app-content-exp {
            > .view-warp {
                height: 100%;
            }
        }
    }
}