pr360-questionnaire 2.1.6 → 2.1.10

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.
@@ -15,6 +15,7 @@ table {
15
15
  min-height: 52vh;
16
16
  border-radius: 10px;
17
17
  box-shadow: 5px 5px 20px 3px rgba(131, 131, 131, 0.198);
18
+ overflow: visible;
18
19
  }
19
20
 
20
21
  .table-container--questionaire {
@@ -40,6 +41,7 @@ table {
40
41
  grid-template-rows: auto 1fr auto;
41
42
  border-radius: 0 10px 10px 10px;
42
43
  padding: $space-md $space-md $space-lg $space-md;
44
+ overflow: visible;
43
45
 
44
46
  &_links {
45
47
  display: flex;
@@ -93,7 +95,6 @@ table {
93
95
  }
94
96
  }
95
97
 
96
-
97
98
  thead {
98
99
  tr {
99
100
  th {
@@ -111,485 +112,130 @@ table {
111
112
  -webkit-overflow-scrolling: touch;
112
113
  }
113
114
 
114
- table.prospects-table {
115
+ .prospects-tables-container {
116
+ display: flex;
117
+ width: 100%;
118
+ position: relative;
119
+ }
120
+
121
+ .prospects-table {
115
122
  width: 100%;
116
- min-width: 1200px;
117
- /* Ensures horizontal scroll on smaller screens */
123
+ min-width: 0;
118
124
  border-collapse: collapse;
119
125
  border-spacing: 2px;
120
-
121
- tbody {
122
- tr {
123
- border-bottom: 1px solid $gray-lighter;
124
-
125
- td {
126
- padding: $space-sm 16px;
127
- /* Added horizontal padding */
128
- white-space: nowrap;
129
-
130
- &:nth-child(1) {
131
- min-width: 120px;
132
- }
133
-
134
- /* First Name */
135
- &:nth-child(2) {
136
- min-width: 120px;
137
- }
138
-
139
- /* Last Name */
140
- &:nth-child(3) {
141
- min-width: 200px;
142
- }
143
-
144
- /* Email */
145
- &:nth-child(4) {
146
- min-width: 140px;
147
- }
148
-
149
- /* Phone */
150
- &:nth-child(5) {
151
- min-width: 160px;
152
- }
153
-
154
- /* Insurance */
155
- &:nth-child(6) {
156
- min-width: 100px;
157
- }
158
-
159
- /* Zip */
160
- &:nth-child(7) {
161
- min-width: 140px;
162
- }
163
-
164
- /* Date */
165
- &:nth-child(8) {
166
- min-width: 160px;
167
- }
168
-
169
- /* Outcome */
170
- &:nth-child(9) {
171
- min-width: 200px;
172
- }
173
-
174
- /* Notes */
175
- &:nth-child(10) {
176
- min-width: 120px;
177
- }
178
-
179
- /* Status */
180
- &:nth-child(11) {
181
- min-width: 100px;
182
- }
183
-
184
- /* Actions */
185
- textarea {
186
- resize: both;
187
- overflow: auto;
188
- min-width: 180px;
189
- min-height: 60px;
190
- width: 100%;
191
- height: 100%;
192
- }
193
- }
194
- }
195
- }
196
-
197
- thead {
198
- tr {
199
- th {
200
- text-align: left;
201
- color: $gray;
202
- font-weight: 400;
203
- padding: $space-sm 16px;
204
- /* Added horizontal padding */
205
- white-space: nowrap;
206
-
207
- /* Match the same widths as td */
208
- &:nth-child(1) {
209
- min-width: 120px;
210
- }
211
-
212
- &:nth-child(2) {
213
- min-width: 120px;
214
- }
215
-
216
- &:nth-child(3) {
217
- min-width: 200px;
218
- }
219
-
220
- &:nth-child(4) {
221
- min-width: 140px;
222
- }
223
-
224
- &:nth-child(5) {
225
- min-width: 160px;
226
- }
227
-
228
- &:nth-child(6) {
229
- min-width: 100px;
230
- }
231
-
232
- &:nth-child(7) {
233
- min-width: 140px;
234
- }
235
-
236
- &:nth-child(8) {
237
- min-width: 160px;
238
- }
239
-
240
- &:nth-child(9) {
241
- min-width: 200px;
242
- }
243
-
244
- &:nth-child(10) {
245
- min-width: 120px;
246
- }
247
-
248
- &:nth-child(11) {
249
- min-width: 100px;
250
- }
251
- }
252
- }
253
- }
126
+ table-layout: fixed;
254
127
  }
255
128
 
256
-
257
- .locked {
258
- filter: blur(3px);
129
+ .prospects-table--main {
130
+ flex: 1;
131
+ margin-right: 0;
132
+ overflow-x: auto;
133
+ min-width: 1400px;
134
+ table-layout: fixed;
135
+ }
136
+
137
+ .prospects-table--main th:nth-child(1), .prospects-table--main td:nth-child(1) { width: 180px; min-width: 180px; }
138
+ .prospects-table--main th:nth-child(2), .prospects-table--main td:nth-child(2) { width: 180px; min-width: 180px; }
139
+ .prospects-table--main th:nth-child(3), .prospects-table--main td:nth-child(3) { width: 240px; min-width: 240px; }
140
+ .prospects-table--main th:nth-child(4), .prospects-table--main td:nth-child(4) { width: 120px; min-width: 120px; }
141
+ .prospects-table--main th:nth-child(5), .prospects-table--main td:nth-child(5) { width: 220px; min-width: 220px; }
142
+ .prospects-table--main th:nth-child(6), .prospects-table--main td:nth-child(6) { width: 160px; min-width: 160px; }
143
+ .prospects-table--main th:nth-child(7), .prospects-table--main td:nth-child(7) { width: 220px; min-width: 220px; }
144
+ .prospects-table--main th:nth-child(8), .prospects-table--main td:nth-child(8) { width: 120px; min-width: 120px; }
145
+ .prospects-table--main th:nth-child(9), .prospects-table--main td:nth-child(9) { width: 200px; min-width: 200px; }
146
+
147
+ .prospects-table--main th:last-child,
148
+ .prospects-table--main td:last-child {
149
+ padding-right: 140px;
150
+ }
151
+
152
+ .prospects-table--sticky {
153
+ position: sticky;
154
+ right: 0;
155
+ background: white;
156
+ box-shadow: -8px 0 16px -8px rgba(0, 0, 0, 0.10);
157
+ z-index: 10;
158
+ min-width: 220px;
159
+ width: 220px;
160
+ flex-shrink: 0;
161
+ table-layout: fixed;
162
+ }
163
+
164
+ .prospects-table--sticky th, .prospects-table--sticky td {
165
+ width: 90px;
166
+ padding: 12px 8px;
167
+ text-align: left;
168
+ box-sizing: border-box;
259
169
  }
260
170
 
261
- .tooltip-container {
262
- position: relative;
263
- display: inline-block;
264
- z-index: 1050;
171
+ .prospects-table--sticky th:first-child,
172
+ .prospects-table--sticky td:first-child {
173
+ width: 140px;
174
+ min-width: 140px;
265
175
  }
266
176
 
267
- .tooltip-content {
268
- visibility: visible;
269
- width: auto;
270
- background-color: $color-primary;
271
- color: #fff;
272
- max-height: 180px;
273
- overflow-y: auto;
274
- text-align: left;
275
- border-radius: 6px;
276
- padding: 12px;
277
- position: absolute;
278
- z-index: 1050;
279
- bottom: 100%;
280
- left: 0;
281
- margin-bottom: 8px;
282
- opacity: 1;
283
- transition: opacity 0.3s;
177
+ .prospects-table--sticky th:last-child,
178
+ .prospects-table--sticky td:last-child {
179
+ width: 140px;
284
180
  white-space: nowrap;
285
-
286
- &::-webkit-scrollbar {
287
- width: 6px;
288
- }
289
-
290
- &::-webkit-scrollbar-track {
291
- background: rgba(255, 255, 255, 0.1);
292
- border-radius: 3px;
293
- }
294
-
295
- &::-webkit-scrollbar-thumb {
296
- background: rgba(255, 255, 255, 0.3);
297
- border-radius: 3px;
298
- }
299
-
300
- // Arrow styling
301
- &::before {
302
- content: '';
303
- position: absolute;
304
- left: 20px;
305
- bottom: -16px;
306
- border-width: 8px;
307
- border-style: solid;
308
- border-color: $color-primary transparent transparent transparent;
309
- }
310
181
  }
311
182
 
312
- .tooltip-content-no-history {
313
- @extend .tooltip-content;
314
- height: auto;
315
- max-height: none;
316
- overflow: hidden;
317
- padding: 8px 12px;
183
+ .prospects-table--sticky th {
184
+ font-weight: 600;
185
+ background: #f8f8f8;
318
186
  }
319
187
 
320
- .tooltip-list {
321
- margin-top: 8px;
188
+ .prospects-table--main th, .prospects-table--main td {
189
+ padding: 12px 16px;
190
+ vertical-align: middle;
191
+ box-sizing: border-box;
322
192
  }
323
193
 
324
- .tooltip-item {
325
- padding: 8px 0;
326
- font-size: 12px;
327
- line-height: 1.4;
194
+ .prospects-table--main th, .prospects-table--main td,
195
+ .prospects-table--sticky th, .prospects-table--sticky td {
196
+ padding: 16px 24px;
197
+ vertical-align: middle;
198
+ box-sizing: border-box;
328
199
  }
329
200
 
330
- .tooltip-hr {
331
- hr {
332
- margin: 4px 0;
333
- border-color: rgba(255, 255, 255, 0.2);
334
- }
201
+ .prospects-table--main thead tr, .prospects-table--sticky thead tr {
202
+ height: 56px;
335
203
  }
336
204
 
337
- table {
338
- font-size: 15px;
339
- font-weight: 400;
205
+ .prospects-table--main th, .prospects-table--sticky th {
206
+ font-weight: 600;
207
+ background: #f8f8f8;
208
+ box-sizing: border-box;
340
209
  }
341
210
 
342
- .table-grid {
343
- display: grid;
344
- grid-template-columns: 25% 1fr;
345
- grid-gap: $space-md;
211
+ .prospects-table--main tr, .prospects-table--sticky tr {
212
+ box-sizing: border-box;
346
213
  }
347
214
 
348
- .table-container {
349
- background-color: #fff;
350
- padding: $space-md $space-lg $space-lg $space-lg;
351
- min-height: 52vh;
352
- border-radius: 10px;
353
- box-shadow: 5px 5px 20px 3px rgba(131, 131, 131, 0.198);
215
+ .prospects-table--main tbody tr:hover {
216
+ background: #f0f4ff;
217
+ cursor: pointer;
218
+ transition: background 0.15s;
354
219
  }
355
220
 
356
- .table-container--questionaire {
357
- thead {
358
- tr {
359
- th:first-child {
360
- width: 135px;
361
- }
362
- }
363
- }
364
-
365
- tbody {
366
- tr {
367
- td:nth-child(2) {
368
- max-width: 1000px;
369
- }
370
- }
371
- }
221
+ .prospects-table--sticky tbody tr:hover {
222
+ background: none !important;
223
+ cursor: default !important;
372
224
  }
373
225
 
374
- .table-container--prospects {
375
- display: grid;
376
- grid-template-rows: auto 1fr auto;
377
- border-radius: 0 10px 10px 10px;
378
- padding: $space-md $space-md $space-lg $space-md;
379
-
380
- &_links {
381
- display: flex;
382
- justify-content: space-between;
383
- align-items: baseline;
384
-
385
- & span {
386
- display: flex;
387
- gap: 25px;
388
- }
389
-
390
- & div {
391
- display: flex;
392
- align-items: baseline;
393
- gap: 10px;
394
- }
395
- }
396
-
397
- h4 {
398
- line-height: 26px;
399
- }
400
-
401
- .count {
402
- background-color: $color-primary;
403
- padding: 4px 8px;
404
- color: #fff;
405
- border-radius: 5px;
406
- }
407
-
408
- .background-primary {
409
- background-color: $color-primary;
410
- color: #fff;
411
- }
412
- }
413
-
414
- table.org-users {
415
- margin-bottom: 10vh;
226
+ .prospects-table tr,
227
+ .prospects-table td {
228
+ overflow: visible !important;
229
+ position: static !important;
416
230
  }
417
231
 
418
- table {
419
- width: 100%;
420
- border-collapse: collapse;
421
-
422
- tbody {
423
- tr {
424
- border-bottom: 1px solid $gray-lighter;
425
-
426
- td {
427
- padding: $space-sm 0;
428
- }
429
- }
430
- }
431
-
432
-
433
- thead {
434
- tr {
435
- th {
436
- text-align: left;
437
- color: $gray;
438
- font-weight: 400;
439
- }
440
- }
441
- }
442
- }
443
-
444
- .prospects-table-wrapper {
445
- width: 100%;
446
- overflow-x: auto;
447
- -webkit-overflow-scrolling: touch;
448
- }
449
-
450
- table.prospects-table {
451
- width: 100%;
452
- min-width: 1200px;
453
- /* Ensures horizontal scroll on smaller screens */
454
- border-collapse: collapse;
455
- border-spacing: 2px;
456
-
457
- tbody {
458
- tr {
459
- border-bottom: 1px solid $gray-lighter;
460
-
461
- td {
462
- padding: $space-sm 16px;
463
- /* Added horizontal padding */
464
- white-space: nowrap;
465
-
466
- &:nth-child(1) {
467
- min-width: 120px;
468
- }
469
-
470
- /* First Name */
471
- &:nth-child(2) {
472
- min-width: 120px;
473
- }
474
-
475
- /* Last Name */
476
- &:nth-child(3) {
477
- min-width: 200px;
478
- }
479
-
480
- /* Email */
481
- &:nth-child(4) {
482
- min-width: 140px;
483
- }
484
-
485
- /* Phone */
486
- &:nth-child(5) {
487
- min-width: 160px;
488
- }
489
-
490
- /* Insurance */
491
- &:nth-child(6) {
492
- min-width: 100px;
493
- }
494
-
495
- /* Zip */
496
- &:nth-child(7) {
497
- min-width: 140px;
498
- }
499
-
500
- /* Date */
501
- &:nth-child(8) {
502
- min-width: 160px;
503
- }
504
-
505
- /* Outcome */
506
- &:nth-child(9) {
507
- min-width: 200px;
508
- }
509
-
510
- /* Notes */
511
- &:nth-child(10) {
512
- min-width: 120px;
513
- }
514
-
515
- /* Status */
516
- &:nth-child(11) {
517
- min-width: 100px;
518
- }
519
-
520
- /* Actions */
521
- textarea {
522
- resize: both;
523
- overflow: auto;
524
- min-width: 180px;
525
- min-height: 60px;
526
- width: 100%;
527
- height: 100%;
528
- }
529
- }
530
- }
531
- }
532
-
533
- thead {
534
- tr {
535
- th {
536
- text-align: left;
537
- color: $gray;
538
- font-weight: 400;
539
- padding: $space-sm 16px;
540
- /* Added horizontal padding */
541
- white-space: nowrap;
542
-
543
- /* Match the same widths as td */
544
- &:nth-child(1) {
545
- min-width: 120px;
546
- }
547
-
548
- &:nth-child(2) {
549
- min-width: 120px;
550
- }
551
-
552
- &:nth-child(3) {
553
- min-width: 200px;
554
- }
555
-
556
- &:nth-child(4) {
557
- min-width: 140px;
558
- }
559
-
560
- &:nth-child(5) {
561
- min-width: 160px;
562
- }
563
-
564
- &:nth-child(6) {
565
- min-width: 100px;
566
- }
567
-
568
- &:nth-child(7) {
569
- min-width: 140px;
570
- }
571
-
572
- &:nth-child(8) {
573
- min-width: 160px;
574
- }
575
-
576
- &:nth-child(9) {
577
- min-width: 200px;
578
- }
579
-
580
- &:nth-child(10) {
581
- min-width: 120px;
582
- }
583
-
584
- &:nth-child(11) {
585
- min-width: 100px;
586
- }
587
- }
588
- }
589
- }
232
+ .prospects-table .table-cell-content {
233
+ overflow: hidden;
234
+ text-overflow: ellipsis;
235
+ white-space: nowrap;
236
+ position: relative;
590
237
  }
591
238
 
592
-
593
239
  .locked {
594
240
  filter: blur(3px);
595
241
  }
@@ -612,9 +258,10 @@ table.prospects-table {
612
258
  padding: 12px;
613
259
  position: absolute;
614
260
  z-index: 1050;
615
- bottom: 100%;
616
- left: 0;
617
- margin-bottom: 8px;
261
+ top: 0;
262
+ left: 100%;
263
+ margin-left: 8px;
264
+ margin-top: 0;
618
265
  opacity: 1;
619
266
  transition: opacity 0.3s;
620
267
  white-space: nowrap;
@@ -633,15 +280,14 @@ table.prospects-table {
633
280
  border-radius: 3px;
634
281
  }
635
282
 
636
- // Arrow styling
637
283
  &::before {
638
284
  content: '';
639
285
  position: absolute;
640
- left: 20px;
641
- bottom: -16px;
286
+ top: 16px;
287
+ left: -16px;
642
288
  border-width: 8px;
643
289
  border-style: solid;
644
- border-color: $color-primary transparent transparent transparent;
290
+ border-color: transparent $color-primary transparent transparent;
645
291
  }
646
292
  }
647
293
 
@@ -669,6 +315,104 @@ table.prospects-table {
669
315
  border-color: rgba(255, 255, 255, 0.2);
670
316
  }
671
317
  }
318
+
672
319
  .field-div{
673
320
  margin-top: 10px;
321
+ }
322
+
323
+ // --- Schedule view specific styles ---
324
+ .schedule-grid {
325
+ display: grid;
326
+ grid-template-columns: 18% 1fr; // notes narrower
327
+ grid-gap: 0; // no gap between notes and calendar
328
+ height: 75vh;
329
+ min-height: 0;
330
+ }
331
+
332
+ .schedule-notes {
333
+ padding: 0.5rem 1rem; // less padding inside notes
334
+ display: flex;
335
+ flex-direction: column;
336
+ }
337
+
338
+ .schedule-notes form,
339
+ .schedule-notes textarea {
340
+ flex: 1 1 auto;
341
+ min-height: 0;
342
+ height: 100%;
343
+ }
344
+
345
+ .schedule-notes textarea {
346
+ resize: vertical;
347
+ width: 100%;
348
+ height: 100%;
349
+ min-height: 60px;
350
+ box-sizing: border-box;
351
+ }
352
+
353
+ .schedule-grid pr360-calendar {
354
+ flex: 1 1 auto;
355
+ min-height: 0;
356
+ height: 100%;
357
+ width: 100%;
358
+ display: flex;
359
+ flex-direction: column;
360
+ overflow-y: auto;
361
+ }
362
+
363
+ .schedule-grid pr360-calendar > * {
364
+ flex: 1 1 auto;
365
+ min-height: 0;
366
+ height: 100%;
367
+ }
368
+
369
+ .prospects-table td,
370
+ .prospects-table th {
371
+ padding-left: 12px;
372
+ padding-right: 12px;
373
+ }
374
+
375
+ .prospects-table td:nth-child(1),
376
+ .prospects-table th:nth-child(1) {
377
+ min-width: 80px;
378
+ }
379
+
380
+ // Only truncate email column
381
+ .prospects-table td:nth-child(3),
382
+ .prospects-table th:nth-child(3) {
383
+ max-width: 120px;
384
+ white-space: nowrap;
385
+ overflow: hidden;
386
+ text-overflow: ellipsis;
387
+ }
388
+
389
+ // Status column: allow overflow for popup
390
+ .prospects-table td:nth-child(6),
391
+ .prospects-table th:nth-child(6) {
392
+ overflow: visible !important;
393
+ max-width: none !important;
394
+ position: relative !important;
395
+ }
396
+
397
+ .modal-blur-overlay {
398
+ position: fixed;
399
+ top: 0; left: 0; right: 0; bottom: 0;
400
+ width: 100vw;
401
+ height: 100vh;
402
+ z-index: 1000;
403
+ pointer-events: none;
404
+ backdrop-filter: blur(4px);
405
+ -webkit-backdrop-filter: blur(4px);
406
+ }
407
+
408
+ // Fade both tables and their contents when modal is open (robust selector)
409
+ .prospects-table-wrapper.modal-open table,
410
+ .prospects-table-wrapper.modal-open .prospects-table--main,
411
+ .prospects-table-wrapper.modal-open .prospects-table--sticky,
412
+ .prospects-table-wrapper.modal-open .prospects-table--main *,
413
+ .prospects-table-wrapper.modal-open .prospects-table--sticky * {
414
+ opacity: 0.4 !important;
415
+ pointer-events: none !important;
416
+ filter: blur(1px) !important;
417
+ transition: opacity 0.2s, filter 0.2s;
674
418
  }