@steedos-widgets/amis-object 6.10.6 → 6.10.8
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/dist/amis-object.umd.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
--body-bg: white;
|
|
3
3
|
--body-color: #181818;
|
|
4
4
|
--body-size: 14px;
|
|
5
|
+
--link-color: #1677ff;
|
|
5
6
|
--Page-main-bg: transparent;
|
|
6
7
|
--Form-mode-default-labelGap: 2px;
|
|
7
8
|
--Form-item-fontSize: 12px;
|
|
@@ -43,6 +44,13 @@
|
|
|
43
44
|
--button-size-default-bottom-right-border-radius: 0.25rem;
|
|
44
45
|
--button-size-default-bottom-left-border-radius: 0.25rem;
|
|
45
46
|
--button-size-default-marginRight: 4px;
|
|
47
|
+
|
|
48
|
+
--button-light-default-bg-color: transparent;
|
|
49
|
+
--button-light-default-top-border-color: transparent;
|
|
50
|
+
--button-light-default-bottom-border-color: transparent;
|
|
51
|
+
--button-light-default-left-border-color: transparent;
|
|
52
|
+
--button-light-default-right-border-color: transparent;
|
|
53
|
+
|
|
46
54
|
--button-default-default-bg-color: white;
|
|
47
55
|
/* --button-default-hover-bg-color: rgb(245, 245, 245); */
|
|
48
56
|
--button-default-default-top-border-color: rgb(224, 224, 224);
|
|
@@ -52,7 +60,7 @@
|
|
|
52
60
|
/* --button-default-default-font-color: rgb(1, 118, 211); */
|
|
53
61
|
--button-enhance-default-bg-color: white;
|
|
54
62
|
--Crud-toolbar-gap: 2px;
|
|
55
|
-
--DropDown-caret-marginLeft: 0;
|
|
63
|
+
/* --DropDown-caret-marginLeft: 0; */
|
|
56
64
|
--Tabs--vertical-width: 180px;
|
|
57
65
|
--Tabs--vertical-bg: white;
|
|
58
66
|
--Tabs-link-maxWidth: 180px;
|
|
@@ -67,11 +75,15 @@
|
|
|
67
75
|
--common-popover-border: none;
|
|
68
76
|
}
|
|
69
77
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
margin-left: 0.5rem;
|
|
78
|
+
a {
|
|
79
|
+
color: var(--link-color);
|
|
73
80
|
}
|
|
74
81
|
|
|
82
|
+
/* 因上面全局设置 --DropDown-caret-marginLeft 为0了,这里允许设置DropDown的className为steedos-DropDown--show-label时恢复按钮label和右侧caret图标间距 */
|
|
83
|
+
/* .steedos-DropDown--show-label.antd-DropDown .antd-Button .antd-DropDown-caret{
|
|
84
|
+
margin-left: 0.5rem;
|
|
85
|
+
} */
|
|
86
|
+
|
|
75
87
|
/* 修正手机端字体小的问题 */
|
|
76
88
|
@media (max-width: 767px) {
|
|
77
89
|
|
|
@@ -180,9 +192,9 @@ fieldset.antd-Collapse > legend.antd-Collapse-header > .antd-Collapse-arrow:befo
|
|
|
180
192
|
border-collapse: separate;
|
|
181
193
|
}
|
|
182
194
|
|
|
183
|
-
.antd-DropDown-caret > svg {
|
|
195
|
+
/* .antd-DropDown-caret > svg {
|
|
184
196
|
top: 0px;
|
|
185
|
-
}
|
|
197
|
+
} */
|
|
186
198
|
|
|
187
199
|
|
|
188
200
|
/* 处理amis debug 滚动条异常 */
|
|
@@ -443,19 +455,19 @@ fieldset.antd-Collapse > legend{
|
|
|
443
455
|
}
|
|
444
456
|
|
|
445
457
|
:root, .antd-Nav-Menu {
|
|
458
|
+
|
|
446
459
|
--Menu-light-fontColor: var(--Layout-light-fontColor);
|
|
447
|
-
--Menu-light-fontColor-onHover: var(--
|
|
448
|
-
--Menu-light-fontColor-onActive: var(--
|
|
460
|
+
--Menu-light-fontColor-onHover: var(--link-color);
|
|
461
|
+
--Menu-light-fontColor-onActive: var(--link-colorlink);
|
|
449
462
|
--Menu-light-active-backgroundColor: rgb(240, 240, 240);
|
|
450
463
|
--Menu-light-backgroundColor-onHover: rgb(240, 240, 240);
|
|
451
|
-
--Menu-light-selectedIndicator-color:
|
|
464
|
+
--Menu-light-selectedIndicator-color: transparent;
|
|
452
465
|
--Nav-Item-height: 2.5rem;
|
|
453
466
|
/* --Nav-Item-height--horizontal: 2.5rem; */
|
|
454
|
-
--Nav-item-borderRadius:
|
|
455
|
-
--Nav-item-onActive-color: #000;
|
|
467
|
+
--Nav-item-borderRadius: 0.5rem;
|
|
456
468
|
--Nav-item-onHover-bg: rgba(21,137,238,.1);
|
|
457
469
|
--Nav-item-onActive-bg: rgba(21,137,238,.1);
|
|
458
|
-
--Nav-item-onActive-color: var(--
|
|
470
|
+
--Nav-item-onActive-color: var(--link-colorlink);
|
|
459
471
|
--Nav-Item-maxWidth--tabs: 200px;
|
|
460
472
|
}
|
|
461
473
|
.antd-Nav-Menu.antd-Nav-Menu-horizontal {
|
|
@@ -463,13 +475,14 @@ fieldset.antd-Collapse > legend{
|
|
|
463
475
|
--Menu-light-fontColor-onHover: var(--Layout-fontColor--onHover);
|
|
464
476
|
}
|
|
465
477
|
|
|
466
|
-
.antd-Nav {
|
|
467
|
-
|
|
478
|
+
.antd-Nav-Menu-item {
|
|
479
|
+
border-radius: 0.375rem;
|
|
480
|
+
margin-top: 3px;
|
|
468
481
|
}
|
|
469
482
|
|
|
483
|
+
|
|
470
484
|
.antd-Nav-Menu-item-dragBar {
|
|
471
|
-
left:
|
|
472
|
-
top: 11px;
|
|
485
|
+
left: -4px;
|
|
473
486
|
}
|
|
474
487
|
|
|
475
488
|
.steedos-app-service-edit .antd-Nav-Menu-inline .antd-Nav-Menu-item-active.antd-Nav-Menu-item-selected::before {
|
|
@@ -497,8 +510,8 @@ fieldset.antd-Collapse > legend{
|
|
|
497
510
|
background: rgb(14 165 233);
|
|
498
511
|
}
|
|
499
512
|
|
|
500
|
-
.antd-Nav-Menu-light .antd-Nav-Menu-item {
|
|
501
|
-
padding-right: 0
|
|
513
|
+
.antd-Nav-Menu-light .antd-Nav-Menu-item, .antd-Nav-Menu-light .antd-Nav-Menu-submenu-title {
|
|
514
|
+
padding-right: 0;
|
|
502
515
|
}
|
|
503
516
|
|
|
504
517
|
.antd-Nav-Menu-horizontal.antd-Nav-Menu-light .antd-Nav-Menu-item.antd-Nav-Menu-item-selected {
|
|
@@ -540,27 +553,47 @@ fieldset.antd-Collapse > legend{
|
|
|
540
553
|
background-color: unset;
|
|
541
554
|
}
|
|
542
555
|
|
|
543
|
-
|
|
556
|
+
/*
|
|
544
557
|
.steedos-header-container .antd-Nav-Menu {
|
|
545
558
|
--Menu-light-backgroundColor: transparent;
|
|
559
|
+
} */
|
|
560
|
+
.antd-Nav-Menu .antd-Nav-Menu-submenu > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
|
|
561
|
+
color: var(--Menu-light-fontColor);
|
|
562
|
+
padding-left: 6px;
|
|
546
563
|
}
|
|
547
|
-
|
|
564
|
+
/*
|
|
548
565
|
.antd-Nav-Menu .antd-Nav-Menu-submenu-selected > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
|
|
549
566
|
color: var(--Menu-light-fontColor);
|
|
567
|
+
padding-left: 6px;
|
|
550
568
|
}
|
|
569
|
+
.antd-Nav-Menu .antd-Nav-Menu-submenu-active > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
|
|
570
|
+
color: var(--Menu-light-fontColor);
|
|
571
|
+
padding-left: 6px;
|
|
572
|
+
} */
|
|
573
|
+
/*
|
|
551
574
|
.antd-Nav-Menu a, a:hover, a:active, a:focus {
|
|
552
575
|
color: var(--Menu-light-fontColor);
|
|
553
576
|
}
|
|
554
577
|
.antd-Nav-Menu-item-active .antd-Nav-Menu-item-label, .antd-Nav-Menu-item-active .antd-Nav-Menu-item-icon, .antd-Nav-Menu-item-active .antd-Nav-Menu-item-icon-after, .antd-Nav-Menu-item-active .antd-Nav-Menu-submenu-arrow {
|
|
555
578
|
color: var(--Menu-light-fontColor);
|
|
556
|
-
}
|
|
579
|
+
} */
|
|
557
580
|
|
|
558
|
-
.antd-Nav-Menu .antd-Nav-Menu-submenu-title a, .antd-Nav-Menu .antd-Nav-Menu-submenu-title a:hover {
|
|
581
|
+
/* .antd-Nav-Menu .antd-Nav-Menu-submenu-title a, .antd-Nav-Menu .antd-Nav-Menu-submenu-title a:hover {
|
|
559
582
|
padding-left: 6px;
|
|
560
583
|
font-weight: bold;
|
|
584
|
+
} */
|
|
585
|
+
|
|
586
|
+
.antd-Nav .antd-Nav-dropIndicator {
|
|
587
|
+
position: absolute;
|
|
588
|
+
background: gray;
|
|
589
|
+
height: 0.125rem;
|
|
561
590
|
}
|
|
562
591
|
|
|
563
592
|
|
|
593
|
+
.antd-Nav .antd-Nav-Menu-item-link{
|
|
594
|
+
min-height:var(--Nav-Item-height);
|
|
595
|
+
height: unset;
|
|
596
|
+
}
|
|
564
597
|
.ant-dropdown{
|
|
565
598
|
z-index: 1400;
|
|
566
599
|
}
|
|
@@ -722,9 +755,6 @@ fieldset.antd-Collapse > legend{
|
|
|
722
755
|
.col-span-2 {
|
|
723
756
|
grid-column: span 2 / span 2
|
|
724
757
|
}
|
|
725
|
-
.float-right {
|
|
726
|
-
float: right
|
|
727
|
-
}
|
|
728
758
|
.m-0 {
|
|
729
759
|
margin: 0px
|
|
730
760
|
}
|
|
@@ -744,9 +774,13 @@ fieldset.antd-Collapse > legend{
|
|
|
744
774
|
margin-left: 0px !important;
|
|
745
775
|
margin-right: 0px !important
|
|
746
776
|
}
|
|
747
|
-
.mx-
|
|
748
|
-
margin-left:
|
|
749
|
-
margin-right:
|
|
777
|
+
.mx-0 {
|
|
778
|
+
margin-left: 0px;
|
|
779
|
+
margin-right: 0px
|
|
780
|
+
}
|
|
781
|
+
.mx-3 {
|
|
782
|
+
margin-left: 0.75rem;
|
|
783
|
+
margin-right: 0.75rem
|
|
750
784
|
}
|
|
751
785
|
.my-2 {
|
|
752
786
|
margin-top: 0.5rem;
|
|
@@ -794,9 +828,6 @@ fieldset.antd-Collapse > legend{
|
|
|
794
828
|
.ml-4 {
|
|
795
829
|
margin-left: 1rem
|
|
796
830
|
}
|
|
797
|
-
.ml-6 {
|
|
798
|
-
margin-left: 1.5rem
|
|
799
|
-
}
|
|
800
831
|
.mr-0 {
|
|
801
832
|
margin-right: 0px
|
|
802
833
|
}
|
|
@@ -818,9 +849,6 @@ fieldset.antd-Collapse > legend{
|
|
|
818
849
|
.mt-1 {
|
|
819
850
|
margin-top: 0.25rem
|
|
820
851
|
}
|
|
821
|
-
.mt-2 {
|
|
822
|
-
margin-top: 0.5rem
|
|
823
|
-
}
|
|
824
852
|
.mt-3 {
|
|
825
853
|
margin-top: 0.75rem
|
|
826
854
|
}
|
|
@@ -1020,6 +1048,9 @@ fieldset.antd-Collapse > legend{
|
|
|
1020
1048
|
.flex-nowrap {
|
|
1021
1049
|
flex-wrap: nowrap
|
|
1022
1050
|
}
|
|
1051
|
+
.items-start {
|
|
1052
|
+
align-items: flex-start
|
|
1053
|
+
}
|
|
1023
1054
|
.items-center {
|
|
1024
1055
|
align-items: center
|
|
1025
1056
|
}
|
|
@@ -1047,6 +1078,9 @@ fieldset.antd-Collapse > legend{
|
|
|
1047
1078
|
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
1048
1079
|
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))
|
|
1049
1080
|
}
|
|
1081
|
+
.justify-self-start {
|
|
1082
|
+
justify-self: start
|
|
1083
|
+
}
|
|
1050
1084
|
.overflow-auto {
|
|
1051
1085
|
overflow: auto
|
|
1052
1086
|
}
|
|
@@ -1189,6 +1223,10 @@ fieldset.antd-Collapse > legend{
|
|
|
1189
1223
|
.p-4 {
|
|
1190
1224
|
padding: 1rem
|
|
1191
1225
|
}
|
|
1226
|
+
.\!px-2 {
|
|
1227
|
+
padding-left: 0.5rem !important;
|
|
1228
|
+
padding-right: 0.5rem !important
|
|
1229
|
+
}
|
|
1192
1230
|
.px-0 {
|
|
1193
1231
|
padding-left: 0px;
|
|
1194
1232
|
padding-right: 0px
|
|
@@ -1325,10 +1363,6 @@ fieldset.antd-Collapse > legend{
|
|
|
1325
1363
|
.leading-none {
|
|
1326
1364
|
line-height: 1
|
|
1327
1365
|
}
|
|
1328
|
-
.\!text-gray-700 {
|
|
1329
|
-
--tw-text-opacity: 1 !important;
|
|
1330
|
-
color: rgb(55 65 81 / var(--tw-text-opacity, 1)) !important
|
|
1331
|
-
}
|
|
1332
1366
|
.text-\[blue\] {
|
|
1333
1367
|
--tw-text-opacity: 1;
|
|
1334
1368
|
color: rgb(0 0 255 / var(--tw-text-opacity, 1))
|
|
@@ -1353,10 +1387,6 @@ fieldset.antd-Collapse > legend{
|
|
|
1353
1387
|
--tw-text-opacity: 1;
|
|
1354
1388
|
color: rgb(107 114 128 / var(--tw-text-opacity, 1))
|
|
1355
1389
|
}
|
|
1356
|
-
.text-gray-600 {
|
|
1357
|
-
--tw-text-opacity: 1;
|
|
1358
|
-
color: rgb(75 85 99 / var(--tw-text-opacity, 1))
|
|
1359
|
-
}
|
|
1360
1390
|
.text-gray-700 {
|
|
1361
1391
|
--tw-text-opacity: 1;
|
|
1362
1392
|
color: rgb(55 65 81 / var(--tw-text-opacity, 1))
|
|
@@ -1462,12 +1492,6 @@ fieldset.antd-Collapse > legend{
|
|
|
1462
1492
|
font-weight: 700
|
|
1463
1493
|
}
|
|
1464
1494
|
|
|
1465
|
-
.hover\:shadow:hover {
|
|
1466
|
-
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
1467
|
-
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
1468
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
1495
|
.focus\:outline-none:focus {
|
|
1472
1496
|
outline: 2px solid transparent;
|
|
1473
1497
|
outline-offset: 2px
|
|
@@ -2851,10 +2875,6 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2851
2875
|
.h-fill {
|
|
2852
2876
|
height: -webkit-fill-available !important;
|
|
2853
2877
|
}
|
|
2854
|
-
.steedos-global-header-root .sidebar-wrapper .antd-Nav .antd-Nav-Menu-item-link {
|
|
2855
|
-
min-height: var(--Nav-Item-height);
|
|
2856
|
-
height: unset;
|
|
2857
|
-
}
|
|
2858
2878
|
.steedos-header-container-line-two .ant-dropdown-placement-bottomLeft {
|
|
2859
2879
|
left: -15px !important;
|
|
2860
2880
|
}
|
|
@@ -2867,12 +2887,6 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2867
2887
|
.antd-Nav-Menu-submenu-active .antd-Nav-Menu-item .hover-inline-flex {
|
|
2868
2888
|
display: none !important;
|
|
2869
2889
|
}
|
|
2870
|
-
.antd-Nav-Menu-inline .antd-Nav-Menu-item-selected::before {
|
|
2871
|
-
top: 10px;
|
|
2872
|
-
left: 5px;
|
|
2873
|
-
bottom: 10px;
|
|
2874
|
-
border-radius: 22px;
|
|
2875
|
-
}
|
|
2876
2890
|
|
|
2877
2891
|
#steedosGlobalFooterRoot .steedos-global-footer {
|
|
2878
2892
|
height: 4rem;
|
|
@@ -2993,7 +3007,7 @@ body.sidebar #sidebar {
|
|
|
2993
3007
|
margin-left: 220px;
|
|
2994
3008
|
}
|
|
2995
3009
|
body.sidebar #main {
|
|
2996
|
-
margin-left:
|
|
3010
|
+
margin-left: 50px;
|
|
2997
3011
|
}
|
|
2998
3012
|
}
|
|
2999
3013
|
@media (max-width: 768px) {
|