VIEW.less.ftl 3.2 KB
Newer Older
1 2 3
<#ibizinclude>
../@MACRO/DEFAULT.less.ftl
</#ibizinclude>
tony001's avatar
tony001 committed
4 5 6
.${srffilepath2(view.getCodeName())}{
    position: relative;
}
7
.index_view{
tony001's avatar
tony001 committed
8
    margin-bottom: 1px;
9 10 11 12
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
tony001's avatar
tony001 committed
13 14 15
    overflow: hidden;
    color:#303133;
    background-color: #fff;
16
    .app-horizontal-layout{
17 18 19 20 21
        .view-container{
            height: calc(100% - 32px);
            margin: 12px;
        }
    }
22
    .index_header{
tony001's avatar
tony001 committed
23
        height:65px;
24 25 26 27
        padding:0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
tony001's avatar
tony001 committed
28
        background-color: #fff;
29 30 31 32 33
        .page-logo{
          display: flex;
          align-items: center;
        }
        .header-left{
tony001's avatar
tony001 committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
            i{
                color:#b4bcc8;
            }
            i:hover{
                color:#1890ff;
            }
            > .app-breadcrumb{
                > span .el-breadcrumb__item .el-breadcrumb__inner{
                    a{
                        color:#606d80 !important;
                        cursor: pointer !important;
                    }
                    a:last-child:hover{
                        color:#1890ff !important;
                    }
                }
            }
            .ivu-icon{
                 font-size: 20px;
                padding: 4px;
                margin-top: -2px;
                cursor: pointer;
            }
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
            display: flex;
            align-items: center;
            justify-content: space-between;
            .el-menu.el-menu--horizontal{
                border-bottom: none;
                 .el-submenu{
                    border-top: none;
                }
            }
        }
        > div {
            line-height: 49px;
        }
    }
    .index_content{
tony001's avatar
tony001 committed
72
        background-color:#F0F2F5;
73 74 75 76 77 78 79 80 81 82 83
        height:calc(100vh - 50px);
        overflow-x: hidden;
        overflow-y: hidden;
    }
    >.ivu-layout {
        >.ivu-layout {
            height: calc(100vh - 50px);
        }
    }
    .ivu-layout .ivu-layout-sider .ivu-layout-sider-children .sider-top{
        margin-top: -2px;
tony001's avatar
tony001 committed
84 85 86
        line-height: 58px;
        text-align: center;
        font-size: 20px;
87 88
        cursor: pointer;
    }
tony001's avatar
tony001 committed
89
    .sider-top{
tony001's avatar
tony001 committed
90
        padding: 0px;
tony001's avatar
tony001 committed
91 92 93 94
        margin-bottom: 1px;
        height:65px;
        box-shadow: 0 1px 2px 0 rgba(0,0,0,.15);
        > .page-logo{
tony001's avatar
tony001 committed
95 96 97
          display: flex;
          align-items: center;
          height: 100%;
KK's avatar
KK committed
98
          justify-content: center;
tony001's avatar
tony001 committed
99 100
          >.menuicon{
            display: block;
tony001's avatar
tony001 committed
101
            text-align: center;
tony001's avatar
tony001 committed
102 103 104 105 106
            font-weight: 300;
            font-size: 28px;
            width:64px;
            height:100%;
          }
tony001's avatar
tony001 committed
107 108
        }
    }
109 110
}

KK's avatar
KK committed
111
#move_axis{
linjinyang's avatar
linjinyang committed
112 113
    position: absolute;
    left: 195px;
KK's avatar
KK committed
114 115 116
    width: 5px;
    height: 100%;
    cursor: w-resize;
linjinyang's avatar
linjinyang committed
117
    background-color: rgba(255,255,255,0);
KK's avatar
KK committed
118 119 120 121 122 123 124
}
.index_sider{
    flex: none!important;
    max-width: none !important;
    transition: none 0s ease 0s;
}

125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
/***    BRGIN:滚动条样式    ***/
::-webkit-scrollbar {
    background: transparent;
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-thumb {
    border-radius: 0;
    box-shadow: none;
    border: 0;
    background-color: #cecece;
}
::-webkit-scrollbar-track {
    border-radius: 0;
    box-shadow: none;
    border: 0;
}