@ngx-smz/core 21.10.0-next.2 → 21.10.0-next.21

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.
Files changed (50) hide show
  1. package/README.md +34 -127
  2. package/fesm2022/ngx-smz-core.mjs +4778 -4317
  3. package/fesm2022/ngx-smz-core.mjs.map +1 -1
  4. package/package.json +6 -1
  5. package/resources/assets/help/role-claims/index.html +23 -23
  6. package/resources/assets/help/user-claims/index.html +46 -46
  7. package/resources/assets/images/asset-access.svg +46 -46
  8. package/resources/assets/images/asset-error.svg +74 -74
  9. package/resources/assets/images/dock/acabamentos.svg +62 -62
  10. package/resources/assets/images/dock/dialog.svg +33 -33
  11. package/resources/assets/images/tables/empty-dark.svg +63 -63
  12. package/resources/assets/images/tables/empty.svg +56 -56
  13. package/resources/assets/locales/de.json +13 -13
  14. package/resources/assets/locales/en.json +13 -13
  15. package/resources/assets/scss/dialogs/responsive.scss +8 -66
  16. package/resources/assets/scss/dialogs/smz-general-styles.scss +523 -523
  17. package/resources/assets/scss/dock/dock.scss +60 -60
  18. package/resources/assets/scss/documents/documents.scss +261 -261
  19. package/resources/assets/scss/extras/browser.scss +17 -17
  20. package/resources/assets/scss/extras/colors.scss +2149 -2149
  21. package/resources/assets/scss/extras/dividers.scss +566 -566
  22. package/resources/assets/scss/extras/extras.scss +36 -36
  23. package/resources/assets/scss/extras/pretty-json.scss +24 -24
  24. package/resources/assets/scss/extras/tag-messages.scss +13 -13
  25. package/resources/assets/scss/fontawesome-free.scss +1 -1
  26. package/resources/assets/scss/forms/forms.scss +23 -23
  27. package/resources/assets/scss/layouts/smz-theme-blue.scss +54 -54
  28. package/resources/assets/scss/layouts/smz-theme-bluegray.scss +55 -55
  29. package/resources/assets/scss/layouts/smz-theme-brown.scss +55 -55
  30. package/resources/assets/scss/layouts/smz-theme-cyan.scss +55 -55
  31. package/resources/assets/scss/layouts/smz-theme-darkgray.scss +55 -55
  32. package/resources/assets/scss/layouts/smz-theme-deeppurple.scss +54 -54
  33. package/resources/assets/scss/layouts/smz-theme-green.scss +55 -55
  34. package/resources/assets/scss/layouts/smz-theme-indigo.scss +54 -54
  35. package/resources/assets/scss/layouts/smz-theme-orange.scss +54 -54
  36. package/resources/assets/scss/layouts/smz-theme-pink.scss +54 -54
  37. package/resources/assets/scss/layouts/smz-theme-purple.scss +54 -54
  38. package/resources/assets/scss/layouts/smz-theme-teal.scss +54 -54
  39. package/resources/assets/scss/layouts/smz-theme-white.scss +55 -55
  40. package/resources/assets/scss/overlay-panel/overlay-panel.scss +59 -59
  41. package/resources/assets/scss/pages/app-exceptions.scss +70 -70
  42. package/resources/assets/scss/smz-tables.scss +202 -202
  43. package/resources/assets/scss/smz-trees.scss +2 -2
  44. package/resources/assets/scss/smz-ui.scss +40 -40
  45. package/resources/assets/scss/styles.scss +0 -3
  46. package/scripts/check-legacy-grid.mjs +158 -0
  47. package/scripts/migrate-grid.mjs +421 -0
  48. package/tailwind.preset.js +44 -44
  49. package/types/ngx-smz-core.d.ts +232 -10
  50. package/resources/assets/scss/prime-grid/_grid.scss +0 -610
@@ -1,523 +1,523 @@
1
- @use "./responsive" as *;
2
-
3
- .smz-dialog-minimized {
4
- z-index: -1 !important;
5
- display: none !important;
6
- }
7
-
8
- .smz-button-success {
9
- .ui-button {
10
- color: #fff;
11
- background-color: #107d11;
12
- border: 1px solid #107d11;
13
-
14
- &:hover {
15
- color: #fff;
16
- background-color: #107d11;
17
- }/* */
18
- }
19
-
20
- .p-button {
21
- color: #fff;
22
- background-color: #107d11;
23
- border: 1px solid #107d11;
24
-
25
- &:hover {
26
- color: #fff;
27
- background-color: #107d11;
28
- }
29
- }
30
- }
31
-
32
-
33
- .smz-group-right {
34
- float: right !important;
35
- }
36
-
37
- .input_inner__wrapper {
38
- & {
39
- position: relative;
40
- }
41
-
42
- p-fileupload {
43
- & {
44
- display: contents;
45
- max-width: fit-content !important;
46
- border-radius: 4px;
47
- }
48
-
49
- .ui-button-icon-left {
50
- border-radius: 4px;
51
- }
52
-
53
- .ui-button-text-icon-left {
54
- & {
55
- border-radius: 4px;
56
- }
57
-
58
- .ui-button-text {
59
- padding: 10px 23px 10px 33px !important;
60
- white-space: pre;
61
- text-align: left;
62
- }
63
- }
64
- }
65
-
66
- .smz_fileupload_clear_button {
67
- width: unset !important;
68
- }
69
-
70
- p-inputmask .ui-inputtext {
71
- width: 100%;
72
- }
73
-
74
- .p-dropdown {
75
- width: 100%;
76
- }
77
-
78
- p-inputNumber .ui-inputtext {
79
- width: 100%;
80
- }
81
-
82
- p-calendar {
83
- .p-calendar {
84
- width: 100%;
85
- }
86
- }
87
-
88
- p-password {
89
- & {
90
- width: 100%;
91
- padding: 0;
92
- }
93
-
94
- .p-password {
95
- & {
96
- width: 100%;
97
- }
98
- }
99
-
100
- .p-password-input {
101
- width: 100%;
102
- }
103
- }
104
-
105
- .colorpicker-hexa-input.ui-inputtext {
106
- width: calc(100% - 30px);
107
- }
108
-
109
- p-colorpicker .ui-colorpicker-preview {
110
- width: 30px;
111
- }
112
-
113
- .p-multiselect {
114
- width: 100%;
115
- }
116
- }
117
-
118
- .smz_fileupload_wrapper {
119
- margin-top: 1em;
120
- }
121
-
122
- .smz_form__wrapper {
123
- font-size: var(--smz-form-global-scale);
124
- padding-bottom: 1em;
125
- }
126
-
127
- .input__control__wrapper {
128
- margin-top: 0.5em;
129
- margin-bottom: 0.5em;
130
- }
131
-
132
- .smz__group_name {
133
- font-size: 1.3em;
134
- font-weight: 600;
135
- margin-top: 0.6em;
136
- margin-bottom: 0.2em;
137
- }
138
-
139
- .smz__input_name {
140
- font-size: 1em !important;
141
- margin-bottom: 0.25em;
142
- }
143
-
144
- .smz__input_value {
145
- & {
146
- font-size: 1em !important;
147
- }
148
-
149
- &.ui-inputtext {
150
- font-size: 1em !important;
151
- padding: 0.45em;
152
- }
153
-
154
- .p-inputnumber {
155
- width: 100%;
156
- }
157
-
158
- .p-inputtext {
159
- & {
160
- font-size: var(--smz-form-global-scale) !important;
161
- // padding: 0.3em !important;
162
- }
163
- }
164
-
165
- .ui-dropdown {
166
- & {
167
- font-size: var(--smz-form-global-scale) !important;
168
- }
169
-
170
- .ui-inputtext {
171
- font-size: 1em !important;
172
- padding: 0.3em !important;
173
- }
174
- }
175
-
176
- .ui-multiselect {
177
- & {
178
- font-size: var(--smz-form-global-scale) !important;
179
- }
180
-
181
- .ui-inputtext,
182
- .ui-multiselect-label {
183
- font-size: 1em !important;
184
- padding: 0.3em !important;
185
- }
186
- }
187
- }
188
-
189
- .smz__input_list-hide-header {
190
- .p-listbox-header {
191
- display: none;
192
- }
193
-
194
- .p-listbox-header ~ .p-listbox-header {
195
- display: block;
196
- }
197
- }
198
-
199
- .smz__input_list-hide-footer {
200
- .p-listbox-footer {
201
- display: none;
202
- }
203
- }
204
-
205
- .smz__input_list {
206
- & {
207
- padding: 0;
208
- min-height: 40px;
209
- background: var(--surface-a) !important;
210
- }
211
-
212
- .p-listbox .p-listbox-list {
213
- padding: 0;
214
-
215
- }
216
-
217
- .p-listbox-list-wrapper {
218
-
219
- ul {
220
- padding: 0;
221
- }
222
- }
223
-
224
- .smz__list-header {
225
- & {
226
- display: flex;
227
- justify-content: flex-end;
228
- width: 100%;
229
- }
230
-
231
- div {
232
- margin-left: 10px;
233
- }
234
- }
235
-
236
- .smz__list-item {
237
- & {
238
- display: flex;
239
- align-items: center;
240
- width: 100%;
241
- }
242
-
243
- .smz__list_item-title {
244
- width: 100%;
245
- }
246
-
247
- .smz__list_item-actions {
248
- & {
249
- display: flex;
250
- justify-content: flex-end;
251
- align-items: center;
252
- width: 100%;
253
- }
254
-
255
- i {
256
- animation: fadein-list-item 300ms;
257
- }
258
-
259
- smz-form-group {
260
- width: 100%;
261
- }
262
-
263
- .inline_action_button {
264
- margin-bottom: 10px;
265
- }
266
- }
267
- }
268
-
269
- .clickable {
270
- cursor: pointer;
271
- }
272
-
273
- .p-listbox-footer {
274
- & {
275
- width: 100%;
276
- text-align: right;
277
- }
278
-
279
- .smz__footer-message {
280
- font-size: 0.8em;
281
- color: red;
282
- }
283
- }
284
- }
285
-
286
- @keyframes fadein-list-item {
287
- from {
288
- opacity: 0;
289
- }
290
- to {
291
- opacity: 1;
292
- }
293
- }
294
-
295
- .error-message {
296
- & {
297
- font-size: 0.8em;
298
- color: red;
299
- position: absolute;
300
- bottom: -2.4em;
301
- right: 0;
302
- left: 0;
303
- text-align: end;
304
- padding: 0.3em;
305
- }
306
-
307
- &.asterisk {
308
- cursor: pointer;
309
- }
310
- }
311
-
312
- .no-padding {
313
- padding: 0px !important;
314
- }
315
-
316
- .radio_container {
317
- display: flex;
318
- }
319
-
320
- .disable-a {
321
- pointer-events: none;
322
- user-select: none;
323
- cursor: default;
324
- opacity: 0.5;
325
- }
326
-
327
- .disable-ui-dialog-content {
328
- pointer-events: none;
329
- user-select: none;
330
- cursor: default;
331
- // filter: brightness(0.5);
332
- }
333
-
334
- .disable-container {
335
- pointer-events: none;
336
- user-select: none;
337
- cursor: default;
338
- }
339
-
340
- .dialog-messages {
341
- & {
342
- font-size: small;
343
- }
344
-
345
- .p-message {
346
- & {
347
- margin: 0.5rem 0;
348
- }
349
-
350
- .p-message-wrapper {
351
- padding: 0.5rem 1rem;
352
- }
353
- }
354
- }
355
-
356
- .dialog-loading {
357
- height: 1rem;
358
- margin-right: var(--smz-spacer);
359
- margin-left: var(--smz-spacer);
360
- }
361
-
362
- .file_upload__drag-container {
363
- border-radius: 5px;
364
- width: 100%;
365
- background: rgb(var(--smz-color-surface-1));
366
- border: 1px solid rgb(var(--smz-color-line-strong));
367
- }
368
-
369
- .file_upload-container {
370
- border-radius: 5px;
371
- background: rgb(var(--smz-color-surface-1));
372
- border: 1px solid rgb(var(--smz-color-line-strong));
373
- width: 100%;
374
- padding: 10px;
375
- }
376
-
377
- .file_drag-drop_fileover {
378
- -webkit-animation: vibrate-2 0.6s linear infinite both;
379
- animation: vibrate-2 0.6s linear infinite both;
380
-
381
- background-image: linear-gradient(
382
- 45deg,
383
- var(--surface-e) 100%
384
- );
385
- background-size: 56.57px 56.57px;
386
- }
387
-
388
- .upload_manual_control {
389
- width: 0.1px;
390
- height: 0.1px;
391
- opacity: 0;
392
- overflow: hidden;
393
- position: absolute;
394
- z-index: -1;
395
- }
396
-
397
- .upload_manual_label {
398
- color: var(--primary-color);
399
- }
400
-
401
- .upload_field-drag-message {
402
- display: inline-block;
403
- vertical-align: middle;
404
- }
405
-
406
- .upload_field {
407
- & {
408
- position: relative;
409
- flex: none;
410
- }
411
-
412
- .upload_field__actions {
413
- & {
414
- position: absolute;
415
- top: 0;
416
- right: 0;
417
- }
418
- }
419
-
420
- .upload_field__actions_icon {
421
- text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
422
- }
423
-
424
- img {
425
- width: 100%;
426
- height: 100%;
427
- object-fit: cover;
428
- border-radius: 4px;
429
- }
430
- }
431
-
432
- .upload_field-generic {
433
- & {
434
- background: var(--surface-c);
435
- border-radius: 4px;
436
- }
437
-
438
- i {
439
- color: var(--text-color);
440
- }
441
- }
442
-
443
- .upload_field__fullscreen-image {
444
- & {
445
- position: fixed;
446
- left: 0;
447
- top: 0;
448
- right: 0;
449
- bottom: 0;
450
- overflow: auto;
451
- background: rgba(0, 0, 0, 0.65);
452
- display: flex;
453
- flex-direction: column;
454
- align-items: center;
455
- justify-content: flex-start;
456
- z-index: 99999;
457
- }
458
-
459
- img {
460
- width: 100%;
461
- height: auto;
462
- }
463
-
464
- i {
465
- position: fixed;
466
- top: 50px;
467
- right: 50px;
468
- text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
469
- }
470
- }
471
-
472
- @-webkit-keyframes vibrate-2 {
473
- 0% {
474
- -webkit-transform: translate(0);
475
- transform: translate(0);
476
- }
477
- 20% {
478
- -webkit-transform: translate(2px, -2px);
479
- transform: translate(2px, -2px);
480
- }
481
- 40% {
482
- -webkit-transform: translate(2px, 2px);
483
- transform: translate(2px, 2px);
484
- }
485
- 60% {
486
- -webkit-transform: translate(-2px, 2px);
487
- transform: translate(-2px, 2px);
488
- }
489
- 80% {
490
- -webkit-transform: translate(-2px, -2px);
491
- transform: translate(-2px, -2px);
492
- }
493
- 100% {
494
- -webkit-transform: translate(0);
495
- transform: translate(0);
496
- }
497
- }
498
- @keyframes vibrate-2 {
499
- 0% {
500
- -webkit-transform: translate(0);
501
- transform: translate(0);
502
- }
503
- 20% {
504
- -webkit-transform: translate(2px, -2px);
505
- transform: translate(2px, -2px);
506
- }
507
- 40% {
508
- -webkit-transform: translate(2px, 2px);
509
- transform: translate(2px, 2px);
510
- }
511
- 60% {
512
- -webkit-transform: translate(-2px, 2px);
513
- transform: translate(-2px, 2px);
514
- }
515
- 80% {
516
- -webkit-transform: translate(-2px, -2px);
517
- transform: translate(-2px, -2px);
518
- }
519
- 100% {
520
- -webkit-transform: translate(0);
521
- transform: translate(0);
522
- }
523
- }
1
+ @use "./responsive" as *;
2
+
3
+ .smz-dialog-minimized {
4
+ z-index: -1 !important;
5
+ display: none !important;
6
+ }
7
+
8
+ .smz-button-success {
9
+ .ui-button {
10
+ color: #fff;
11
+ background-color: #107d11;
12
+ border: 1px solid #107d11;
13
+
14
+ &:hover {
15
+ color: #fff;
16
+ background-color: #107d11;
17
+ }/* */
18
+ }
19
+
20
+ .p-button {
21
+ color: #fff;
22
+ background-color: #107d11;
23
+ border: 1px solid #107d11;
24
+
25
+ &:hover {
26
+ color: #fff;
27
+ background-color: #107d11;
28
+ }
29
+ }
30
+ }
31
+
32
+
33
+ .smz-group-right {
34
+ float: right !important;
35
+ }
36
+
37
+ .input_inner__wrapper {
38
+ & {
39
+ position: relative;
40
+ }
41
+
42
+ p-fileupload {
43
+ & {
44
+ display: contents;
45
+ max-width: fit-content !important;
46
+ border-radius: 4px;
47
+ }
48
+
49
+ .ui-button-icon-left {
50
+ border-radius: 4px;
51
+ }
52
+
53
+ .ui-button-text-icon-left {
54
+ & {
55
+ border-radius: 4px;
56
+ }
57
+
58
+ .ui-button-text {
59
+ padding: 10px 23px 10px 33px !important;
60
+ white-space: pre;
61
+ text-align: left;
62
+ }
63
+ }
64
+ }
65
+
66
+ .smz_fileupload_clear_button {
67
+ width: unset !important;
68
+ }
69
+
70
+ p-inputmask .ui-inputtext {
71
+ width: 100%;
72
+ }
73
+
74
+ .p-dropdown {
75
+ width: 100%;
76
+ }
77
+
78
+ p-inputNumber .ui-inputtext {
79
+ width: 100%;
80
+ }
81
+
82
+ p-calendar {
83
+ .p-calendar {
84
+ width: 100%;
85
+ }
86
+ }
87
+
88
+ p-password {
89
+ & {
90
+ width: 100%;
91
+ padding: 0;
92
+ }
93
+
94
+ .p-password {
95
+ & {
96
+ width: 100%;
97
+ }
98
+ }
99
+
100
+ .p-password-input {
101
+ width: 100%;
102
+ }
103
+ }
104
+
105
+ .colorpicker-hexa-input.ui-inputtext {
106
+ width: calc(100% - 30px);
107
+ }
108
+
109
+ p-colorpicker .ui-colorpicker-preview {
110
+ width: 30px;
111
+ }
112
+
113
+ .p-multiselect {
114
+ width: 100%;
115
+ }
116
+ }
117
+
118
+ .smz_fileupload_wrapper {
119
+ margin-top: 1em;
120
+ }
121
+
122
+ .smz_form__wrapper {
123
+ font-size: var(--smz-form-global-scale);
124
+ padding-bottom: 1em;
125
+ }
126
+
127
+ .input__control__wrapper {
128
+ margin-top: 0.5em;
129
+ margin-bottom: 0.5em;
130
+ }
131
+
132
+ .smz__group_name {
133
+ font-size: 1.3em;
134
+ font-weight: 600;
135
+ margin-top: 0.6em;
136
+ margin-bottom: 0.2em;
137
+ }
138
+
139
+ .smz__input_name {
140
+ font-size: 1em !important;
141
+ margin-bottom: 0.25em;
142
+ }
143
+
144
+ .smz__input_value {
145
+ & {
146
+ font-size: 1em !important;
147
+ }
148
+
149
+ &.ui-inputtext {
150
+ font-size: 1em !important;
151
+ padding: 0.45em;
152
+ }
153
+
154
+ .p-inputnumber {
155
+ width: 100%;
156
+ }
157
+
158
+ .p-inputtext {
159
+ & {
160
+ font-size: var(--smz-form-global-scale) !important;
161
+ // padding: 0.3em !important;
162
+ }
163
+ }
164
+
165
+ .ui-dropdown {
166
+ & {
167
+ font-size: var(--smz-form-global-scale) !important;
168
+ }
169
+
170
+ .ui-inputtext {
171
+ font-size: 1em !important;
172
+ padding: 0.3em !important;
173
+ }
174
+ }
175
+
176
+ .ui-multiselect {
177
+ & {
178
+ font-size: var(--smz-form-global-scale) !important;
179
+ }
180
+
181
+ .ui-inputtext,
182
+ .ui-multiselect-label {
183
+ font-size: 1em !important;
184
+ padding: 0.3em !important;
185
+ }
186
+ }
187
+ }
188
+
189
+ .smz__input_list-hide-header {
190
+ .p-listbox-header {
191
+ display: none;
192
+ }
193
+
194
+ .p-listbox-header ~ .p-listbox-header {
195
+ display: block;
196
+ }
197
+ }
198
+
199
+ .smz__input_list-hide-footer {
200
+ .p-listbox-footer {
201
+ display: none;
202
+ }
203
+ }
204
+
205
+ .smz__input_list {
206
+ & {
207
+ padding: 0;
208
+ min-height: 40px;
209
+ background: var(--surface-a) !important;
210
+ }
211
+
212
+ .p-listbox .p-listbox-list {
213
+ padding: 0;
214
+
215
+ }
216
+
217
+ .p-listbox-list-wrapper {
218
+
219
+ ul {
220
+ padding: 0;
221
+ }
222
+ }
223
+
224
+ .smz__list-header {
225
+ & {
226
+ display: flex;
227
+ justify-content: flex-end;
228
+ width: 100%;
229
+ }
230
+
231
+ div {
232
+ margin-left: 10px;
233
+ }
234
+ }
235
+
236
+ .smz__list-item {
237
+ & {
238
+ display: flex;
239
+ align-items: center;
240
+ width: 100%;
241
+ }
242
+
243
+ .smz__list_item-title {
244
+ width: 100%;
245
+ }
246
+
247
+ .smz__list_item-actions {
248
+ & {
249
+ display: flex;
250
+ justify-content: flex-end;
251
+ align-items: center;
252
+ width: 100%;
253
+ }
254
+
255
+ i {
256
+ animation: fadein-list-item 300ms;
257
+ }
258
+
259
+ smz-form-group {
260
+ width: 100%;
261
+ }
262
+
263
+ .inline_action_button {
264
+ margin-bottom: 10px;
265
+ }
266
+ }
267
+ }
268
+
269
+ .clickable {
270
+ cursor: pointer;
271
+ }
272
+
273
+ .p-listbox-footer {
274
+ & {
275
+ width: 100%;
276
+ text-align: right;
277
+ }
278
+
279
+ .smz__footer-message {
280
+ font-size: 0.8em;
281
+ color: red;
282
+ }
283
+ }
284
+ }
285
+
286
+ @keyframes fadein-list-item {
287
+ from {
288
+ opacity: 0;
289
+ }
290
+ to {
291
+ opacity: 1;
292
+ }
293
+ }
294
+
295
+ .error-message {
296
+ & {
297
+ font-size: 0.8em;
298
+ color: red;
299
+ position: absolute;
300
+ bottom: -2.4em;
301
+ right: 0;
302
+ left: 0;
303
+ text-align: end;
304
+ padding: 0.3em;
305
+ }
306
+
307
+ &.asterisk {
308
+ cursor: pointer;
309
+ }
310
+ }
311
+
312
+ .no-padding {
313
+ padding: 0px !important;
314
+ }
315
+
316
+ .radio_container {
317
+ display: flex;
318
+ }
319
+
320
+ .disable-a {
321
+ pointer-events: none;
322
+ user-select: none;
323
+ cursor: default;
324
+ opacity: 0.5;
325
+ }
326
+
327
+ .disable-ui-dialog-content {
328
+ pointer-events: none;
329
+ user-select: none;
330
+ cursor: default;
331
+ // filter: brightness(0.5);
332
+ }
333
+
334
+ .disable-container {
335
+ pointer-events: none;
336
+ user-select: none;
337
+ cursor: default;
338
+ }
339
+
340
+ .dialog-messages {
341
+ & {
342
+ font-size: small;
343
+ }
344
+
345
+ .p-message {
346
+ & {
347
+ margin: 0.5rem 0;
348
+ }
349
+
350
+ .p-message-wrapper {
351
+ padding: 0.5rem 1rem;
352
+ }
353
+ }
354
+ }
355
+
356
+ .dialog-loading {
357
+ height: 1rem;
358
+ margin-right: var(--smz-spacer);
359
+ margin-left: var(--smz-spacer);
360
+ }
361
+
362
+ .file_upload__drag-container {
363
+ border-radius: 5px;
364
+ width: 100%;
365
+ background: rgb(var(--smz-color-surface-1));
366
+ border: 1px solid rgb(var(--smz-color-line-strong));
367
+ }
368
+
369
+ .file_upload-container {
370
+ border-radius: 5px;
371
+ background: rgb(var(--smz-color-surface-1));
372
+ border: 1px solid rgb(var(--smz-color-line-strong));
373
+ width: 100%;
374
+ padding: 10px;
375
+ }
376
+
377
+ .file_drag-drop_fileover {
378
+ -webkit-animation: vibrate-2 0.6s linear infinite both;
379
+ animation: vibrate-2 0.6s linear infinite both;
380
+
381
+ background-image: linear-gradient(
382
+ 45deg,
383
+ var(--surface-e) 100%
384
+ );
385
+ background-size: 56.57px 56.57px;
386
+ }
387
+
388
+ .upload_manual_control {
389
+ width: 0.1px;
390
+ height: 0.1px;
391
+ opacity: 0;
392
+ overflow: hidden;
393
+ position: absolute;
394
+ z-index: -1;
395
+ }
396
+
397
+ .upload_manual_label {
398
+ color: var(--primary-color);
399
+ }
400
+
401
+ .upload_field-drag-message {
402
+ display: inline-block;
403
+ vertical-align: middle;
404
+ }
405
+
406
+ .upload_field {
407
+ & {
408
+ position: relative;
409
+ flex: none;
410
+ }
411
+
412
+ .upload_field__actions {
413
+ & {
414
+ position: absolute;
415
+ top: 0;
416
+ right: 0;
417
+ }
418
+ }
419
+
420
+ .upload_field__actions_icon {
421
+ text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
422
+ }
423
+
424
+ img {
425
+ width: 100%;
426
+ height: 100%;
427
+ object-fit: cover;
428
+ border-radius: 4px;
429
+ }
430
+ }
431
+
432
+ .upload_field-generic {
433
+ & {
434
+ background: var(--surface-c);
435
+ border-radius: 4px;
436
+ }
437
+
438
+ i {
439
+ color: var(--text-color);
440
+ }
441
+ }
442
+
443
+ .upload_field__fullscreen-image {
444
+ & {
445
+ position: fixed;
446
+ left: 0;
447
+ top: 0;
448
+ right: 0;
449
+ bottom: 0;
450
+ overflow: auto;
451
+ background: rgba(0, 0, 0, 0.65);
452
+ display: flex;
453
+ flex-direction: column;
454
+ align-items: center;
455
+ justify-content: flex-start;
456
+ z-index: 99999;
457
+ }
458
+
459
+ img {
460
+ width: 100%;
461
+ height: auto;
462
+ }
463
+
464
+ i {
465
+ position: fixed;
466
+ top: 50px;
467
+ right: 50px;
468
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
469
+ }
470
+ }
471
+
472
+ @-webkit-keyframes vibrate-2 {
473
+ 0% {
474
+ -webkit-transform: translate(0);
475
+ transform: translate(0);
476
+ }
477
+ 20% {
478
+ -webkit-transform: translate(2px, -2px);
479
+ transform: translate(2px, -2px);
480
+ }
481
+ 40% {
482
+ -webkit-transform: translate(2px, 2px);
483
+ transform: translate(2px, 2px);
484
+ }
485
+ 60% {
486
+ -webkit-transform: translate(-2px, 2px);
487
+ transform: translate(-2px, 2px);
488
+ }
489
+ 80% {
490
+ -webkit-transform: translate(-2px, -2px);
491
+ transform: translate(-2px, -2px);
492
+ }
493
+ 100% {
494
+ -webkit-transform: translate(0);
495
+ transform: translate(0);
496
+ }
497
+ }
498
+ @keyframes vibrate-2 {
499
+ 0% {
500
+ -webkit-transform: translate(0);
501
+ transform: translate(0);
502
+ }
503
+ 20% {
504
+ -webkit-transform: translate(2px, -2px);
505
+ transform: translate(2px, -2px);
506
+ }
507
+ 40% {
508
+ -webkit-transform: translate(2px, 2px);
509
+ transform: translate(2px, 2px);
510
+ }
511
+ 60% {
512
+ -webkit-transform: translate(-2px, 2px);
513
+ transform: translate(-2px, 2px);
514
+ }
515
+ 80% {
516
+ -webkit-transform: translate(-2px, -2px);
517
+ transform: translate(-2px, -2px);
518
+ }
519
+ 100% {
520
+ -webkit-transform: translate(0);
521
+ transform: translate(0);
522
+ }
523
+ }