@steedos-widgets/amis-object 1.0.2 → 1.0.5

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.
@@ -6,6 +6,7 @@
6
6
  --Form-fontSize: 14px;
7
7
  --Form-selectValue-fontSize: 14px;
8
8
  --Table-toolbar-marginY: 0;
9
+ --Table-borderWidth: 1px;
9
10
  --Table-borderColor: #d9dcde;
10
11
  --Table-thead-fontSize: 13px;
11
12
  --Table-fontSize: 13px;
@@ -40,6 +41,14 @@
40
41
  --Nav-item-onActive-color: #000;
41
42
  }
42
43
 
44
+ @media only screen and (min-width: 600px) {
45
+ body {
46
+ background: url(/images/defaultBackground.png);
47
+ background-size: contain;
48
+ background-repeat: no-repeat;
49
+ }
50
+ }
51
+
43
52
  fieldset.antd-Collapse {
44
53
  margin-bottom: 1rem;
45
54
  }
@@ -56,41 +65,11 @@ fieldset.antd-Collapse > legend.antd-Collapse-header > .antd-Collapse-arrow:befo
56
65
  border-color: initial
57
66
  }
58
67
 
59
-
60
- main {
61
- background: var(--body-bg);
62
- }
63
-
64
-
65
- .ant-modal-root .amis-scope .antd-Panel-footerWrap{
66
- position: sticky;
67
- width: 100%;
68
- bottom: 0px;
69
- background: #ffffff
70
- }
71
-
72
68
  .amis-scope .antd-Select-option > label {
73
69
  display: block;
74
70
  min-width: 100px;
75
71
  }
76
72
 
77
- /* .steedos-related-listview.amis-scope .antd-Table-headToolbar{
78
- display: none;
79
- } */
80
-
81
- /* .steedos-listview.amis-scope .antd-Table-headToolbar{
82
- display: none;
83
- } */
84
-
85
- .antd-Crud-toolbar{
86
- margin-left: 1rem;
87
- margin-right: 1rem;
88
- }
89
-
90
- #__next .antd-Panel {
91
- box-shadow: none;
92
- }
93
-
94
73
  .is-inline .antd-Combo-items{
95
74
  justify-content: space-between !important;
96
75
  display: flex !important;
@@ -109,55 +88,10 @@ main {
109
88
  margin-top: 0 !important;
110
89
  }
111
90
 
112
- /*Table空状态高度调整*/
113
- .antd-Table-placeholder{
114
- height: 20px !important;
115
- }
116
-
117
- .antd-Table-placeholder-empty-icon.icon{
118
- height: 20px !important;
119
- }
120
-
121
91
  .steedos-listview .antd-List-toolbar{
122
92
  display: none;
123
93
  }
124
94
 
125
- /* .steedos-listview .antd-Crud-toolbar:first-child{
126
- display: none;
127
- } */
128
-
129
- .amis-scope .antd-Card{
130
- border-left: none !important;
131
- border-right: none !important;
132
- -o-border-image: none !important;
133
- border-image: none !important;
134
- border-bottom: none !important;
135
- }
136
-
137
- .amis-scope svg.icon {
138
- vertical-align: baseline;
139
- display: inline;
140
- }
141
-
142
- button.antd-Button--primary {
143
- color: #fff;
144
- border-color: #1890ff;
145
- background: #1890ff;
146
- /* background-color: var(--Button--primary-bg); */
147
- }
148
-
149
- #__next .antd-Table {
150
- margin-bottom: 0;
151
- }
152
-
153
- #__next .antd-Table-tr--even {
154
- background-color: #fcfdfe;
155
- }
156
-
157
- #__next .antd-Table-checkCell {
158
- border-right: 0;
159
- }
160
-
161
95
  body {
162
96
  font-family: -apple-system,BlinkMacSystemFont,Helvetica,Arial,Microsoft Yahei,SimHei;
163
97
  }
@@ -180,11 +114,6 @@ body {
180
114
  outline: 0;
181
115
  }
182
116
 
183
- svg.icon {
184
- display: inherit;
185
- }
186
-
187
-
188
117
  /* fix: https://github.com/baidu/amis/issues/5073 */
189
118
  .antd-CBGroup-toolbar .antd-CBGroup-toolbarConditionAdd .antd-ButtonGroup>.antd-Button:first-child {
190
119
  margin-right: 1.5rem;
@@ -201,6 +130,10 @@ svg.icon {
201
130
  overflow: auto;
202
131
  }
203
132
 
133
+
134
+ .antd-Nav-item.is-active {
135
+ box-shadow:var(--link-color) 4px 0 0 inset;
136
+ }
204
137
  /* @tailwind base; */
205
138
  .container {
206
139
  width: 100%
@@ -233,6 +166,9 @@ svg.icon {
233
166
  .visible {
234
167
  visibility: visible
235
168
  }
169
+ .collapse {
170
+ visibility: collapse
171
+ }
236
172
  .static {
237
173
  position: static
238
174
  }
@@ -260,6 +196,12 @@ svg.icon {
260
196
  .ml-1 {
261
197
  margin-left: 0.25rem
262
198
  }
199
+ .-ml-px {
200
+ margin-left: -1px
201
+ }
202
+ .mr-1 {
203
+ margin-right: 0.25rem
204
+ }
263
205
  .mb-3 {
264
206
  margin-bottom: 0.75rem
265
207
  }
@@ -284,18 +226,42 @@ svg.icon {
284
226
  .hidden {
285
227
  display: none
286
228
  }
229
+ .h-12 {
230
+ height: 3rem
231
+ }
232
+ .h-6 {
233
+ height: 1.5rem
234
+ }
235
+ .h-7 {
236
+ height: 1.75rem
237
+ }
287
238
  .h-4 {
288
239
  height: 1rem
289
240
  }
290
241
  .w-56 {
291
242
  width: 14rem
292
243
  }
244
+ .w-20 {
245
+ width: 5rem
246
+ }
247
+ .w-12 {
248
+ width: 3rem
249
+ }
250
+ .w-6 {
251
+ width: 1.5rem
252
+ }
253
+ .w-auto {
254
+ width: auto
255
+ }
293
256
  .w-4 {
294
257
  width: 1rem
295
258
  }
296
259
  .w-full {
297
260
  width: 100%
298
261
  }
262
+ .flex-shrink-0 {
263
+ flex-shrink: 0
264
+ }
299
265
  @keyframes spin {
300
266
  to {
301
267
  transform: rotate(360deg)
@@ -330,6 +296,9 @@ svg.icon {
330
296
  .rounded-none {
331
297
  border-radius: 0px
332
298
  }
299
+ .rounded-md {
300
+ border-radius: 0.375rem
301
+ }
333
302
  .border {
334
303
  border-width: 1px
335
304
  }
@@ -368,6 +337,9 @@ svg.icon {
368
337
  --tw-bg-opacity: 1;
369
338
  background-color: rgb(243 244 246 / var(--tw-bg-opacity))
370
339
  }
340
+ .fill-slate-500 {
341
+ fill: #64748b
342
+ }
371
343
  .p-0 {
372
344
  padding: 0px
373
345
  }
@@ -407,13 +379,26 @@ svg.icon {
407
379
  .text-center {
408
380
  text-align: center
409
381
  }
382
+ .align-text-top {
383
+ vertical-align: text-top
384
+ }
410
385
  .text-xl {
411
386
  font-size: 1.25rem;
412
387
  line-height: 1.75rem
413
388
  }
389
+ .text-lg {
390
+ font-size: 1.125rem;
391
+ line-height: 1.75rem
392
+ }
393
+ .text-\[15px\] {
394
+ font-size: 15px
395
+ }
414
396
  .font-bold {
415
397
  font-weight: 700
416
398
  }
399
+ .font-medium {
400
+ font-weight: 500
401
+ }
417
402
  .leading-none {
418
403
  line-height: 1
419
404
  }
@@ -425,6 +410,17 @@ svg.icon {
425
410
  --tw-text-opacity: 1;
426
411
  color: rgb(0 0 0 / var(--tw-text-opacity))
427
412
  }
413
+ .text-blue-600 {
414
+ --tw-text-opacity: 1;
415
+ color: rgb(37 99 235 / var(--tw-text-opacity))
416
+ }
417
+ .text-slate-700 {
418
+ --tw-text-opacity: 1;
419
+ color: rgb(51 65 85 / var(--tw-text-opacity))
420
+ }
421
+ .no-underline {
422
+ text-decoration-line: none
423
+ }
428
424
  .shadow-none {
429
425
  --tw-shadow: 0 0 #0000;
430
426
  --tw-shadow-colored: 0 0 #0000;