@steedos-widgets/amis-object 6.10.7 → 6.10.9
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 +57 -37
- package/dist/amis-object.umd.js +5 -5
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +19 -19
- package/package.json +3 -3
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);
|
|
@@ -67,6 +75,10 @@
|
|
|
67
75
|
--common-popover-border: none;
|
|
68
76
|
}
|
|
69
77
|
|
|
78
|
+
a {
|
|
79
|
+
color: var(--link-color);
|
|
80
|
+
}
|
|
81
|
+
|
|
70
82
|
/* 因上面全局设置 --DropDown-caret-marginLeft 为0了,这里允许设置DropDown的className为steedos-DropDown--show-label时恢复按钮label和右侧caret图标间距 */
|
|
71
83
|
/* .steedos-DropDown--show-label.antd-DropDown .antd-Button .antd-DropDown-caret{
|
|
72
84
|
margin-left: 0.5rem;
|
|
@@ -443,7 +455,7 @@ fieldset.antd-Collapse > legend{
|
|
|
443
455
|
}
|
|
444
456
|
|
|
445
457
|
:root, .antd-Nav-Menu {
|
|
446
|
-
|
|
458
|
+
--Menu-width--collapsed: 3rem;
|
|
447
459
|
--Menu-light-fontColor: var(--Layout-light-fontColor);
|
|
448
460
|
--Menu-light-fontColor-onHover: var(--link-color);
|
|
449
461
|
--Menu-light-fontColor-onActive: var(--link-colorlink);
|
|
@@ -465,12 +477,20 @@ fieldset.antd-Collapse > legend{
|
|
|
465
477
|
|
|
466
478
|
.antd-Nav-Menu-item {
|
|
467
479
|
border-radius: 0.375rem;
|
|
480
|
+
margin-top: 3px;
|
|
481
|
+
margin-left: 0.5rem;
|
|
468
482
|
}
|
|
469
483
|
|
|
484
|
+
.antd-Nav-Menu-collapsed
|
|
485
|
+
.antd-Nav-Menu-item {
|
|
486
|
+
border-radius: 0;
|
|
487
|
+
margin-top: 0;
|
|
488
|
+
margin-left: 0rem;
|
|
489
|
+
}
|
|
470
490
|
|
|
471
491
|
.antd-Nav-Menu-item-dragBar {
|
|
472
|
-
left:
|
|
473
|
-
|
|
492
|
+
left: 0px;
|
|
493
|
+
height: 16px;
|
|
474
494
|
}
|
|
475
495
|
|
|
476
496
|
.steedos-app-service-edit .antd-Nav-Menu-inline .antd-Nav-Menu-item-active.antd-Nav-Menu-item-selected::before {
|
|
@@ -498,8 +518,8 @@ fieldset.antd-Collapse > legend{
|
|
|
498
518
|
background: rgb(14 165 233);
|
|
499
519
|
}
|
|
500
520
|
|
|
501
|
-
.antd-Nav-Menu-light .antd-Nav-Menu-item {
|
|
502
|
-
padding-right: 0
|
|
521
|
+
.antd-Nav-Menu-light .antd-Nav-Menu-item, .antd-Nav-Menu-light .antd-Nav-Menu-submenu-title {
|
|
522
|
+
padding-right: 0;
|
|
503
523
|
}
|
|
504
524
|
|
|
505
525
|
.antd-Nav-Menu-horizontal.antd-Nav-Menu-light .antd-Nav-Menu-item.antd-Nav-Menu-item-selected {
|
|
@@ -541,27 +561,46 @@ fieldset.antd-Collapse > legend{
|
|
|
541
561
|
background-color: unset;
|
|
542
562
|
}
|
|
543
563
|
|
|
544
|
-
|
|
564
|
+
/*
|
|
545
565
|
.steedos-header-container .antd-Nav-Menu {
|
|
546
566
|
--Menu-light-backgroundColor: transparent;
|
|
567
|
+
} */
|
|
568
|
+
.antd-Nav-Menu .antd-Nav-Menu-submenu > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
|
|
569
|
+
color: var(--Menu-light-fontColor);
|
|
547
570
|
}
|
|
548
|
-
|
|
571
|
+
/*
|
|
549
572
|
.antd-Nav-Menu .antd-Nav-Menu-submenu-selected > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
|
|
550
573
|
color: var(--Menu-light-fontColor);
|
|
574
|
+
padding-left: 6px;
|
|
551
575
|
}
|
|
576
|
+
.antd-Nav-Menu .antd-Nav-Menu-submenu-active > .antd-Nav-Menu-submenu-title .antd-Nav-Menu-item-label {
|
|
577
|
+
color: var(--Menu-light-fontColor);
|
|
578
|
+
padding-left: 6px;
|
|
579
|
+
} */
|
|
580
|
+
/*
|
|
552
581
|
.antd-Nav-Menu a, a:hover, a:active, a:focus {
|
|
553
582
|
color: var(--Menu-light-fontColor);
|
|
554
583
|
}
|
|
555
584
|
.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 {
|
|
556
585
|
color: var(--Menu-light-fontColor);
|
|
557
|
-
}
|
|
586
|
+
} */
|
|
558
587
|
|
|
559
|
-
.antd-Nav-Menu .antd-Nav-Menu-submenu-title a, .antd-Nav-Menu .antd-Nav-Menu-submenu-title a:hover {
|
|
588
|
+
/* .antd-Nav-Menu .antd-Nav-Menu-submenu-title a, .antd-Nav-Menu .antd-Nav-Menu-submenu-title a:hover {
|
|
560
589
|
padding-left: 6px;
|
|
561
590
|
font-weight: bold;
|
|
591
|
+
} */
|
|
592
|
+
|
|
593
|
+
.antd-Nav .antd-Nav-dropIndicator {
|
|
594
|
+
position: absolute;
|
|
595
|
+
background: gray;
|
|
596
|
+
height: 0.125rem;
|
|
562
597
|
}
|
|
563
598
|
|
|
564
599
|
|
|
600
|
+
.antd-Nav .antd-Nav-Menu-item-link{
|
|
601
|
+
min-height:var(--Nav-Item-height);
|
|
602
|
+
height: unset;
|
|
603
|
+
}
|
|
565
604
|
.ant-dropdown{
|
|
566
605
|
z-index: 1400;
|
|
567
606
|
}
|
|
@@ -746,10 +785,6 @@ fieldset.antd-Collapse > legend{
|
|
|
746
785
|
margin-left: 0px;
|
|
747
786
|
margin-right: 0px
|
|
748
787
|
}
|
|
749
|
-
.mx-3 {
|
|
750
|
-
margin-left: 0.75rem;
|
|
751
|
-
margin-right: 0.75rem
|
|
752
|
-
}
|
|
753
788
|
.my-2 {
|
|
754
789
|
margin-top: 0.5rem;
|
|
755
790
|
margin-bottom: 0.5rem
|
|
@@ -931,9 +966,15 @@ fieldset.antd-Collapse > legend{
|
|
|
931
966
|
.w-96 {
|
|
932
967
|
width: 24rem
|
|
933
968
|
}
|
|
969
|
+
.w-\[2\.5rem\] {
|
|
970
|
+
width: 2.5rem
|
|
971
|
+
}
|
|
934
972
|
.w-\[240px\] {
|
|
935
973
|
width: 240px
|
|
936
974
|
}
|
|
975
|
+
.w-\[3rem\] {
|
|
976
|
+
width: 3rem
|
|
977
|
+
}
|
|
937
978
|
.w-auto {
|
|
938
979
|
width: auto
|
|
939
980
|
}
|
|
@@ -1016,9 +1057,6 @@ fieldset.antd-Collapse > legend{
|
|
|
1016
1057
|
.flex-nowrap {
|
|
1017
1058
|
flex-wrap: nowrap
|
|
1018
1059
|
}
|
|
1019
|
-
.items-start {
|
|
1020
|
-
align-items: flex-start
|
|
1021
|
-
}
|
|
1022
1060
|
.items-center {
|
|
1023
1061
|
align-items: center
|
|
1024
1062
|
}
|
|
@@ -1046,8 +1084,8 @@ fieldset.antd-Collapse > legend{
|
|
|
1046
1084
|
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
1047
1085
|
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))
|
|
1048
1086
|
}
|
|
1049
|
-
.justify-self-
|
|
1050
|
-
justify-self:
|
|
1087
|
+
.justify-self-end {
|
|
1088
|
+
justify-self: end
|
|
1051
1089
|
}
|
|
1052
1090
|
.overflow-auto {
|
|
1053
1091
|
overflow: auto
|
|
@@ -1331,10 +1369,6 @@ fieldset.antd-Collapse > legend{
|
|
|
1331
1369
|
.leading-none {
|
|
1332
1370
|
line-height: 1
|
|
1333
1371
|
}
|
|
1334
|
-
.\!text-gray-700 {
|
|
1335
|
-
--tw-text-opacity: 1 !important;
|
|
1336
|
-
color: rgb(55 65 81 / var(--tw-text-opacity, 1)) !important
|
|
1337
|
-
}
|
|
1338
1372
|
.text-\[blue\] {
|
|
1339
1373
|
--tw-text-opacity: 1;
|
|
1340
1374
|
color: rgb(0 0 255 / var(--tw-text-opacity, 1))
|
|
@@ -2847,10 +2881,6 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2847
2881
|
.h-fill {
|
|
2848
2882
|
height: -webkit-fill-available !important;
|
|
2849
2883
|
}
|
|
2850
|
-
.steedos-global-header-root .sidebar-wrapper .antd-Nav .antd-Nav-Menu-item-link {
|
|
2851
|
-
min-height: var(--Nav-Item-height);
|
|
2852
|
-
height: unset;
|
|
2853
|
-
}
|
|
2854
2884
|
.steedos-header-container-line-two .ant-dropdown-placement-bottomLeft {
|
|
2855
2885
|
left: -15px !important;
|
|
2856
2886
|
}
|
|
@@ -2863,16 +2893,6 @@ steedosfieldset.antd-Collapse .antd-Collapse-header.is-mobile:hover {
|
|
|
2863
2893
|
.antd-Nav-Menu-submenu-active .antd-Nav-Menu-item .hover-inline-flex {
|
|
2864
2894
|
display: none !important;
|
|
2865
2895
|
}
|
|
2866
|
-
.antd-Nav-Menu-inline .antd-Nav-Menu-item-selected::before {
|
|
2867
|
-
top: 10px;
|
|
2868
|
-
left: 5px;
|
|
2869
|
-
bottom: 10px;
|
|
2870
|
-
border-radius: 22px;
|
|
2871
|
-
}
|
|
2872
|
-
.sidebar-wrapper .antd-Button--size-default {
|
|
2873
|
-
border-color: transparent;
|
|
2874
|
-
background-color: transparent;
|
|
2875
|
-
}
|
|
2876
2896
|
|
|
2877
2897
|
#steedosGlobalFooterRoot .steedos-global-footer {
|
|
2878
2898
|
height: 4rem;
|
|
@@ -2993,7 +3013,7 @@ body.sidebar #sidebar {
|
|
|
2993
3013
|
margin-left: 220px;
|
|
2994
3014
|
}
|
|
2995
3015
|
body.sidebar #main {
|
|
2996
|
-
margin-left:
|
|
3016
|
+
margin-left: 50px;
|
|
2997
3017
|
}
|
|
2998
3018
|
}
|
|
2999
3019
|
@media (max-width: 768px) {
|