Update layout.vue

This commit is contained in:
邹景立 2021-11-26 21:50:44 +08:00
parent 84e6d8da9e
commit 49ba522dce

View File

@ -91,14 +91,15 @@ body > .el-container {
} }
} }
.el-tabs__header { .el-tabs {
.el-tabs__header {
width: 60px; width: 60px;
margin: 0 !important; margin: 0 !important;
background: rgba(54, 25, 88, 0.8); background: rgba(54, 25, 88, 0.8);
.el-tabs__active-bar { .el-tabs__active-bar {
display: none !important; display: none !important;
} }
.el-tabs__nav-wrap { .el-tabs__nav-wrap {
@ -125,17 +126,20 @@ body > .el-container {
background: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.1);
} }
} }
} }
.el-tabs__content { .el-tabs__content {
width: 220px !important; width: 220px !important;
height: 100% !important; height: 100% !important;
background: red; background: red;
text-align: center; text-align: center;
}
} }
.el-menu { .el-menu {
.el-menu-item:not(.is-disabled) { .el-menu-item:not(.is-disabled) {
border-bottom: 0 !important;
&:hover { &:hover {
color: #FFF !important; color: #FFF !important;
background: rgba(54, 25, 88, 0.9) !important; background: rgba(54, 25, 88, 0.9) !important;
@ -144,6 +148,7 @@ body > .el-container {
&.is-active { &.is-active {
color: #FFF !important; color: #FFF !important;
background: rgba(0, 0, 0, 0.4); background: rgba(0, 0, 0, 0.4);
border-bottom: 0 !important;
} }
} }