@dhccmobile/vue3-lo-form 2.0.53 → 2.0.61

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.
@@ -1,371 +0,0 @@
1
- .ant-form-horizontal {
2
- .lo-control-container {
3
- /**非编辑状态下的样式*/
4
- .is-disable-input {
5
- :deep(.ant-form-item-control) {
6
- border-radius: 5px;
7
- border: rgba(229,229,229, 0.7) 1px solid;
8
- }
9
- }
10
- .lo-control-box {
11
- .ant-form-item {
12
- display: flex;
13
- flex-direction: row;
14
- height: 100%;
15
- :deep {
16
- .ant-form-item-control {
17
- min-height: 40px;
18
- //box-shadow: 0 0 0 1px rgba(229,229,229, 0.5);
19
- margin-top: 1px;
20
- }
21
- .ant-form-item-label {
22
- position: relative;
23
- //box-shadow: 0 0 0 1px #fff;
24
- background-color: transparent;
25
- z-index: 1;
26
- label {
27
- display: block;
28
- width: 100%;
29
- height: auto;
30
- white-space: pre-wrap;
31
- word-break: break-all;
32
- line-height: normal;
33
- padding: 8px 0;
34
- }
35
- }
36
- .ant-input,
37
- .ant-input-affix-wrapper,
38
- .ant-select-selector,
39
- .ant-picker,
40
- .ant-btn,
41
- .ant-input-number {
42
- border-radius: .5rem;
43
- min-height: 40px;
44
- max-height: 40px;
45
- padding: 0 6px;
46
- height: 100%;
47
- color: #333333;
48
- }
49
- .ant-input-number-input, input[type=search] {
50
- min-height: 40px;
51
- padding: 0;
52
- height: 100%;
53
- color: #333333;
54
- }
55
- .ant-input-number-group,
56
- .ant-input-number-group-wrapper,
57
- .ant-input-number-input-wrap {
58
- width: 100%;
59
- height: 100%;
60
- }
61
- .ant-picker-input > input {
62
- color: #333333;
63
- }
64
- .ant-radio-group {
65
- padding: 0 6px;
66
- margin: auto 0;
67
- }
68
- .ant-checkbox-group {
69
- padding: 8px 6px;
70
- }
71
- .ant-picker-suffix, .ant-select-arrow {
72
- width: 40px;
73
- }
74
- .ant-picker-suffix {
75
- text-align: center;
76
- margin-right: -6px;
77
- }
78
- .ant-select-arrow {
79
- display: flex;
80
- align-items: center;
81
- justify-content: center;
82
- height: 100%;
83
- top: 5px;
84
- right: 0;
85
- z-index: 10;
86
- }
87
- .ant-form-item-control-input-content {
88
- display: flex;
89
- align-items: center;
90
- }
91
- .ant-form-item-control-input, .ant-form-item-control-input-content {
92
- height: 100%;
93
- align-items: center;
94
- }
95
- .ant-input:focus,
96
- .ant-input-number-focused,
97
- .ant-picker-focused,
98
- .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
99
- box-shadow: 0 0 0 1px #4094f3;
100
- z-index: 10;
101
- }
102
- .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector,
103
- .ant-picker-input > input[disabled],
104
- .ant-input-number-disabled,
105
- .ant-input[disabled] {
106
- color: #666666;
107
- background-color: #fbfbfb;
108
- }
109
- .ant-picker-disabled {
110
- background-color: #fbfbfb;
111
- }
112
- .ant-form-item-explain-error {
113
- line-height: 24px;
114
- color: #ff2d4b;
115
- font-size: 12px;
116
- padding: 0 6px;
117
- background: rgba(255, 45, 75, 0.2)
118
- }
119
- .ant-select-selection-item {
120
- display: inline-flex;
121
- align-items: center;
122
- }
123
- .ant-select-selection-overflow {
124
- padding-right: 40px;
125
- }
126
- .ant-select-multiple {
127
- .ant-select-selection-search {
128
- margin-start: 0;
129
- margin-inline-start: 0;
130
- }
131
- .ant-select-selection-placeholder {
132
- left: 6px;
133
- right: 40px;
134
- }
135
- }
136
- .ant-select-single {
137
- .ant-select-selection-item,
138
- .ant-select-selection-search {
139
- position: absolute;
140
- left: 6px;
141
- right: 40px;
142
- top: 0;
143
- bottom: 0;
144
- }
145
- }
146
- }
147
- }
148
- :deep .ant-form-item-has-error {
149
- .ant-input:focus,
150
- .ant-input-number-focused,
151
- .ant-picker-focused,
152
- .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
153
- box-shadow: 0 0 0 1px #ff194c;
154
- color: #ff194c;
155
- z-index: 10;
156
- }
157
- }
158
- }
159
- }
160
- }
161
- .lo-control-container {
162
- box-sizing: border-box;
163
- margin-bottom: 1.5rem;
164
- .lo-control-box {
165
- height: 100%;
166
- .ant-form-item {
167
- margin-bottom: 0;
168
- .lo-select {
169
- :deep {
170
- .ant-select-selection-selected-value {
171
- width: 100%;
172
- white-space: nowrap;
173
- text-overflow: ellipsis;
174
- overflow: hidden;
175
- word-break: break-all;
176
- }
177
- }
178
- &.lo-select-multiple-suffix-icon {
179
- :deep {
180
- .ant-select-arrow {
181
- margin: 0;
182
- height: 100%;
183
- top: 0;
184
- right: 0;
185
- width: fit-content;
186
- .ant-select-arrow-icon {
187
- height: 100%;
188
- display: flex;
189
- align-items: center;
190
- }
191
- }
192
- }
193
- }
194
- }
195
- .lo-label-sub-type-icon {
196
- color: #3fb5eb;
197
- cursor: pointer;
198
- margin-left: 4px;
199
- margin-bottom: 3px;
200
- display: inline-block;
201
- :deep {
202
- svg {
203
- display: inline-block;
204
- margin-bottom: -2.5px;
205
- }
206
- }
207
- }
208
- .lo-label-history-icon {
209
- display: inline-block;
210
- line-height: 0;
211
- margin-left: 4px;
212
- margin-bottom: 3px;
213
- cursor: pointer;
214
- font-size: 14px;
215
- }
216
- .lo-label-tips-icon {
217
- color: #4094f3;
218
- cursor: pointer;
219
- font-size: 14px !important;
220
- margin-left: 4px;
221
- }
222
- :deep {
223
- .ant-form-item-label {
224
- label {
225
- color: #333333;
226
- }
227
- }
228
- .ant-form-item-control-wrapper {
229
- flex-grow: 1;
230
- color: #333333;
231
- }
232
- }
233
- :deep {
234
- .ant-input-group-addon, .ant-input-number-group-addon {
235
- width: 40px;
236
- min-height: 38px;
237
- position: absolute;
238
- right: 2px;
239
- top: 1px;
240
- border: none;
241
- z-index: 999;
242
- &:active {
243
- opacity: .7;
244
- }
245
- }
246
- }
247
- .addon-icon {
248
- display: flex;
249
- align-items: center;
250
- justify-content: center;
251
- width: 100%;
252
- height: 100%;
253
- font-size: 15px;
254
- cursor: pointer;
255
- background-color: #fff;
256
- }
257
- .addon-inner {
258
- display: flex;
259
- align-items: center;
260
- justify-content: center;
261
- position: absolute;
262
- width: 100%;
263
- height: 100%;
264
- top: 0;
265
- left: 0;
266
- cursor: pointer;
267
- color: #999999;
268
- background-color: #f2f2f2;
269
- }
270
- .addon-inner:active {
271
- background: rgba(240, 240, 240, 0.3);
272
- }
273
- }
274
- .lo-textarea-count {
275
- position: absolute;
276
- line-height: 10px;
277
- right: 0;
278
- color: rgba(0, 0, 0, 0.45);
279
- }
280
- .lo-input-number-box {
281
- width: 100%;
282
- :deep {
283
- .ant-input-number {
284
- width: 100%;
285
- }
286
- }
287
- &.lo-with-unit {
288
- :deep {
289
- .ant-input-number {
290
- border-top-right-radius: 0;
291
- border-bottom-right-radius: 0;
292
- border-right: 0;
293
- .ant-input-number-handler-wrap {
294
- border-top-right-radius: 0;
295
- border-bottom-right-radius: 0;
296
- opacity: 1;
297
- }
298
- }
299
- .ant-dropdown-trigger {
300
- border-top-left-radius: 0;
301
- border-bottom-left-radius: 0;
302
- }
303
- }
304
- &.lo-unit-1 {
305
- :deep {
306
- .ant-input-number {
307
- width: calc(100% - 50px);
308
- }
309
- .ant-dropdown-trigger {
310
- min-width: 50px;
311
- }
312
- }
313
- }
314
- &.lo-unit-2 {
315
- :deep {
316
- .ant-input-number {
317
- width: calc(100% - 80px);
318
- }
319
- .ant-dropdown-trigger {
320
- min-width: 80px;
321
- }
322
- }
323
- }
324
- &.lo-unit-3 {
325
- :deep {
326
- .ant-input-number {
327
- width: calc(100% - 110px);
328
- }
329
- .ant-dropdown-trigger {
330
- min-width: 110px;
331
- }
332
- }
333
- }
334
- }
335
- }
336
- .lo-input-content {
337
- align-items: center;
338
- overflow: hidden;
339
- text-overflow: ellipsis;
340
- color: #333333;
341
- font-size: 14px;
342
- padding: 0 6px;
343
- }
344
- .lo-control-text {
345
- white-space: pre-wrap;
346
- word-break: break-all;
347
- line-height: 22px;
348
- }
349
- }
350
-
351
- :deep .ant-select-multiple .ant-select-selection-item {
352
- height: 40px !important;
353
- margin: 0 4px 0 0 !important;
354
- }
355
- }
356
- .lo-empty-layout-container {
357
- box-sizing: border-box;
358
- display: grid;
359
- border: none;
360
- }
361
- .lo-general-layout-container {
362
- box-sizing: border-box;
363
- display: grid;
364
- grid-column-start: 1;
365
- }
366
- :deep .ant-form-item-label > label.ant-form-item-no-colon::after {
367
- display: none;
368
- }
369
- .ant-input-textarea {
370
- width: 100%;
371
- }