|
@@ -2,18 +2,21 @@
|
2
|
2
|
// 主体区域
|
3
|
3
|
.main-container {
|
4
|
4
|
min-height: 100%;
|
5
|
|
- transition: margin-left 0.28s;
|
|
5
|
+ transition: margin-left .28s;
|
6
|
6
|
margin-left: 180px;
|
7
|
|
- } // 侧边栏
|
|
7
|
+ }
|
|
8
|
+ // 侧边栏
|
8
|
9
|
.sidebar-container {
|
9
|
|
- transition: width 0.28s;
|
10
|
|
- width: 180px!important;
|
|
10
|
+ transition: width .28s;
|
|
11
|
+ width: 180px !important;
|
11
|
12
|
height: 100%;
|
12
|
13
|
position: fixed;
|
|
14
|
+ font-size: 0px;
|
13
|
15
|
top: 0;
|
14
|
16
|
bottom: 0;
|
15
|
17
|
left: 0;
|
16
|
18
|
z-index: 1001;
|
|
19
|
+ overflow: hidden;
|
17
|
20
|
a {
|
18
|
21
|
display: inline-block;
|
19
|
22
|
width: 100%;
|
|
@@ -23,78 +26,48 @@
|
23
|
26
|
}
|
24
|
27
|
.el-menu {
|
25
|
28
|
border: none;
|
26
|
|
- width: 100%;
|
|
29
|
+ width: 100% !important;
|
27
|
30
|
}
|
28
|
31
|
}
|
29
|
32
|
.hideSidebar {
|
30
|
|
- .sidebar-container,.sidebar-container .el-menu {
|
31
|
|
- width: 36px!important;
|
32
|
|
- // overflow: inherit;
|
|
33
|
+ .sidebar-container {
|
|
34
|
+ width: 36px !important;
|
33
|
35
|
}
|
34
|
36
|
.main-container {
|
35
|
37
|
margin-left: 36px;
|
36
|
38
|
}
|
37
|
|
- }
|
38
|
|
- .hideSidebar {
|
39
|
39
|
.submenu-title-noDropdown {
|
40
|
|
- padding-left: 10px!important;
|
|
40
|
+ padding-left: 10px !important;
|
41
|
41
|
position: relative;
|
42
|
|
- span {
|
43
|
|
- height: 0;
|
44
|
|
- width: 0;
|
45
|
|
- overflow: hidden;
|
46
|
|
- visibility: hidden;
|
47
|
|
- transition: opacity .3s cubic-bezier(.55, 0, .1, 1);
|
48
|
|
- opacity: 0;
|
49
|
|
- display: inline-block;
|
50
|
|
- }
|
51
|
|
- &:hover {
|
52
|
|
- span {
|
53
|
|
- display: block;
|
54
|
|
- border-radius: 3px;
|
55
|
|
- z-index: 1002;
|
56
|
|
- width: 140px;
|
57
|
|
- height: 56px;
|
58
|
|
- visibility: visible;
|
59
|
|
- position: absolute;
|
60
|
|
- right: -145px;
|
61
|
|
- text-align: left;
|
62
|
|
- text-indent: 20px;
|
63
|
|
- top: 0px;
|
64
|
|
- background-color: $subMenuBg!important;
|
65
|
|
- opacity: 1;
|
66
|
|
- }
|
|
42
|
+ .el-tooltip {
|
|
43
|
+ padding: 0 10px !important;
|
67
|
44
|
}
|
68
|
45
|
}
|
69
|
46
|
.el-submenu {
|
70
|
47
|
&>.el-submenu__title {
|
71
|
|
- padding-left: 10px!important;
|
|
48
|
+ padding-left: 10px !important;
|
72
|
49
|
&>span {
|
73
|
|
- display: none;
|
|
50
|
+ height: 0;
|
|
51
|
+ width: 0;
|
|
52
|
+ overflow: hidden;
|
|
53
|
+ visibility: hidden;
|
|
54
|
+ display: inline-block;
|
74
|
55
|
}
|
75
|
56
|
.el-submenu__icon-arrow {
|
76
|
57
|
display: none;
|
77
|
58
|
}
|
78
|
59
|
}
|
79
|
|
- .nest-menu {
|
80
|
|
- .el-submenu__icon-arrow {
|
81
|
|
- display: block!important;
|
82
|
|
- }
|
83
|
|
- span {
|
84
|
|
- display: inline-block!important;
|
85
|
|
- }
|
86
|
|
- }
|
87
|
60
|
}
|
88
|
61
|
}
|
89
|
62
|
.nest-menu .el-submenu>.el-submenu__title,
|
90
|
63
|
.el-submenu .el-menu-item {
|
91
|
|
- min-width: 180px!important;
|
92
|
|
- background-color: $subMenuBg!important;
|
|
64
|
+ min-width: 180px !important;
|
|
65
|
+ background-color: $subMenuBg !important;
|
93
|
66
|
&:hover {
|
94
|
|
- background-color: $menuHover!important;
|
|
67
|
+ background-color: $menuHover !important;
|
95
|
68
|
}
|
96
|
69
|
}
|
97
|
|
- .el-menu--collapse .el-menu .el-submenu{
|
98
|
|
- min-width: 180px!important;
|
|
70
|
+ .el-menu--collapse .el-menu .el-submenu {
|
|
71
|
+ min-width: 180px !important;
|
99
|
72
|
}
|
100
|
73
|
}
|