default.theme.less 2.7 KB
Newer Older
1 2
/***    BRGIN:默认亮色主题    ***/
.app-default-theme {
tony001's avatar
tony001 committed
3
    > .ivu-layout-has-sider > .ivu-layout > header {
tony001's avatar
tony001 committed
4 5 6
        .app-theme-icon {
            color: #aaaaaa;
        }
tony001's avatar
tony001 committed
7
       /*  .el-menu.el-menu--horizontal {
tony001's avatar
tony001 committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
            > .el-menu-item, > .el-submenu > .el-submenu__title {
                background: #e1e1e1;
                color: #aaaaaa;
                i {
                    color: #aaaaaa;
                }
            }
            > .el-menu-item.is-active, > .el-submenu.is-active > .el-submenu__title {
                background-color: #f6f6f6;
                color: #666666;
                i {
                    color: #666666;
                }
            }
            > .el-menu-item:hover, > .el-submenu:hover > .el-submenu__title {
                background-color: #e9e9e9;
                color: #666666 !important;
                i {
                    color: #666666;
                }
            }
tony001's avatar
tony001 committed
29
        } */
tony001's avatar
tony001 committed
30 31 32 33 34
    }
    > .ivu-layout {
        > .ivu-layout-sider {
            background-color: #f6f6f6;
            .sider-top {
tony001's avatar
tony001 committed
35
                background-color: #e8eaec;
tony001's avatar
tony001 committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
                .ivu-icon {
                    color: #aaaaaa;
                }
            }
        }
    }
    > .el-menu , > .ivu-layout > .ivu-layout-sider .app-app-menu > .app-menu {
        background: #f6f6f6;
        .el-menu-item:hover, .el-menu-item:hover,.el-menu-item.is-active {
            background: #fff !important;
            color: #1890ff !important;
            i {
                color: #1890ff;
            }
        }
        .el-submenu__title:hover{
            color: #1890ff !important;
            i {
                color: #1890ff;
            }
        }
        .el-menu-item.is-active{
          border-left: 4px solid #1890ff;
59
          background: #fff !important;
tony001's avatar
tony001 committed
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 92 93 94
        }
        .el-submenu.is-opened, .el-submenu:hover{
            > .el-submenu__title {
                background: #f6f6f6;
            }
        }
        .el-submenu__title, .el-menu-item {
            color: #666666;
            i {
                color: #666666;
            }
        }
        .el-menu-item {
            border-top: 1px solid #f6f6f6;
            background: #f6f6f6;
            border-left: 4px solid transparent;
        }
        .el-submenu {
            border-top: 1px solid #f6f6f6;
            background: #f6f6f6;
            > .el-menu {
                border-top: 1px solid #f6f6f6;
                background: #f6f6f6;
            }
        }
    }
    .ivu-menu-light{
        background: #f6f6f6;
    }
    .ivu-menu-submenu-title{
        color: #000;
    }
    .sider-top{
        color:#000;
    }
WodahsOrez's avatar
WodahsOrez committed
95 96 97
    div.ivu-divider{
      background-color: #b3b3b3;
    }
98
  }
tony001's avatar
tony001 committed
99
  /***    END:默认亮色主题   ***/