@flatbiz/pro-layout 3.0.16 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.css +110 -369
- package/cjs/index.js +1 -3
- package/cjs/index.js.map +1 -1
- package/index.d.ts +27 -12
- package/package.json +10 -11
package/cjs/index.css
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
html,
|
|
1
2
|
body,
|
|
2
3
|
#app {
|
|
3
|
-
|
|
4
|
+
height: 100%;
|
|
5
|
+
width: 100%;
|
|
6
|
+
margin: 0;
|
|
7
|
+
}
|
|
8
|
+
*,
|
|
9
|
+
:after,
|
|
10
|
+
:before {
|
|
11
|
+
box-sizing: border-box;
|
|
4
12
|
}
|
|
5
13
|
#app {
|
|
6
|
-
|
|
14
|
+
background-color: #f9f9f9;
|
|
7
15
|
}
|
|
8
16
|
.flatbiz-layout {
|
|
9
17
|
overflow: auto;
|
|
@@ -25,12 +33,6 @@ body,
|
|
|
25
33
|
flex: 1;
|
|
26
34
|
overflow-y: auto;
|
|
27
35
|
}
|
|
28
|
-
.ant-layout-sider-collapsed .menu-icon-img-active + span {
|
|
29
|
-
display: none;
|
|
30
|
-
}
|
|
31
|
-
.ant-layout-sider-collapsed .ant-menu-submenu-selected {
|
|
32
|
-
background-color: var(--sidebar-menu-selected-bg-color);
|
|
33
|
-
}
|
|
34
36
|
.flatbiz-layout-windows ::-webkit-scrollbar,
|
|
35
37
|
.layout-page-windows ::-webkit-scrollbar,
|
|
36
38
|
.page-windows ::-webkit-scrollbar {
|
|
@@ -80,13 +82,22 @@ body,
|
|
|
80
82
|
transition: all 0.3s ease-out;
|
|
81
83
|
padding: 10px 20px;
|
|
82
84
|
box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.05);
|
|
83
|
-
color: var(--sidebar-color);
|
|
84
85
|
display: flex;
|
|
85
86
|
align-items: center;
|
|
86
87
|
justify-content: center;
|
|
87
88
|
}
|
|
88
|
-
.
|
|
89
|
-
color: var(--sidebar-
|
|
89
|
+
.sider-bar-shrink {
|
|
90
|
+
color: var(--sidebar-menuSelectedTextColor);
|
|
91
|
+
background-color: var(--sidebar-bgColor);
|
|
92
|
+
}
|
|
93
|
+
.sider-bar-shrink:hover {
|
|
94
|
+
color: var(--sidebar-menuSelectedBgColor);
|
|
95
|
+
}
|
|
96
|
+
.header-shrink {
|
|
97
|
+
color: var(--header-textColor);
|
|
98
|
+
}
|
|
99
|
+
.header-shrink:hover {
|
|
100
|
+
color: var(--header-menuSelectedBgColor);
|
|
90
101
|
}
|
|
91
102
|
|
|
92
103
|
.header-account {
|
|
@@ -98,8 +109,8 @@ body,
|
|
|
98
109
|
flex-shrink: 0;
|
|
99
110
|
}
|
|
100
111
|
.header-account:hover {
|
|
101
|
-
background: var(--header-
|
|
102
|
-
color: var(--header-
|
|
112
|
+
background: var(--header-menuSelectedBgColor);
|
|
113
|
+
color: var(--header-menuSelectedTextColor);
|
|
103
114
|
}
|
|
104
115
|
.header-account .header-account-wraper {
|
|
105
116
|
padding: 0 15px;
|
|
@@ -118,8 +129,8 @@ body,
|
|
|
118
129
|
line-height: 64px;
|
|
119
130
|
overflow: hidden;
|
|
120
131
|
transition: all 0.2s;
|
|
121
|
-
color: var(--header-
|
|
122
|
-
background: var(--header-
|
|
132
|
+
color: var(--header-textColor);
|
|
133
|
+
background: var(--header-bgColor);
|
|
123
134
|
display: flex;
|
|
124
135
|
align-items: center;
|
|
125
136
|
justify-content: center;
|
|
@@ -146,16 +157,13 @@ body,
|
|
|
146
157
|
}
|
|
147
158
|
|
|
148
159
|
.flatbiz-layout-main-header {
|
|
149
|
-
|
|
150
|
-
|
|
160
|
+
z-index: 1;
|
|
161
|
+
background: var(--header-bgColor);
|
|
162
|
+
color: var(--header-textColor);
|
|
151
163
|
height: 64px;
|
|
152
164
|
display: flex;
|
|
153
165
|
flex-shrink: 0;
|
|
154
166
|
}
|
|
155
|
-
.flatbiz-layout-main-header .layout-shrink {
|
|
156
|
-
box-shadow: none;
|
|
157
|
-
height: unset;
|
|
158
|
-
}
|
|
159
167
|
.flatbiz-layout-system-name {
|
|
160
168
|
display: flex;
|
|
161
169
|
align-items: center;
|
|
@@ -167,16 +175,17 @@ body,
|
|
|
167
175
|
.flatbiz-layout-header-fill {
|
|
168
176
|
flex: 1;
|
|
169
177
|
overflow: hidden;
|
|
178
|
+
display: flex;
|
|
170
179
|
}
|
|
171
180
|
.flatbiz-layout-header-fill .ant-menu {
|
|
172
181
|
border-bottom: none;
|
|
173
182
|
height: unset;
|
|
174
|
-
line-height: 64px;
|
|
175
183
|
background: unset;
|
|
176
184
|
}
|
|
177
185
|
.flatbiz-layout-header-fill .ant-menu .ant-menu-item {
|
|
178
186
|
display: flex;
|
|
179
187
|
align-items: center;
|
|
188
|
+
border-radius: 0 !important;
|
|
180
189
|
}
|
|
181
190
|
.flatbiz-layout-header-fill .ant-menu .ant-menu-item:hover:after {
|
|
182
191
|
border: none;
|
|
@@ -185,161 +194,112 @@ body,
|
|
|
185
194
|
bottom: 12px;
|
|
186
195
|
border-bottom: 0;
|
|
187
196
|
}
|
|
188
|
-
.flatbiz-layout-header-fill .ant-menu .ant-menu-item.ant-menu-item-selected {
|
|
189
|
-
background: var(--header-active-bg-color);
|
|
190
|
-
}
|
|
191
197
|
.flatbiz-layout-header-fill .ant-menu .ant-menu-item.ant-menu-item-selected::after {
|
|
192
198
|
border: none;
|
|
193
|
-
background: var(--header-
|
|
194
|
-
}
|
|
195
|
-
.flatbiz-layout-header-fill .ant-menu .ant-menu-item.ant-menu-item-selected span > a {
|
|
196
|
-
color: var(--header-active-color);
|
|
197
|
-
}
|
|
198
|
-
.flatbiz-layout-header-fill .ant-menu .ant-menu-item:hover {
|
|
199
|
-
background: var(--header-bg-color);
|
|
200
|
-
}
|
|
201
|
-
.flatbiz-layout-header-fill .ant-menu .ant-menu-item.ant-menu-item-active {
|
|
202
|
-
background: var(--header-active-bg-color);
|
|
199
|
+
background: var(--header-menuSelectedTextColor);
|
|
203
200
|
}
|
|
204
|
-
.flatbiz-layout-header-fill .ant-menu .ant-menu-item.ant-menu-item-active
|
|
205
|
-
|
|
201
|
+
.flatbiz-layout-header-fill .ant-menu .ant-menu-item.ant-menu-item-active:not(.ant-menu-item-selected) {
|
|
202
|
+
background: var(--header-menuActiveBgColor);
|
|
206
203
|
}
|
|
207
|
-
.flatbiz-layout-header-fill .ant-menu-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
.flatbiz-layout-header-fill.ant-menu-horizontal > .ant-menu-item a:before {
|
|
211
|
-
bottom: 0;
|
|
204
|
+
.flatbiz-layout-header-fill .ant-menu .ant-menu-item.ant-menu-item-active:not(.ant-menu-item-selected)::after {
|
|
205
|
+
border: none;
|
|
206
|
+
background: var(--header-menuActiveTextColor);
|
|
212
207
|
}
|
|
213
208
|
.flatbiz-layout-header-fill.ant-menu-horizontal {
|
|
214
209
|
border-bottom: none;
|
|
215
210
|
line-height: inherit;
|
|
216
211
|
}
|
|
217
|
-
.flatbiz-layout-header-fill .ant-menu-item-selected:after
|
|
212
|
+
.flatbiz-layout-header-fill .ant-menu-item-selected:after,
|
|
213
|
+
.flatbiz-layout-header-fill .ant-menu-item-active:after {
|
|
218
214
|
height: 3px;
|
|
219
215
|
width: 30%;
|
|
220
216
|
min-width: 22px;
|
|
221
217
|
position: absolute;
|
|
222
218
|
bottom: 12px;
|
|
223
|
-
left: 50
|
|
219
|
+
left: 50% !important;
|
|
224
220
|
transform: translateX(-50%);
|
|
225
221
|
border-radius: 3px;
|
|
226
|
-
content: '
|
|
222
|
+
content: '';
|
|
227
223
|
}
|
|
228
224
|
.flatbiz-layout-header-fill .ant-menu-overflow-item-rest {
|
|
229
225
|
display: flex;
|
|
230
226
|
align-items: center;
|
|
231
|
-
color: var(--header-
|
|
227
|
+
color: var(--header-textColor) !important;
|
|
232
228
|
}
|
|
233
229
|
.flatbiz-layout-header-fill .ant-menu-overflow-item-rest .ant-menu-submenu-title:hover {
|
|
234
230
|
color: unset !important;
|
|
235
231
|
}
|
|
236
|
-
.flatbiz-layout-main-header .layout-shrink {
|
|
237
|
-
width: 50px;
|
|
238
|
-
box-shadow: none;
|
|
239
|
-
color: var(--header-color);
|
|
240
|
-
height: 100%;
|
|
241
|
-
}
|
|
242
|
-
.flatbiz-layout-main-header .layout-shrink:hover {
|
|
243
|
-
background: var(--header-active-bg-color);
|
|
244
|
-
}
|
|
245
232
|
.flatbiz-layout-topmenu {
|
|
246
233
|
flex: 1;
|
|
247
234
|
overflow: hidden;
|
|
248
235
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
display: block;
|
|
252
|
-
}
|
|
253
|
-
.icon-change-show-active .menu-icon-img {
|
|
254
|
-
display: none;
|
|
255
|
-
}
|
|
256
|
-
/** Menu CSS mixin **/
|
|
257
|
-
.ant-menu-has-children-mixin {
|
|
258
|
-
/** 存在子菜单样式 **/
|
|
259
|
-
}
|
|
260
|
-
.ant-menu-has-children-mixin .ant-menu {
|
|
261
|
-
background: unset;
|
|
236
|
+
.flatbiz-layout-topmenu-overflowed {
|
|
237
|
+
background-color: #fff;
|
|
262
238
|
}
|
|
263
|
-
|
|
264
|
-
.
|
|
239
|
+
|
|
240
|
+
.loader {
|
|
241
|
+
background-color: #ffffff;
|
|
242
|
+
position: absolute;
|
|
243
|
+
top: 0;
|
|
244
|
+
bottom: 0;
|
|
245
|
+
left: 0;
|
|
246
|
+
right: 0;
|
|
247
|
+
z-index: 100000;
|
|
265
248
|
display: flex;
|
|
249
|
+
justify-content: center;
|
|
266
250
|
align-items: center;
|
|
251
|
+
opacity: 1;
|
|
252
|
+
text-align: center;
|
|
267
253
|
}
|
|
268
|
-
.
|
|
269
|
-
|
|
270
|
-
top: 8px;
|
|
271
|
-
bottom: 8px;
|
|
272
|
-
border-radius: 10px;
|
|
273
|
-
right: 3px;
|
|
274
|
-
}
|
|
275
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-item:active,
|
|
276
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu-title:active {
|
|
277
|
-
background: none;
|
|
278
|
-
}
|
|
279
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu .ant-menu-title-content,
|
|
280
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu .ant-menu-submenu-arrow {
|
|
281
|
-
color: var(--sidebar-color);
|
|
282
|
-
}
|
|
283
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .ant-menu-title-content,
|
|
284
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .ant-menu-title-content,
|
|
285
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .ant-menu-title-content,
|
|
286
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .ant-menu-submenu-arrow,
|
|
287
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .ant-menu-submenu-arrow,
|
|
288
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .ant-menu-submenu-arrow {
|
|
289
|
-
color: var(--sidebar-active-color);
|
|
290
|
-
}
|
|
291
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .menu-icon-img-active,
|
|
292
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .menu-icon-img-active,
|
|
293
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .menu-icon-img-active {
|
|
294
|
-
display: block;
|
|
295
|
-
}
|
|
296
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .menu-icon-img,
|
|
297
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .menu-icon-img,
|
|
298
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .menu-icon-img {
|
|
299
|
-
display: none;
|
|
300
|
-
}
|
|
301
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu .ant-menu-item-active .ant-menu-title-content {
|
|
302
|
-
color: var(--sidebar-active-color);
|
|
303
|
-
}
|
|
304
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu .ant-menu-item-active .menu-icon-img-active {
|
|
305
|
-
display: block;
|
|
306
|
-
}
|
|
307
|
-
.ant-menu-has-children-mixin .ant-menu .ant-menu-submenu .ant-menu-item-active .menu-icon-img {
|
|
308
|
-
display: none;
|
|
254
|
+
.loader.fullScreen {
|
|
255
|
+
position: fixed;
|
|
309
256
|
}
|
|
310
|
-
.
|
|
311
|
-
|
|
257
|
+
.loader .loader-wrapper {
|
|
258
|
+
width: 100px;
|
|
259
|
+
height: 100px;
|
|
260
|
+
display: inline-flex;
|
|
261
|
+
flex-direction: column;
|
|
262
|
+
justify-content: space-around;
|
|
312
263
|
}
|
|
313
|
-
.
|
|
314
|
-
|
|
264
|
+
.loader .loader-inner {
|
|
265
|
+
width: 30px;
|
|
266
|
+
height: 30px;
|
|
267
|
+
margin: 0 auto;
|
|
268
|
+
text-indent: -12345px;
|
|
269
|
+
border-top: 2px solid rgba(0, 128, 227, 0.08);
|
|
270
|
+
border-right: 2px solid rgba(0, 128, 227, 0.08);
|
|
271
|
+
border-bottom: 2px solid rgba(0, 128, 227, 0.08);
|
|
272
|
+
border-left: 2px solid rgba(0, 84, 153, 0.7);
|
|
273
|
+
border-radius: 50%;
|
|
274
|
+
z-index: 100001;
|
|
275
|
+
animation: spinner 600ms infinite linear;
|
|
315
276
|
}
|
|
316
|
-
.
|
|
317
|
-
|
|
277
|
+
.loader .loader-text {
|
|
278
|
+
width: 100px;
|
|
279
|
+
height: 20px;
|
|
280
|
+
text-align: center;
|
|
281
|
+
font-size: 12px;
|
|
282
|
+
letter-spacing: 4px;
|
|
283
|
+
color: #0080e3;
|
|
318
284
|
}
|
|
319
|
-
.
|
|
285
|
+
.loader.hidden {
|
|
320
286
|
display: none;
|
|
321
287
|
}
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
.ant-menu-no-children-mixin > .ant-menu-item.ant-menu-item-selected .ant-menu-title-content {
|
|
330
|
-
color: var(--sidebar-active-color);
|
|
288
|
+
@keyframes spinner {
|
|
289
|
+
0% {
|
|
290
|
+
transform: rotate(0deg);
|
|
291
|
+
}
|
|
292
|
+
100% {
|
|
293
|
+
transform: rotate(360deg);
|
|
294
|
+
}
|
|
331
295
|
}
|
|
332
|
-
|
|
333
|
-
.
|
|
296
|
+
|
|
297
|
+
.icon-change-show-active .menu-icon-img-active {
|
|
334
298
|
display: block;
|
|
335
299
|
}
|
|
336
|
-
.
|
|
337
|
-
.ant-menu-no-children-mixin > .ant-menu-item.ant-menu-item-selected .menu-icon-img {
|
|
300
|
+
.icon-change-show-active .menu-icon-img {
|
|
338
301
|
display: none;
|
|
339
302
|
}
|
|
340
|
-
.ant-menu-no-children-mixin > .ant-menu-item.ant-menu-item-selected {
|
|
341
|
-
background-color: var(--sidebar-menu-selected-bg-color);
|
|
342
|
-
}
|
|
343
303
|
.menu-icon-img,
|
|
344
304
|
.menu-icon-img-active {
|
|
345
305
|
background-size: 100% 100%;
|
|
@@ -358,10 +318,8 @@ body,
|
|
|
358
318
|
display: flex;
|
|
359
319
|
height: 100%;
|
|
360
320
|
flex-direction: column;
|
|
361
|
-
flex: 1;
|
|
362
|
-
background: var(--sidebar-bg-color);
|
|
321
|
+
flex: 1 !important;
|
|
363
322
|
overflow: hidden;
|
|
364
|
-
/** 存在子菜单样式 **/
|
|
365
323
|
}
|
|
366
324
|
.flatbiz-layout-sider .ant-layout-sider-children {
|
|
367
325
|
display: flex;
|
|
@@ -375,237 +333,36 @@ body,
|
|
|
375
333
|
.flatbiz-layout-sider .ant-menu-title-content {
|
|
376
334
|
margin-left: 5px;
|
|
377
335
|
}
|
|
378
|
-
.flatbiz-layout-sider .ant-menu-
|
|
379
|
-
.flatbiz-layout-sider .ant-menu-
|
|
380
|
-
border-right: none;
|
|
381
|
-
}
|
|
382
|
-
.flatbiz-layout-sider .ant-menu {
|
|
383
|
-
background: unset;
|
|
384
|
-
}
|
|
385
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-item,
|
|
386
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu-title {
|
|
387
|
-
display: flex;
|
|
388
|
-
align-items: center;
|
|
389
|
-
}
|
|
390
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-item::after {
|
|
391
|
-
border-right: 3px solid var(--sidebar-active-color);
|
|
392
|
-
top: 8px;
|
|
393
|
-
bottom: 8px;
|
|
394
|
-
border-radius: 10px;
|
|
395
|
-
right: 3px;
|
|
396
|
-
}
|
|
397
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-item:active,
|
|
398
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu-title:active {
|
|
399
|
-
background: none;
|
|
400
|
-
}
|
|
401
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu .ant-menu-title-content,
|
|
402
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu .ant-menu-submenu-arrow {
|
|
403
|
-
color: var(--sidebar-color);
|
|
404
|
-
}
|
|
405
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .ant-menu-title-content,
|
|
406
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .ant-menu-title-content,
|
|
407
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .ant-menu-title-content,
|
|
408
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .ant-menu-submenu-arrow,
|
|
409
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .ant-menu-submenu-arrow,
|
|
410
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .ant-menu-submenu-arrow {
|
|
411
|
-
color: var(--sidebar-active-color);
|
|
412
|
-
}
|
|
413
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .menu-icon-img-active,
|
|
414
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .menu-icon-img-active,
|
|
415
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .menu-icon-img-active {
|
|
416
|
-
display: block;
|
|
417
|
-
}
|
|
418
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .menu-icon-img,
|
|
419
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .menu-icon-img,
|
|
420
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .menu-icon-img {
|
|
421
|
-
display: none;
|
|
422
|
-
}
|
|
423
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu .ant-menu-item-active .ant-menu-title-content {
|
|
424
|
-
color: var(--sidebar-active-color);
|
|
425
|
-
}
|
|
426
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu .ant-menu-item-active .menu-icon-img-active {
|
|
336
|
+
.flatbiz-layout-sider .ant-menu-item-selected .menu-icon-img-active,
|
|
337
|
+
.flatbiz-layout-sider .ant-menu-submenu-selected .menu-icon-img-active {
|
|
427
338
|
display: block;
|
|
428
339
|
}
|
|
429
|
-
.flatbiz-layout-sider .ant-menu
|
|
340
|
+
.flatbiz-layout-sider .ant-menu-item-selected .menu-icon-img,
|
|
341
|
+
.flatbiz-layout-sider .ant-menu-submenu-selected .menu-icon-img {
|
|
430
342
|
display: none;
|
|
431
343
|
}
|
|
432
|
-
.flatbiz-layout-sider .ant-menu
|
|
433
|
-
|
|
434
|
-
}
|
|
435
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu.ant-menu-submenu-selected .ant-menu-item-selected .ant-menu-title-content {
|
|
436
|
-
color: var(--sidebar-active-color);
|
|
437
|
-
}
|
|
438
|
-
.flatbiz-layout-sider .ant-menu .ant-menu-submenu.ant-menu-submenu-selected .ant-menu-item-selected .menu-icon-img-active {
|
|
344
|
+
.flatbiz-layout-sider .ant-menu-item-active .menu-icon-img-active,
|
|
345
|
+
.flatbiz-layout-sider .ant-menu-submenu-active .menu-icon-img-active {
|
|
439
346
|
display: block;
|
|
440
347
|
}
|
|
441
|
-
.flatbiz-layout-sider .ant-menu
|
|
348
|
+
.flatbiz-layout-sider .ant-menu-item-active .menu-icon-img,
|
|
349
|
+
.flatbiz-layout-sider .ant-menu-submenu-active .menu-icon-img {
|
|
442
350
|
display: none;
|
|
443
351
|
}
|
|
444
|
-
.
|
|
445
|
-
/** 不存在子菜单样式 **/
|
|
446
|
-
}
|
|
447
|
-
.flatbiz-layout-sider .ant-menu-root > .ant-menu-item .ant-menu-title-content {
|
|
448
|
-
color: var(--sidebar-color);
|
|
449
|
-
}
|
|
450
|
-
.flatbiz-layout-sider .ant-menu-root > .ant-menu-item.ant-menu-item-active .ant-menu-title-content,
|
|
451
|
-
.flatbiz-layout-sider .ant-menu-root > .ant-menu-item.ant-menu-item-selected .ant-menu-title-content {
|
|
452
|
-
color: var(--sidebar-active-color);
|
|
453
|
-
}
|
|
454
|
-
.flatbiz-layout-sider .ant-menu-root > .ant-menu-item.ant-menu-item-active .menu-icon-img-active,
|
|
455
|
-
.flatbiz-layout-sider .ant-menu-root > .ant-menu-item.ant-menu-item-selected .menu-icon-img-active {
|
|
456
|
-
display: block;
|
|
457
|
-
}
|
|
458
|
-
.flatbiz-layout-sider .ant-menu-root > .ant-menu-item.ant-menu-item-active .menu-icon-img,
|
|
459
|
-
.flatbiz-layout-sider .ant-menu-root > .ant-menu-item.ant-menu-item-selected .menu-icon-img {
|
|
460
|
-
display: none;
|
|
461
|
-
}
|
|
462
|
-
.flatbiz-layout-sider .ant-menu-root > .ant-menu-item.ant-menu-item-selected {
|
|
463
|
-
background-color: var(--sidebar-menu-selected-bg-color);
|
|
464
|
-
}
|
|
465
|
-
.flatbiz-layout-sider-submenu-popup {
|
|
466
|
-
background-color: var(--sidebar-bg-color);
|
|
467
|
-
/** 存在子菜单样式 **/
|
|
468
|
-
/** 不存在子菜单样式 **/
|
|
469
|
-
}
|
|
470
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu {
|
|
471
|
-
background: unset;
|
|
472
|
-
}
|
|
473
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-item,
|
|
474
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu-title {
|
|
352
|
+
.ant-menu-root.ant-menu-inline-collapsed > .ant-menu-submenu .ant-menu-submenu-title {
|
|
475
353
|
display: flex;
|
|
476
354
|
align-items: center;
|
|
477
355
|
}
|
|
478
|
-
.
|
|
479
|
-
border-right: 3px solid var(--sidebar-active-color);
|
|
480
|
-
top: 8px;
|
|
481
|
-
bottom: 8px;
|
|
482
|
-
border-radius: 10px;
|
|
483
|
-
right: 3px;
|
|
484
|
-
}
|
|
485
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-item:active,
|
|
486
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu-title:active {
|
|
487
|
-
background: none;
|
|
488
|
-
}
|
|
489
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu .ant-menu-title-content,
|
|
490
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu .ant-menu-submenu-arrow {
|
|
491
|
-
color: var(--sidebar-color);
|
|
492
|
-
}
|
|
493
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .ant-menu-title-content,
|
|
494
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .ant-menu-title-content,
|
|
495
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .ant-menu-title-content,
|
|
496
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .ant-menu-submenu-arrow,
|
|
497
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .ant-menu-submenu-arrow,
|
|
498
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .ant-menu-submenu-arrow {
|
|
499
|
-
color: var(--sidebar-active-color);
|
|
500
|
-
}
|
|
501
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .menu-icon-img-active,
|
|
502
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .menu-icon-img-active,
|
|
503
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .menu-icon-img-active {
|
|
504
|
-
display: block;
|
|
505
|
-
}
|
|
506
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu:hover > .ant-menu-submenu-title .menu-icon-img,
|
|
507
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-active > .ant-menu-submenu-title .menu-icon-img,
|
|
508
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-selected > .ant-menu-submenu-title .menu-icon-img {
|
|
509
|
-
display: none;
|
|
510
|
-
}
|
|
511
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu .ant-menu-item-active .ant-menu-title-content {
|
|
512
|
-
color: var(--sidebar-active-color);
|
|
513
|
-
}
|
|
514
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu .ant-menu-item-active .menu-icon-img-active {
|
|
515
|
-
display: block;
|
|
516
|
-
}
|
|
517
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu .ant-menu-item-active .menu-icon-img {
|
|
518
|
-
display: none;
|
|
519
|
-
}
|
|
520
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-selected .ant-menu-item-selected {
|
|
521
|
-
background-color: var(--sidebar-menu-selected-bg-color);
|
|
522
|
-
}
|
|
523
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-selected .ant-menu-item-selected .ant-menu-title-content {
|
|
524
|
-
color: var(--sidebar-active-color);
|
|
525
|
-
}
|
|
526
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-selected .ant-menu-item-selected .menu-icon-img-active {
|
|
527
|
-
display: block;
|
|
528
|
-
}
|
|
529
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu .ant-menu-submenu.ant-menu-submenu-selected .ant-menu-item-selected .menu-icon-img {
|
|
530
|
-
display: none;
|
|
531
|
-
}
|
|
532
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu {
|
|
533
|
-
/** 不存在子菜单样式 **/
|
|
534
|
-
}
|
|
535
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu > .ant-menu-item .ant-menu-title-content {
|
|
536
|
-
color: var(--sidebar-color);
|
|
537
|
-
}
|
|
538
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu > .ant-menu-item.ant-menu-item-active .ant-menu-title-content,
|
|
539
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu > .ant-menu-item.ant-menu-item-selected .ant-menu-title-content {
|
|
540
|
-
color: var(--sidebar-active-color);
|
|
541
|
-
}
|
|
542
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu > .ant-menu-item.ant-menu-item-active .menu-icon-img-active,
|
|
543
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu > .ant-menu-item.ant-menu-item-selected .menu-icon-img-active {
|
|
544
|
-
display: block;
|
|
545
|
-
}
|
|
546
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu > .ant-menu-item.ant-menu-item-active .menu-icon-img,
|
|
547
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu > .ant-menu-item.ant-menu-item-selected .menu-icon-img {
|
|
548
|
-
display: none;
|
|
549
|
-
}
|
|
550
|
-
.flatbiz-layout-sider-submenu-popup .ant-menu > .ant-menu-item.ant-menu-item-selected {
|
|
551
|
-
background-color: var(--sidebar-menu-selected-bg-color);
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
.loader {
|
|
555
|
-
background-color: #ffffff;
|
|
556
|
-
position: absolute;
|
|
557
|
-
top: 0;
|
|
558
|
-
bottom: 0;
|
|
559
|
-
left: 0;
|
|
560
|
-
right: 0;
|
|
561
|
-
z-index: 100000;
|
|
356
|
+
.ant-menu-root.ant-menu-inline-collapsed > .ant-menu-item {
|
|
562
357
|
display: flex;
|
|
563
|
-
justify-content: center;
|
|
564
358
|
align-items: center;
|
|
565
|
-
opacity: 1;
|
|
566
|
-
text-align: center;
|
|
567
|
-
}
|
|
568
|
-
.loader.fullScreen {
|
|
569
|
-
position: fixed;
|
|
570
|
-
}
|
|
571
|
-
.loader .loader-wrapper {
|
|
572
|
-
width: 100px;
|
|
573
|
-
height: 100px;
|
|
574
|
-
display: inline-flex;
|
|
575
|
-
flex-direction: column;
|
|
576
|
-
justify-content: space-around;
|
|
577
|
-
}
|
|
578
|
-
.loader .loader-inner {
|
|
579
|
-
width: 30px;
|
|
580
|
-
height: 30px;
|
|
581
|
-
margin: 0 auto;
|
|
582
|
-
text-indent: -12345px;
|
|
583
|
-
border-top: 2px solid rgba(0, 128, 227, 0.08);
|
|
584
|
-
border-right: 2px solid rgba(0, 128, 227, 0.08);
|
|
585
|
-
border-bottom: 2px solid rgba(0, 128, 227, 0.08);
|
|
586
|
-
border-left: 2px solid rgba(0, 84, 153, 0.7);
|
|
587
|
-
border-radius: 50%;
|
|
588
|
-
z-index: 100001;
|
|
589
|
-
animation: spinner 600ms infinite linear;
|
|
590
359
|
}
|
|
591
|
-
.
|
|
592
|
-
width: 100px;
|
|
593
|
-
height: 20px;
|
|
594
|
-
text-align: center;
|
|
595
|
-
font-size: 12px;
|
|
596
|
-
letter-spacing: 4px;
|
|
597
|
-
color: #0080e3;
|
|
598
|
-
}
|
|
599
|
-
.loader.hidden {
|
|
360
|
+
.ant-menu-root.ant-menu-inline-collapsed .menu-icon-img-active + span {
|
|
600
361
|
display: none;
|
|
601
362
|
}
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
}
|
|
606
|
-
100% {
|
|
607
|
-
transform: rotate(360deg);
|
|
608
|
-
}
|
|
363
|
+
.menu-icon-wrapper {
|
|
364
|
+
display: flex;
|
|
365
|
+
align-items: center;
|
|
609
366
|
}
|
|
610
367
|
|
|
611
368
|
.iframe-tabs {
|
|
@@ -666,7 +423,7 @@ body,
|
|
|
666
423
|
|
|
667
424
|
.layout-page-wrapper {
|
|
668
425
|
position: relative;
|
|
669
|
-
padding: 8px;
|
|
426
|
+
padding: 8px 8px 0 8px;
|
|
670
427
|
flex: 1;
|
|
671
428
|
overflow: hidden;
|
|
672
429
|
height: 100%;
|
|
@@ -688,28 +445,12 @@ body,
|
|
|
688
445
|
padding: 0 8px 8px 8px;
|
|
689
446
|
}
|
|
690
447
|
|
|
691
|
-
body,
|
|
692
|
-
#app {
|
|
693
|
-
background-color: #f2f4f8;
|
|
694
|
-
height: 100%;
|
|
695
|
-
}
|
|
696
448
|
.page {
|
|
697
449
|
position: relative;
|
|
698
450
|
overflow-y: auto;
|
|
699
451
|
overflow-x: hidden;
|
|
700
452
|
flex: 1;
|
|
701
453
|
}
|
|
702
|
-
.page .back-top {
|
|
703
|
-
right: 50px;
|
|
704
|
-
}
|
|
705
|
-
.page .back-top .ant-back-top-content {
|
|
706
|
-
opacity: 0.3;
|
|
707
|
-
transition: all 0.3s;
|
|
708
|
-
box-shadow: 0 0 15px 1px rgba(69, 65, 78, 0.1);
|
|
709
|
-
}
|
|
710
|
-
.page .back-top .ant-back-top-content:hover {
|
|
711
|
-
opacity: 1;
|
|
712
|
-
}
|
|
713
454
|
.page-flex {
|
|
714
455
|
display: flex;
|
|
715
456
|
flex-direction: column;
|