mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update layout.vue
This commit is contained in:
parent
db2762ffd7
commit
02863ba9f2
@ -37,6 +37,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: 100%;
|
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 {
|
||||||
|
|
||||||
.el-tabs__header {
|
.el-tabs__header {
|
||||||
@ -116,36 +147,6 @@ body > .el-container {
|
|||||||
text-align: center;
|
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>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user