pushfeedback 0.1.69 → 0.1.71
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/cjs/{feedback-button_2.cjs.entry.js → canvas-editor_3.cjs.entry.js} +883 -718
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pushfeedback.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/canvas-editor/canvas-editor.css +404 -0
- package/dist/collection/components/canvas-editor/canvas-editor.js +1282 -0
- package/dist/collection/components/feedback-button/feedback-button.js +220 -0
- package/dist/collection/components/feedback-modal/feedback-modal.css +2 -458
- package/dist/collection/components/feedback-modal/feedback-modal.js +247 -782
- package/dist/components/canvas-editor.d.ts +11 -0
- package/dist/components/canvas-editor.js +6 -0
- package/dist/components/canvas-editor2.js +917 -0
- package/dist/components/feedback-button.js +40 -1
- package/dist/components/feedback-modal2.js +68 -784
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/esm/{feedback-button_2.entry.js → canvas-editor_3.entry.js} +883 -719
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pushfeedback.js +1 -1
- package/dist/pushfeedback/p-2c39091c.entry.js +1 -0
- package/dist/pushfeedback/pushfeedback.esm.js +1 -1
- package/dist/types/components/canvas-editor/canvas-editor.d.ts +108 -0
- package/dist/types/components/feedback-button/feedback-button.d.ts +11 -0
- package/dist/types/components/feedback-modal/feedback-modal.d.ts +22 -79
- package/dist/types/components.d.ts +102 -0
- package/package.json +3 -4
- package/dist/pushfeedback/p-e7f48090.entry.js +0 -1
|
@@ -23,6 +23,17 @@ export class FeedbackButton {
|
|
|
23
23
|
this.canvasEditorTitle = 'Edit screenshot';
|
|
24
24
|
this.canvasEditorCancelText = 'Cancel';
|
|
25
25
|
this.canvasEditorSaveText = 'Save';
|
|
26
|
+
this.editTextButtonText = 'Edit Text';
|
|
27
|
+
this.sizeLabelText = 'Size:';
|
|
28
|
+
this.borderLabelText = 'Border:';
|
|
29
|
+
this.editTextPromptText = 'Edit text:';
|
|
30
|
+
this.screenshotErrorGeneral = 'Failed to capture screenshot.';
|
|
31
|
+
this.screenshotErrorPermission = 'Permission denied. Please allow screen sharing to take screenshots.';
|
|
32
|
+
this.screenshotErrorNotSupported = 'Screen capture is not supported in this browser.';
|
|
33
|
+
this.screenshotErrorNotFound = 'No screen sources available for capture.';
|
|
34
|
+
this.screenshotErrorCancelled = 'Screenshot capture was cancelled.';
|
|
35
|
+
this.screenshotErrorBrowserNotSupported = 'Your browser does not support screen capture. Please use a browser like Chrome, Firefox, or Safari.';
|
|
36
|
+
this.screenshotErrorUnexpected = 'An unexpected error occurred. Please try again.';
|
|
26
37
|
this.emailPlaceholder = 'Email address (optional)';
|
|
27
38
|
this.errorMessage = 'Please try again later.';
|
|
28
39
|
this.errorMessage403 = 'The request URL does not match the one defined in PushFeedback for this project.';
|
|
@@ -86,6 +97,17 @@ export class FeedbackButton {
|
|
|
86
97
|
'canvasEditorTitle',
|
|
87
98
|
'canvasEditorCancelText',
|
|
88
99
|
'canvasEditorSaveText',
|
|
100
|
+
'editTextButtonText',
|
|
101
|
+
'sizeLabelText',
|
|
102
|
+
'borderLabelText',
|
|
103
|
+
'editTextPromptText',
|
|
104
|
+
'screenshotErrorGeneral',
|
|
105
|
+
'screenshotErrorPermission',
|
|
106
|
+
'screenshotErrorNotSupported',
|
|
107
|
+
'screenshotErrorNotFound',
|
|
108
|
+
'screenshotErrorCancelled',
|
|
109
|
+
'screenshotErrorBrowserNotSupported',
|
|
110
|
+
'screenshotErrorUnexpected',
|
|
89
111
|
'emailPlaceholder',
|
|
90
112
|
'errorMessage',
|
|
91
113
|
'errorMessage403',
|
|
@@ -586,6 +608,204 @@ export class FeedbackButton {
|
|
|
586
608
|
"reflect": false,
|
|
587
609
|
"defaultValue": "'Save'"
|
|
588
610
|
},
|
|
611
|
+
"editTextButtonText": {
|
|
612
|
+
"type": "string",
|
|
613
|
+
"mutable": false,
|
|
614
|
+
"complexType": {
|
|
615
|
+
"original": "string",
|
|
616
|
+
"resolved": "string",
|
|
617
|
+
"references": {}
|
|
618
|
+
},
|
|
619
|
+
"required": false,
|
|
620
|
+
"optional": false,
|
|
621
|
+
"docs": {
|
|
622
|
+
"tags": [],
|
|
623
|
+
"text": ""
|
|
624
|
+
},
|
|
625
|
+
"attribute": "edit-text-button-text",
|
|
626
|
+
"reflect": false,
|
|
627
|
+
"defaultValue": "'Edit Text'"
|
|
628
|
+
},
|
|
629
|
+
"sizeLabelText": {
|
|
630
|
+
"type": "string",
|
|
631
|
+
"mutable": false,
|
|
632
|
+
"complexType": {
|
|
633
|
+
"original": "string",
|
|
634
|
+
"resolved": "string",
|
|
635
|
+
"references": {}
|
|
636
|
+
},
|
|
637
|
+
"required": false,
|
|
638
|
+
"optional": false,
|
|
639
|
+
"docs": {
|
|
640
|
+
"tags": [],
|
|
641
|
+
"text": ""
|
|
642
|
+
},
|
|
643
|
+
"attribute": "size-label-text",
|
|
644
|
+
"reflect": false,
|
|
645
|
+
"defaultValue": "'Size:'"
|
|
646
|
+
},
|
|
647
|
+
"borderLabelText": {
|
|
648
|
+
"type": "string",
|
|
649
|
+
"mutable": false,
|
|
650
|
+
"complexType": {
|
|
651
|
+
"original": "string",
|
|
652
|
+
"resolved": "string",
|
|
653
|
+
"references": {}
|
|
654
|
+
},
|
|
655
|
+
"required": false,
|
|
656
|
+
"optional": false,
|
|
657
|
+
"docs": {
|
|
658
|
+
"tags": [],
|
|
659
|
+
"text": ""
|
|
660
|
+
},
|
|
661
|
+
"attribute": "border-label-text",
|
|
662
|
+
"reflect": false,
|
|
663
|
+
"defaultValue": "'Border:'"
|
|
664
|
+
},
|
|
665
|
+
"editTextPromptText": {
|
|
666
|
+
"type": "string",
|
|
667
|
+
"mutable": false,
|
|
668
|
+
"complexType": {
|
|
669
|
+
"original": "string",
|
|
670
|
+
"resolved": "string",
|
|
671
|
+
"references": {}
|
|
672
|
+
},
|
|
673
|
+
"required": false,
|
|
674
|
+
"optional": false,
|
|
675
|
+
"docs": {
|
|
676
|
+
"tags": [],
|
|
677
|
+
"text": ""
|
|
678
|
+
},
|
|
679
|
+
"attribute": "edit-text-prompt-text",
|
|
680
|
+
"reflect": false,
|
|
681
|
+
"defaultValue": "'Edit text:'"
|
|
682
|
+
},
|
|
683
|
+
"screenshotErrorGeneral": {
|
|
684
|
+
"type": "string",
|
|
685
|
+
"mutable": false,
|
|
686
|
+
"complexType": {
|
|
687
|
+
"original": "string",
|
|
688
|
+
"resolved": "string",
|
|
689
|
+
"references": {}
|
|
690
|
+
},
|
|
691
|
+
"required": false,
|
|
692
|
+
"optional": false,
|
|
693
|
+
"docs": {
|
|
694
|
+
"tags": [],
|
|
695
|
+
"text": ""
|
|
696
|
+
},
|
|
697
|
+
"attribute": "screenshot-error-general",
|
|
698
|
+
"reflect": false,
|
|
699
|
+
"defaultValue": "'Failed to capture screenshot.'"
|
|
700
|
+
},
|
|
701
|
+
"screenshotErrorPermission": {
|
|
702
|
+
"type": "string",
|
|
703
|
+
"mutable": false,
|
|
704
|
+
"complexType": {
|
|
705
|
+
"original": "string",
|
|
706
|
+
"resolved": "string",
|
|
707
|
+
"references": {}
|
|
708
|
+
},
|
|
709
|
+
"required": false,
|
|
710
|
+
"optional": false,
|
|
711
|
+
"docs": {
|
|
712
|
+
"tags": [],
|
|
713
|
+
"text": ""
|
|
714
|
+
},
|
|
715
|
+
"attribute": "screenshot-error-permission",
|
|
716
|
+
"reflect": false,
|
|
717
|
+
"defaultValue": "'Permission denied. Please allow screen sharing to take screenshots.'"
|
|
718
|
+
},
|
|
719
|
+
"screenshotErrorNotSupported": {
|
|
720
|
+
"type": "string",
|
|
721
|
+
"mutable": false,
|
|
722
|
+
"complexType": {
|
|
723
|
+
"original": "string",
|
|
724
|
+
"resolved": "string",
|
|
725
|
+
"references": {}
|
|
726
|
+
},
|
|
727
|
+
"required": false,
|
|
728
|
+
"optional": false,
|
|
729
|
+
"docs": {
|
|
730
|
+
"tags": [],
|
|
731
|
+
"text": ""
|
|
732
|
+
},
|
|
733
|
+
"attribute": "screenshot-error-not-supported",
|
|
734
|
+
"reflect": false,
|
|
735
|
+
"defaultValue": "'Screen capture is not supported in this browser.'"
|
|
736
|
+
},
|
|
737
|
+
"screenshotErrorNotFound": {
|
|
738
|
+
"type": "string",
|
|
739
|
+
"mutable": false,
|
|
740
|
+
"complexType": {
|
|
741
|
+
"original": "string",
|
|
742
|
+
"resolved": "string",
|
|
743
|
+
"references": {}
|
|
744
|
+
},
|
|
745
|
+
"required": false,
|
|
746
|
+
"optional": false,
|
|
747
|
+
"docs": {
|
|
748
|
+
"tags": [],
|
|
749
|
+
"text": ""
|
|
750
|
+
},
|
|
751
|
+
"attribute": "screenshot-error-not-found",
|
|
752
|
+
"reflect": false,
|
|
753
|
+
"defaultValue": "'No screen sources available for capture.'"
|
|
754
|
+
},
|
|
755
|
+
"screenshotErrorCancelled": {
|
|
756
|
+
"type": "string",
|
|
757
|
+
"mutable": false,
|
|
758
|
+
"complexType": {
|
|
759
|
+
"original": "string",
|
|
760
|
+
"resolved": "string",
|
|
761
|
+
"references": {}
|
|
762
|
+
},
|
|
763
|
+
"required": false,
|
|
764
|
+
"optional": false,
|
|
765
|
+
"docs": {
|
|
766
|
+
"tags": [],
|
|
767
|
+
"text": ""
|
|
768
|
+
},
|
|
769
|
+
"attribute": "screenshot-error-cancelled",
|
|
770
|
+
"reflect": false,
|
|
771
|
+
"defaultValue": "'Screenshot capture was cancelled.'"
|
|
772
|
+
},
|
|
773
|
+
"screenshotErrorBrowserNotSupported": {
|
|
774
|
+
"type": "string",
|
|
775
|
+
"mutable": false,
|
|
776
|
+
"complexType": {
|
|
777
|
+
"original": "string",
|
|
778
|
+
"resolved": "string",
|
|
779
|
+
"references": {}
|
|
780
|
+
},
|
|
781
|
+
"required": false,
|
|
782
|
+
"optional": false,
|
|
783
|
+
"docs": {
|
|
784
|
+
"tags": [],
|
|
785
|
+
"text": ""
|
|
786
|
+
},
|
|
787
|
+
"attribute": "screenshot-error-browser-not-supported",
|
|
788
|
+
"reflect": false,
|
|
789
|
+
"defaultValue": "'Your browser does not support screen capture. Please use a browser like Chrome, Firefox, or Safari.'"
|
|
790
|
+
},
|
|
791
|
+
"screenshotErrorUnexpected": {
|
|
792
|
+
"type": "string",
|
|
793
|
+
"mutable": false,
|
|
794
|
+
"complexType": {
|
|
795
|
+
"original": "string",
|
|
796
|
+
"resolved": "string",
|
|
797
|
+
"references": {}
|
|
798
|
+
},
|
|
799
|
+
"required": false,
|
|
800
|
+
"optional": false,
|
|
801
|
+
"docs": {
|
|
802
|
+
"tags": [],
|
|
803
|
+
"text": ""
|
|
804
|
+
},
|
|
805
|
+
"attribute": "screenshot-error-unexpected",
|
|
806
|
+
"reflect": false,
|
|
807
|
+
"defaultValue": "'An unexpected error occurred. Please try again.'"
|
|
808
|
+
},
|
|
589
809
|
"emailPlaceholder": {
|
|
590
810
|
"type": "string",
|
|
591
811
|
"mutable": false,
|
|
@@ -352,378 +352,6 @@
|
|
|
352
352
|
margin-right: 8px;
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
-
/* Canvas Editor Styles - Consistent with Widget Design */
|
|
356
|
-
.canvas-editor-overlay {
|
|
357
|
-
position: fixed;
|
|
358
|
-
top: 0;
|
|
359
|
-
left: 0;
|
|
360
|
-
right: 0;
|
|
361
|
-
bottom: 0;
|
|
362
|
-
background-color: var(--feedback-modal-screenshot-bg-color);
|
|
363
|
-
z-index: 10001;
|
|
364
|
-
display: flex;
|
|
365
|
-
align-items: center;
|
|
366
|
-
justify-content: center;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.canvas-editor-modal {
|
|
370
|
-
width: 95vw;
|
|
371
|
-
height: 98vh;
|
|
372
|
-
background: var(--feedback-canvas-editor-bg-color);
|
|
373
|
-
border-radius: var(--feedback-modal-content-border-radius);
|
|
374
|
-
display: flex;
|
|
375
|
-
flex-direction: column;
|
|
376
|
-
overflow: hidden;
|
|
377
|
-
box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .30), 0px 2px 6px 2px rgba(60, 64, 67, .15);
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
.canvas-editor-header {
|
|
381
|
-
background: var(--feedback-canvas-editor-header-bg-color);
|
|
382
|
-
border-bottom: 1px solid var(--feedback-canvas-editor-border-color);
|
|
383
|
-
padding: 12px 16px;
|
|
384
|
-
display: flex;
|
|
385
|
-
flex-direction: column;
|
|
386
|
-
gap: 12px;
|
|
387
|
-
flex-shrink: 0;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.canvas-editor-title h3 {
|
|
391
|
-
margin: 0;
|
|
392
|
-
font-size: var(--feedback-modal-header-font-size);
|
|
393
|
-
font-weight: var(--feedback-modal-header-font-weight);
|
|
394
|
-
color: var(--feedback-modal-header-text-color);
|
|
395
|
-
font-family: var(--feedback-modal-header-font-family);
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.canvas-editor-toolbar {
|
|
399
|
-
display: flex;
|
|
400
|
-
align-items: center;
|
|
401
|
-
gap: 20px;
|
|
402
|
-
flex-wrap: wrap;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
.toolbar-section {
|
|
406
|
-
display: flex;
|
|
407
|
-
align-items: center;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
.toolbar-section:last-child {
|
|
411
|
-
margin-left: auto;
|
|
412
|
-
gap: 10px;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.tool-group {
|
|
416
|
-
display: flex;
|
|
417
|
-
align-items: center;
|
|
418
|
-
background: var(--feedback-canvas-editor-tool-bg-color);
|
|
419
|
-
border: 1px solid var(--feedback-canvas-editor-border-color);
|
|
420
|
-
border-radius: var(--feedback-modal-button-border-radius);
|
|
421
|
-
padding: 4px;
|
|
422
|
-
box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .10);
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.tool-btn {
|
|
426
|
-
display: flex;
|
|
427
|
-
align-items: center;
|
|
428
|
-
justify-content: center;
|
|
429
|
-
width: 36px;
|
|
430
|
-
height: 36px;
|
|
431
|
-
border: none;
|
|
432
|
-
background: none;
|
|
433
|
-
border-radius: var(--feedback-modal-button-border-radius);
|
|
434
|
-
cursor: pointer;
|
|
435
|
-
color: var(--feedback-canvas-editor-tool-text-color);
|
|
436
|
-
transition: all 0.2s ease;
|
|
437
|
-
position: relative;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.tool-btn:hover {
|
|
441
|
-
background: var(--feedback-canvas-editor-tool-bg-hover);
|
|
442
|
-
color: var(--feedback-modal-button-text-color-active);
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.tool-btn.active {
|
|
446
|
-
background: var(--feedback-canvas-editor-tool-bg-active);
|
|
447
|
-
color: var(--feedback-canvas-editor-tool-text-active);
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
.tool-btn:disabled {
|
|
451
|
-
opacity: 0.4;
|
|
452
|
-
cursor: not-allowed;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
.tool-btn:disabled:hover {
|
|
456
|
-
background: none;
|
|
457
|
-
color: var(--feedback-canvas-editor-tool-text-color);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
.toolbar-divider {
|
|
461
|
-
width: 1px;
|
|
462
|
-
height: 20px;
|
|
463
|
-
background: var(--feedback-canvas-editor-divider-color);
|
|
464
|
-
margin: 0 6px;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.undo-btn {
|
|
468
|
-
background: var(--feedback-canvas-editor-tool-bg-color) !important;
|
|
469
|
-
border: 1px solid var(--feedback-canvas-editor-border-color) !important;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
.undo-btn:hover:not(:disabled) {
|
|
473
|
-
background: var(--feedback-canvas-editor-tool-bg-hover) !important;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
.color-palette {
|
|
477
|
-
display: flex;
|
|
478
|
-
align-items: center;
|
|
479
|
-
gap: 6px;
|
|
480
|
-
background: var(--feedback-canvas-editor-tool-bg-color);
|
|
481
|
-
border: 1px solid var(--feedback-canvas-editor-border-color);
|
|
482
|
-
border-radius: var(--feedback-modal-button-border-radius);
|
|
483
|
-
padding: 6px;
|
|
484
|
-
box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .10);
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
.color-slot-wrapper {
|
|
488
|
-
position: relative;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
.color-btn {
|
|
492
|
-
width: 28px;
|
|
493
|
-
height: 28px;
|
|
494
|
-
border-radius: var(--feedback-modal-button-border-radius);
|
|
495
|
-
border: 2px solid transparent;
|
|
496
|
-
cursor: pointer;
|
|
497
|
-
transition: all 0.2s ease;
|
|
498
|
-
position: relative;
|
|
499
|
-
box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .15);
|
|
500
|
-
display: flex;
|
|
501
|
-
align-items: center;
|
|
502
|
-
justify-content: center;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
.color-btn:hover {
|
|
506
|
-
transform: scale(1.05);
|
|
507
|
-
box-shadow: 0px 2px 4px 0px rgba(60, 64, 67, .25);
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
.color-btn.active {
|
|
511
|
-
border-color: var(--feedback-primary-color);
|
|
512
|
-
transform: scale(1.1);
|
|
513
|
-
box-shadow: 0 0 0 2px rgba(0, 112, 244, 0.2);
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
.color-btn.editing {
|
|
517
|
-
border-color: var(--feedback-highlight-color);
|
|
518
|
-
box-shadow: 0 0 0 2px rgba(255, 180, 34, 0.3);
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
.color-btn.editing:hover {
|
|
522
|
-
border-color: var(--feedback-highlight-color);
|
|
523
|
-
box-shadow: 0 0 0 2px rgba(255, 180, 34, 0.4);
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
.color-picker-dropdown {
|
|
527
|
-
position: absolute;
|
|
528
|
-
top: 100%;
|
|
529
|
-
left: 50%;
|
|
530
|
-
transform: translateX(-50%);
|
|
531
|
-
margin-top: 6px;
|
|
532
|
-
background: var(--feedback-canvas-editor-tool-bg-color);
|
|
533
|
-
border: 1px solid var(--feedback-canvas-editor-border-color);
|
|
534
|
-
border-radius: var(--feedback-modal-button-border-radius);
|
|
535
|
-
padding: 6px;
|
|
536
|
-
box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .30), 0px 2px 6px 2px rgba(60, 64, 67, .15);
|
|
537
|
-
z-index: 1000;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
.color-picker-dropdown input[type="color"] {
|
|
541
|
-
width: 50px;
|
|
542
|
-
height: 32px;
|
|
543
|
-
border: none;
|
|
544
|
-
border-radius: var(--feedback-modal-button-border-radius);
|
|
545
|
-
cursor: pointer;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
.size-control {
|
|
549
|
-
display: flex;
|
|
550
|
-
align-items: center;
|
|
551
|
-
gap: 10px;
|
|
552
|
-
background: var(--feedback-canvas-editor-tool-bg-color);
|
|
553
|
-
border: 1px solid var(--feedback-canvas-editor-border-color);
|
|
554
|
-
border-radius: var(--feedback-modal-button-border-radius);
|
|
555
|
-
padding: 6px 12px;
|
|
556
|
-
box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .10);
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.size-slider {
|
|
560
|
-
width: 70px;
|
|
561
|
-
height: 4px;
|
|
562
|
-
border-radius: 2px;
|
|
563
|
-
background: var(--feedback-canvas-editor-slider-track);
|
|
564
|
-
outline: none;
|
|
565
|
-
-webkit-appearance: none;
|
|
566
|
-
-moz-appearance: none;
|
|
567
|
-
appearance: none;
|
|
568
|
-
cursor: pointer;
|
|
569
|
-
border: none;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
.size-slider::-webkit-slider-track {
|
|
573
|
-
width: 100%;
|
|
574
|
-
height: 4px;
|
|
575
|
-
cursor: pointer;
|
|
576
|
-
background: var(--feedback-canvas-editor-slider-track);
|
|
577
|
-
border-radius: 2px;
|
|
578
|
-
border: none;
|
|
579
|
-
box-shadow: none;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
.size-slider::-webkit-slider-thumb {
|
|
583
|
-
-webkit-appearance: none;
|
|
584
|
-
width: 14px;
|
|
585
|
-
height: 14px;
|
|
586
|
-
border-radius: 50%;
|
|
587
|
-
background: var(--feedback-primary-color);
|
|
588
|
-
cursor: pointer;
|
|
589
|
-
box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .20);
|
|
590
|
-
border: none;
|
|
591
|
-
margin-top: -5px; /* Center the thumb on the track */
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
.size-slider::-moz-range-track {
|
|
595
|
-
width: 100%;
|
|
596
|
-
height: 4px;
|
|
597
|
-
cursor: pointer;
|
|
598
|
-
background: var(--feedback-canvas-editor-slider-track);
|
|
599
|
-
border-radius: 2px;
|
|
600
|
-
border: none;
|
|
601
|
-
box-shadow: none;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.size-slider::-moz-range-thumb {
|
|
605
|
-
width: 14px;
|
|
606
|
-
height: 14px;
|
|
607
|
-
border-radius: 50%;
|
|
608
|
-
background: var(--feedback-primary-color);
|
|
609
|
-
cursor: pointer;
|
|
610
|
-
border: none;
|
|
611
|
-
box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .20);
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
/* Firefox specific fix */
|
|
615
|
-
.size-slider::-moz-range-progress {
|
|
616
|
-
background: var(--feedback-canvas-editor-slider-track);
|
|
617
|
-
height: 4px;
|
|
618
|
-
border-radius: 2px;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
/* IE/Edge specific */
|
|
622
|
-
.size-slider::-ms-track {
|
|
623
|
-
width: 100%;
|
|
624
|
-
height: 4px;
|
|
625
|
-
cursor: pointer;
|
|
626
|
-
background: transparent;
|
|
627
|
-
border-color: transparent;
|
|
628
|
-
color: transparent;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
.size-slider::-ms-fill-lower {
|
|
632
|
-
background: var(--feedback-canvas-editor-slider-track);
|
|
633
|
-
border-radius: 2px;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
.size-slider::-ms-fill-upper {
|
|
637
|
-
background: var(--feedback-canvas-editor-slider-track);
|
|
638
|
-
border-radius: 2px;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.size-slider::-ms-thumb {
|
|
642
|
-
width: 14px;
|
|
643
|
-
height: 14px;
|
|
644
|
-
border-radius: 50%;
|
|
645
|
-
background: var(--feedback-primary-color);
|
|
646
|
-
cursor: pointer;
|
|
647
|
-
border: none;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.size-value {
|
|
651
|
-
font-weight: 500;
|
|
652
|
-
color: var(--feedback-canvas-editor-tool-text-color);
|
|
653
|
-
font-size: var(--feedback-text-font-size);
|
|
654
|
-
min-width: 30px;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
.action-btn {
|
|
658
|
-
display: flex;
|
|
659
|
-
align-items: center;
|
|
660
|
-
gap: 6px;
|
|
661
|
-
padding: 5px 12px;
|
|
662
|
-
border: 1px solid var(--feedback-canvas-editor-action-secondary-border);
|
|
663
|
-
border-radius: var(--feedback-modal-button-border-radius);
|
|
664
|
-
cursor: pointer;
|
|
665
|
-
font-size: var(--feedback-modal-button-font-size);
|
|
666
|
-
font-weight: 500;
|
|
667
|
-
transition: all 0.2s ease;
|
|
668
|
-
min-width: 65px;
|
|
669
|
-
justify-content: center;
|
|
670
|
-
height: 36px;
|
|
671
|
-
font-family: var(--feedback-font-family);
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.action-btn.secondary {
|
|
675
|
-
background: var(--feedback-canvas-editor-action-secondary-bg);
|
|
676
|
-
color: var(--feedback-canvas-editor-action-secondary-text);
|
|
677
|
-
border-color: var(--feedback-canvas-editor-action-secondary-border);
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
.action-btn.secondary:hover {
|
|
681
|
-
background: var(--feedback-canvas-editor-tool-bg-hover);
|
|
682
|
-
color: var(--feedback-modal-button-text-color-active);
|
|
683
|
-
border-color: var(--feedback-modal-button-border-color-active);
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
.action-btn.primary {
|
|
687
|
-
background: var(--feedback-canvas-editor-action-primary-bg);
|
|
688
|
-
color: var(--feedback-canvas-editor-action-primary-text);
|
|
689
|
-
border-color: var(--feedback-modal-button-border-color-active);
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
.action-btn.primary:hover {
|
|
693
|
-
background: var(--feedback-modal-button-submit-bg-color-hover);
|
|
694
|
-
border-color: var(--feedback-modal-button-submit-border-color-hover);
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
.canvas-editor-content {
|
|
698
|
-
flex: 1;
|
|
699
|
-
display: flex;
|
|
700
|
-
align-items: center;
|
|
701
|
-
justify-content: center;
|
|
702
|
-
padding: 16px;
|
|
703
|
-
background: var(--feedback-canvas-editor-content-bg);
|
|
704
|
-
overflow: hidden;
|
|
705
|
-
min-height: 0;
|
|
706
|
-
min-width: 0;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
.annotation-canvas {
|
|
710
|
-
max-width: 100%;
|
|
711
|
-
max-height: 100%;
|
|
712
|
-
width: auto;
|
|
713
|
-
height: auto;
|
|
714
|
-
cursor: crosshair;
|
|
715
|
-
border-radius: var(--feedback-modal-content-border-radius);
|
|
716
|
-
box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .30), 0px 2px 6px 2px rgba(60, 64, 67, .15);
|
|
717
|
-
background: var(--feedback-white-color);
|
|
718
|
-
transition: box-shadow 0.3s ease;
|
|
719
|
-
object-fit: contain;
|
|
720
|
-
display: block;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
.annotation-canvas:hover {
|
|
724
|
-
box-shadow: 0px 2px 4px 0px rgba(60, 64, 67, .35), 0px 4px 12px 4px rgba(60, 64, 67, .20);
|
|
725
|
-
}
|
|
726
|
-
|
|
727
355
|
/* Responsive Design */
|
|
728
356
|
@media screen and (min-width: 768px) {
|
|
729
357
|
.feedback-modal-content {
|
|
@@ -837,63 +465,7 @@
|
|
|
837
465
|
}
|
|
838
466
|
}
|
|
839
467
|
|
|
840
|
-
|
|
841
|
-
.canvas-editor-modal {
|
|
842
|
-
width: 100vw;
|
|
843
|
-
height: 100vh;
|
|
844
|
-
border-radius: 0;
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
.canvas-editor-header {
|
|
848
|
-
padding: 8px 12px;
|
|
849
|
-
gap: 8px;
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
.canvas-editor-toolbar {
|
|
853
|
-
flex-direction: column;
|
|
854
|
-
align-items: stretch;
|
|
855
|
-
gap: 12px;
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
.toolbar-section {
|
|
859
|
-
justify-content: center;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
.toolbar-section:last-child {
|
|
863
|
-
margin-left: 0;
|
|
864
|
-
justify-content: stretch;
|
|
865
|
-
gap: 8px;
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
.action-btn {
|
|
869
|
-
flex: 1;
|
|
870
|
-
min-width: auto;
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
.canvas-editor-content {
|
|
874
|
-
padding: 8px;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
.tool-group {
|
|
878
|
-
flex-wrap: wrap;
|
|
879
|
-
justify-content: center;
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
.color-palette {
|
|
883
|
-
flex-wrap: wrap;
|
|
884
|
-
justify-content: center;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
.size-control {
|
|
888
|
-
flex-direction: column;
|
|
889
|
-
gap: 6px;
|
|
890
|
-
text-align: center;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
.size-slider {
|
|
894
|
-
width: 100px;
|
|
895
|
-
}
|
|
896
|
-
}
|
|
468
|
+
|
|
897
469
|
|
|
898
470
|
/* Feather loader animation */
|
|
899
471
|
@keyframes feather-spin {
|
|
@@ -972,32 +544,4 @@
|
|
|
972
544
|
background: rgba(197, 48, 48, 0.1);
|
|
973
545
|
}
|
|
974
546
|
|
|
975
|
-
|
|
976
|
-
@media (max-width: 768px) {
|
|
977
|
-
.canvas-editor-toolbar .tool-group,
|
|
978
|
-
.canvas-editor-toolbar .color-palette,
|
|
979
|
-
.canvas-editor-toolbar .size-control,
|
|
980
|
-
.canvas-editor-toolbar .toolbar-divider {
|
|
981
|
-
display: none !important;
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
.canvas-editor-toolbar {
|
|
985
|
-
justify-content: center;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
.canvas-editor-toolbar .toolbar-section:first-child {
|
|
989
|
-
display: none;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
.canvas-editor-toolbar .toolbar-section:nth-child(2) {
|
|
993
|
-
display: none;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
.canvas-editor-toolbar .toolbar-section:nth-child(3) {
|
|
997
|
-
display: none;
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
.canvas-editor-title {
|
|
1001
|
-
display: none;
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
547
|
+
|