@steedos-widgets/amis-object 1.0.20 → 1.0.22

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.
@@ -42,9 +42,10 @@
42
42
  --Nav-item-onHover-bg: rgba(21,137,238,.1);
43
43
  --Nav-item-onActive-bg: rgba(21,137,238,.1);
44
44
  --Nav-item-onActive-color: #000;
45
+ --Nav-Item-maxWidth--tabs: 200px;
45
46
  --Crud-toolbar-gap: 2px;
46
47
  --DropDown-caret-marginLeft: 0;
47
- --Nav-Item-maxWidth--tabs: 200px;
48
+ --Layout-light-backgroundColor: transparent;
48
49
  }
49
50
 
50
51
  fieldset.antd-Collapse {
@@ -119,7 +120,7 @@ body {
119
120
 
120
121
 
121
122
  @media only screen and (min-width: 768px) {
122
- .amis-scope .antd-Modal-content{
123
+ .antd-Modal .antd-Modal-content{
123
124
  max-height: calc(100vh - 100px);
124
125
  }
125
126
  }
@@ -145,6 +146,35 @@ body {
145
146
  top: 0px;
146
147
  }
147
148
 
149
+ /* start: amis 2.7.2, component Nav */
150
+ :root {
151
+ --Nav-Item-height--horizontal: 2.5rem;
152
+ }
153
+
154
+ .antd-Nav-Menu-submenu-arrow > svg {
155
+ display: initial;
156
+ }
157
+
158
+ .antd-Nav-Menu-horizontal .antd-Nav-Menu-item.antd-Nav-Menu-item-selected:after {
159
+ height: 3px;
160
+ top: 0;
161
+ bottom: unset;
162
+ background: rgb(14 165 233);
163
+ }
164
+
165
+ .antd-Nav-Menu-light .antd-Nav-Menu-item.antd-Nav-Menu-item-selected {
166
+ background: rgba(21,137,238,.1);
167
+ }
168
+
169
+ .antd-Nav-Menu-item-selected .antd-Nav-Menu-item-label {
170
+ color: black !important;
171
+ }
172
+
173
+ .antd-Nav-Menu-horizontal > .antd-Nav-Menu-item-tooltip-wrap > .antd-Nav-Menu-item {
174
+ padding: 0 15px;
175
+ }
176
+ /* end: amis 2.7.2, component Nav */
177
+
148
178
  .ant-dropdown-menu {
149
179
  border: 1px solid #e5e5e5;
150
180
  border-radius: 0.25rem;
@@ -229,6 +259,15 @@ body {
229
259
  .fixed {
230
260
  position: fixed
231
261
  }
262
+ .absolute {
263
+ position: absolute
264
+ }
265
+ .bottom-4 {
266
+ bottom: 1rem
267
+ }
268
+ .right-4 {
269
+ right: 1rem
270
+ }
232
271
  .col-span-2 {
233
272
  grid-column: span 2 / span 2
234
273
  }
@@ -245,9 +284,15 @@ body {
245
284
  margin-top: 0.5rem;
246
285
  margin-bottom: 0.5rem
247
286
  }
287
+ .mb-3 {
288
+ margin-bottom: 0.75rem
289
+ }
248
290
  .mb-4 {
249
291
  margin-bottom: 1rem
250
292
  }
293
+ .mb-1 {
294
+ margin-bottom: 0.25rem
295
+ }
251
296
  .mb-2 {
252
297
  margin-bottom: 0.5rem
253
298
  }
@@ -278,9 +323,6 @@ body {
278
323
  .mt-1 {
279
324
  margin-top: 0.25rem
280
325
  }
281
- .mb-3 {
282
- margin-bottom: 0.75rem
283
- }
284
326
  .\!mb-6 {
285
327
  margin-bottom: 1.5rem !important
286
328
  }
@@ -314,6 +356,9 @@ body {
314
356
  .hidden {
315
357
  display: none
316
358
  }
359
+ .h-14 {
360
+ height: 3.5rem
361
+ }
317
362
  .h-5 {
318
363
  height: 1.25rem
319
364
  }
@@ -350,6 +395,9 @@ body {
350
395
  .\!max-h-\[80vh\] {
351
396
  max-height: 80vh !important
352
397
  }
398
+ .w-14 {
399
+ width: 3.5rem
400
+ }
353
401
  .w-4 {
354
402
  width: 1rem
355
403
  }
@@ -437,11 +485,14 @@ body {
437
485
  .rounded {
438
486
  border-radius: 0.25rem
439
487
  }
488
+ .rounded-full {
489
+ border-radius: 9999px
490
+ }
440
491
  .rounded-md {
441
492
  border-radius: 0.375rem
442
493
  }
443
- .rounded-full {
444
- border-radius: 9999px
494
+ .border {
495
+ border-width: 1px
445
496
  }
446
497
  .border-0 {
447
498
  border-width: 0px
@@ -450,6 +501,9 @@ body {
450
501
  border-top-width: 1px;
451
502
  border-bottom-width: 1px
452
503
  }
504
+ .border-t {
505
+ border-top-width: 1px
506
+ }
453
507
  .border-b {
454
508
  border-bottom-width: 1px
455
509
  }
@@ -478,12 +532,19 @@ body {
478
532
  --tw-bg-opacity: 1;
479
533
  background-color: rgb(243 244 246 / var(--tw-bg-opacity))
480
534
  }
535
+ .bg-blue-500 {
536
+ --tw-bg-opacity: 1;
537
+ background-color: rgb(59 130 246 / var(--tw-bg-opacity))
538
+ }
481
539
  .\!bg-transparent {
482
540
  background-color: transparent !important
483
541
  }
484
542
  .bg-transparent {
485
543
  background-color: transparent
486
544
  }
545
+ .bg-none {
546
+ background-image: none
547
+ }
487
548
  .fill-slate-500 {
488
549
  fill: #64748b
489
550
  }
@@ -546,6 +607,9 @@ body {
546
607
  .text-center {
547
608
  text-align: center
548
609
  }
610
+ .text-base {
611
+ font-size: 14px
612
+ }
549
613
  .text-md {
550
614
  font-size: 14px
551
615
  }
@@ -555,12 +619,12 @@ body {
555
619
  .text-xl {
556
620
  font-size: 18px
557
621
  }
558
- .text-base {
559
- font-size: 14px
560
- }
561
622
  .text-\[15px\] {
562
623
  font-size: 15px
563
624
  }
625
+ .font-semibold {
626
+ font-weight: 600
627
+ }
564
628
  .font-bold {
565
629
  font-weight: 700
566
630
  }
@@ -579,6 +643,22 @@ body {
579
643
  .leading-3 {
580
644
  line-height: .75rem
581
645
  }
646
+ .text-white {
647
+ --tw-text-opacity: 1;
648
+ color: rgb(255 255 255 / var(--tw-text-opacity))
649
+ }
650
+ .text-\[blue\] {
651
+ --tw-text-opacity: 1;
652
+ color: rgb(0 0 255 / var(--tw-text-opacity))
653
+ }
654
+ .text-\[red\] {
655
+ --tw-text-opacity: 1;
656
+ color: rgb(255 0 0 / var(--tw-text-opacity))
657
+ }
658
+ .text-green-600 {
659
+ --tw-text-opacity: 1;
660
+ color: rgb(22 163 74 / var(--tw-text-opacity))
661
+ }
582
662
  .text-gray-500 {
583
663
  --tw-text-opacity: 1;
584
664
  color: rgb(107 114 128 / var(--tw-text-opacity))
@@ -617,6 +697,11 @@ body {
617
697
  --tw-shadow-colored: 0 0 #0000;
618
698
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
619
699
  }
700
+ .shadow-lg {
701
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
702
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
703
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
704
+ }
620
705
  .shadow {
621
706
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
622
707
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -889,7 +974,7 @@ body.sidebar #sidebar {
889
974
  margin-top: 50px;
890
975
  }
891
976
  body.sidebar.sidebar-open #main {
892
- padding-left: 220px;
977
+ margin-left: 220px;
893
978
  }
894
979
  @media (max-width: 768px) {
895
980
  body.sidebar.sidebar-open #sidebar {
@@ -905,7 +990,7 @@ body.sidebar.sidebar-open #main {
905
990
  display: block;
906
991
  transition: ease-out opacity 0.2s;
907
992
  position: fixed;
908
- top: 50px;
993
+ top: 53px;
909
994
  right: 0;
910
995
  bottom: 0;
911
996
  left: 0;
@@ -914,3 +999,69 @@ body.sidebar.sidebar-open #main {
914
999
  opacity: 1;
915
1000
  }
916
1001
  }
1002
+
1003
+ .steedos-amis-instance-view {
1004
+ font-size: 0.8125rem;
1005
+ }
1006
+ .steedos-amis-instance-view .instance-name {
1007
+ font-size: 20px;
1008
+ }
1009
+ .steedos-amis-instance-view .instance-form-view {
1010
+ width: 100%;
1011
+ border-collapse: collapse;
1012
+ border: 2px solid #000;
1013
+ }
1014
+ .steedos-amis-instance-view .instance-applicant-view {
1015
+ border: none !important;
1016
+ }
1017
+ .steedos-amis-instance-view .instance-applicant-view td {
1018
+ border: none !important;
1019
+ }
1020
+ .steedos-amis-instance-view .instance-form-view .antd-TextControl-input {
1021
+ background-color: transparent !important;
1022
+ border: none !important;
1023
+ box-shadow: none !important;
1024
+ }
1025
+ .steedos-amis-instance-view .instance-form-view .antd-Select {
1026
+ background-color: transparent !important;
1027
+ border: none !important;
1028
+ box-shadow: none !important;
1029
+ }
1030
+ .steedos-amis-instance-view .instance-form-view .antd-DatePicker {
1031
+ background-color: transparent !important;
1032
+ border: none !important;
1033
+ box-shadow: none !important;
1034
+ }
1035
+ .steedos-amis-instance-view .instance-form-view .antd-TextareaControl-input {
1036
+ background-color: transparent !important;
1037
+ border: none !important;
1038
+ box-shadow: none !important;
1039
+ }
1040
+ .steedos-amis-instance-view .instance-form-view .antd-Number {
1041
+ background-color: transparent !important;
1042
+ border: none !important;
1043
+ box-shadow: none !important;
1044
+ }
1045
+ .steedos-amis-instance-view .instance-form-view .antd-Picker-input {
1046
+ background-color: transparent !important;
1047
+ border: none !important;
1048
+ box-shadow: none !important;
1049
+ }
1050
+ .approval-drawer .antd-Drawer-content {
1051
+ display: block !important;
1052
+ height: auto !important;
1053
+ }
1054
+ .steedos-amis-instance-view .antd-PullRefresh {
1055
+ height: 100%;
1056
+ }
1057
+ .steedos-amis-instance-view .instance-applicant-view .antd-Picker-input {
1058
+ background-color: transparent !important;
1059
+ border: none !important;
1060
+ box-shadow: none !important;
1061
+ }
1062
+ .steedos-amis-instance-view #amis-root-workflow .antd-List-placeholder {
1063
+ display: none;
1064
+ }
1065
+ .steedos-amis-instance-view .form-control {
1066
+ background: no-repeat;
1067
+ }