CONTROL.less.ftl 2.9 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
/***    BRGIN:菜单样式    ***/
.app-app-menu {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 58px);
    .ivu-divider{
      background-color: #b3b3b3;
      height: 2px;
    }
    > .el-menu {
        border-right: 0;
        .el-menu-item {
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          word-break: break-all;
            .ivu-badge {
                .ivu-badge-count {
                    box-shadow: 0 0 0 0px #fff;
                }
            }
        }
        .el-submenu__title i, .el-menu-item i {
tony001's avatar
tony001 committed
24 25 26 27 28 29
            font-size: 12px;
            width: 18px;
        }
        .el-submenu__title .app-menu-icon,.el-submenu__title .app-menu-icon{
            width:20px;
            font-size: 14px;
30 31 32 33 34
        }
        .el-submenu__title .text {
            font-size: 16px;
        }
        .el-menu-item, .el-submenu__title {
tony001's avatar
tony001 committed
35 36 37
            height: 50px;
            font-size: 14px;
            line-height: 50px;
38 39 40 41 42
        }
        .el-menu-item, .el-submenu, .el-menu {
            border-top: 1px solid #fff;
        }
        > .el-menu-item, > .el-submenu > .el-submenu__title {
tony001's avatar
tony001 committed
43 44
            height: 56px;
            line-height: 56px;
45 46 47
            padding-left: 16px !important;
        }
        .app-menu-icon {
tony001's avatar
tony001 committed
48 49
            margin: 4px;
            text-align: center;
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
        }
        > .el-submenu {
            > .el-menu {
                > .el-menu-item, > .el-submenu > .el-submenu__title {
                    padding-left: 44px !important;
                }
                > .el-submenu {
                    > .el-menu {
                        > .el-menu-item, > .el-submenu > .el-submenu__title {
                            padding-left: 68px !important;
                        }
                    }
                }
            }
        }
        .active-icon {
            font-size: 40px !important;
            position: absolute;
            right: 0;
            line-height: 42px;
            color: #fff !important;
            display: none;
            width: 24px !important;
            overflow: hidden;
        }
    }
    .ivu-divider-horizontal {
77 78
        width: 100%;
        min-width: 100%;
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
        margin: 4px auto;
        margin-bottom: 1px;
    }
}
.app-popper-menu {
    .el-menu-item, .el-submenu__title {
        height: 36px;
        font-size: 16px;
        line-height: 36px;
    }
    > .el-menu-item, > .el-submenu > .el-submenu__title {
        height: 40px;
        line-height: 40px;
    }
    .el-menu-item {
        .ivu-badge {
            .ivu-badge-count {
                box-shadow: 0 0 0 0px #fff;
            }
        }
        > span{
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }
    .ivu-divider-horizontal {
106 107
        width: 100%;
        min-width: 100%;
108 109 110 111 112 113 114 115 116
        margin: 4px auto;
        margin-bottom: 1px;
    }
}


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