@visns-studio/visns-components 4.7.2 → 4.7.4

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 (99) hide show
  1. package/package.json +15 -14
  2. package/src/components/cms/DataGrid.jsx +1461 -0
  3. package/src/components/cms/DropZone.jsx +349 -0
  4. package/src/components/cms/Field.jsx +802 -0
  5. package/src/components/cms/Form.jsx +476 -0
  6. package/src/components/cms/generic/CmsDetail.jsx +36 -0
  7. package/src/components/cms/generic/CmsIndex.jsx +73 -0
  8. package/src/components/cms/generic/CmsSort.jsx +125 -0
  9. package/src/components/cms/sorting/Item.jsx +115 -0
  10. package/src/components/cms/sorting/List.jsx +30 -0
  11. package/src/components/crm/AsyncSelect.jsx +125 -0
  12. package/src/components/crm/Autocomplete.jsx +174 -0
  13. package/src/components/crm/Breadcrumb.jsx +52 -0
  14. package/src/components/crm/Call.jsx +220 -0
  15. package/src/components/crm/DataGrid.jsx +2701 -0
  16. package/src/components/crm/Download.jsx +101 -0
  17. package/src/components/crm/Fetch.jsx +119 -0
  18. package/src/components/crm/Field.jsx +1637 -0
  19. package/src/components/crm/Form.jsx +1409 -0
  20. package/src/components/crm/Loader.jsx +29 -0
  21. package/src/components/crm/MultiSelect.jsx +78 -0
  22. package/src/components/crm/Navigation.jsx +619 -0
  23. package/src/components/crm/Notification.jsx +197 -0
  24. package/src/components/crm/QrCode.jsx +83 -0
  25. package/src/components/crm/Select.jsx +58 -0
  26. package/src/components/crm/SelectList.jsx +21 -0
  27. package/src/components/crm/TableFilter.jsx +198 -0
  28. package/src/components/crm/auth/Login.jsx +223 -0
  29. package/src/components/crm/auth/Profile.jsx +280 -0
  30. package/src/components/crm/auth/Reset.jsx +111 -0
  31. package/src/components/crm/auth/Verify.jsx +174 -0
  32. package/src/components/crm/auth/styles/Login.module.scss +243 -0
  33. package/src/components/crm/auth/styles/Profile.module.scss +222 -0
  34. package/src/components/crm/auth/styles/Reset.module.scss +216 -0
  35. package/src/components/crm/auth/styles/Verify.module.scss +216 -0
  36. package/src/components/crm/generic/AuditLog.jsx +108 -0
  37. package/src/components/crm/generic/AuditLogs.jsx +115 -0
  38. package/src/components/crm/generic/GenericAuth.jsx +166 -0
  39. package/src/components/crm/generic/GenericDashboard.jsx +42 -0
  40. package/src/components/crm/generic/GenericDetail.jsx +1499 -0
  41. package/src/components/crm/generic/GenericDynamic.jsx +916 -0
  42. package/src/components/crm/generic/GenericFormBuilder.jsx +1909 -0
  43. package/src/components/crm/generic/GenericIndex.jsx +376 -0
  44. package/src/components/crm/generic/GenericMain.jsx +129 -0
  45. package/src/components/crm/generic/GenericSort.jsx +188 -0
  46. package/src/components/crm/generic/NotificationList.jsx +64 -0
  47. package/src/components/crm/generic/styles/AuditLog.module.scss +147 -0
  48. package/src/components/crm/generic/styles/AuditLogs.module.scss +92 -0
  49. package/src/components/crm/generic/styles/GenericDetail.module.scss +634 -0
  50. package/src/components/crm/generic/styles/GenericDynamic.module.scss +932 -0
  51. package/src/components/crm/generic/styles/GenericFormBuilder.module.scss +944 -0
  52. package/src/components/crm/generic/styles/GenericIndex.module.scss +247 -0
  53. package/src/components/crm/generic/styles/GenericMain.module.scss +91 -0
  54. package/src/components/crm/generic/styles/GenericSort.module.scss +123 -0
  55. package/src/components/crm/generic/styles/NotificationList.module.scss +67 -0
  56. package/src/components/crm/sorting/Item.jsx +117 -0
  57. package/src/components/crm/sorting/List.jsx +32 -0
  58. package/src/components/crm/sorting/styles/Item.module.scss +68 -0
  59. package/src/components/crm/sorting/styles/List.module.scss +68 -0
  60. package/src/components/crm/styles/AsyncSelect.module.scss +8 -0
  61. package/src/components/crm/styles/Autocomplete.module.scss +44 -0
  62. package/src/components/crm/styles/DataGrid.module.scss +210 -0
  63. package/src/components/crm/styles/Field.module.scss +311 -0
  64. package/src/components/crm/styles/Form.module.scss +499 -0
  65. package/src/components/crm/styles/Loader.module.scss +94 -0
  66. package/src/components/crm/styles/MultiSelect.module.scss +8 -0
  67. package/src/components/crm/styles/Navigation.module.scss +978 -0
  68. package/src/components/crm/styles/Notification.module.scss +147 -0
  69. package/src/components/crm/styles/QrCode.module.scss +87 -0
  70. package/src/components/crm/styles/TableFilter.module.scss +52 -0
  71. package/src/components/styles/global.css +73 -0
  72. package/src/index.js +86 -0
  73. package/dist/104e5636d8ddb791614c.woff2 +0 -0
  74. package/dist/11fe6a83d647de5daf95.woff +0 -0
  75. package/dist/141e2a8c7836495afe2a.woff +0 -0
  76. package/dist/2ba5877f7079830b5383.woff +0 -0
  77. package/dist/2d6836f45b2037be41f3.woff +0 -0
  78. package/dist/399.0a0f3e0d21be1057d599.css +0 -8
  79. package/dist/399.b8f57fa3f8c0c10119e4.js +0 -1
  80. package/dist/47d566c3b1293dfd9d77.woff +0 -0
  81. package/dist/6282a13cbba671a71913.woff2 +0 -0
  82. package/dist/78266f551031aa9db127.woff +0 -0
  83. package/dist/7b7da89f1e3fdcbfe36c.woff2 +0 -0
  84. package/dist/7e78e8338af7efeda712.woff2 +0 -0
  85. package/dist/7fa387951673abf164b1.woff2 +0 -0
  86. package/dist/819d59862c2d0640aad8.woff +0 -0
  87. package/dist/b615e1a6c838ea059a56.woff +0 -0
  88. package/dist/b9b1aa739c660c4ce67c.woff2 +0 -0
  89. package/dist/c5f3640b11df9414facb.woff +0 -0
  90. package/dist/da26d162ff5af71d6590.woff2 +0 -0
  91. package/dist/dd5b2912dbf896310865.woff2 +0 -0
  92. package/dist/f282b331272463c1aa6c.woff2 +0 -0
  93. package/dist/index.css +0 -2902
  94. package/dist/index.js +0 -2
  95. package/dist/index.js.LICENSE.txt +0 -150
  96. package/dist/main.83b033670d64419bb497.css +0 -1
  97. package/dist/main.b1723d17cd2d3513ab62.js +0 -1
  98. package/dist/report.html +0 -39
  99. package/dist/runtime.33c276593b23f8035b8d.js +0 -1
@@ -0,0 +1,932 @@
1
+ .grid__row {
2
+ width: 100%;
3
+ display: flex;
4
+ align-items: flex-start;
5
+ flex-wrap: nowrap;
6
+ height: auto;
7
+ }
8
+
9
+ .grid__full {
10
+ width: 100%;
11
+ background: white;
12
+ border-radius: var(--br);
13
+ border: 1px solid var(--border-color);
14
+ box-sizing: border-box;
15
+ overflow: visible;
16
+ position: relative;
17
+ padding: 0;
18
+ margin: 5px;
19
+ }
20
+
21
+ .crmtitle {
22
+ border: none;
23
+ min-height: auto;
24
+ padding: 10px 20px;
25
+ margin: 5px;
26
+ background: var(--item-color);
27
+ border-radius: var(--br);
28
+ border: 1px solid var(--border-color);
29
+ position: relative;
30
+ }
31
+
32
+ .crmtitle h1 {
33
+ font-weight: 700;
34
+ font-size: 1.25em;
35
+ margin: 0;
36
+ padding: 0.25rem 0;
37
+ color: var(--paragraph-color);
38
+ text-transform: capitalize;
39
+ }
40
+
41
+ .crmtitle h1 a {
42
+ text-decoration: none;
43
+ color: var(--secondary-color-dark);
44
+ font-weight: 300;
45
+ }
46
+
47
+ .crmtitle h1 svg {
48
+ color: rgba(var(--primary-color-rgb), 0.85);
49
+ position: relative;
50
+ top: 2px;
51
+ margin: 0 0.25rem;
52
+ }
53
+
54
+ .grid__subrow {
55
+ width: 100%;
56
+ display: flex;
57
+ flex-wrap: wrap;
58
+ height: auto;
59
+ }
60
+
61
+ .grid__subnav {
62
+ flex: 1;
63
+ background: white;
64
+ border-radius: var(--br);
65
+ border: 1px solid var(--border-color);
66
+ box-sizing: border-box;
67
+ padding: 5px;
68
+ margin: 5px;
69
+ height: auto;
70
+ }
71
+
72
+ .grid__subnav ul {
73
+ width: 100%;
74
+ list-style: none;
75
+ padding: 0;
76
+ margin: 0;
77
+ display: flex;
78
+ flex-wrap: wrap;
79
+ }
80
+
81
+ .grid__subnav ul li {
82
+ width: 100%;
83
+ margin-bottom: 3px;
84
+ }
85
+
86
+ .grid__subnav ul li a {
87
+ width: 100%;
88
+ padding: 8px 20px;
89
+ box-sizing: border-box;
90
+ display: block;
91
+ text-decoration: none;
92
+ background: var(--border-color);
93
+ color: var(--secondary-color);
94
+ border-radius: var(--br);
95
+ transition: background 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
96
+ outline: none;
97
+ cursor: pointer;
98
+ }
99
+
100
+ .grid__subnav ul li:hover > a {
101
+ background: var(--primary-color);
102
+ color: var(--secondary-color);
103
+ }
104
+
105
+ .grid__subnav ul li .subactive {
106
+ font-weight: 700;
107
+ background: var(--primary-color);
108
+ color: var(--secondary-color);
109
+ }
110
+
111
+ .grid__subnav ul li .subactivechildren {
112
+ font-weight: 700;
113
+ }
114
+
115
+ .grid__subnav ul li ul {
116
+ list-style: none;
117
+ margin: 0;
118
+ padding-left: 1rem;
119
+ background: var(--item-color);
120
+ }
121
+
122
+ .grid__subnav ul li ul li {
123
+ width: 100%;
124
+ margin-bottom: 1px;
125
+ }
126
+
127
+ .grid__subnav ul li ul li a {
128
+ width: 100%;
129
+ padding: 8px 20px;
130
+ box-sizing: border-box;
131
+ display: block;
132
+ text-decoration: none;
133
+ background: transparent;
134
+ color: var(--secondary-color);
135
+ border-radius: var(--br);
136
+ transition: background 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
137
+ outline: none;
138
+ cursor: pointer;
139
+ }
140
+
141
+ .grid__subnav ul li ul li a:hover {
142
+ background: var(--border-color);
143
+ color: var (--secondary-color);
144
+ }
145
+
146
+ .grid__subcontent {
147
+ flex: 0 1 85%;
148
+ background: white;
149
+ border-radius: var(--br);
150
+ border: 1px solid var(--border-color);
151
+ box-sizing: border-box;
152
+ padding: 0;
153
+ margin: 5px;
154
+ height: auto;
155
+ position: relative;
156
+ }
157
+
158
+ .grid__subcontent h2 {
159
+ color: var(--primary-color);
160
+ font-size: 1.35em;
161
+ padding: 0;
162
+ margin: 0 0 30px 0;
163
+ }
164
+
165
+ .gridtxt__header {
166
+ width: 100%;
167
+ display: block;
168
+ background: var(--border-color);
169
+ box-sizing: border-box;
170
+ padding: 10px 20px;
171
+ border-top-left-radius: var(--br);
172
+ border-top-right-radius: var(--br);
173
+ margin-bottom: 0;
174
+ font-weight: 700;
175
+ text-align: center;
176
+ color: var(--paragraph-color);
177
+ position: relative;
178
+ }
179
+
180
+ .gridtxt__header span {
181
+ font-weight: 700;
182
+ }
183
+
184
+ .gridtxt__header .btn {
185
+ font-size: 0.85em;
186
+ padding: 0.25em;
187
+ display: flex;
188
+ flex-wrap: nowrap;
189
+ align-items: center;
190
+ float: left;
191
+ position: relative;
192
+ top: -4px;
193
+ }
194
+
195
+ .gridtxt__header .btn svg {
196
+ max-width: 15px;
197
+ margin-right: 5px;
198
+ }
199
+
200
+ .formcontainer {
201
+ width: 100%;
202
+ }
203
+
204
+ .modalForm {
205
+ width: 100%;
206
+ display: flex;
207
+ align-items: flex-start;
208
+ flex-wrap: wrap;
209
+ }
210
+
211
+ .formItem {
212
+ width: 50%;
213
+ padding: 0.35em;
214
+ position: relative;
215
+ box-sizing: border-box;
216
+ }
217
+
218
+ .formItem .fi__label {
219
+ position: relative;
220
+ display: block;
221
+ }
222
+
223
+ .formItem textarea,
224
+ .formItem select,
225
+ .formItem
226
+ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
227
+ [type='checkbox']
228
+ ):not(.inovua-react-toolkit-combo-box__input):not(
229
+ .inovua-react-toolkit-date-input__input
230
+ ):not(.inovua-react-toolkit-text-input__input):not(
231
+ .inovua-react-toolkit-numeric-input__input
232
+ ) {
233
+ background: var(--item-color);
234
+ border-radius: var(--br);
235
+ border: 1px solid transparent;
236
+ padding: 1rem;
237
+ outline: none;
238
+ width: 100%;
239
+ box-sizing: border-box;
240
+ color: var(--paragraph-color);
241
+ transition: box-shadow 0.15s linear;
242
+ }
243
+
244
+ .formItem textarea:hover,
245
+ .formItem select:hover,
246
+ .formItem
247
+ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
248
+ [type='checkbox']
249
+ ):not(.inovua-react-toolkit-combo-box__input):not(
250
+ .inovua-react-toolkit-date-input__input
251
+ ):not(.inovua-react-toolkit-numeric-input__input):hover {
252
+ border: 1px solid rgba(var(--highlight-color-rgb), 0.85);
253
+ transition: border 0.15s linear;
254
+ }
255
+
256
+ .formItem textarea:focus,
257
+ .formItem select:focus,
258
+ .formItem
259
+ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
260
+ [type='checkbox']
261
+ ):not(.inovua-react-toolkit-combo-box__input):not(
262
+ .inovua-react-toolkit-date-input__input
263
+ ):not(.inovua-react-toolkit-numeric-input__input):focus {
264
+ border: 1px solid rgba(var(--highlight-color-rgb), 0.85);
265
+ }
266
+
267
+ input[type='file'] {
268
+ background: var(--item-color) !important;
269
+ border-radius: var (--br) !important;
270
+ border: 1px solid transparent !important;
271
+ padding: 0.8rem !important;
272
+ outline: none !important;
273
+ width: 100% !important;
274
+ box-sizing: border-box !important;
275
+ color: var(--paragraph-color) !important;
276
+ transition: box-shadow 0.15s linear !important;
277
+ }
278
+
279
+ input[type='file']:focus {
280
+ border: 1px solid var(--highlight-color);
281
+ }
282
+
283
+ input[type='file']:hover {
284
+ border: 1px solid var(--highlight-color);
285
+ }
286
+
287
+ .formBuilderItem {
288
+ width: 25%;
289
+ padding: 0.35em;
290
+ position: relative;
291
+ box-sizing: border-box;
292
+ }
293
+
294
+ .formBuilderItem .fi__label {
295
+ position: relative;
296
+ display: block;
297
+ }
298
+
299
+ .fi__span {
300
+ position: absolute;
301
+ transition: all 200ms;
302
+ opacity: 0.8;
303
+ left: 0;
304
+ padding: 19px 20px;
305
+ transform-origin: top left;
306
+ cursor: text;
307
+ }
308
+
309
+ .fi__spancheckbox {
310
+ display: inline-block;
311
+ margin-bottom: 8px;
312
+ }
313
+
314
+ .fi__toggle {
315
+ width: max-content;
316
+ padding: 0px 10px 0px 0;
317
+ box-sizing: border-box;
318
+ display: inline;
319
+ }
320
+
321
+ .fi__toggletxt {
322
+ position: relative;
323
+ left: 5px;
324
+ font-size: 0.95em;
325
+ top: -5px;
326
+ }
327
+
328
+ .fi__optionscontainer {
329
+ display: flex;
330
+ flex-wrap: wrap;
331
+ gap: 10px;
332
+ margin-top: 8px;
333
+ }
334
+
335
+ .fi__checkboxcontainer {
336
+ display: flex;
337
+ align-items: center;
338
+ }
339
+
340
+ .fi__customcheckbox {
341
+ margin-right: 5px;
342
+ }
343
+
344
+ .fi__checkboxlabel {
345
+ user-select: none;
346
+ }
347
+
348
+ .qtrBuilderItem {
349
+ flex-basis: 25%;
350
+ }
351
+
352
+ .halfBuilderItem {
353
+ flex-basis: 50%;
354
+ }
355
+
356
+ .fwBuilderItem {
357
+ flex-basis: 100%;
358
+ }
359
+
360
+ input:not(:placeholder-shown) + .fi__span,
361
+ textarea:not(:placeholder-shown) + .fi__span,
362
+ select:not(:placeholder-shown) + .fi__span {
363
+ transform: translateY(-40%) translateX(10px) scale(0.75);
364
+ opacity: 1;
365
+ padding: 0 4px;
366
+ background: var(--tertiary-color);
367
+ font-weight: 300;
368
+ border-radius: var(--br);
369
+ }
370
+
371
+ .prefocus {
372
+ transform: translateY(-40%) translateX(10px) scale(0.75) !important;
373
+ opacity: 1 !important;
374
+ padding: 0 4px !important;
375
+ background: var(--tertiary-color) !important;
376
+ z-index: 500;
377
+ font-weight: 300;
378
+ border-radius: var(--br);
379
+ top: 0;
380
+ }
381
+ /* Modal class */
382
+ .modalwrap {
383
+ background: var(--tertiary-color);
384
+ border-radius: 3px;
385
+ overflow: visible;
386
+ border-top-left-radius: var(--br);
387
+ border-top-right-radius: var(--br);
388
+ }
389
+
390
+ .modal {
391
+ width: 100%;
392
+ position: relative;
393
+ }
394
+
395
+ .modal__header {
396
+ width: 100%;
397
+ background: var(--primary-color);
398
+ border: 2px solid rgba(var(--primary-color-rgb), 1.05);
399
+ border-top-left-radius: var(--br);
400
+ border-top-right-radius: var(--br);
401
+ box-sizing: border-box;
402
+ }
403
+
404
+ .modal__header h1 {
405
+ color: var(--secondary-color);
406
+ margin: 0;
407
+ padding: 0.75em 0.75em;
408
+ font-size: 1.15em;
409
+ }
410
+
411
+ .modal__close {
412
+ width: max-content;
413
+ position: absolute;
414
+ right: 5px;
415
+ top: 5px;
416
+ box-sizing: border-box;
417
+ background: rgba(var(--primary-color-rgb), 1.08);
418
+ cursor: pointer;
419
+ padding: 8px 8px;
420
+ margin: 0;
421
+ outline: none;
422
+ border: none;
423
+ border-radius: var(--br);
424
+ display: block;
425
+ line-height: 1;
426
+ }
427
+
428
+ .modal__close svg {
429
+ color: var(--secondary-color);
430
+ display: block;
431
+ }
432
+
433
+ .modal__content {
434
+ width: 100%;
435
+ position: relative;
436
+ padding: 0.25rem;
437
+ box-sizing: border-box;
438
+ border-top-left-radius: var(--br);
439
+ border-top-right-radius: var(--br);
440
+ }
441
+
442
+ .modal__content .btn {
443
+ background: var(--primary-color);
444
+ border: 1px solid rgba(var(--primary-color-rgb), 1.05);
445
+ }
446
+
447
+ .modal__content .btn:hover {
448
+ background: var(--secondary-color);
449
+ color: var(--tertiary-color);
450
+ }
451
+
452
+ /* Adding btn class */
453
+ .btn {
454
+ width: max-content;
455
+ display: inline-block;
456
+ position: relative;
457
+ padding: 0.65rem 1rem;
458
+ cursor: pointer;
459
+ font-size: 1rem;
460
+ color: var(--secondary-color);
461
+ text-decoration: none;
462
+ overflow: hidden;
463
+ background: var(--primary-color);
464
+ border: 1px solid rgba(var(--primary-color-rgb), 1.1);
465
+ border-radius: var(--br);
466
+ outline: none;
467
+ transition: all 0.2s cubic-bezier(0.85, 0, 0.15, 1) 0s;
468
+ }
469
+
470
+ .btn:hover {
471
+ color: var(--tertiary-color);
472
+ background: var(--secondary-color);
473
+ border: 1px solid rgba(var(--secondary-color-rgb), 1.1);
474
+ }
475
+
476
+ /* Adding polActions style to the module.css */
477
+ .polActions {
478
+ position: fixed;
479
+ bottom: 20px;
480
+ right: 20px;
481
+ width: auto;
482
+
483
+ button {
484
+ display: block;
485
+ float: left;
486
+ padding: 0.65em 1em;
487
+ margin: 0 0.25em;
488
+ }
489
+ }
490
+
491
+ .fwItem {
492
+ flex-basis: 100%;
493
+ }
494
+
495
+ .lastItem .btn {
496
+ width: 100%;
497
+ }
498
+
499
+ .inputError {
500
+ border-color: red !important;
501
+ }
502
+
503
+ .AutocompletePlace {
504
+ position: relative;
505
+ }
506
+
507
+ .AutocompletePlace svg {
508
+ position: absolute;
509
+ right: 0.5em;
510
+ top: 0.5em;
511
+ color: var(--paragraph-color);
512
+ cursor: pointer;
513
+ }
514
+
515
+ .AutocompletePlace .toggleActive {
516
+ color: var(--highlight-color);
517
+ }
518
+
519
+ .AutocompletePlace-input {
520
+ padding: 0.65rem 3rem 0.65rem 0.95rem !important;
521
+ height: 51.5px;
522
+ }
523
+
524
+ .AutocompletePlace-results {
525
+ position: absolute;
526
+ background-color: white;
527
+ padding: 0;
528
+ margin: 0;
529
+ border: 1px solid rgba(var(--primary-color-rgb), 0.25);
530
+ border-radius: var(--br);
531
+ overflow: hidden;
532
+ z-index: 999;
533
+ }
534
+
535
+ .AutocompletePlace-items {
536
+ list-style: none;
537
+ border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.1);
538
+ cursor: pointer;
539
+ padding: 10px 10px;
540
+ }
541
+
542
+ .AutocompletePlace-items:hover {
543
+ background-color: rgba(var(--paragraph-color-rgb), 0.065);
544
+ }
545
+
546
+ .react-datepicker-wrapper {
547
+ width: 100% !important;
548
+ }
549
+
550
+ .react-datepicker-popper {
551
+ z-index: 999 !important;
552
+ }
553
+
554
+ .react-datepicker__close-icon:after {
555
+ background-color: rgba(var(--primary-color-rgb), 0.45) !important;
556
+ font-size: 13px !important;
557
+ }
558
+
559
+ .react-datepicker__close-icon:hover:after {
560
+ background-color: rgba(var(--primary-color-rgb), 1) !important;
561
+ }
562
+
563
+ .formbreak {
564
+ display: block;
565
+ width: 100%;
566
+ padding: 1em;
567
+ background: rgba(var(--primary-color-rgb), 0.95);
568
+ border-radius: 3px;
569
+ box-sizing: border-box;
570
+ border: 2px solid rgba(var(--primary-color-rgb), 1.1);
571
+ }
572
+
573
+ .formbreak span {
574
+ font-size: 0.95em;
575
+ color: var(--secondary-color);
576
+ }
577
+
578
+ .dropzone__container > div {
579
+ flex: 1 1 0%;
580
+ display: flex;
581
+ flex-direction: column;
582
+ align-items: center;
583
+ padding: 30px;
584
+ border-width: 2px;
585
+ border-radius: 2px;
586
+ border-color: rgb(238, 238, 238);
587
+ border-style: dashed;
588
+ background-color: rgb(250, 250, 250);
589
+ color: rgb(189, 189, 189);
590
+ outline: currentcolor none medium;
591
+ transition: border 0.24s ease-in-out 0s;
592
+ margin: 1em;
593
+ }
594
+
595
+ .dropzone__container p {
596
+ padding: 0;
597
+ margin: 0;
598
+ }
599
+
600
+ .dropzone__files {
601
+ list-style: none;
602
+ padding: 0;
603
+ margin: 1em;
604
+ box-sizing: border-box;
605
+ }
606
+
607
+ .dropzone__files li {
608
+ width: 100%;
609
+ display: block;
610
+ background: rgba(var(--tertiary-color-rgb), 1.05);
611
+ color: var(--primary-color);
612
+ border-radius: 3px;
613
+ transition: background 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
614
+ outline: none;
615
+ cursor: pointer;
616
+ border-radius: 3px;
617
+ padding: 1em 2em;
618
+ box-sizing: border-box;
619
+ position: relative;
620
+ margin-bottom: 5px;
621
+ }
622
+
623
+ .dropzone__files li:hover {
624
+ background: rgba(var(--secondary-color-rgb), 0.65);
625
+ }
626
+
627
+ .dropzone__files li i {
628
+ position: relative;
629
+ top: 0;
630
+ right: 5px;
631
+ color: rgba(var(--secondary-color-rgb), 1.15);
632
+ }
633
+
634
+ .dropzone__files li button {
635
+ position: relative;
636
+ float: right;
637
+ background: none;
638
+ outline: none;
639
+ border: none;
640
+ z-index: 200;
641
+ cursor: pointer;
642
+ }
643
+
644
+ .dropzone__files li button i {
645
+ font-size: 1.15em;
646
+ color: var(--primary-color);
647
+ line-height: 1;
648
+ }
649
+
650
+ .ql-container {
651
+ height: 300px !important;
652
+ }
653
+
654
+ .visns__ms input:hover {
655
+ box-shadow: none !important;
656
+ transition: box-shadow 0.15s linear !important;
657
+ }
658
+
659
+ .visns__ms input:focus {
660
+ box-shadow: none !important;
661
+ }
662
+
663
+ /* Table Styles */
664
+
665
+ .contentTable {
666
+ width: 100%;
667
+ border-collapse: collapse;
668
+ margin: 0 auto;
669
+ font-size: 1em;
670
+ border-radius: var(--br) var(--br) 0 0;
671
+ overflow: hidden;
672
+ border: none;
673
+ border-spacing: 0;
674
+ box-sizing: border-box;
675
+ }
676
+
677
+ .contentTable thead {
678
+ display: table-row-group;
679
+ }
680
+
681
+ .contentTable thead tr {
682
+ background: var(--table-color);
683
+ color: var(--primary-color);
684
+ text-align: left;
685
+ font-weight: 700;
686
+ text-transform: capitalize;
687
+ font-size: 1em;
688
+ }
689
+
690
+ .contentTable .filterRow th {
691
+ padding: 0;
692
+ }
693
+
694
+ .contentTable th,
695
+ .contentTable td {
696
+ font-size: 0.95em;
697
+ padding: 8px 15px;
698
+ color: var(--paragraph-color);
699
+ border-right: 1px solid var(--table-border);
700
+ line-height: 1;
701
+ border-spacing: 0;
702
+ border-collapse: collapse;
703
+ }
704
+
705
+ .contentTable th:last-of-type,
706
+ .contentTable td:last-of-type,
707
+ .contentTable th:last-child,
708
+ .contentTable td:last-child {
709
+ border-right: none;
710
+ }
711
+
712
+ .contentTable td .tdActions {
713
+ width: 100%;
714
+ display: flex;
715
+ flex-wrap: nowrap;
716
+ justify-content: flex-start;
717
+ align-items: center;
718
+ }
719
+
720
+ .contentTable td .tdAction {
721
+ background: #f0f0f0;
722
+ display: block;
723
+ line-height: 1;
724
+ padding: 0.05rem;
725
+ border-radius: var(--br);
726
+ margin: 0 0.25rem;
727
+ }
728
+
729
+ .contentTable tbody tr {
730
+ border-bottom: 1px solid var(--table-border);
731
+ cursor: pointer;
732
+ background: var(--tertiary-color);
733
+ }
734
+
735
+ .contentTable tbody tr:nth-of-type(even) {
736
+ background: rgba(var(--item-color-rgb), 1.02);
737
+ }
738
+
739
+ .gridHeaders th {
740
+ background: var(--primary-color);
741
+ color: var(--secondary-color);
742
+ font-weight: 700;
743
+ font-size: 0.95em;
744
+ border-right: 2px solid rgba(var(--primary-color-rgb), 0.9);
745
+ position: relative;
746
+ background-clip: padding-box;
747
+ }
748
+
749
+ .gridHeaders th:last-of-type,
750
+ .gridHeaders th:last-child {
751
+ border-right: none;
752
+ }
753
+
754
+ .gridHeaders th button {
755
+ width: max-content;
756
+ display: block;
757
+ background: none;
758
+ border: none;
759
+ padding: 0;
760
+ margin: 0;
761
+ outline: none;
762
+ float: right;
763
+ height: 16px;
764
+ }
765
+
766
+ .gridHeaders th button > svg {
767
+ color: rgba(var(--highlight-color-rgb), 0.8);
768
+ }
769
+
770
+ .pagination {
771
+ width: 100%;
772
+ list-style: none;
773
+ text-align: center;
774
+ padding: 0;
775
+ margin: 10px 0;
776
+ font-size: 98%;
777
+ }
778
+
779
+ .pagination li {
780
+ display: inline-block;
781
+ background: var(--tertiary-color);
782
+ border: 1px solid var(--border-color);
783
+ margin: 0 0 0 5px;
784
+ border-radius: 3px;
785
+ padding: 7px;
786
+ }
787
+
788
+ .pagination li:first-of-type {
789
+ margin-left: 0px;
790
+ }
791
+
792
+ .pagination li a {
793
+ display: block;
794
+ padding: 0;
795
+ color: var(--paragraph-color);
796
+ cursor: pointer;
797
+ }
798
+
799
+ .pagination li a:hover {
800
+ background: #f9fdff;
801
+ }
802
+
803
+ .pagination li input {
804
+ width: 60px;
805
+ padding: 2px;
806
+ }
807
+
808
+ .pagination .active {
809
+ background: #f0f4f7 !important;
810
+ }
811
+
812
+ /* Drag Item Styling */
813
+ .sortlist {
814
+ width: 100%;
815
+ display: grid;
816
+ grid-gap: 0.5rem;
817
+ grid-template-columns: repeat(4, 1fr);
818
+ box-sizing: border-box;
819
+ padding: 0;
820
+ margin: 0;
821
+ list-style: none;
822
+ }
823
+
824
+ .sortlist li {
825
+ display: flex;
826
+ justify-content: center;
827
+ align-items: center;
828
+ flex-wrap: wrap;
829
+ border-radius: 5px;
830
+ border: 1px solid rgba(var(--primary-color-rgb), 0.2);
831
+ box-shadow: 0px 0px 20px rgba(var(--primary-color-rgb), 0.1);
832
+ padding: 1.25rem 1.25rem 1.25rem 2rem;
833
+ box-sizing: border-box;
834
+ cursor: pointer;
835
+ list-style: none;
836
+ position: relative;
837
+ color: var(--paragraph-color);
838
+ user-select: none;
839
+ }
840
+
841
+ .sortlist li svg {
842
+ width: 100%;
843
+ max-width: 18px;
844
+ position: absolute;
845
+ left: 5px;
846
+ }
847
+
848
+ .sortlist li .delete {
849
+ width: 50px;
850
+ position: relative;
851
+ height: 50px;
852
+ margin-left: auto;
853
+ border-radius: 5px;
854
+ overflow: hidden;
855
+ }
856
+
857
+ .sortlist li .delete img {
858
+ display: block;
859
+ object-fit: cover;
860
+ height: 100%;
861
+ width: 100%;
862
+ overflow: hidden;
863
+ }
864
+
865
+ .dragitem {
866
+ list-style: none;
867
+ display: flex;
868
+ justify-content: center;
869
+ align-items: center;
870
+ flex-wrap: wrap;
871
+ border-radius: 5px;
872
+ border: 1px solid rgba(var(--primary-color-rgb), 0.2);
873
+ box-shadow: 0px 0px 30px rgba(var(--primary-color-rgb), 0.25);
874
+ padding: 1.25rem 1.25rem 1.25rem 2rem;
875
+ box-sizing: border-box;
876
+ cursor: grab;
877
+ color: var(--paragraph-color);
878
+ }
879
+
880
+ .dragitem svg {
881
+ width: 100%;
882
+ max-width: 18px;
883
+ position: absolute;
884
+ left: 5px;
885
+ top: 5px;
886
+ }
887
+
888
+ .dragitem .delete {
889
+ display: none;
890
+ }
891
+
892
+ .dragitem .sortimg {
893
+ width: 50px;
894
+ position: relative;
895
+ height: 50px;
896
+ margin-left: auto;
897
+ border-radius: 5px;
898
+ overflow: hidden;
899
+ }
900
+
901
+ .dragitem .sortimg img {
902
+ display: block;
903
+ object-fit: cover;
904
+ height: 100%;
905
+ width: 100%;
906
+ overflow: hidden;
907
+ }
908
+
909
+ /* Signature Styling */
910
+
911
+ .signButton {
912
+ background: var(--primary-color);
913
+ color: var(--secondary-color);
914
+ padding: 0.5rem 1rem;
915
+ border: none;
916
+ border-radius: var(--br);
917
+ cursor: pointer;
918
+ transition: background 0.3s;
919
+ }
920
+
921
+ .signButton:hover {
922
+ background: var(--secondary-color);
923
+ color: var(--primary-color);
924
+ }
925
+
926
+ .signaturePlaceholder {
927
+ margin-top: 1rem; /* Add margin to prevent overlap */
928
+ border: 1px solid var(--border-color);
929
+ border-radius: var(--br);
930
+ padding: 10px;
931
+ background: var(--item-color);
932
+ }