CONTROL.less.ftl 2.0 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
.app-tree-exp-bar {
    > .ivu-split-horizontal {
        > .ivu-split-trigger-con {
            height: 100%;
            width: 1px;
        }
        > .ivu-split-pane {
            > div {
                height: 100%;
                overflow: auto;
                display: flex;
                flex-direction: column;
                .tree-exp-bar-header {
                    line-height: 50px;
                    border-bottom: 1px solid #ddd;
                    >div {
                        font-size: 18px;
                        padding-left: 8px;
                        i {
                            font-size: 20px;
                            margin-top: -2px;
                        }
                    } 
                }
                .search-content {
                    width: 100%;
                    height: 48px;
                    padding: 10px 5px 10px 5px;
                }
                .tree-exp-content {
                <#--  计算高度  -->
                    <#if ctrl.isShowTitleBar() && ctrl.isEnableSearch()>
                    height: calc(100% - 88px);
                    <#elseif ctrl.isShowTitleBar() && !ctrl.isEnableSearch()>
                    height: calc(100% - 40px);
                    <#elseif !ctrl.isShowTitleBar() && ctrl.isEnableSearch()>
                    height: calc(100% - 38px);
                    <#else>
                    height: 100%;
                    </#if>
                    overflow: auto;
                    padding: 16px 0;
                    margin-bottom: 10px;
                }
                .tree-exp-content2 {
                    height: 100%;
                    overflow: auto;
                    flex-grow: 1;
                }
            }
        }
        > .right-pane.ivu-split-pane {
            > div {
                padding-left: 10px;
            }
        }
        > .left-pane.ivu-split-pane {
            padding-right: 10px;
        }
    }
}

<#ibizinclude>
../@MACRO/CSS/DEFAULT.less.ftl
</#ibizinclude>