sideBar.css
4.43 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
.main-sidebar {
position: fixed;
z-index: 900;
height: 100%;
}
.sidebar {
height: 100% !important;
overflow: hidden;
overflow-y: auto;
}
.skin-blue .main-sidebar {
background-color: #3c8dbc;
}
.skin-blue .sidebar-menu > li.treeview:hover > a {
border-left: 3px solid rgba(0, 0, 0, 0.1);
}
.skin-blue .sidebar-menu > li.treeview.active > a {
border-left: 3px solid rgba(0, 0, 0, 0.1);
}
.skin-blue .sidebar .second-menu,
.skin-blue .sidebar .third-menu {
padding-left: 0;
}
.skin-blue .sidebar .third-menu a {
padding-left: 30px;
}
.skin-blue .sidebar a {
color: #000000;
}
/*侧边栏滚动设置 start*/
#sidebar-menu > li:hover .sidebar-title-bar {
position: static;
}
.sidebar-collapse #sidebar-menu > li:hover .sidebar-title-bar {
position: fixed;
}
#sidebar-menu > li:hover > ul {
position: static;
height: auto;
}
.sidebar-collapse #sidebar-menu > li:hover > ul {
position: fixed;
overflow-y: auto;
}
a.sidebar-toggle {
width: 100%;;
height: 36px;
line-height: 36px;
text-align: center;
background-color: #2e658a;
color: white !important;
display: block;
}
.sidebar-collapse a.sidebar-toggle div.fold {
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg);
transition: transform .5s;
}
/*侧边栏滚动设置 end*/
.skin-blue .treeview-menu li > a {
border-left: 3px solid #3c8dbc;
}
.skin-blue .treeview-menu li > a:hover,
.skin-blue .treeview-menu li.active > a {
background-color: rgba(0, 0, 0, 0.1);
border-left-color: rgba(0, 0, 0, 0.3);
}
.skin-blue .treeview-menu > li > a {
color: white;
padding-left: 35px;
padding-right: 26px !important;
}
.skin-blue .sidebar-menu > li > .treeview-menu {
margin: 0;
background: #3c8dbc;
}
.sidebar-menu li.active > .treeview-menu {
background: #3c8dbc;
}
.sidebar-title-bar .fa-angle-left,
.sidebar-title-bar .pull-right-container > .fa-angle-lef {
width: auto;
height: auto;
padding: 0;
margin-right: 10px;
}
/*侧边栏收起后向右展开的边框宽度*/
.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right),
.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
border-radius: 0;
width: 220px;
}
/*侧边栏收起后向右展开时一级菜单箭头的位置*/
.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
left: 220px !important;
}
.sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu {
padding-top: 0;
padding-bottom: 0;
border-radius: 0;
}
.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li.active > a {
color: #3c8dbc;
background: #3375A1;
}
.skin-blue .treeview-menu > li.active > a,
.skin-blue .treeview-menu > li > a:hover {
color: white;
}
.main-sidebar .iconName {
margin-right: 10px;
color: white
}
.menuTitle a.active {
color: #f8f8f8;
}
.sidebar-menu span {
color: white;
}
li.menuTitle a {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-right: 20px !important;
}
.main-sidebar .secondMenuTitle {
padding-left: 10px;
color: white;
}
.main-sidebar .thirdMenuTitle {
font-size: 12px;
padding-left: 32px;
color: white;
}
.main-sidebar .pull-right {
color: white
}
@media screen and (max-width: 768px) {
a.sidebar-toggle {
position: absolute;
top: 50%;
width: 26px;
height: 36px;
left: 100%;
}
}
/*侧边栏滚动条*/
.sidebar {
-ms-scroll-chaining: chained;
-ms-overflow-style: none;
-ms-content-zooming: zoom;
-ms-scroll-rails: none;
-ms-content-zoom-limit-min: 100%;
-ms-content-zoom-limit-max: 500%;
-ms-scroll-snap-type: proximity;
-ms-scroll-snap-points-x: snapList(100%, 200%, 300%, 400%, 500%);
}
.sidebar::-webkit-scrollbar {
width: 0;
background-color: rgba(0, 0, 0, 0);
}
/*侧边栏二级菜单滚动条*/
.scroll-list {
-ms-scroll-chaining: chained;
-ms-overflow-style: none;
-ms-content-zooming: zoom;
-ms-scroll-rails: none;
-ms-content-zoom-limit-min: 100%;
-ms-content-zoom-limit-max: 500%;
-ms-scroll-snap-type: proximity;
-ms-scroll-snap-points-x: snapList(100%, 200%, 300%, 400%, 500%);
}
.scroll-list::-webkit-scrollbar {
width: 0;
background-color: rgba(0, 0, 0, 0);
}