Update layout.vue

This commit is contained in:
邹景立 2021-11-26 22:07:17 +08:00
parent db2762ffd7
commit 02863ba9f2

View File

@ -37,6 +37,7 @@
</template>
<style lang="less">
html, body {
margin: 0;
height: 100%;
@ -72,6 +73,36 @@ body > .el-container {
}
}
.el-menu {
.el-menu-item:not(.is-disabled) {
border-bottom: 0 !important;
&:hover {
color: #FFF !important;
background: rgba(54, 25, 88, 0.9) !important;
}
&.is-active {
color: #FFF !important;
background: rgba(0, 0, 0, 0.4);
border-bottom: 0 !important;
}
}
.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;
}
}
}
}
.el-tabs {
.el-tabs__header {
@ -116,36 +147,6 @@ body > .el-container {
text-align: center;
}
}
.el-menu {
.el-menu-item:not(.is-disabled) {
border-bottom: 0 !important;
&:hover {
color: #FFF !important;
background: rgba(54, 25, 88, 0.9) !important;
}
&.is-active {
color: #FFF !important;
background: rgba(0, 0, 0, 0.4);
border-bottom: 0 !important;
}
}
.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;
}
}
}
}
</style>
<script>