diff --git a/static/template/layout.vue b/static/template/layout.vue index d1adb90e5..2ad57de79 100644 --- a/static/template/layout.vue +++ b/static/template/layout.vue @@ -2,12 +2,9 @@ ThinkAdmin For HTML @@ -137,6 +134,32 @@ body > .el-container { text-align: center; } +.el-menu { + .el-menu-item:not(.is-disabled) { + &:hover { + color: #FFF !important; + background: rgba(54, 25, 88, 0.9) !important; + } + + &.is-active { + color: #FFF !important; + background: rgba(0, 0, 0, 0.4); + } + } + + .el-sub-menu { + .el-sub-menu__title { + color: #FFF !important; + background: none !important; + } + + &.is-opened { + .el-sub-menu__title { + background: rgba(0, 0, 0, 0.1) !important; + } + } + } +}