@indfnd/common 1.0.71 → 1.0.75
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/CHANGELOG.md +19 -0
- package/dist/ind-common.es.js +122 -9
- package/dist/ind-common.umd.cjs +42 -42
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
- package/src/styles/components/layout/basic-layout.less +254 -29
- package/src/styles/components/layout/page-view.less +43 -0
- package/src/styles/variables/lambo-default.less +914 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import '../../variables/lambo-default.less';
|
|
2
|
+
|
|
1
3
|
.ind-basic-layout {
|
|
2
4
|
width: 100vw;
|
|
3
5
|
height: 100vh;
|
|
@@ -108,6 +110,7 @@
|
|
|
108
110
|
position: relative;
|
|
109
111
|
background: var(--header-bg);
|
|
110
112
|
display: flex;
|
|
113
|
+
z-index: 999;
|
|
111
114
|
.sys-name {
|
|
112
115
|
cursor: pointer;
|
|
113
116
|
width: 200px;
|
|
@@ -133,18 +136,18 @@
|
|
|
133
136
|
float: right;
|
|
134
137
|
}
|
|
135
138
|
}
|
|
136
|
-
.ivu-menu-item:hover {
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
.ivu-menu-item {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
.ivu-menu-item-selected {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
139
|
+
// .ivu-menu-item:hover {
|
|
140
|
+
// color: var(--header-color-hover) !important;
|
|
141
|
+
// }
|
|
142
|
+
// .ivu-menu-item {
|
|
143
|
+
// border-bottom: 3px solid rgba(0, 0, 0, 0) !important;
|
|
144
|
+
// font-size: 14px;
|
|
145
|
+
// color: var(--header-color) !important;
|
|
146
|
+
// }
|
|
147
|
+
// .ivu-menu-item-selected {
|
|
148
|
+
// color: var(--header-color-hover) !important;
|
|
149
|
+
// border-bottom: 3px solid var(--header-border-bottom-color) !important;
|
|
150
|
+
// }
|
|
148
151
|
}
|
|
149
152
|
|
|
150
153
|
.ivu-menu {
|
|
@@ -153,23 +156,23 @@
|
|
|
153
156
|
border-bottom: none;
|
|
154
157
|
}
|
|
155
158
|
}
|
|
156
|
-
.ivu-layout-sider {
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
.ivu-menu-dark {
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
.ivu-menu-submenu-title {
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.ivu-menu-item > i {
|
|
167
|
-
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.ivu-menu-submenu > .ivu-menu > .ivu-menu-item > i {
|
|
171
|
-
|
|
172
|
-
}
|
|
159
|
+
// .ivu-layout-sider {
|
|
160
|
+
// height: 100%;
|
|
161
|
+
// }
|
|
162
|
+
// .ivu-menu-dark {
|
|
163
|
+
// background: var(--menu-dark-active-bg) !important;
|
|
164
|
+
// }
|
|
165
|
+
// .ivu-menu-submenu-title {
|
|
166
|
+
// background: var(--menu-dark-active-bg);
|
|
167
|
+
// }
|
|
168
|
+
|
|
169
|
+
// .ivu-menu-item > i {
|
|
170
|
+
// margin-right: 12px !important;
|
|
171
|
+
// }
|
|
172
|
+
|
|
173
|
+
// .ivu-menu-submenu > .ivu-menu > .ivu-menu-item > i {
|
|
174
|
+
// margin-right: 8px !important;
|
|
175
|
+
// }
|
|
173
176
|
|
|
174
177
|
.collased-menu-dropdown {
|
|
175
178
|
width: 100%;
|
|
@@ -271,3 +274,225 @@
|
|
|
271
274
|
}
|
|
272
275
|
}
|
|
273
276
|
}
|
|
277
|
+
|
|
278
|
+
.ind-basic-layout {
|
|
279
|
+
color: var(--layout-color, @_layout-color);
|
|
280
|
+
.header-bar {
|
|
281
|
+
background: var(--layout-header-background, @_layout-header-background);
|
|
282
|
+
color: var(--layout-header-color, @_layout-header-color);
|
|
283
|
+
.pro-layout-header-wrapper {
|
|
284
|
+
.sider-trigger-a {
|
|
285
|
+
color: var(--layout-color, @_layout-color);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
.pro-layout-logo-wrapper {
|
|
289
|
+
.system-name {
|
|
290
|
+
color: var(--layout-color, @_layout-color);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
.pro-layout-nav-wrapper {
|
|
294
|
+
background: transparent;
|
|
295
|
+
color: var(--layout-header-nav-color, @_layout-header-nav-color);
|
|
296
|
+
.ivu-menu-dark {
|
|
297
|
+
background: transparent;
|
|
298
|
+
color: var(--layout-header-nav-color, @_layout-header-nav-color);
|
|
299
|
+
.ivu-menu-item {
|
|
300
|
+
background: transparent;
|
|
301
|
+
color: var(--layout-header-nav-color, @_layout-header-nav-color);
|
|
302
|
+
&:hover {
|
|
303
|
+
.line {
|
|
304
|
+
border-bottom: 3.35px solid var(--primary-color-tint-5, @_primary-color-tint-5);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
&.ivu-menu-item-active,
|
|
308
|
+
&.ivu-menu-item-selected {
|
|
309
|
+
font-weight: var(
|
|
310
|
+
--layout-header-nav-active-font-weight,
|
|
311
|
+
@_layout-header-nav-active-font-weight
|
|
312
|
+
);
|
|
313
|
+
background: linear-gradient(
|
|
314
|
+
to bottom,
|
|
315
|
+
var(
|
|
316
|
+
--layout-header-nav-active-background-begin,
|
|
317
|
+
@_layout-header-nav-active-background-begin
|
|
318
|
+
)
|
|
319
|
+
0%,
|
|
320
|
+
var(
|
|
321
|
+
--layout-header-nav-active-background-end,
|
|
322
|
+
@_layout-header-nav-active-background-end
|
|
323
|
+
)
|
|
324
|
+
100%
|
|
325
|
+
);
|
|
326
|
+
color: var(--layout-header-nav-active-color, @_layout-header-nav-active-color);
|
|
327
|
+
.line {
|
|
328
|
+
border-bottom: 3.35px solid var(--primary-color-tint-5, @_primary-color-tint-5);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
.ivu-menu-submenu {
|
|
333
|
+
background: transparent;
|
|
334
|
+
color: var(--layout-header-nav-color, @_layout-header-nav-color);
|
|
335
|
+
& .ivu-menu-submenu-title {
|
|
336
|
+
background: transparent;
|
|
337
|
+
color: var(--layout-header-nav-color, @_layout-header-nav-color);
|
|
338
|
+
}
|
|
339
|
+
.ivu-select-dropdown {
|
|
340
|
+
background: var(--layout-header-drop-background, @_layout-header-drop-background);
|
|
341
|
+
color: var(--layout-header-drop-color, @_layout-header-drop-color);
|
|
342
|
+
.ivu-menu-item {
|
|
343
|
+
background: var(--layout-header-drop-background, @_layout-header-drop-background);
|
|
344
|
+
color: var(--layout-header-drop-color, @_layout-header-drop-color);
|
|
345
|
+
&:hover {
|
|
346
|
+
background: var(
|
|
347
|
+
--layout-header-drop-active-background,
|
|
348
|
+
@_layout-header-drop-active-background
|
|
349
|
+
);
|
|
350
|
+
color: var(--layout-header-drop-active-color, @_layout-header-drop-active-color);
|
|
351
|
+
}
|
|
352
|
+
&.ivu-menu-item-active,
|
|
353
|
+
&.ivu-menu-item-selected {
|
|
354
|
+
background: var(
|
|
355
|
+
--layout-header-drop-active-background,
|
|
356
|
+
@_layout-header-drop-active-background
|
|
357
|
+
);
|
|
358
|
+
color: var(--layout-header-drop-active-color, @_layout-header-drop-active-color);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.pro-layout-nav-slide-wrapper {
|
|
367
|
+
.nav-box-slide {
|
|
368
|
+
.menu-list {
|
|
369
|
+
color: var(--layout-header-nav-color, @_layout-header-nav-color);
|
|
370
|
+
.top-menu-item {
|
|
371
|
+
color: var(--layout-header-nav-color, @_layout-header-nav-color);
|
|
372
|
+
&:hover {
|
|
373
|
+
background: transparent;
|
|
374
|
+
.menu-item {
|
|
375
|
+
color: var(--layout-header-nav-active-color, @_layout-header-nav-active-color);
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
&.active {
|
|
379
|
+
background: linear-gradient(
|
|
380
|
+
to bottom,
|
|
381
|
+
var(
|
|
382
|
+
--layout-header-nav-active-background-begin,
|
|
383
|
+
@_layout-header-nav-active-background-begin
|
|
384
|
+
)
|
|
385
|
+
0%,
|
|
386
|
+
var(
|
|
387
|
+
--layout-header-nav-active-background-end,
|
|
388
|
+
@_layout-header-nav-active-background-end
|
|
389
|
+
)
|
|
390
|
+
100%
|
|
391
|
+
);
|
|
392
|
+
border-bottom: 2px solid var(--primary-color-tint-5, @_primary-color-tint-5);
|
|
393
|
+
.menu-item {
|
|
394
|
+
color: var(--layout-header-nav-active-color, @_layout-header-nav-active-color);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
.tools-box-slide {
|
|
401
|
+
.more-menu {
|
|
402
|
+
color: var(--layout-header-color, @_layout-header-color);
|
|
403
|
+
&:hover {
|
|
404
|
+
color: var(--layout-header-nav-active-color, @_layout-header-nav-active-color);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.pro-layout-tools-wrapper {
|
|
411
|
+
.font-padding {
|
|
412
|
+
color: var(--layout-header-color, @_layout-header-color);
|
|
413
|
+
&:hover {
|
|
414
|
+
color: var(--layout-header-active-color, @_layout-header-active-color);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
.user-avatar-dropdown {
|
|
418
|
+
.ivu-dropdown-rel {
|
|
419
|
+
&:hover {
|
|
420
|
+
color: var(--layout-header-active-color, @_layout-header-active-color);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
.ivu-select-dropdown {
|
|
424
|
+
background: var(--layout-header-drop-background, @_layout-header-drop-background);
|
|
425
|
+
color: var(--layout-header-drop-color, @_layout-header-drop-color);
|
|
426
|
+
.ivu-dropdown-item {
|
|
427
|
+
background: var(--layout-header-drop-background, @_layout-header-drop-background);
|
|
428
|
+
color: var(--layout-header-drop-color, @_layout-header-drop-color);
|
|
429
|
+
&.active {
|
|
430
|
+
background: var(
|
|
431
|
+
--layout-header-drop-active-background,
|
|
432
|
+
@_layout-header-drop-active-background
|
|
433
|
+
);
|
|
434
|
+
color: var(--layout-header-drop-active-color, @_layout-header-drop-active-color);
|
|
435
|
+
}
|
|
436
|
+
&:hover {
|
|
437
|
+
background: var(
|
|
438
|
+
--layout-header-drop-active-background,
|
|
439
|
+
@_layout-header-drop-active-background
|
|
440
|
+
);
|
|
441
|
+
color: var(--layout-header-drop-active-color, @_layout-header-drop-active-color);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
.collased-menu-dropdown {
|
|
450
|
+
.ivu-dropdown-rel {
|
|
451
|
+
a.drop-menu-a {
|
|
452
|
+
color: var(--text-color, @_text-color);
|
|
453
|
+
&:hover {
|
|
454
|
+
color: var(--text-color, @_text-color);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
.search-fast-con-side-modal {
|
|
460
|
+
.ivu-modal-content {
|
|
461
|
+
background: var(--layout-sider-search-background, @_layout-sider-search-background);
|
|
462
|
+
color: var(--layout-sider-search-color, @_layout-sider-search-color);
|
|
463
|
+
.menu-side-style {
|
|
464
|
+
background: var(--layout-sider-search-background, @_layout-sider-search-background);
|
|
465
|
+
color: var(--layout-sider-search-color, @_layout-sider-search-color);
|
|
466
|
+
&:hover {
|
|
467
|
+
background: var(
|
|
468
|
+
--layout-sider-search-active-background,
|
|
469
|
+
@_layout-sider-search-active-background
|
|
470
|
+
);
|
|
471
|
+
color: var(--layout-sider-search-active-color, @_layout-sider-search-active-color);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
.no-result {
|
|
475
|
+
color: var(--layout-sider-search-color, @_layout-sider-search-color);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.ibp-nav-sub-menu {
|
|
481
|
+
.ivu-select-dropdown {
|
|
482
|
+
margin-top: 0 !important;
|
|
483
|
+
width: fit-content !important;
|
|
484
|
+
}
|
|
485
|
+
.ivu-menu-drop-list {
|
|
486
|
+
padding: 10px !important;
|
|
487
|
+
display: flex !important;
|
|
488
|
+
}
|
|
489
|
+
.ivu-menu-item {
|
|
490
|
+
color: #333 !important;
|
|
491
|
+
border-radius: 4px !important;
|
|
492
|
+
background-color: var(--ind-bg-color-dark) !important;
|
|
493
|
+
margin-right: 10px !important;
|
|
494
|
+
&:hover {
|
|
495
|
+
color: var(--ind-blue) !important;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
@@ -99,3 +99,46 @@
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
+
|
|
103
|
+
.ind-basic-layout .header-bar .ind-sub-menu .ivu-menu-item {
|
|
104
|
+
color: #333 !important;
|
|
105
|
+
border-radius: 4px !important;
|
|
106
|
+
background-color: var(--ind-bg-color-dark) !important;
|
|
107
|
+
margin-right: 10px;
|
|
108
|
+
&:hover {
|
|
109
|
+
color: var(--ind-blue) !important;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.ind-sub-menu {
|
|
114
|
+
.ivu-select-dropdown {
|
|
115
|
+
margin-top: 0 !important;
|
|
116
|
+
width: fit-content !important;
|
|
117
|
+
}
|
|
118
|
+
.ivu-menu-drop-list {
|
|
119
|
+
padding: 10px !important;
|
|
120
|
+
display: flex !important;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.pro-layout-nav-wrapper {
|
|
125
|
+
.ivu-menu {
|
|
126
|
+
.ivu-menu-item {
|
|
127
|
+
&:hover {
|
|
128
|
+
.line {
|
|
129
|
+
position: absolute;
|
|
130
|
+
left: 0;
|
|
131
|
+
right: 0;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
&.ivu-menu-item-active,
|
|
135
|
+
&.ivu-menu-item-selected {
|
|
136
|
+
.line {
|
|
137
|
+
position: absolute;
|
|
138
|
+
left: 0;
|
|
139
|
+
right: 0;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|