index.scss
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.el-container {
width: 100%;
height: 100%;
:deep(.el-header) {
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
height: 55px;
padding: 0 15px 0 0;
background-color: var(--el-header-bg-color);
border-bottom: 1px solid var(--el-header-border-color);
.logo {
width: 210px;
margin-right: 30px;
.logo-img {
width: 28px;
object-fit: contain;
}
.logo-text {
margin-left: 6px;
font-size: 15px;
font-weight: bold;
color: var(--el-header-logo-text-color);
white-space: nowrap;
}
}
.el-menu {
flex: 1;
height: 100%;
overflow: hidden;
border-bottom: none;
.el-sub-menu__hide-arrow {
width: 65px;
height: 55px;
}
.el-menu-item.is-active {
color: #ffffff !important;
}
.is-active {
background-color: var(--el-color-primary) !important;
border-bottom-color: var(--el-color-primary) !important;
&::before {
width: 0;
}
.el-sub-menu__title {
color: #ffffff !important;
background-color: var(--el-color-primary) !important;
border-bottom-color: var(--el-color-primary) !important;
}
}
}
}
@media screen and (width <= 730px) {
.logo {
display: none !important;
}
}
}