pr360-questionnaire 2.1.10 → 2.2.11

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.
package/css/app.scss CHANGED
@@ -19,6 +19,7 @@
19
19
  @import './components/grid';
20
20
  @import './components/questionnaire';
21
21
  @import './components/site-rules';
22
+ @import './components/network-live';
22
23
 
23
24
  // Imported last to take precedence in the cascade
24
25
  @import './base/utilities';
@@ -25,4 +25,84 @@
25
25
  &:last-child {
26
26
  border-bottom: none;
27
27
  }
28
+ }
29
+
30
+ // Questionnaire section styling for forms
31
+ .questionnaire-section {
32
+ margin-top: 16px;
33
+
34
+ label {
35
+ margin-bottom: 8px;
36
+ display: block;
37
+ font-weight: 600;
38
+ color: #374151;
39
+ }
40
+
41
+ // Create a separate scrollable container for the questionnaire items
42
+ .questionnaire-scroll-area {
43
+ max-height: 200px;
44
+ overflow-y: scroll; // Always show scrollbar to make it clear it's scrollable
45
+ border: 1px solid #d1d5db;
46
+ border-radius: 4px;
47
+ padding: 12px;
48
+ background-color: #f9fafb;
49
+ box-sizing: border-box;
50
+
51
+ // Style individual questionnaire items
52
+ .questionnaire-item {
53
+ margin-bottom: 8px;
54
+
55
+ &:last-child {
56
+ margin-bottom: 0;
57
+ }
58
+
59
+ // Improve checkbox and label alignment
60
+ label {
61
+ display: flex !important;
62
+ align-items: center !important;
63
+ gap: 8px !important;
64
+ margin: 0 !important;
65
+ font-weight: normal !important;
66
+ color: #374151;
67
+ line-height: 1.4;
68
+ cursor: pointer;
69
+
70
+ input[type="checkbox"] {
71
+ margin: 0 !important;
72
+ flex-shrink: 0;
73
+ width: 16px;
74
+ height: 16px;
75
+ }
76
+
77
+ // Text content alignment
78
+ span {
79
+ flex: 1;
80
+ line-height: 1.4;
81
+ }
82
+ }
83
+ }
84
+
85
+ // Custom scrollbar styling - make it more visible
86
+ &::-webkit-scrollbar {
87
+ width: 8px;
88
+ }
89
+
90
+ &::-webkit-scrollbar-track {
91
+ background: #f3f4f6;
92
+ border-radius: 4px;
93
+ }
94
+
95
+ &::-webkit-scrollbar-thumb {
96
+ background: #9ca3af;
97
+ border-radius: 4px;
98
+
99
+ &:hover {
100
+ background: #6b7280;
101
+ }
102
+ }
103
+
104
+ // Firefox scrollbar styling
105
+ scrollbar-width: auto; // Make scrollbar always visible in Firefox
106
+ scrollbar-color: #9ca3af #f3f4f6;
107
+ }
28
108
  }
@@ -5,16 +5,17 @@
5
5
  right: 0;
6
6
  bottom: 0;
7
7
  background-color: rgba(0, 0, 0, .2);
8
-
8
+ backdrop-filter: blur(4px);
9
+ -webkit-backdrop-filter: blur(4px);
9
10
  }
10
11
 
11
12
  .modal--container{
12
13
  background: $white;
13
- width: 650px;
14
+ width: 750px;
14
15
  position: absolute;
15
16
  top: 10%;
16
17
  left: 45%;
17
- margin-left: -240px;
18
+ margin-left: -375px;
18
19
  z-index: 9999;
19
20
  padding: $space-md;
20
21
  -webkit-box-shadow: 3px 3px 15px 3px #ACACAC;
@@ -24,3 +25,14 @@
24
25
  left: 56%;
25
26
  }
26
27
  }
28
+
29
+ // Style the onboarding email textarea to match other form fields but with better formatting
30
+ textarea[name="network_form[onboarding_email]"] {
31
+ font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
32
+ font-size: 13px !important;
33
+ line-height: 1.5 !important;
34
+ min-height: 300px !important;
35
+ resize: vertical !important;
36
+ width: 100% !important;
37
+ box-sizing: border-box !important;
38
+ }
@@ -0,0 +1,210 @@
1
+ // Network Live Component Styles
2
+
3
+ .network-container {
4
+ .modal-content {
5
+ padding: 0;
6
+ }
7
+
8
+ .network-tabs-container {
9
+ display: flex;
10
+ justify-content: flex-start;
11
+ align-items: center;
12
+ border-bottom: 1px solid $gray-lighter;
13
+ padding: 0;
14
+ background-color: $white;
15
+ flex-wrap: wrap;
16
+ gap: 0;
17
+ min-height: auto;
18
+ }
19
+
20
+ .network-tabs {
21
+ display: flex;
22
+ gap: 0;
23
+ flex-wrap: wrap;
24
+ flex: 1;
25
+ min-width: 0;
26
+ align-items: center;
27
+ padding: 0 $space-xs;
28
+ }
29
+
30
+ .network-tab-button {
31
+ padding: 4px 8px;
32
+ border: none;
33
+ background: none;
34
+ color: $gray-dark;
35
+ border-bottom: 2px solid transparent;
36
+ cursor: pointer;
37
+ font-size: 12px;
38
+ font-weight: $body-regular;
39
+ transition: $transition;
40
+ white-space: nowrap;
41
+ flex-shrink: 0;
42
+ min-width: 0;
43
+ line-height: 1.2;
44
+
45
+ &.active {
46
+ color: $black;
47
+ border-bottom-color: $color-primary;
48
+ }
49
+
50
+ &:hover:not(.active) {
51
+ color: $gray-darkest;
52
+ background-color: $gray-lightest;
53
+ }
54
+ }
55
+
56
+ .network-actions {
57
+ display: flex;
58
+ justify-content: flex-end;
59
+ align-items: center;
60
+ gap: 6px;
61
+ padding: 6px $space-xs;
62
+ background-color: $white;
63
+ border-bottom: 1px solid $gray-lighter;
64
+ min-height: auto;
65
+
66
+ .button {
67
+ // Override size but keep standard button styling
68
+ padding: 6px 12px !important;
69
+ font-size: 12px !important;
70
+ font-weight: $body-regular !important;
71
+ border-radius: 4px !important;
72
+ white-space: nowrap;
73
+ line-height: 1.2;
74
+
75
+ // Ensure primary styling is preserved
76
+ &.button--primary {
77
+ background-color: $color-primary !important;
78
+ color: $white !important;
79
+ border: none !important;
80
+
81
+ &:hover {
82
+ background-color: darken($color-primary, 10%) !important;
83
+ color: $white !important;
84
+ }
85
+ }
86
+
87
+ // Secondary button styling (for Edit Network)
88
+ &.button--secondary {
89
+ background-color: $white !important;
90
+ color: $color-primary !important;
91
+ border: 1px solid $color-primary !important;
92
+
93
+ &:hover {
94
+ background-color: $color-primary !important;
95
+ color: $white !important;
96
+ }
97
+ }
98
+ }
99
+ }
100
+
101
+ // Simplified table styling - less aggressive overrides
102
+ .table-container {
103
+ padding: 0 $space-sm;
104
+ background-color: $white;
105
+
106
+ table {
107
+ width: 100%;
108
+ border-collapse: collapse;
109
+ background-color: $white;
110
+ border-radius: 0;
111
+ box-shadow: none;
112
+ border: none;
113
+
114
+ thead {
115
+ tr {
116
+ border-bottom: 1px solid $gray-lighter;
117
+
118
+ th {
119
+ text-align: left;
120
+ padding: 12px 16px;
121
+ font-weight: $body-bold;
122
+ color: $gray-darkest;
123
+ background-color: $white;
124
+ border: none;
125
+ font-size: 14px;
126
+ }
127
+ }
128
+ }
129
+
130
+ tbody {
131
+ tr {
132
+ border-bottom: 1px solid $gray-lightest;
133
+ background-color: $white;
134
+
135
+ &:hover {
136
+ background-color: $gray-lightest;
137
+ }
138
+
139
+ td {
140
+ padding: 12px 16px;
141
+ background-color: inherit;
142
+ border: none;
143
+ font-size: 14px;
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
149
+
150
+ .actions {
151
+ text-align: right;
152
+ }
153
+
154
+ .action-link {
155
+ color: $color-primary;
156
+ text-decoration: none;
157
+ margin-left: 12px;
158
+ font-size: 14px;
159
+
160
+ &:hover {
161
+ text-decoration: underline;
162
+ color: $color-primary-hover;
163
+ }
164
+
165
+ &:first-child {
166
+ margin-left: 0;
167
+ }
168
+ }
169
+
170
+
171
+
172
+ .questionnaire-item {
173
+ margin-bottom: $space-xxs;
174
+
175
+ &:last-child {
176
+ margin-bottom: 0;
177
+ }
178
+ }
179
+
180
+ // Responsive adjustments for smaller screens
181
+ @media (max-width: $screen-tablet) {
182
+ .network-tabs-container {
183
+ padding: 0;
184
+ }
185
+
186
+ .network-tab-button {
187
+ padding: 3px 6px;
188
+ font-size: 11px;
189
+ }
190
+
191
+ .network-actions {
192
+ gap: 4px;
193
+ padding: 4px $space-xxs;
194
+
195
+ .button {
196
+ padding: 4px 8px !important;
197
+ font-size: 11px !important;
198
+ }
199
+ }
200
+
201
+ .table-container {
202
+ padding: 0 $space-xs;
203
+ }
204
+
205
+ .questionnaire-grid-container {
206
+ grid-template-columns: 1fr;
207
+ max-height: 250px;
208
+ }
209
+ }
210
+ }
@@ -200,4 +200,90 @@
200
200
  align-self: center;
201
201
  display: flex;
202
202
  align-items: center;
203
+ }
204
+
205
+ // Notes field styling
206
+ .notes-display-field {
207
+ cursor: pointer;
208
+ border: 1px solid #d1d5db;
209
+ border-radius: 6px;
210
+ padding: 8px;
211
+ min-height: 32px;
212
+ background-color: white;
213
+ transition: all 0.2s ease;
214
+ width: 75%;
215
+
216
+ &:hover {
217
+ background-color: #f9fafb;
218
+ border-color: #9ca3af;
219
+ }
220
+ }
221
+
222
+ .notes-content {
223
+ font-size: 14px;
224
+ color: #374151;
225
+ white-space: pre-wrap;
226
+ }
227
+
228
+ .notes-placeholder {
229
+ font-size: 14px;
230
+ color: #6b7280;
231
+ font-style: italic;
232
+ }
233
+
234
+ .notes-textarea {
235
+ width: 75%;
236
+ padding: 8px;
237
+ border: 1px solid #d1d5db;
238
+ border-radius: 6px;
239
+ font-size: 14px;
240
+ min-height: 64px;
241
+ resize: vertical;
242
+ }
243
+
244
+ // UTM tracking list styling
245
+ .prospect-utm-tracking-list {
246
+ margin-top: 1.5rem;
247
+ padding: 1.2rem 1.5rem;
248
+ background: #f9fafb;
249
+ border-radius: 10px;
250
+ box-shadow: 0 1px 3px rgba(0,0,0,0.04);
251
+ font-size: 1rem;
252
+ color: #333;
253
+ min-height: 40px;
254
+ max-height: 220px;
255
+ overflow-y: auto;
256
+ display: flex;
257
+ flex-direction: column;
258
+ gap: 0.7rem;
259
+ }
260
+
261
+ .prospect-utm-tracking-list li {
262
+ display: flex;
263
+ justify-content: space-between;
264
+ align-items: center;
265
+ gap: 1em;
266
+ list-style: none;
267
+ padding-bottom: 0.7em;
268
+ border-bottom: 1px solid #e5e7eb;
269
+ }
270
+
271
+ .prospect-utm-tracking-list li:last-child {
272
+ border-bottom: none;
273
+ }
274
+
275
+ .prospect-utm-tracking-list .entry-main {
276
+ display: flex;
277
+ flex-direction: column;
278
+ min-width: 0;
279
+ flex: 1 1 0%;
280
+ font-size: 0.95rem;
281
+ color: #333;
282
+ }
283
+
284
+ .prospect-utm-tracking-list .entry-main span,
285
+ .prospect-utm-tracking-list .entry-main strong,
286
+ .prospect-utm-tracking-list .entry-main > span:last-child {
287
+ word-break: break-word;
288
+ white-space: normal;
203
289
  }
@@ -140,9 +140,9 @@ table {
140
140
  .prospects-table--main th:nth-child(4), .prospects-table--main td:nth-child(4) { width: 120px; min-width: 120px; }
141
141
  .prospects-table--main th:nth-child(5), .prospects-table--main td:nth-child(5) { width: 220px; min-width: 220px; }
142
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; }
143
+ .prospects-table--main th:nth-child(7), .prospects-table--main td:nth-child(7) { width: 240px; min-width: 240px; }
144
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; }
145
+ .prospects-table--main th:nth-child(9), .prospects-table--main td:nth-child(9) { width: 240px; min-width: 240px; }
146
146
 
147
147
  .prospects-table--main th:last-child,
148
148
  .prospects-table--main td:last-child {
@@ -234,10 +234,12 @@ table {
234
234
  text-overflow: ellipsis;
235
235
  white-space: nowrap;
236
236
  position: relative;
237
+ height: 1.5rem;
237
238
  }
238
239
 
239
240
  .locked {
240
241
  filter: blur(3px);
242
+ height: 1.5rem;
241
243
  }
242
244
 
243
245
  .tooltip-container {
@@ -394,17 +396,6 @@ table {
394
396
  position: relative !important;
395
397
  }
396
398
 
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
399
  // Fade both tables and their contents when modal is open (robust selector)
409
400
  .prospects-table-wrapper.modal-open table,
410
401
  .prospects-table-wrapper.modal-open .prospects-table--main,
@@ -420,6 +420,54 @@ meter::-webkit-meter-optimum-value {
420
420
  }
421
421
  }
422
422
 
423
+ // Verification Page Styles
424
+ .verification-phone-number {
425
+ font-size: 1rem !important;
426
+ font-weight: 500;
427
+ color: rgba(24, 24, 24, 0.88);
428
+ margin-top: 10px;
429
+ }
430
+
431
+ .verification-form {
432
+ display: flex !important;
433
+ flex-direction: column;
434
+ align-items: center;
435
+ justify-content: center;
436
+ grid-template-columns: 1fr !important;
437
+ }
438
+
439
+ .verification-input-container {
440
+ text-align: center;
441
+ width: 100%;
442
+ display: flex;
443
+ flex-direction: column;
444
+ align-items: center;
445
+
446
+ label {
447
+ text-align: center !important;
448
+ margin-bottom: 5px;
449
+ margin-left: auto !important;
450
+ margin-right: auto !important;
451
+ display: block;
452
+ width: auto !important;
453
+ }
454
+
455
+ input {
456
+ text-align: center;
457
+ width: 300px !important;
458
+ margin-left: auto !important;
459
+ margin-right: auto !important;
460
+ }
461
+ }
462
+
463
+ .verification-resend-button {
464
+ position: static !important;
465
+ margin-top: 10px !important;
466
+ display: block;
467
+ top: auto !important;
468
+ left: auto !important;
469
+ }
470
+
423
471
  // Utilities
424
472
  .u-margin-none--bt {
425
473
  margin-bottom: 0px;