@visns-studio/visns-components 5.0.19 → 5.0.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 (38) hide show
  1. package/package.json +6 -6
  2. package/src/components/crm/MultiSelect.jsx +46 -67
  3. package/src/components/crm/auth/styles/Profile.module.scss +6 -7
  4. package/src/components/crm/generic/GenericDashboard.jsx +495 -29
  5. package/src/components/crm/generic/GenericFormBuilder.jsx +96 -32
  6. package/src/components/crm/generic/styles/AuditLog.module.scss +3 -3
  7. package/src/components/crm/generic/styles/AuditLogs.module.scss +1 -1
  8. package/src/components/crm/generic/styles/GenericDashboard.module.scss +364 -0
  9. package/src/components/crm/generic/styles/GenericDynamic.module.scss +11 -11
  10. package/src/components/crm/generic/styles/GenericFormBuilder.module.scss +327 -317
  11. package/src/components/crm/generic/styles/GenericIndex.module.scss +8 -8
  12. package/src/components/crm/generic/styles/GenericSort.module.scss +3 -3
  13. package/src/components/crm/generic/styles/NotificationList.module.scss +2 -2
  14. package/src/components/crm/sketch/SketchField.jsx +395 -0
  15. package/src/components/crm/sketch/arrow.jsx +108 -0
  16. package/src/components/crm/sketch/circle.jsx +75 -0
  17. package/src/components/crm/sketch/default-tool.jsx +16 -0
  18. package/src/components/crm/sketch/fabrictool.jsx +22 -0
  19. package/src/components/crm/sketch/history.jsx +144 -0
  20. package/src/components/crm/sketch/json/config.json +14 -0
  21. package/src/components/crm/sketch/line.jsx +64 -0
  22. package/src/components/crm/sketch/pan.jsx +48 -0
  23. package/src/components/crm/sketch/pencil.jsx +36 -0
  24. package/src/components/crm/sketch/rectangle-label-object.jsx +69 -0
  25. package/src/components/crm/sketch/rectangle-label.jsx +93 -0
  26. package/src/components/crm/sketch/rectangle.jsx +76 -0
  27. package/src/components/crm/sketch/select.jsx +16 -0
  28. package/src/components/crm/sketch/tools.jsx +11 -0
  29. package/src/components/crm/sketch/utils.jsx +67 -0
  30. package/src/components/crm/sorting/Item.jsx +2 -2
  31. package/src/components/crm/sorting/styles/Item.module.scss +12 -65
  32. package/src/components/crm/sorting/styles/List.module.scss +6 -20
  33. package/src/components/crm/styles/Form.module.scss +4 -6
  34. package/src/components/crm/styles/MultiSelect.module.scss +4 -0
  35. package/src/components/crm/styles/Navigation.module.scss +13 -6
  36. package/src/components/crm/styles/QrCode.module.scss +2 -2
  37. package/src/components/styles/global.css +8 -0
  38. package/src/index.js +2 -0
@@ -1,229 +1,195 @@
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
- .grid__subrow {
22
- width: 100%;
23
- display: flex;
24
- flex-wrap: wrap;
25
- height: auto;
26
- }
27
-
28
- .grid__subnav {
29
- flex: 1;
30
- background: white;
31
- border-radius: var(--br);
32
- box-sizing: border-box;
33
- padding: 5px;
34
- margin: 8px 0;
35
- height: auto;
36
- box-shadow: 0 4px 0 rgba(var(--primary-color-rgb), 0.05);
37
- }
38
-
39
- .grid__subnav > ul {
40
- width: 100%;
41
- list-style: none;
42
- padding: 0;
43
- margin: 0;
44
- display: flex;
45
- flex-wrap: wrap;
46
- }
1
+ .grid {
2
+ &__row {
3
+ width: 100%;
4
+ display: flex;
5
+ align-items: flex-start;
6
+ flex-wrap: nowrap;
7
+ height: auto;
8
+ }
47
9
 
48
- .grid__subnav > ul li {
49
- width: 100%;
50
- margin-bottom: 3px;
51
- }
10
+ &__full {
11
+ width: 100%;
12
+ background: white;
13
+ border-radius: var(--br);
14
+ border: 1px solid var(--border-color);
15
+ box-sizing: border-box;
16
+ overflow: visible;
17
+ position: relative;
18
+ padding: 0;
19
+ margin: 5px;
20
+ }
52
21
 
53
- .grid__subnav > ul li a {
54
- width: 100%;
55
- padding: 0.35rem 1rem;
56
- box-sizing: border-box;
57
- display: block;
58
- text-decoration: none;
59
- background: rgba(var(--primary-rgb), 0.05);
60
- color: var(--primary-color);
61
- border-radius: 5px;
62
- transition: background 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
63
- outline: none;
64
- cursor: pointer;
65
- }
22
+ &__subrow {
23
+ width: 100%;
24
+ display: flex;
25
+ flex-wrap: wrap;
26
+ height: auto;
27
+ }
66
28
 
67
- .grid__subnav ul li:hover > a {
68
- background: var(--primary-color);
69
- color: var(--secondary-color);
70
- }
29
+ &__subnav {
30
+ flex: 1;
31
+ background: white;
32
+ border-radius: var(--br);
33
+ box-sizing: border-box;
34
+ padding: 5px;
35
+ margin: 8px 0;
36
+ height: auto;
37
+ box-shadow: 0 4px 0 rgba(var(--primary-rgb), 0.05);
38
+
39
+ > ul {
40
+ width: 100%;
41
+ list-style: none;
42
+ padding: 0;
43
+ margin: 0;
44
+ display: flex;
45
+ flex-wrap: wrap;
46
+
47
+ li {
48
+ width: 100%;
49
+ margin-bottom: 3px;
50
+
51
+ a {
52
+ width: 100%;
53
+ padding: 0.35rem 1rem;
54
+ box-sizing: border-box;
55
+ display: block;
56
+ text-decoration: none;
57
+ background: rgba(var(--primary-rgb), 0.05);
58
+ color: var(--primary-color);
59
+ border-radius: 5px;
60
+ transition: background 0.25s
61
+ cubic-bezier(0.25, 0.8, 0.25, 1);
62
+ outline: none;
63
+ cursor: pointer;
64
+
65
+ &:hover {
66
+ background: var(--primary-color);
67
+ color: var(--secondary-color);
68
+ }
69
+ }
70
+
71
+ .subactive {
72
+ font-weight: 700;
73
+ background: var(--primary-color);
74
+ color: var(--secondary-color);
75
+ }
76
+
77
+ .subactivechildren {
78
+ font-weight: 700;
79
+ }
80
+
81
+ ul {
82
+ list-style: none;
83
+ margin: 0;
84
+ padding-left: 1rem;
85
+ background: var(--item-color);
86
+
87
+ li {
88
+ width: 100%;
89
+ margin-bottom: 1px;
90
+
91
+ a {
92
+ width: 100%;
93
+ padding: 8px 20px;
94
+ box-sizing: border-box;
95
+ display: block;
96
+ text-decoration: none;
97
+ background: transparent;
98
+ color: var(--secondary-color);
99
+ border-radius: var(--br);
100
+ transition: background 0.25s
101
+ cubic-bezier(0.25, 0.8, 0.25, 1);
102
+ outline: none;
103
+ cursor: pointer;
104
+
105
+ &:hover {
106
+ background: var(--border-color);
107
+ color: var(--secondary-color);
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
71
115
 
72
- .grid__subnav ul li .subactive {
73
- font-weight: 700;
74
- background: var(--primary-color);
75
- color: var(--secondary-color);
76
- }
116
+ &__subcontent {
117
+ flex: 0 1 85%;
118
+ background: white;
119
+ border-radius: var(--br);
120
+ border: 1px solid var(--border-color);
121
+ box-sizing: border-box;
122
+ padding: 0;
123
+ margin: 5px;
124
+ height: auto;
125
+ position: relative;
77
126
 
78
- .grid__subnav ul li .subactivechildren {
79
- font-weight: 700;
127
+ h2 {
128
+ color: var(--primary-color);
129
+ font-size: 1.35em;
130
+ margin: 0 0 30px;
131
+ }
132
+ }
80
133
  }
81
134
 
82
- .grid__subnav ul li ul {
83
- list-style: none;
84
- margin: 0;
85
- padding-left: 1rem;
86
- background: var(--item-color);
87
- }
135
+ .gridtxt {
136
+ &__header {
137
+ width: 100%;
138
+ display: block;
139
+ background: var(--border-color);
140
+ box-sizing: border-box;
141
+ padding: 10px 20px;
142
+ border-top-left-radius: var(--br);
143
+ border-top-right-radius: var(--br);
144
+ margin-bottom: 0;
145
+ font-weight: 700;
146
+ text-align: center;
147
+ color: var(--paragraph-color);
148
+ position: relative;
88
149
 
89
- .grid__subnav ul li ul li {
90
- width: 100%;
91
- margin-bottom: 1px;
150
+ span {
151
+ font-weight: 700;
152
+ }
153
+
154
+ .btn {
155
+ font-size: 0.85em;
156
+ padding: 0.25em;
157
+ display: flex;
158
+ flex-wrap: nowrap;
159
+ align-items: center;
160
+ float: left;
161
+ position: relative;
162
+ top: -4px;
163
+
164
+ svg {
165
+ max-width: 15px;
166
+ margin-right: 5px;
167
+ }
168
+ }
169
+ }
92
170
  }
93
171
 
94
- .grid__subnav ul li ul li a {
172
+ .formcontainer {
95
173
  width: 100%;
96
- padding: 8px 20px;
97
- box-sizing: border-box;
98
- display: block;
99
- text-decoration: none;
100
- background: transparent;
101
- color: var(--secondary-color);
102
- border-radius: var(--br);
103
- transition: background 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
104
- outline: none;
105
- cursor: pointer;
106
- }
107
-
108
- .grid__subnav ul li ul li a:hover {
109
- background: var(--border-color);
110
- color: var (--secondary-color);
111
174
  }
112
175
 
113
- .grid__subcontent {
114
- flex: 0 1 85%;
115
- background: white;
116
- border-radius: var(--br);
117
- border: 1px solid var(--border-color);
118
- box-sizing: border-box;
119
- padding: 0;
120
- margin: 5px;
121
- height: auto;
122
- position: relative;
123
- }
124
-
125
- .grid__subcontent h2 {
126
- color: var(--primary-color);
127
- font-size: 1.35em;
128
- padding: 0;
129
- margin: 0 0 30px 0;
130
- }
131
-
132
- .gridtxt__header {
176
+ .modalForm {
133
177
  width: 100%;
134
- display: block;
135
- background: var(--border-color);
136
- box-sizing: border-box;
137
- padding: 10px 20px;
138
- border-top-left-radius: var(--br);
139
- border-top-right-radius: var(--br);
140
- margin-bottom: 0;
141
- font-weight: 700;
142
- text-align: center;
143
- color: var(--paragraph-color);
144
- position: relative;
145
- }
146
-
147
- .gridtxt__header span {
148
- font-weight: 700;
149
- }
150
-
151
- .gridtxt__header .btn {
152
- font-size: 0.85em;
153
- padding: 0.25em;
154
178
  display: flex;
155
- flex-wrap: nowrap;
156
- align-items: center;
157
- float: left;
158
- position: relative;
159
- top: -4px;
160
- }
161
-
162
- .gridtxt__header .btn svg {
163
- max-width: 15px;
164
- margin-right: 5px;
165
- }
166
-
167
- .formcontainer {
168
- width: 100%;
169
-
170
- form {
171
- width: 100%;
172
- display: grid;
173
- grid-template-columns: 1fr 1fr;
174
- gap: 1em;
175
- }
179
+ align-items: flex-start;
180
+ flex-wrap: wrap;
176
181
  }
177
182
 
178
183
  .formItem {
179
- width: 100%;
184
+ width: 50%;
185
+ padding: 0.35em;
180
186
  position: relative;
181
187
  box-sizing: border-box;
182
-
183
- .fi__label {
184
- position: relative;
185
- display: flex;
186
- align-items: center;
187
- }
188
-
189
- .fi__span {
190
- position: absolute;
191
- transition: all 200ms;
192
- opacity: 0.8;
193
- left: 0;
194
- transform-origin: top left;
195
- cursor: text;
196
- }
197
-
198
- .fi__div {
199
- transition: all 200ms;
200
- opacity: 0.8;
201
- left: 0;
202
- padding: 19px 13px;
203
- border-radius: var(--radius);
204
- border: 1px solid rgba(var(--paragraph-rgb), 0.15);
205
- box-shadow: none;
206
- }
207
-
208
- .fi__toggle {
209
- width: max-content;
210
- padding: 0 10px 0 0;
211
- box-sizing: border-box;
212
- display: inline;
213
- }
214
-
215
- .fi__toggletxt {
216
- position: relative;
217
- left: 5px;
218
- font-size: 0.95em;
219
- top: -5px;
220
- }
221
188
  }
222
189
 
223
- .fwItem,
224
- .fwBuilderItem {
225
- grid-column: 1 / -1;
226
- width: 100%;
190
+ .formItem .fi__label {
191
+ position: relative;
192
+ display: block;
227
193
  }
228
194
 
229
195
  .formItem textarea,
@@ -255,7 +221,7 @@
255
221
  ):not(.inovua-react-toolkit-combo-box__input):not(
256
222
  .inovua-react-toolkit-date-input__input
257
223
  ):not(.inovua-react-toolkit-numeric-input__input):hover {
258
- border: 1px solid rgba(var(--primary-color-rgb), 0.85);
224
+ border: 1px solid rgba(var(--primary-rgb), 0.85);
259
225
  transition: border 0.15s linear;
260
226
  }
261
227
 
@@ -267,11 +233,7 @@
267
233
  ):not(.inovua-react-toolkit-combo-box__input):not(
268
234
  .inovua-react-toolkit-date-input__input
269
235
  ):not(.inovua-react-toolkit-numeric-input__input):focus {
270
- border: 1px solid rgba(var(--primary-color-rgb), 0.85);
271
- }
272
-
273
- .formItem textarea {
274
- line-height: 1.65 !important;
236
+ border: 1px solid rgba(var(--primary-rgb), 0.85);
275
237
  }
276
238
 
277
239
  input[type='file'] {
@@ -405,7 +367,7 @@ select:not(:placeholder-shown) + .fi__span {
405
367
  .modal__header {
406
368
  width: 100%;
407
369
  background: var(--primary-color);
408
- border: 2px solid rgba(var(--primary-color-rgb), 1.05);
370
+ border: 2px solid rgba(var(--primary-rgb), 1.05);
409
371
  border-top-left-radius: var(--br);
410
372
  border-top-right-radius: var(--br);
411
373
  box-sizing: border-box;
@@ -424,7 +386,7 @@ select:not(:placeholder-shown) + .fi__span {
424
386
  right: 5px;
425
387
  top: 5px;
426
388
  box-sizing: border-box;
427
- background: rgba(var(--primary-color-rgb), 1.08);
389
+ background: rgba(var(--primary-rgb), 1.08);
428
390
  cursor: pointer;
429
391
  padding: 8px 8px;
430
392
  margin: 0;
@@ -451,7 +413,7 @@ select:not(:placeholder-shown) + .fi__span {
451
413
 
452
414
  .modal__content .btn {
453
415
  background: var(--primary-color);
454
- border: 1px solid rgb(var(--primary-color-rgb), 1.05);
416
+ border: 1px solid rgb(var(--primary-rgb), 1.05);
455
417
  }
456
418
 
457
419
  .modal__content .btn:hover {
@@ -471,7 +433,7 @@ select:not(:placeholder-shown) + .fi__span {
471
433
  text-decoration: none;
472
434
  overflow: hidden;
473
435
  background: var(--primary-color);
474
- border: 1px solid rgba(var(--primary-color-rgb), 1.1);
436
+ border: 1px solid rgba(var(--primary-rgb), 1.1);
475
437
  border-radius: var(--br);
476
438
  outline: none;
477
439
  transition: all 0.2s cubic-bezier(0.85, 0, 0.15, 1) 0s;
@@ -510,6 +472,49 @@ select:not(:placeholder-shown) + .fi__span {
510
472
  border-color: red !important;
511
473
  }
512
474
 
475
+ .AutocompletePlace {
476
+ position: relative;
477
+ }
478
+
479
+ .AutocompletePlace svg {
480
+ position: absolute;
481
+ right: 0.5em;
482
+ top: 0.5em;
483
+ color: var(--paragraph-color);
484
+ cursor: pointer;
485
+ }
486
+
487
+ .AutocompletePlace .toggleActive {
488
+ color: var(--highlight-color);
489
+ }
490
+
491
+ .AutocompletePlace-input {
492
+ padding: 0.65rem 3rem 0.65rem 0.95rem !important;
493
+ height: 51.5px;
494
+ }
495
+
496
+ .AutocompletePlace-results {
497
+ position: absolute;
498
+ background-color: white;
499
+ padding: 0;
500
+ margin: 0;
501
+ border: 1px solid rgba(var(--primary-color), 0.25);
502
+ border-radius: var(--br);
503
+ overflow: hidden;
504
+ z-index: 999;
505
+ }
506
+
507
+ .AutocompletePlace-items {
508
+ list-style: none;
509
+ border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
510
+ cursor: pointer;
511
+ padding: 10px 10px;
512
+ }
513
+
514
+ .AutocompletePlace-items:hover {
515
+ background-color: rgba(var(--paragraph-color-rgb), 0.065);
516
+ }
517
+
513
518
  .react-datepicker-wrapper {
514
519
  width: 100% !important;
515
520
  }
@@ -519,22 +524,22 @@ select:not(:placeholder-shown) + .fi__span {
519
524
  }
520
525
 
521
526
  .react-datepicker__close-icon:after {
522
- background-color: rgba(var(--primary-color-rgb), 0.45) !important;
527
+ background-color: rgba(var(--primary-rgb), 0.45) !important;
523
528
  font-size: 13px !important;
524
529
  }
525
530
 
526
531
  .react-datepicker__close-icon:hover:after {
527
- background-color: rgba(var(--primary-color-rgb), 1) !important;
532
+ background-color: rgba(var(--primary-rgb), 1) !important;
528
533
  }
529
534
 
530
535
  .formbreak {
531
536
  display: block;
532
537
  width: 100%;
533
538
  padding: 1em;
534
- background: rgba(var(--primary-color-rgb), 0.95);
539
+ background: rgba(var(--primary-rgb), 0.95);
535
540
  border-radius: 3px;
536
541
  box-sizing: border-box;
537
- border: 2px solid rgba(var(--primary-color-rgb), 1.1);
542
+ border: 2px solid rgba(var(--primary-rgb), 1.1);
538
543
  }
539
544
 
540
545
  .formbreak span {
@@ -717,7 +722,7 @@ select:not(:placeholder-shown) + .fi__span {
717
722
  color: var(--secondary-color);
718
723
  font-weight: 700;
719
724
  font-size: 0.95em;
720
- border-right: 2px solid rgba(var(--primary-color-rgb), 0.9);
725
+ border-right: 2px solid rgba(var(--primary-rgb), 0.9);
721
726
  position: relative;
722
727
  background-clip: padding-box;
723
728
  }
@@ -785,56 +790,77 @@ select:not(:placeholder-shown) + .fi__span {
785
790
  background: #f0f4f7 !important;
786
791
  }
787
792
 
788
- /* Drag Item Styling */
789
- .sortlist {
790
- width: 100%;
791
- display: grid;
792
- grid-gap: 0.5rem;
793
- grid-template-columns: repeat(4, 1fr);
794
- box-sizing: border-box;
795
- padding: 0;
796
- margin: 0;
797
- list-style: none;
798
- }
793
+ /* Signature Styling */
799
794
 
800
- .sortlist li {
801
- display: flex;
802
- justify-content: center;
803
- align-items: center;
804
- flex-wrap: wrap;
805
- border-radius: 5px;
806
- border: 1px solid rgba(var(--primary-color-rgb), 0.2);
807
- box-shadow: 0px 0px 20px rgba(var(--primary-color-rgb), 0.1);
808
- padding: 1.25rem 1.25rem 1.25rem 2rem;
809
- box-sizing: border-box;
795
+ .signButton {
796
+ background: var(--primary-color);
797
+ color: var(--secondary-color);
798
+ padding: 0.5rem 1rem;
799
+ border: none;
800
+ border-radius: var(--br);
810
801
  cursor: pointer;
811
- list-style: none;
812
- position: relative;
813
- color: var(--paragraph-color);
814
- user-select: none;
802
+ transition: background 0.3s;
815
803
  }
816
804
 
817
- .sortlist li svg {
818
- width: 100%;
819
- max-width: 18px;
820
- position: absolute;
821
- left: 5px;
805
+ .signButton:hover {
806
+ background: var(--secondary-color);
807
+ color: var(--primary-color);
822
808
  }
823
809
 
824
- .sortlist li .delete {
825
- width: 100%;
826
- max-width: 18px;
827
- position: absolute;
828
- left: 5px;
829
- top: 30px;
810
+ .signaturePlaceholder {
811
+ margin-top: 1rem; /* Add margin to prevent overlap */
812
+ border: 1px solid var(--border-color);
813
+ border-radius: var(--br);
814
+ padding: 10px;
815
+ background: var(--item-color);
830
816
  }
831
817
 
832
- .sortlist li .sortimg img {
833
- display: block;
834
- object-fit: cover;
835
- height: 100%;
836
- width: 100%;
837
- overflow: hidden;
818
+ .crmtitle {
819
+ min-height: auto;
820
+ padding: 1rem;
821
+ margin: 0;
822
+ background: white;
823
+ border-radius: var(--br);
824
+ border: 1px solid rgba(var(--primary-rgb), 0.15);
825
+ position: relative;
826
+ display: flex;
827
+ align-items: center;
828
+ justify-content: space-between;
829
+
830
+ h1 {
831
+ font-weight: 700;
832
+ font-size: 1.25rem;
833
+ margin: 0;
834
+ padding: 0;
835
+ line-height: 1;
836
+
837
+ a {
838
+ text-decoration: none;
839
+ color: var(--secondary-color);
840
+ font-weight: 400;
841
+ }
842
+
843
+ svg {
844
+ color: rgba(var(--primary-rgb), 0.5);
845
+ position: relative;
846
+ top: 2px;
847
+ margin: 0 0.25rem;
848
+ }
849
+ }
850
+
851
+ .titleInfo {
852
+ width: max-content;
853
+ }
854
+
855
+ .titleInfo span {
856
+ font-size: 0.875em;
857
+ color: rgba(var(--paragraph-color-rgb), 0.65);
858
+ }
859
+ }
860
+
861
+ .sortableListContainer {
862
+ max-height: 800px; /* Optional for scrollable content */
863
+ overflow-y: auto;
838
864
  }
839
865
 
840
866
  .dragitem {
@@ -844,68 +870,52 @@ select:not(:placeholder-shown) + .fi__span {
844
870
  align-items: center;
845
871
  flex-wrap: wrap;
846
872
  border-radius: 5px;
847
- border: 1px solid rgba(var(--primary-color-rgb), 0.2);
848
- box-shadow: 0px 0px 30px rgba(var(--primary-color-rgb), 0.25);
873
+ border: 1px solid rgba(var(--primary-rgb), 0.2);
874
+ box-shadow: 0px 0px 30px rgba(var(--primary-rgb), 0.1);
849
875
  padding: 1.25rem 1.25rem 1.25rem 2rem;
850
876
  box-sizing: border-box;
851
877
  cursor: grab;
878
+ list-style: none;
852
879
  color: var(--paragraph-color);
853
- }
854
880
 
855
- .dragitem svg:first-of-type {
856
- width: 100%;
857
- max-width: 18px;
858
- position: absolute;
859
- left: 5px;
860
- top: 5px;
861
- }
862
-
863
- .dragitem svg:nth-of-type(2) {
864
- width: 100%;
865
- max-width: 18px;
866
- position: absolute;
867
- left: 5px;
868
- top: 30px;
869
- }
870
-
871
- .dragitem .sortimg {
872
- width: 50px;
873
- position: relative;
874
- height: 50px;
875
- margin-left: auto;
876
- border-radius: 5px;
877
- overflow: hidden;
878
- }
879
-
880
- .dragitem .sortimg img {
881
- display: block;
882
- object-fit: cover;
883
- height: 100%;
884
- width: 100%;
885
- overflow: hidden;
886
- }
887
-
888
- /* Signature Styling */
881
+ svg {
882
+ width: 100%;
883
+ max-width: 18px;
884
+ position: absolute;
885
+ left: 5px;
886
+ top: 5px;
887
+ }
889
888
 
890
- .signButton {
891
- background: var(--primary-color);
892
- color: var(--secondary-color);
893
- padding: 0.5rem 1rem;
894
- border: none;
895
- border-radius: var(--br);
896
- cursor: pointer;
897
- transition: background 0.3s;
898
- }
889
+ .edit {
890
+ width: 100%;
891
+ max-width: 18px;
892
+ position: absolute;
893
+ left: 5px;
894
+ top: 30px;
895
+ }
899
896
 
900
- .signButton:hover {
901
- background: var(--secondary-color);
902
- color: var(--primary-color);
903
- }
897
+ .delete {
898
+ width: 100%;
899
+ max-width: 18px;
900
+ position: absolute;
901
+ left: 5px;
902
+ top: 60px;
903
+ }
904
904
 
905
- .signaturePlaceholder {
906
- margin-top: 1rem; /* Add margin to prevent overlap */
907
- border: 1px solid var(--border-color);
908
- border-radius: var(--br);
909
- padding: 10px;
910
- background: var(--item-color);
905
+ .sortimg {
906
+ width: 50px;
907
+ position: relative;
908
+ height: 50px;
909
+ margin-left: auto;
910
+ border-radius: 5px;
911
+ overflow: hidden;
912
+
913
+ img {
914
+ display: block;
915
+ object-fit: cover;
916
+ height: 100%;
917
+ width: 100%;
918
+ overflow: hidden;
919
+ }
920
+ }
911
921
  }