@magicfeedback/popup-sdk 1.0.0

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/dist/index.css ADDED
@@ -0,0 +1,730 @@
1
+ /* node_modules/@magicfeedback/native/dist/styles/magicfeedback-default.css */
2
+ :root {
3
+ --mf-primary: #2563eb;
4
+ --mf-primary-hover: #1d4ed8;
5
+ --mf-primary-light: #dbeafe;
6
+ --mf-text-primary: #0f172a;
7
+ --mf-text-secondary: #64748b;
8
+ --mf-text-muted: #94a3b8;
9
+ --mf-bg-primary: #ffffff;
10
+ --mf-bg-secondary: #f8fafc;
11
+ --mf-bg-hover: #f1f5f9;
12
+ --mf-border: #e2e8f0;
13
+ --mf-border-focus: #2563eb;
14
+ --mf-success: #10b981;
15
+ --mf-error: #ef4444;
16
+ --mf-warning: #f59e0b;
17
+ --mf-space-xs: 0.25rem;
18
+ --mf-space-sm: 0.5rem;
19
+ --mf-space-md: 0.75rem;
20
+ --mf-space-lg: 1rem;
21
+ --mf-space-xl: 1.5rem;
22
+ --mf-radius-sm: 0.375rem;
23
+ --mf-radius-md: 0.5rem;
24
+ --mf-radius-lg: 0.75rem;
25
+ --mf-radius-full: 9999px;
26
+ --mf-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
27
+ --mf-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
28
+ --mf-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
29
+ --mf-shadow-focus: 0 0 0 3px rgba(37, 99, 235, 0.1);
30
+ --mf-font-sans:
31
+ -apple-system,
32
+ BlinkMacSystemFont,
33
+ "Segoe UI",
34
+ "Roboto",
35
+ "Helvetica",
36
+ "Arial",
37
+ sans-serif;
38
+ --mf-font-size-sm: 0.875rem;
39
+ --mf-font-size-base: 1rem;
40
+ --mf-font-size-lg: 1.125rem;
41
+ --mf-font-size-xl: 1.25rem;
42
+ --mf-line-height: 1.6;
43
+ --mf-transition: all 0.2s ease;
44
+ --mf-transition-fast: all 0.15s ease;
45
+ }
46
+ @keyframes mf-fade-in {
47
+ from {
48
+ opacity: 0;
49
+ transform: translateY(8px);
50
+ }
51
+ to {
52
+ opacity: 1;
53
+ transform: translateY(0);
54
+ }
55
+ }
56
+ @keyframes mf-slide-in {
57
+ from {
58
+ opacity: 0;
59
+ transform: translateX(-16px);
60
+ }
61
+ to {
62
+ opacity: 1;
63
+ transform: translateX(0);
64
+ }
65
+ }
66
+ @keyframes mf-scale-in {
67
+ from {
68
+ opacity: 0;
69
+ transform: scale(0.95);
70
+ }
71
+ to {
72
+ opacity: 1;
73
+ transform: scale(1);
74
+ }
75
+ }
76
+ @keyframes mf-pulse {
77
+ 0%, 100% {
78
+ opacity: 1;
79
+ }
80
+ 50% {
81
+ opacity: 0.8;
82
+ }
83
+ }
84
+ .magicfeedback-container {
85
+ width: 100%;
86
+ font-family: var(--mf-font-sans);
87
+ color: var(--mf-text-primary);
88
+ line-height: var(--mf-line-height);
89
+ animation: mf-fade-in 0.4s ease-out;
90
+ }
91
+ .magicfeedback-success-message,
92
+ .magicfeedback-info-message,
93
+ .magicfeedback-start-message {
94
+ padding: var(--mf-space-lg);
95
+ margin: var(--mf-space-lg) 0;
96
+ border-radius: var(--mf-radius-lg);
97
+ background: var(--mf-bg-secondary);
98
+ animation: mf-scale-in 0.3s ease-out;
99
+ }
100
+ .magicfeedback-success-message p,
101
+ .magicfeedback-info-message p,
102
+ .magicfeedback-start-message p {
103
+ font-size: var(--mf-font-size-base);
104
+ color: var(--mf-text-secondary);
105
+ margin: 0;
106
+ line-height: var(--mf-line-height);
107
+ }
108
+ .magicfeedback-success-message img,
109
+ .magicfeedback-info-message img,
110
+ .magicfeedback-start-message img {
111
+ max-width: 100%;
112
+ height: auto;
113
+ margin: var(--mf-space-lg) auto;
114
+ display: block;
115
+ border-radius: var(--mf-radius-md);
116
+ }
117
+ .magicfeedback-image {
118
+ max-height: 400px;
119
+ height: auto;
120
+ max-width: 100%;
121
+ margin: var(--mf-space-lg) auto;
122
+ display: block;
123
+ border-radius: var(--mf-radius-md);
124
+ }
125
+ .magicfeedback-form {
126
+ display: flex;
127
+ flex-direction: column;
128
+ gap: var(--mf-space-lg);
129
+ width: 100%;
130
+ }
131
+ .magicfeedback-questions {
132
+ display: flex;
133
+ flex-direction: column;
134
+ gap: var(--mf-space-xl);
135
+ width: 100%;
136
+ }
137
+ .magicfeedback-div {
138
+ display: flex;
139
+ flex-direction: column;
140
+ gap: var(--mf-space-sm);
141
+ width: 100%;
142
+ animation: mf-slide-in 0.3s ease-out;
143
+ }
144
+ .magicfeedback-label {
145
+ font-size: var(--mf-font-size-lg);
146
+ font-weight: 500;
147
+ color: var(--mf-text-primary);
148
+ line-height: var(--mf-line-height);
149
+ margin: 0 0 var(--mf-space-md) 0;
150
+ text-align: left;
151
+ }
152
+ h2 {
153
+ font-size: var(--mf-font-size-xl);
154
+ font-weight: 600;
155
+ color: var(--mf-text-primary);
156
+ margin: 0 0 var(--mf-space-xl) 0;
157
+ text-align: center;
158
+ letter-spacing: -0.01em;
159
+ }
160
+ p {
161
+ margin: 0;
162
+ font-size: var(--mf-font-size-sm);
163
+ color: var(--mf-text-secondary);
164
+ }
165
+ input[type=date],
166
+ input[type=text],
167
+ input[type=number],
168
+ input[type=email],
169
+ input[type=password],
170
+ textarea,
171
+ select {
172
+ width: auto;
173
+ padding: var(--mf-space-sm) var(--mf-space-md);
174
+ font-size: var(--mf-font-size-base);
175
+ font-family: inherit;
176
+ color: var(--mf-text-primary);
177
+ background-color: var(--mf-bg-primary);
178
+ border: 1.5px solid var(--mf-border);
179
+ border-radius: var(--mf-radius-md);
180
+ outline: none;
181
+ transition: var(--mf-transition);
182
+ -webkit-appearance: none;
183
+ -moz-appearance: none;
184
+ appearance: none;
185
+ }
186
+ textarea {
187
+ min-height: 100px;
188
+ resize: vertical;
189
+ }
190
+ input:focus,
191
+ select:focus,
192
+ textarea:focus {
193
+ border-color: var(--mf-border-focus);
194
+ box-shadow: var(--mf-shadow-focus);
195
+ }
196
+ input::placeholder,
197
+ textarea::placeholder {
198
+ color: var(--mf-text-muted);
199
+ }
200
+ input::-webkit-outer-spin-button,
201
+ input::-webkit-inner-spin-button {
202
+ -webkit-appearance: none;
203
+ margin: 0;
204
+ }
205
+ input[type=number] {
206
+ -moz-appearance: textfield;
207
+ }
208
+ select {
209
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
210
+ background-repeat: no-repeat;
211
+ background-position: right var(--mf-space-md) center;
212
+ padding-right: var(--mf-space-xl);
213
+ }
214
+ input.error,
215
+ select.error,
216
+ textarea.error {
217
+ border-color: var(--mf-error);
218
+ }
219
+ .magicfeedback-error {
220
+ margin-top: var(--mf-space-xs);
221
+ font-size: var(--mf-font-size-sm);
222
+ color: var(--mf-error);
223
+ }
224
+ .magicfeedback-checkbox,
225
+ .magicfeedback-radio {
226
+ display: flex;
227
+ flex-direction: column;
228
+ gap: var(--mf-space-sm);
229
+ width: 100%;
230
+ }
231
+ .magicfeedback-checkbox-container,
232
+ .magicfeedback-radio-container {
233
+ display: flex;
234
+ align-items: center;
235
+ gap: var(--mf-space-sm);
236
+ padding: var(--mf-space-md);
237
+ background-color: var(--mf-bg-primary);
238
+ border: 1.5px solid var(--mf-border);
239
+ border-radius: var(--mf-radius-md);
240
+ cursor: pointer;
241
+ transition: var(--mf-transition-fast);
242
+ }
243
+ .magicfeedback-checkbox-container:hover,
244
+ .magicfeedback-radio-container:hover {
245
+ background-color: var(--mf-bg-hover);
246
+ border-color: var(--mf-primary);
247
+ }
248
+ .magicfeedback-checkbox-container:has(input:checked),
249
+ .magicfeedback-radio-container:has(input:checked) {
250
+ background-color: var(--mf-primary-light);
251
+ border-color: var(--mf-primary);
252
+ }
253
+ .magicfeedback-checkbox input[type=checkbox],
254
+ .magicfeedback-radio-container input[type=radio] {
255
+ width: 18px;
256
+ height: 18px;
257
+ margin: 0;
258
+ cursor: pointer;
259
+ flex-shrink: 0;
260
+ accent-color: var(--mf-primary);
261
+ }
262
+ .magicfeedback-checkbox label,
263
+ .magicfeedback-radio-container label {
264
+ font-size: var(--mf-font-size-base);
265
+ text-align: left;
266
+ color: var(--mf-text-primary);
267
+ cursor: pointer;
268
+ margin: 0;
269
+ flex: 1;
270
+ }
271
+ .magicfeedback-boolean-container {
272
+ display: flex;
273
+ gap: var(--mf-space-md);
274
+ width: 100%;
275
+ }
276
+ .magicfeedback-boolean-option {
277
+ flex: 1;
278
+ position: relative;
279
+ }
280
+ .magicfeedback-boolean-option input[type=radio] {
281
+ position: absolute;
282
+ opacity: 0;
283
+ width: 0;
284
+ height: 0;
285
+ }
286
+ .magicfeedback-boolean-option label {
287
+ display: flex;
288
+ align-items: center;
289
+ justify-content: center;
290
+ padding: var(--mf-space-md);
291
+ font-size: var(--mf-font-size-base);
292
+ font-weight: 500;
293
+ color: var(--mf-text-secondary);
294
+ background-color: var(--mf-bg-primary);
295
+ border: 1.5px solid var(--mf-border);
296
+ border-radius: var(--mf-radius-md);
297
+ cursor: pointer;
298
+ transition: var(--mf-transition-fast);
299
+ margin: 0;
300
+ }
301
+ .magicfeedback-boolean-option label:hover {
302
+ background-color: var(--mf-bg-hover);
303
+ border-color: var(--mf-primary);
304
+ }
305
+ .magicfeedback-boolean-option input[type=radio]:checked + label {
306
+ color: var(--mf-primary);
307
+ background-color: var(--mf-primary-light);
308
+ border-color: var(--mf-primary);
309
+ font-weight: 600;
310
+ }
311
+ .magicfeedback-rating,
312
+ .magicfeedback-rating-number,
313
+ .magicfeedback-rating-star {
314
+ width: 100%;
315
+ }
316
+ .magicfeedback-rating-container,
317
+ .magicfeedback-rating-number-container,
318
+ .magicfeedback-rating-star-container {
319
+ display: flex;
320
+ flex-wrap: wrap;
321
+ gap: var(--mf-space-sm);
322
+ justify-content: center;
323
+ align-items: center;
324
+ padding: var(--mf-space-md) 0;
325
+ list-style: none;
326
+ margin: 0;
327
+ }
328
+ .magicfeedback-rating-placeholder,
329
+ .magicfeedback-rating-placeholder-value,
330
+ .magicfeedback-rating-number-top-placeholder,
331
+ .magicfeedback-rating-number-bottom-placeholder {
332
+ width: 100%;
333
+ text-align: center;
334
+ font-size: var(--mf-font-size-sm);
335
+ color: var(--mf-text-secondary);
336
+ margin: var(--mf-space-sm) 0;
337
+ }
338
+ .magicfeedback-rating-option-label-container input[type=radio] {
339
+ position: absolute;
340
+ opacity: 0;
341
+ width: 0;
342
+ height: 0;
343
+ }
344
+ .magicfeedback-rating-option-label-container img {
345
+ width: 56px;
346
+ height: 56px;
347
+ cursor: pointer;
348
+ transition: var(--mf-transition-fast);
349
+ border-radius: var(--mf-radius-full);
350
+ border: 2px solid transparent;
351
+ }
352
+ .magicfeedback-rating-option-label-container img:hover {
353
+ transform: scale(1.1);
354
+ border-color: var(--mf-primary);
355
+ }
356
+ .magicfeedback-rating-option-label-container input[type=radio]:checked + img {
357
+ border-color: var(--mf-primary);
358
+ box-shadow: 0 0 0 3px var(--mf-primary-light);
359
+ }
360
+ .magicfeedback-rating-option-label-container label {
361
+ display: block;
362
+ text-align: center;
363
+ font-size: var(--mf-font-size-sm);
364
+ color: var(--mf-text-secondary);
365
+ margin-top: var(--mf-space-xs);
366
+ cursor: pointer;
367
+ }
368
+ .magicfeedback-rating-number-option {
369
+ flex: 1;
370
+ min-width: 60px;
371
+ }
372
+ .magicfeedback-rating-number-option-label-container {
373
+ position: relative;
374
+ }
375
+ .magicfeedback-rating-number-option-label-container input[type=radio] {
376
+ position: absolute;
377
+ opacity: 0;
378
+ width: 0;
379
+ height: 0;
380
+ }
381
+ .magicfeedback-rating-number-option-label-container label {
382
+ display: flex;
383
+ align-items: center;
384
+ justify-content: center;
385
+ min-height: 48px;
386
+ padding: var(--mf-space-sm);
387
+ font-size: var(--mf-font-size-base);
388
+ font-weight: 500;
389
+ color: var(--mf-text-secondary);
390
+ background-color: var(--mf-bg-primary);
391
+ border: 1.5px solid var(--mf-border);
392
+ border-radius: var(--mf-radius-md);
393
+ cursor: pointer;
394
+ transition: var(--mf-transition-fast);
395
+ margin: 0;
396
+ }
397
+ .magicfeedback-rating-number-option-label-container label:hover {
398
+ background-color: var(--mf-bg-hover);
399
+ border-color: var(--mf-primary);
400
+ transform: translateY(-2px);
401
+ box-shadow: var(--mf-shadow-sm);
402
+ }
403
+ .magicfeedback-rating-number-option-label-container input[type=radio]:checked + label {
404
+ color: var(--mf-primary);
405
+ background-color: var(--mf-primary-light);
406
+ border-color: var(--mf-primary);
407
+ font-weight: 600;
408
+ }
409
+ .magicfeedback-rating-star-container {
410
+ justify-content: center;
411
+ }
412
+ .magicfeedback-rating-star-option:not(:checked) > .rating__star {
413
+ font-size: 40px;
414
+ color: var(--mf-border);
415
+ cursor: pointer;
416
+ margin: 0 var(--mf-space-xs);
417
+ transition: var(--mf-transition-fast);
418
+ }
419
+ .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover,
420
+ .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover ~ span {
421
+ color: #fbbf24;
422
+ transform: scale(1.1);
423
+ }
424
+ .magicfeedback-rating-star-selected {
425
+ color: #fbbf24 !important;
426
+ }
427
+ .magicfeedback-multiple-choice-image-option {
428
+ display: flex;
429
+ border-radius: var(--mf-radius-md);
430
+ overflow: hidden;
431
+ transition: var(--mf-transition-fast);
432
+ }
433
+ .magicfeedback-image-option-label-container {
434
+ cursor: pointer;
435
+ border-radius: var(--mf-radius-md);
436
+ overflow: hidden;
437
+ transition: var(--mf-transition-fast);
438
+ }
439
+ .magicfeedback-image-option-label-container input[type=radio],
440
+ .magicfeedback-image-option-label-container input[type=checkbox] {
441
+ position: absolute;
442
+ opacity: 0;
443
+ width: 0;
444
+ height: 0;
445
+ }
446
+ .magicfeedback-image-option-label-container img {
447
+ width: 100%;
448
+ height: auto;
449
+ display: block;
450
+ border: 2px solid var(--mf-border);
451
+ border-radius: var(--mf-radius-md);
452
+ transition: var(--mf-transition-fast);
453
+ }
454
+ .magicfeedback-image-option-label-container:hover img {
455
+ border-color: var(--mf-primary);
456
+ box-shadow: var(--mf-shadow-md);
457
+ }
458
+ .magicfeedback-image-option-label-container input:checked + img {
459
+ border-color: var(--mf-primary);
460
+ box-shadow: 0 0 0 3px var(--mf-primary-light);
461
+ }
462
+ .magicfeedback-multi-question-matrix-container {
463
+ width: 100%;
464
+ overflow-x: auto;
465
+ border-radius: var(--mf-radius-md);
466
+ }
467
+ .magicfeedback-multi-question-matrix-table {
468
+ width: 100%;
469
+ border-collapse: separate;
470
+ border-spacing: 0 var(--mf-space-xs);
471
+ }
472
+ .magicfeedback-multi-question-matrix-table th {
473
+ padding: var(--mf-space-md);
474
+ text-align: center;
475
+ font-size: var(--mf-font-size-sm);
476
+ font-weight: 500;
477
+ color: var(--mf-text-secondary);
478
+ }
479
+ .magicfeedback-multi-question-matrix-row-tr {
480
+ background-color: var(--mf-bg-primary);
481
+ border-radius: var(--mf-radius-md);
482
+ transition: var(--mf-transition-fast);
483
+ }
484
+ .magicfeedback-multi-question-matrix-row-tr:nth-child(even) {
485
+ background-color: var(--mf-bg-secondary);
486
+ }
487
+ .magicfeedback-multi-question-matrix-row-tr:hover {
488
+ background-color: var(--mf-bg-hover);
489
+ box-shadow: var(--mf-shadow-sm);
490
+ }
491
+ .magicfeedback-multi-question-matrix-table td {
492
+ padding: var(--mf-space-md);
493
+ text-align: center;
494
+ }
495
+ .magicfeedback-multi-question-matrix-row-label {
496
+ text-align: left;
497
+ font-size: var(--mf-font-size-base);
498
+ color: var(--mf-text-primary);
499
+ }
500
+ .magicfeedback-multi-question-matrix-table input[type=radio] {
501
+ width: 20px;
502
+ height: 20px;
503
+ cursor: pointer;
504
+ accent-color: var(--mf-primary);
505
+ }
506
+ .magicfeedback-priority-list-item {
507
+ display: flex;
508
+ align-items: center;
509
+ justify-content: space-between;
510
+ padding: var(--mf-space-md);
511
+ margin: var(--mf-space-sm) 0;
512
+ background-color: var(--mf-bg-primary);
513
+ border: 1.5px solid var(--mf-border);
514
+ border-radius: var(--mf-radius-md);
515
+ transition: var(--mf-transition-fast);
516
+ }
517
+ .magicfeedback-priority-list-item:hover {
518
+ box-shadow: var(--mf-shadow-sm);
519
+ border-color: var(--mf-primary);
520
+ }
521
+ .magicfeedback-priority-list-item-label {
522
+ flex: 1;
523
+ font-size: var(--mf-font-size-base);
524
+ text-align: left;
525
+ color: var(--mf-text-primary);
526
+ margin: 0;
527
+ }
528
+ .magicfeedback-priority-list-arrow-up,
529
+ .magicfeedback-priority-list-arrow-down {
530
+ padding: var(--mf-space-xs);
531
+ font-size: var(--mf-font-size-lg);
532
+ color: var(--mf-text-secondary);
533
+ cursor: pointer;
534
+ transition: var(--mf-transition-fast);
535
+ user-select: none;
536
+ }
537
+ .magicfeedback-priority-list-arrow-up:hover,
538
+ .magicfeedback-priority-list-arrow-down:hover {
539
+ color: var(--mf-primary);
540
+ transform: scale(1.2);
541
+ }
542
+ .magicfeedback-point-system-item {
543
+ display: flex;
544
+ align-items: center;
545
+ justify-content: space-between;
546
+ padding: var(--mf-space-md);
547
+ margin: var(--mf-space-sm) 0;
548
+ background-color: var(--mf-bg-primary);
549
+ border: 1.5px solid var(--mf-border);
550
+ border-radius: var(--mf-radius-md);
551
+ min-height: 60px;
552
+ }
553
+ .magicfeedback-point-system-item label {
554
+ flex: 1;
555
+ font-size: var(--mf-font-size-base);
556
+ color: var(--mf-text-primary);
557
+ margin: 0;
558
+ }
559
+ .magicfeedback-point-system-input-container {
560
+ display: flex;
561
+ align-items: center;
562
+ gap: var(--mf-space-sm);
563
+ }
564
+ .magicfeedback-point-system-item input {
565
+ width: 80px;
566
+ min-width: 80px;
567
+ padding: var(--mf-space-sm);
568
+ text-align: center;
569
+ font-size: var(--mf-font-size-base);
570
+ border: 1.5px solid var(--mf-border);
571
+ border-radius: var(--mf-radius-md);
572
+ margin: 0;
573
+ }
574
+ .magicfeedback-point-system-total {
575
+ display: flex;
576
+ justify-content: flex-end;
577
+ margin-top: var(--mf-space-md);
578
+ font-size: var(--mf-font-size-base);
579
+ font-weight: 600;
580
+ color: var(--mf-text-primary);
581
+ }
582
+ .magicfeedback-consent-container {
583
+ display: flex;
584
+ align-items: flex-start;
585
+ gap: var(--mf-space-sm);
586
+ padding: var(--mf-space-md);
587
+ background-color: var(--mf-bg-secondary);
588
+ border-radius: var(--mf-radius-md);
589
+ margin: var(--mf-space-md) 0;
590
+ }
591
+ .magicfeedback-consent-container input[type=checkbox] {
592
+ margin-top: 2px;
593
+ flex-shrink: 0;
594
+ accent-color: var(--mf-primary);
595
+ }
596
+ .magicfeedback-consent-container label {
597
+ flex: 1;
598
+ font-size: var(--mf-font-size-sm);
599
+ text-align: left;
600
+ color: var(--mf-text-secondary);
601
+ line-height: var(--mf-line-height);
602
+ cursor: pointer;
603
+ }
604
+ .magicfeedback-action-container {
605
+ display: flex;
606
+ align-items: center;
607
+ justify-content: space-between;
608
+ gap: var(--mf-space-md);
609
+ margin-top: var(--mf-space-xl);
610
+ padding-top: var(--mf-space-lg);
611
+ border-top: 1px solid var(--mf-border);
612
+ }
613
+ .magicfeedback-submit {
614
+ padding: var(--mf-space-sm) var(--mf-space-xl);
615
+ font-size: var(--mf-font-size-base);
616
+ font-weight: 500;
617
+ color: white;
618
+ background-color: var(--mf-primary);
619
+ border: none;
620
+ border-radius: var(--mf-radius-md);
621
+ cursor: pointer;
622
+ transition: var(--mf-transition-fast);
623
+ box-shadow: var(--mf-shadow-sm);
624
+ }
625
+ .magicfeedback-submit:hover {
626
+ background-color: var(--mf-primary-hover);
627
+ box-shadow: var(--mf-shadow-md);
628
+ transform: translateY(-1px);
629
+ }
630
+ .magicfeedback-submit:active {
631
+ transform: translateY(0);
632
+ box-shadow: var(--mf-shadow-sm);
633
+ }
634
+ .magicfeedback-submit:disabled {
635
+ opacity: 0.5;
636
+ cursor: not-allowed;
637
+ transform: none;
638
+ }
639
+ .magicfeedback-back {
640
+ padding: var(--mf-space-sm) var(--mf-space-md);
641
+ font-size: var(--mf-font-size-base);
642
+ font-weight: 500;
643
+ color: var(--mf-text-secondary);
644
+ background-color: transparent;
645
+ border: none;
646
+ cursor: pointer;
647
+ transition: var(--mf-transition-fast);
648
+ }
649
+ .magicfeedback-back:hover {
650
+ color: var(--mf-primary);
651
+ }
652
+ .magicfeedback-skip-container {
653
+ display: flex;
654
+ align-items: center;
655
+ gap: var(--mf-space-xs);
656
+ padding: 0;
657
+ margin: 0;
658
+ font-size: var(--mf-font-size-sm);
659
+ color: var(--mf-text-muted);
660
+ background: transparent;
661
+ border: none;
662
+ cursor: pointer;
663
+ transition: var(--mf-transition-fast);
664
+ }
665
+ .magicfeedback-skip-container:hover {
666
+ color: var(--mf-primary);
667
+ }
668
+ .magicfeedback-skip-container input[type=checkbox] {
669
+ margin: 0;
670
+ cursor: pointer;
671
+ accent-color: var(--mf-primary);
672
+ }
673
+ .magicfeedback-counter {
674
+ display: flex;
675
+ justify-content: flex-end;
676
+ margin-top: var(--mf-space-md);
677
+ font-size: var(--mf-font-size-sm);
678
+ color: var(--mf-text-muted);
679
+ }
680
+ @media (max-width: 768px) {
681
+ :root {
682
+ --mf-space-lg: 1.25rem;
683
+ --mf-space-xl: 1.5rem;
684
+ }
685
+ .magicfeedback-label {
686
+ font-size: var(--mf-font-size-base);
687
+ }
688
+ .magicfeedback-boolean-container {
689
+ flex-direction: column;
690
+ }
691
+ .magicfeedback-rating-number-container {
692
+ justify-content: flex-start;
693
+ }
694
+ .magicfeedback-rating-number-option {
695
+ min-width: calc(20% - var(--mf-space-sm));
696
+ }
697
+ .magicfeedback-action-container {
698
+ flex-direction: column-reverse;
699
+ }
700
+ .magicfeedback-submit,
701
+ .magicfeedback-back {
702
+ width: 100%;
703
+ text-align: center;
704
+ }
705
+ }
706
+ @media (prefers-reduced-motion: reduce) {
707
+ *,
708
+ *::before,
709
+ *::after {
710
+ animation-duration: 0.01ms !important;
711
+ animation-iteration-count: 1 !important;
712
+ transition-duration: 0.01ms !important;
713
+ }
714
+ }
715
+ *:focus-visible {
716
+ outline: 2px solid var(--mf-primary);
717
+ outline-offset: 2px;
718
+ }
719
+ .magicfeedback-visually-hidden {
720
+ position: absolute;
721
+ width: 1px;
722
+ height: 1px;
723
+ padding: 0;
724
+ margin: -1px;
725
+ overflow: hidden;
726
+ clip: rect(0, 0, 0, 0);
727
+ white-space: nowrap;
728
+ border-width: 0;
729
+ }
730
+ /*# sourceMappingURL=index.css.map */