@ntlab/ntjs-assets 2.0.11 → 2.0.13
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/.github/workflows/publish.yml +2 -1
- package/assets/js/DataTables/Extensions/ColReorder/js/dataTables.colReorder.js +4 -55
- package/assets/js/DataTables/Extensions/ColReorder/js/dataTables.colReorder.min.js +4 -4
- package/assets/js/DataTables/Extensions/SearchBuilder/css/searchBuilder.bootstrap5.css +1 -1
- package/assets/js/DataTables/Extensions/SearchBuilder/css/searchBuilder.bootstrap5.min.css +1 -1
- package/assets/js/DataTables/Extensions/SearchBuilder/css/searchBuilder.dataTables.css +1 -1
- package/assets/js/DataTables/Extensions/SearchBuilder/css/searchBuilder.dataTables.min.css +1 -1
- package/assets/js/DataTables/Extensions/SearchBuilder/js/dataTables.searchBuilder.js +8 -8
- package/assets/js/DataTables/Extensions/SearchBuilder/js/dataTables.searchBuilder.min.js +3 -3
- package/assets/js/DataTables/Extensions/SearchBuilder/js/searchBuilder.bootstrap5.js +2 -2
- package/assets/js/DataTables/Extensions/SearchBuilder/js/searchBuilder.bootstrap5.min.js +1 -1
- package/assets/js/DataTables/Extensions/Select/js/dataTables.select.js +34 -10
- package/assets/js/DataTables/Extensions/Select/js/dataTables.select.min.js +2 -2
- package/assets/js/DataTables/Extensions/StateRestore/js/StateRestore.js +19 -3
- package/assets/js/DataTables/Extensions/StateRestore/js/StateRestoreCollection.js +4 -4
- package/assets/js/DataTables/Extensions/StateRestore/js/dataTables.stateRestore.js +29 -13
- package/assets/js/DataTables/Extensions/StateRestore/js/dataTables.stateRestore.min.js +2 -2
- package/assets/js/DataTables/Extensions/StateRestore/js/index.js +6 -6
- package/assets/js/cdn.json +4 -4
- package/assets/js/pdfjs/build/pdf.mjs +2314 -898
- package/assets/js/pdfjs/build/pdf.mjs.map +1 -1
- package/assets/js/pdfjs/build/pdf.sandbox.mjs +5 -7
- package/assets/js/pdfjs/build/pdf.sandbox.mjs.map +1 -1
- package/assets/js/pdfjs/build/pdf.worker.mjs +655 -435
- package/assets/js/pdfjs/build/pdf.worker.mjs.map +1 -1
- package/assets/js/pdfjs/web/debugger.css +1 -1
- package/assets/js/pdfjs/web/images/cursor-editorFreeHighlight.svg +6 -0
- package/assets/js/pdfjs/web/images/cursor-editorTextHighlight.svg +8 -0
- package/assets/js/pdfjs/web/images/toolbarButton-editorFreeText.svg +3 -1
- package/assets/js/pdfjs/web/images/toolbarButton-editorStamp.svg +1 -1
- package/assets/js/pdfjs/web/locale/ar/viewer.ftl +25 -0
- package/assets/js/pdfjs/web/locale/be/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/bg/viewer.ftl +137 -0
- package/assets/js/pdfjs/web/locale/br/viewer.ftl +22 -0
- package/assets/js/pdfjs/web/locale/cs/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/cy/viewer.ftl +22 -8
- package/assets/js/pdfjs/web/locale/da/viewer.ftl +28 -2
- package/assets/js/pdfjs/web/locale/de/viewer.ftl +21 -3
- package/assets/js/pdfjs/web/locale/dsb/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/el/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/en-CA/viewer.ftl +25 -0
- package/assets/js/pdfjs/web/locale/en-GB/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/en-US/viewer.ftl +15 -8
- package/assets/js/pdfjs/web/locale/eo/viewer.ftl +57 -8
- package/assets/js/pdfjs/web/locale/es-AR/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/es-CL/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/es-ES/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/eu/viewer.ftl +53 -0
- package/assets/js/pdfjs/web/locale/fi/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/fr/viewer.ftl +16 -2
- package/assets/js/pdfjs/web/locale/fur/viewer.ftl +41 -2
- package/assets/js/pdfjs/web/locale/fy-NL/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/gl/viewer.ftl +17 -0
- package/assets/js/pdfjs/web/locale/gn/viewer.ftl +7 -2
- package/assets/js/pdfjs/web/locale/he/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/hsb/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/hu/viewer.ftl +16 -2
- package/assets/js/pdfjs/web/locale/ia/viewer.ftl +7 -2
- package/assets/js/pdfjs/web/locale/is/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/it/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/ja/viewer.ftl +39 -4
- package/assets/js/pdfjs/web/locale/ka/viewer.ftl +45 -9
- package/assets/js/pdfjs/web/locale/kk/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/ko/viewer.ftl +22 -4
- package/assets/js/pdfjs/web/locale/nb-NO/viewer.ftl +7 -2
- package/assets/js/pdfjs/web/locale/nl/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/nn-NO/viewer.ftl +19 -2
- package/assets/js/pdfjs/web/locale/oc/viewer.ftl +36 -0
- package/assets/js/pdfjs/web/locale/pa-IN/viewer.ftl +28 -2
- package/assets/js/pdfjs/web/locale/pl/viewer.ftl +7 -2
- package/assets/js/pdfjs/web/locale/pt-BR/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/pt-PT/viewer.ftl +49 -0
- package/assets/js/pdfjs/web/locale/rm/viewer.ftl +16 -2
- package/assets/js/pdfjs/web/locale/ru/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/sk/viewer.ftl +23 -5
- package/assets/js/pdfjs/web/locale/skr/viewer.ftl +22 -0
- package/assets/js/pdfjs/web/locale/sl/viewer.ftl +7 -2
- package/assets/js/pdfjs/web/locale/sq/viewer.ftl +7 -2
- package/assets/js/pdfjs/web/locale/sv-SE/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/tg/viewer.ftl +7 -2
- package/assets/js/pdfjs/web/locale/th/viewer.ftl +49 -0
- package/assets/js/pdfjs/web/locale/tr/viewer.ftl +25 -7
- package/assets/js/pdfjs/web/locale/uk/viewer.ftl +29 -11
- package/assets/js/pdfjs/web/locale/vi/viewer.ftl +21 -3
- package/assets/js/pdfjs/web/locale/zh-CN/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/locale/zh-TW/viewer.ftl +20 -2
- package/assets/js/pdfjs/web/viewer.css +556 -100
- package/assets/js/pdfjs/web/viewer.html +20 -9
- package/assets/js/pdfjs/web/viewer.mjs +1100 -817
- package/assets/js/pdfjs/web/viewer.mjs.map +1 -1
- package/package.json +1 -1
- package/assets/js/pdfjs/web/images/gv-toolbarButton-openinapp.svg +0 -11
|
@@ -18,16 +18,20 @@
|
|
|
18
18
|
text-align:initial;
|
|
19
19
|
inset:0;
|
|
20
20
|
overflow:hidden;
|
|
21
|
-
opacity:
|
|
21
|
+
opacity:1;
|
|
22
22
|
line-height:1;
|
|
23
23
|
-webkit-text-size-adjust:none;
|
|
24
24
|
-moz-text-size-adjust:none;
|
|
25
25
|
text-size-adjust:none;
|
|
26
26
|
forced-color-adjust:none;
|
|
27
27
|
transform-origin:0 0;
|
|
28
|
-
|
|
28
|
+
caret-color:CanvasText;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
.textLayer.highlighting{
|
|
32
|
+
touch-action:none;
|
|
33
|
+
}
|
|
34
|
+
|
|
31
35
|
.textLayer :is(span, br){
|
|
32
36
|
color:transparent;
|
|
33
37
|
position:absolute;
|
|
@@ -42,20 +46,28 @@
|
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
.textLayer .highlight{
|
|
45
|
-
--highlight-bg-color:rgb(180 0 170);
|
|
46
|
-
--highlight-selected-bg-color:rgb(0 100 0);
|
|
49
|
+
--highlight-bg-color:rgb(180 0 170 / 0.25);
|
|
50
|
+
--highlight-selected-bg-color:rgb(0 100 0 / 0.25);
|
|
51
|
+
--highlight-backdrop-filter:none;
|
|
52
|
+
--highlight-selected-backdrop-filter:none;
|
|
47
53
|
|
|
48
54
|
margin:-1px;
|
|
49
55
|
padding:1px;
|
|
50
56
|
background-color:var(--highlight-bg-color);
|
|
57
|
+
-webkit-backdrop-filter:var(--highlight-backdrop-filter);
|
|
58
|
+
backdrop-filter:var(--highlight-backdrop-filter);
|
|
51
59
|
border-radius:4px;
|
|
52
60
|
}
|
|
53
61
|
|
|
54
62
|
@media screen and (forced-colors: active){
|
|
55
63
|
|
|
56
64
|
.textLayer .highlight{
|
|
57
|
-
--highlight-bg-color:
|
|
58
|
-
--highlight-selected-bg-color:
|
|
65
|
+
--highlight-bg-color:transparent;
|
|
66
|
+
--highlight-selected-bg-color:transparent;
|
|
67
|
+
--highlight-backdrop-filter:var(--hcm-highlight-filter);
|
|
68
|
+
--highlight-selected-backdrop-filter:var(
|
|
69
|
+
--hcm-highlight-selected-filter
|
|
70
|
+
);
|
|
59
71
|
}
|
|
60
72
|
}
|
|
61
73
|
|
|
@@ -77,16 +89,18 @@
|
|
|
77
89
|
|
|
78
90
|
.textLayer .highlight.selected{
|
|
79
91
|
background-color:var(--highlight-selected-bg-color);
|
|
92
|
+
-webkit-backdrop-filter:var(--highlight-selected-backdrop-filter);
|
|
93
|
+
backdrop-filter:var(--highlight-selected-backdrop-filter);
|
|
80
94
|
}
|
|
81
95
|
|
|
82
96
|
.textLayer ::-moz-selection{
|
|
83
|
-
background:
|
|
84
|
-
background:AccentColor;
|
|
97
|
+
background:rgba(0 0 255 / 0.25);
|
|
98
|
+
background:color-mix(in srgb, AccentColor, transparent 75%);
|
|
85
99
|
}
|
|
86
100
|
|
|
87
101
|
.textLayer ::selection{
|
|
88
|
-
background:
|
|
89
|
-
background:AccentColor;
|
|
102
|
+
background:rgba(0 0 255 / 0.25);
|
|
103
|
+
background:color-mix(in srgb, AccentColor, transparent 75%);
|
|
90
104
|
}
|
|
91
105
|
|
|
92
106
|
.textLayer br::-moz-selection{
|
|
@@ -126,7 +140,6 @@
|
|
|
126
140
|
left:0;
|
|
127
141
|
pointer-events:none;
|
|
128
142
|
transform-origin:0 0;
|
|
129
|
-
z-index:3;
|
|
130
143
|
}
|
|
131
144
|
|
|
132
145
|
@media screen and (forced-colors: active){
|
|
@@ -137,7 +150,6 @@
|
|
|
137
150
|
--input-disabled-border-color:GrayText;
|
|
138
151
|
--input-hover-border-color:Highlight;
|
|
139
152
|
--link-outline:1.5px solid LinkText;
|
|
140
|
-
--hcm-highlight-filter:invert(100%);
|
|
141
153
|
}
|
|
142
154
|
|
|
143
155
|
.annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{
|
|
@@ -194,6 +206,11 @@
|
|
|
194
206
|
transform:rotate(90deg) translateY(-100%);
|
|
195
207
|
}
|
|
196
208
|
|
|
209
|
+
.annotationLayer.disabled section,
|
|
210
|
+
.annotationLayer.disabled .popup{
|
|
211
|
+
pointer-events:none;
|
|
212
|
+
}
|
|
213
|
+
|
|
197
214
|
.annotationLayer canvas{
|
|
198
215
|
position:absolute;
|
|
199
216
|
width:100%;
|
|
@@ -777,15 +794,18 @@
|
|
|
777
794
|
transform:none;
|
|
778
795
|
}
|
|
779
796
|
|
|
780
|
-
.canvasWrapper svg[data-main-rotation="90"]
|
|
797
|
+
.canvasWrapper svg[data-main-rotation="90"] mask,
|
|
798
|
+
.canvasWrapper svg[data-main-rotation="90"] use:not(.clip, .mask){
|
|
781
799
|
transform:matrix(0, 1, -1, 0, 1, 0);
|
|
782
800
|
}
|
|
783
801
|
|
|
784
|
-
.canvasWrapper svg[data-main-rotation="180"]
|
|
802
|
+
.canvasWrapper svg[data-main-rotation="180"] mask,
|
|
803
|
+
.canvasWrapper svg[data-main-rotation="180"] use:not(.clip, .mask){
|
|
785
804
|
transform:matrix(-1, 0, 0, -1, 1, 1);
|
|
786
805
|
}
|
|
787
806
|
|
|
788
|
-
.canvasWrapper svg[data-main-rotation="270"]
|
|
807
|
+
.canvasWrapper svg[data-main-rotation="270"] mask,
|
|
808
|
+
.canvasWrapper svg[data-main-rotation="270"] use:not(.clip, .mask){
|
|
789
809
|
transform:matrix(0, -1, 1, 0, 0, 1);
|
|
790
810
|
}
|
|
791
811
|
|
|
@@ -794,7 +814,6 @@
|
|
|
794
814
|
|
|
795
815
|
position:absolute;
|
|
796
816
|
mix-blend-mode:var(--blend-mode);
|
|
797
|
-
fill-rule:evenodd;
|
|
798
817
|
}
|
|
799
818
|
|
|
800
819
|
@media screen and (forced-colors: active){
|
|
@@ -804,6 +823,10 @@
|
|
|
804
823
|
}
|
|
805
824
|
}
|
|
806
825
|
|
|
826
|
+
.canvasWrapper svg.highlight:not(.free){
|
|
827
|
+
fill-rule:evenodd;
|
|
828
|
+
}
|
|
829
|
+
|
|
807
830
|
.canvasWrapper svg.highlightOutline{
|
|
808
831
|
position:absolute;
|
|
809
832
|
mix-blend-mode:normal;
|
|
@@ -811,23 +834,273 @@
|
|
|
811
834
|
fill:none;
|
|
812
835
|
}
|
|
813
836
|
|
|
814
|
-
.canvasWrapper svg.highlightOutline.hovered{
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
.canvasWrapper svg.highlightOutline.selected .mainOutline{
|
|
820
|
-
stroke:var(--outline-around-color);
|
|
821
|
-
stroke-width:calc(
|
|
822
|
-
var(--outline-width) + 2 * var(--outline-around-width)
|
|
823
|
-
);
|
|
837
|
+
.canvasWrapper svg.highlightOutline.hovered:not(.free):not(.selected){
|
|
838
|
+
stroke:var(--hover-outline-color);
|
|
839
|
+
stroke-width:var(--outline-width);
|
|
824
840
|
}
|
|
825
841
|
|
|
826
|
-
.canvasWrapper svg.highlightOutline.selected .
|
|
827
|
-
|
|
828
|
-
|
|
842
|
+
.canvasWrapper svg.highlightOutline.selected:not(.free) .mainOutline{
|
|
843
|
+
stroke:var(--outline-around-color);
|
|
844
|
+
stroke-width:calc(
|
|
845
|
+
var(--outline-width) + 2 * var(--outline-around-width)
|
|
846
|
+
);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.canvasWrapper svg.highlightOutline.selected:not(.free) .secondaryOutline{
|
|
850
|
+
stroke:var(--outline-color);
|
|
851
|
+
stroke-width:var(--outline-width);
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.canvasWrapper svg.highlightOutline.free.hovered:not(.selected){
|
|
855
|
+
stroke:var(--hover-outline-color);
|
|
856
|
+
stroke-width:calc(2 * var(--outline-width));
|
|
829
857
|
}
|
|
830
858
|
|
|
859
|
+
.canvasWrapper svg.highlightOutline.free.selected .mainOutline{
|
|
860
|
+
stroke:var(--outline-around-color);
|
|
861
|
+
stroke-width:calc(
|
|
862
|
+
2 * (var(--outline-width) + var(--outline-around-width))
|
|
863
|
+
);
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.canvasWrapper svg.highlightOutline.free.selected .secondaryOutline{
|
|
867
|
+
stroke:var(--outline-color);
|
|
868
|
+
stroke-width:calc(2 * var(--outline-width));
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.toggle-button{
|
|
872
|
+
--button-background-color:#f0f0f4;
|
|
873
|
+
--button-background-color-hover:#e0e0e6;
|
|
874
|
+
--button-background-color-active:#cfcfd8;
|
|
875
|
+
--color-accent-primary:#0060df;
|
|
876
|
+
--color-accent-primary-hover:#0250bb;
|
|
877
|
+
--color-accent-primary-active:#054096;
|
|
878
|
+
--border-interactive-color:#8f8f9d;
|
|
879
|
+
--border-radius-circle:9999px;
|
|
880
|
+
--border-width:1px;
|
|
881
|
+
--size-item-small:16px;
|
|
882
|
+
--size-item-large:32px;
|
|
883
|
+
--color-canvas:white;
|
|
884
|
+
|
|
885
|
+
--toggle-background-color:var(--button-background-color);
|
|
886
|
+
--toggle-background-color-hover:var(--button-background-color-hover);
|
|
887
|
+
--toggle-background-color-active:var(--button-background-color-active);
|
|
888
|
+
--toggle-background-color-pressed:var(--color-accent-primary);
|
|
889
|
+
--toggle-background-color-pressed-hover:var(--color-accent-primary-hover);
|
|
890
|
+
--toggle-background-color-pressed-active:var(--color-accent-primary-active);
|
|
891
|
+
--toggle-border-color:var(--border-interactive-color);
|
|
892
|
+
--toggle-border-color-hover:var(--toggle-border-color);
|
|
893
|
+
--toggle-border-color-active:var(--toggle-border-color);
|
|
894
|
+
--toggle-border-radius:var(--border-radius-circle);
|
|
895
|
+
--toggle-border-width:var(--border-width);
|
|
896
|
+
--toggle-height:var(--size-item-small);
|
|
897
|
+
--toggle-width:var(--size-item-large);
|
|
898
|
+
--toggle-dot-background-color:var(--toggle-border-color);
|
|
899
|
+
--toggle-dot-background-color-hover:var(--toggle-dot-background-color);
|
|
900
|
+
--toggle-dot-background-color-active:var(--toggle-dot-background-color);
|
|
901
|
+
--toggle-dot-background-color-on-pressed:var(--color-canvas);
|
|
902
|
+
--toggle-dot-margin:1px;
|
|
903
|
+
--toggle-dot-height:calc(
|
|
904
|
+
var(--toggle-height) - 2 * var(--toggle-dot-margin) - 2 *
|
|
905
|
+
var(--toggle-border-width)
|
|
906
|
+
);
|
|
907
|
+
--toggle-dot-width:var(--toggle-dot-height);
|
|
908
|
+
--toggle-dot-transform-x:calc(
|
|
909
|
+
var(--toggle-width) - 4 * var(--toggle-dot-margin) - var(--toggle-dot-width)
|
|
910
|
+
);
|
|
911
|
+
|
|
912
|
+
-webkit-appearance:none;
|
|
913
|
+
|
|
914
|
+
-moz-appearance:none;
|
|
915
|
+
|
|
916
|
+
appearance:none;
|
|
917
|
+
padding:0;
|
|
918
|
+
margin:0;
|
|
919
|
+
border:var(--toggle-border-width) solid var(--toggle-border-color);
|
|
920
|
+
height:var(--toggle-height);
|
|
921
|
+
width:var(--toggle-width);
|
|
922
|
+
border-radius:var(--toggle-border-radius);
|
|
923
|
+
background:var(--toggle-background-color);
|
|
924
|
+
box-sizing:border-box;
|
|
925
|
+
flex-shrink:0;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
@media (prefers-color-scheme: dark){
|
|
929
|
+
|
|
930
|
+
:where(html:not(.is-light)) .toggle-button{
|
|
931
|
+
--button-background-color:color-mix(in srgb, currentColor 7%, transparent);
|
|
932
|
+
--button-background-color-hover:color-mix(
|
|
933
|
+
in srgb,
|
|
934
|
+
currentColor 14%,
|
|
935
|
+
transparent
|
|
936
|
+
);
|
|
937
|
+
--button-background-color-active:color-mix(
|
|
938
|
+
in srgb,
|
|
939
|
+
currentColor 21%,
|
|
940
|
+
transparent
|
|
941
|
+
);
|
|
942
|
+
--color-accent-primary:#0df;
|
|
943
|
+
--color-accent-primary-hover:#80ebff;
|
|
944
|
+
--color-accent-primary-active:#aaf2ff;
|
|
945
|
+
--border-interactive-color:#bfbfc9;
|
|
946
|
+
--color-canvas:#1c1b22;
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
:where(html.is-dark) .toggle-button{
|
|
951
|
+
--button-background-color:color-mix(in srgb, currentColor 7%, transparent);
|
|
952
|
+
--button-background-color-hover:color-mix(
|
|
953
|
+
in srgb,
|
|
954
|
+
currentColor 14%,
|
|
955
|
+
transparent
|
|
956
|
+
);
|
|
957
|
+
--button-background-color-active:color-mix(
|
|
958
|
+
in srgb,
|
|
959
|
+
currentColor 21%,
|
|
960
|
+
transparent
|
|
961
|
+
);
|
|
962
|
+
--color-accent-primary:#0df;
|
|
963
|
+
--color-accent-primary-hover:#80ebff;
|
|
964
|
+
--color-accent-primary-active:#aaf2ff;
|
|
965
|
+
--border-interactive-color:#bfbfc9;
|
|
966
|
+
--color-canvas:#1c1b22;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
@media (forced-colors: active){
|
|
970
|
+
|
|
971
|
+
.toggle-button{
|
|
972
|
+
--color-accent-primary:ButtonText;
|
|
973
|
+
--color-accent-primary-hover:SelectedItem;
|
|
974
|
+
--color-accent-primary-active:SelectedItem;
|
|
975
|
+
--border-interactive-color:ButtonText;
|
|
976
|
+
--button-background-color:ButtonFace;
|
|
977
|
+
--border-interactive-color-hover:SelectedItem;
|
|
978
|
+
--border-interactive-color-active:SelectedItem;
|
|
979
|
+
--border-interactive-color-disabled:GrayText;
|
|
980
|
+
--color-canvas:ButtonText;
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.toggle-button:focus-visible{
|
|
985
|
+
outline:var(--focus-outline);
|
|
986
|
+
outline-offset:var(--focus-outline-offset);
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.toggle-button:enabled:hover{
|
|
990
|
+
background:var(--toggle-background-color-hover);
|
|
991
|
+
border-color:var(--toggle-border-color);
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.toggle-button:enabled:active{
|
|
995
|
+
background:var(--toggle-background-color-active);
|
|
996
|
+
border-color:var(--toggle-border-color);
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.toggle-button[aria-pressed="true"]{
|
|
1000
|
+
background:var(--toggle-background-color-pressed);
|
|
1001
|
+
border-color:transparent;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.toggle-button[aria-pressed="true"]:enabled:hover{
|
|
1005
|
+
background:var(--toggle-background-color-pressed-hover);
|
|
1006
|
+
border-color:transparent;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
.toggle-button[aria-pressed="true"]:enabled:active{
|
|
1010
|
+
background:var(--toggle-background-color-pressed-active);
|
|
1011
|
+
border-color:transparent;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
.toggle-button::before{
|
|
1015
|
+
display:block;
|
|
1016
|
+
content:"";
|
|
1017
|
+
background-color:var(--toggle-dot-background-color);
|
|
1018
|
+
height:var(--toggle-dot-height);
|
|
1019
|
+
width:var(--toggle-dot-width);
|
|
1020
|
+
margin:var(--toggle-dot-margin);
|
|
1021
|
+
border-radius:var(--toggle-border-radius);
|
|
1022
|
+
translate:0;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
.toggle-button[aria-pressed="true"]::before{
|
|
1026
|
+
translate:var(--toggle-dot-transform-x);
|
|
1027
|
+
background-color:var(--toggle-dot-background-color-on-pressed);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.toggle-button[aria-pressed="true"]:enabled:hover::before,
|
|
1031
|
+
.toggle-button[aria-pressed="true"]:enabled:active::before{
|
|
1032
|
+
background-color:var(--toggle-dot-background-color-on-pressed);
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
[dir="rtl"] .toggle-button[aria-pressed="true"]::before{
|
|
1036
|
+
translate:calc(-1 * var(--toggle-dot-transform-x));
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
@media (prefers-reduced-motion: no-preference){
|
|
1040
|
+
.toggle-button::before{
|
|
1041
|
+
transition:translate 100ms;
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
@media (prefers-contrast){
|
|
1046
|
+
.toggle-button:enabled:hover{
|
|
1047
|
+
border-color:var(--toggle-border-color-hover);
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
.toggle-button:enabled:active{
|
|
1051
|
+
border-color:var(--toggle-border-color-active);
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.toggle-button[aria-pressed="true"]:enabled{
|
|
1055
|
+
border-color:var(--toggle-border-color);
|
|
1056
|
+
position:relative;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
.toggle-button[aria-pressed="true"]:enabled:hover,
|
|
1060
|
+
.toggle-button[aria-pressed="true"]:enabled:hover:active{
|
|
1061
|
+
border-color:var(--toggle-border-color-hover);
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.toggle-button[aria-pressed="true"]:enabled:active{
|
|
1065
|
+
background-color:var(--toggle-dot-background-color-active);
|
|
1066
|
+
border-color:var(--toggle-dot-background-color-hover);
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.toggle-button:hover::before,
|
|
1070
|
+
.toggle-button:active::before{
|
|
1071
|
+
background-color:var(--toggle-dot-background-color-hover);
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
@media (forced-colors){
|
|
1076
|
+
|
|
1077
|
+
.toggle-button{
|
|
1078
|
+
--toggle-dot-background-color:var(--color-accent-primary);
|
|
1079
|
+
--toggle-dot-background-color-hover:var(--color-accent-primary-hover);
|
|
1080
|
+
--toggle-dot-background-color-active:var(--color-accent-primary-active);
|
|
1081
|
+
--toggle-dot-background-color-on-pressed:var(--button-background-color);
|
|
1082
|
+
--toggle-background-color-disabled:var(--button-background-color-disabled);
|
|
1083
|
+
--toggle-border-color-hover:var(--border-interactive-color-hover);
|
|
1084
|
+
--toggle-border-color-active:var(--border-interactive-color-active);
|
|
1085
|
+
--toggle-border-color-disabled:var(--border-interactive-color-disabled);
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
.toggle-button[aria-pressed="true"]:enabled::after{
|
|
1089
|
+
border:1px solid var(--button-background-color);
|
|
1090
|
+
content:"";
|
|
1091
|
+
position:absolute;
|
|
1092
|
+
height:var(--toggle-height);
|
|
1093
|
+
width:var(--toggle-width);
|
|
1094
|
+
display:block;
|
|
1095
|
+
border-radius:var(--toggle-border-radius);
|
|
1096
|
+
inset:-2px;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.toggle-button[aria-pressed="true"]:enabled:active::after{
|
|
1100
|
+
border-color:var(--toggle-border-color-active);
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
|
|
831
1104
|
:root{
|
|
832
1105
|
--outline-width:2px;
|
|
833
1106
|
--outline-color:#0060df;
|
|
@@ -850,7 +1123,34 @@
|
|
|
850
1123
|
);
|
|
851
1124
|
--editorFreeText-editing-cursor:text;
|
|
852
1125
|
--editorInk-editing-cursor:url(images/cursor-editorInk.svg) 0 16, pointer;
|
|
1126
|
+
--editorHighlight-editing-cursor:url(images/cursor-editorTextHighlight.svg) 24 24, text;
|
|
1127
|
+
--editorFreeHighlight-editing-cursor:url(images/cursor-editorFreeHighlight.svg) 1 18, pointer;
|
|
853
1128
|
}
|
|
1129
|
+
.visuallyHidden{
|
|
1130
|
+
position:absolute;
|
|
1131
|
+
top:0;
|
|
1132
|
+
left:0;
|
|
1133
|
+
border:0;
|
|
1134
|
+
margin:0;
|
|
1135
|
+
padding:0;
|
|
1136
|
+
width:0;
|
|
1137
|
+
height:0;
|
|
1138
|
+
overflow:hidden;
|
|
1139
|
+
white-space:nowrap;
|
|
1140
|
+
font-size:0;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
.textLayer.highlighting{
|
|
1144
|
+
cursor:var(--editorFreeHighlight-editing-cursor);
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.textLayer.highlighting:not(.free) span{
|
|
1148
|
+
cursor:var(--editorHighlight-editing-cursor);
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.textLayer.highlighting.free span{
|
|
1152
|
+
cursor:var(--editorFreeHighlight-editing-cursor);
|
|
1153
|
+
}
|
|
854
1154
|
|
|
855
1155
|
@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 1.1dppx){
|
|
856
1156
|
:root{
|
|
@@ -887,7 +1187,6 @@
|
|
|
887
1187
|
font-size:calc(100px * var(--scale-factor));
|
|
888
1188
|
transform-origin:0 0;
|
|
889
1189
|
cursor:auto;
|
|
890
|
-
z-index:4;
|
|
891
1190
|
}
|
|
892
1191
|
|
|
893
1192
|
.annotationEditorLayer.waiting{
|
|
@@ -926,6 +1225,10 @@
|
|
|
926
1225
|
cursor:move;
|
|
927
1226
|
}
|
|
928
1227
|
|
|
1228
|
+
.annotationEditorLayer .moving:is(.freeTextEditor, .inkEditor, .stampEditor){
|
|
1229
|
+
touch-action:none;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
929
1232
|
.annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){
|
|
930
1233
|
border:var(--focus-outline);
|
|
931
1234
|
outline:var(--focus-outline-around);
|
|
@@ -951,10 +1254,11 @@
|
|
|
951
1254
|
border:var(--focus-outline-around);
|
|
952
1255
|
}
|
|
953
1256
|
|
|
954
|
-
.annotationEditorLayer
|
|
955
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
1257
|
+
:is(.annotationEditorLayer
|
|
1258
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
956
1259
|
--editor-toolbar-delete-image:url(images/editor-toolbar-delete.svg);
|
|
957
1260
|
--editor-toolbar-bg-color:#f0f0f4;
|
|
1261
|
+
--editor-toolbar-highlight-image:url(images/toolbarButton-editorHighlight.svg);
|
|
958
1262
|
--editor-toolbar-fg-color:#2e2e56;
|
|
959
1263
|
--editor-toolbar-border-color:#8f8f9d;
|
|
960
1264
|
--editor-toolbar-hover-border-color:var(--editor-toolbar-border-color);
|
|
@@ -991,8 +1295,8 @@
|
|
|
991
1295
|
|
|
992
1296
|
@media (prefers-color-scheme: dark){
|
|
993
1297
|
|
|
994
|
-
:where(html:not(.is-light)) .annotationEditorLayer
|
|
995
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
1298
|
+
:where(html:not(.is-light)) :is(.annotationEditorLayer
|
|
1299
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
996
1300
|
--editor-toolbar-bg-color:#2b2a33;
|
|
997
1301
|
--editor-toolbar-fg-color:#fbfbfe;
|
|
998
1302
|
--editor-toolbar-hover-bg-color:#52525e;
|
|
@@ -1000,8 +1304,8 @@
|
|
|
1000
1304
|
}
|
|
1001
1305
|
}
|
|
1002
1306
|
|
|
1003
|
-
:where(html.is-dark) .annotationEditorLayer
|
|
1004
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
1307
|
+
:where(html.is-dark) :is(.annotationEditorLayer
|
|
1308
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
1005
1309
|
--editor-toolbar-bg-color:#2b2a33;
|
|
1006
1310
|
--editor-toolbar-fg-color:#fbfbfe;
|
|
1007
1311
|
--editor-toolbar-hover-bg-color:#52525e;
|
|
@@ -1010,8 +1314,8 @@
|
|
|
1010
1314
|
|
|
1011
1315
|
@media screen and (forced-colors: active){
|
|
1012
1316
|
|
|
1013
|
-
.annotationEditorLayer
|
|
1014
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
1317
|
+
:is(.annotationEditorLayer
|
|
1318
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
1015
1319
|
--editor-toolbar-bg-color:ButtonFace;
|
|
1016
1320
|
--editor-toolbar-fg-color:ButtonText;
|
|
1017
1321
|
--editor-toolbar-border-color:ButtonText;
|
|
@@ -1024,28 +1328,28 @@
|
|
|
1024
1328
|
}
|
|
1025
1329
|
}
|
|
1026
1330
|
|
|
1027
|
-
.annotationEditorLayer
|
|
1028
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar.hidden{
|
|
1331
|
+
:is(.annotationEditorLayer
|
|
1332
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar.hidden{
|
|
1029
1333
|
display:none;
|
|
1030
1334
|
}
|
|
1031
1335
|
|
|
1032
|
-
.annotationEditorLayer
|
|
1033
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar:has(:focus-visible){
|
|
1336
|
+
:is(.annotationEditorLayer
|
|
1337
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar:has(:focus-visible){
|
|
1034
1338
|
border-color:transparent;
|
|
1035
1339
|
}
|
|
1036
1340
|
|
|
1037
|
-
[dir="ltr"] .annotationEditorLayer
|
|
1038
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
1341
|
+
[dir="ltr"] :is(.annotationEditorLayer
|
|
1342
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
1039
1343
|
transform-origin:100% 0;
|
|
1040
1344
|
}
|
|
1041
1345
|
|
|
1042
|
-
[dir="rtl"] .annotationEditorLayer
|
|
1043
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
1346
|
+
[dir="rtl"] :is(.annotationEditorLayer
|
|
1347
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
1044
1348
|
transform-origin:0 0;
|
|
1045
1349
|
}
|
|
1046
1350
|
|
|
1047
|
-
.annotationEditorLayer
|
|
1048
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons{
|
|
1351
|
+
:is(.annotationEditorLayer
|
|
1352
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons{
|
|
1049
1353
|
display:flex;
|
|
1050
1354
|
justify-content:center;
|
|
1051
1355
|
align-items:center;
|
|
@@ -1053,8 +1357,8 @@
|
|
|
1053
1357
|
height:100%;
|
|
1054
1358
|
}
|
|
1055
1359
|
|
|
1056
|
-
.annotationEditorLayer
|
|
1057
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .divider{
|
|
1360
|
+
:is(.annotationEditorLayer
|
|
1361
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .divider{
|
|
1058
1362
|
width:1px;
|
|
1059
1363
|
height:calc(
|
|
1060
1364
|
2 * var(--editor-toolbar-padding) + var(--editor-toolbar-height)
|
|
@@ -1064,13 +1368,38 @@
|
|
|
1064
1368
|
margin-inline:2px;
|
|
1065
1369
|
}
|
|
1066
1370
|
|
|
1067
|
-
.annotationEditorLayer
|
|
1068
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .
|
|
1371
|
+
:is(.annotationEditorLayer
|
|
1372
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton{
|
|
1069
1373
|
width:var(--editor-toolbar-height);
|
|
1070
1374
|
}
|
|
1071
1375
|
|
|
1072
|
-
.annotationEditorLayer
|
|
1073
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .
|
|
1376
|
+
:is(.annotationEditorLayer
|
|
1377
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton::before{
|
|
1378
|
+
content:"";
|
|
1379
|
+
-webkit-mask-image:var(--editor-toolbar-highlight-image);
|
|
1380
|
+
mask-image:var(--editor-toolbar-highlight-image);
|
|
1381
|
+
-webkit-mask-repeat:no-repeat;
|
|
1382
|
+
mask-repeat:no-repeat;
|
|
1383
|
+
-webkit-mask-position:center;
|
|
1384
|
+
mask-position:center;
|
|
1385
|
+
display:inline-block;
|
|
1386
|
+
background-color:var(--editor-toolbar-fg-color);
|
|
1387
|
+
width:100%;
|
|
1388
|
+
height:100%;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
:is(.annotationEditorLayer
|
|
1392
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton:hover::before{
|
|
1393
|
+
background-color:var(--editor-toolbar-hover-fg-color);
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
:is(.annotationEditorLayer
|
|
1397
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete{
|
|
1398
|
+
width:var(--editor-toolbar-height);
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
:is(.annotationEditorLayer
|
|
1402
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete::before{
|
|
1074
1403
|
content:"";
|
|
1075
1404
|
-webkit-mask-image:var(--editor-toolbar-delete-image);
|
|
1076
1405
|
mask-image:var(--editor-toolbar-delete-image);
|
|
@@ -1084,25 +1413,25 @@
|
|
|
1084
1413
|
height:100%;
|
|
1085
1414
|
}
|
|
1086
1415
|
|
|
1087
|
-
.annotationEditorLayer
|
|
1088
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .delete:hover::before{
|
|
1416
|
+
:is(.annotationEditorLayer
|
|
1417
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete:hover::before{
|
|
1089
1418
|
background-color:var(--editor-toolbar-hover-fg-color);
|
|
1090
1419
|
}
|
|
1091
1420
|
|
|
1092
|
-
.annotationEditorLayer
|
|
1093
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > *{
|
|
1421
|
+
:is(.annotationEditorLayer
|
|
1422
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > *{
|
|
1094
1423
|
height:var(--editor-toolbar-height);
|
|
1095
1424
|
}
|
|
1096
1425
|
|
|
1097
|
-
.annotationEditorLayer
|
|
1098
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider){
|
|
1426
|
+
:is(.annotationEditorLayer
|
|
1427
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider){
|
|
1099
1428
|
border:none;
|
|
1100
1429
|
background-color:transparent;
|
|
1101
1430
|
cursor:pointer;
|
|
1102
1431
|
}
|
|
1103
1432
|
|
|
1104
|
-
.annotationEditorLayer
|
|
1105
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider):hover{
|
|
1433
|
+
:is(.annotationEditorLayer
|
|
1434
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):hover{
|
|
1106
1435
|
border-radius:2px;
|
|
1107
1436
|
background-color:var(--editor-toolbar-hover-bg-color);
|
|
1108
1437
|
color:var(--editor-toolbar-hover-fg-color);
|
|
@@ -1110,19 +1439,19 @@
|
|
|
1110
1439
|
outline-offset:1px;
|
|
1111
1440
|
}
|
|
1112
1441
|
|
|
1113
|
-
.annotationEditorLayer
|
|
1114
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider):hover:active{
|
|
1442
|
+
:is(.annotationEditorLayer
|
|
1443
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):hover:active{
|
|
1115
1444
|
outline:none;
|
|
1116
1445
|
}
|
|
1117
1446
|
|
|
1118
|
-
.annotationEditorLayer
|
|
1119
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider):focus-visible{
|
|
1447
|
+
:is(.annotationEditorLayer
|
|
1448
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):focus-visible{
|
|
1120
1449
|
border-radius:2px;
|
|
1121
1450
|
outline:2px solid var(--editor-toolbar-focus-outline-color);
|
|
1122
1451
|
}
|
|
1123
1452
|
|
|
1124
|
-
.annotationEditorLayer
|
|
1125
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText{
|
|
1453
|
+
:is(.annotationEditorLayer
|
|
1454
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText{
|
|
1126
1455
|
--alt-text-add-image:url(images/altText_add.svg);
|
|
1127
1456
|
--alt-text-done-image:url(images/altText_done.svg);
|
|
1128
1457
|
|
|
@@ -1139,13 +1468,13 @@
|
|
|
1139
1468
|
color:var(--editor-toolbar-fg-color);
|
|
1140
1469
|
}
|
|
1141
1470
|
|
|
1142
|
-
.annotationEditorLayer
|
|
1143
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText:disabled{
|
|
1471
|
+
:is(.annotationEditorLayer
|
|
1472
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText:disabled{
|
|
1144
1473
|
pointer-events:none;
|
|
1145
1474
|
}
|
|
1146
1475
|
|
|
1147
|
-
.annotationEditorLayer
|
|
1148
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText::before{
|
|
1476
|
+
:is(.annotationEditorLayer
|
|
1477
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText::before{
|
|
1149
1478
|
content:"";
|
|
1150
1479
|
-webkit-mask-image:var(--alt-text-add-image);
|
|
1151
1480
|
mask-image:var(--alt-text-add-image);
|
|
@@ -1160,24 +1489,24 @@
|
|
|
1160
1489
|
margin-inline-end:4px;
|
|
1161
1490
|
}
|
|
1162
1491
|
|
|
1163
|
-
.annotationEditorLayer
|
|
1164
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText:hover::before{
|
|
1492
|
+
:is(.annotationEditorLayer
|
|
1493
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText:hover::before{
|
|
1165
1494
|
background-color:var(--editor-toolbar-hover-fg-color);
|
|
1166
1495
|
}
|
|
1167
1496
|
|
|
1168
|
-
.annotationEditorLayer
|
|
1169
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText.done::before{
|
|
1497
|
+
:is(.annotationEditorLayer
|
|
1498
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText.done::before{
|
|
1170
1499
|
-webkit-mask-image:var(--alt-text-done-image);
|
|
1171
1500
|
mask-image:var(--alt-text-done-image);
|
|
1172
1501
|
}
|
|
1173
1502
|
|
|
1174
|
-
.annotationEditorLayer
|
|
1175
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip{
|
|
1503
|
+
:is(.annotationEditorLayer
|
|
1504
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip{
|
|
1176
1505
|
display:none;
|
|
1177
1506
|
}
|
|
1178
1507
|
|
|
1179
|
-
.annotationEditorLayer
|
|
1180
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
|
|
1508
|
+
:is(.annotationEditorLayer
|
|
1509
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
|
|
1181
1510
|
--alt-text-tooltip-bg:#f0f0f4;
|
|
1182
1511
|
--alt-text-tooltip-fg:#15141a;
|
|
1183
1512
|
--alt-text-tooltip-border:#8f8f9d;
|
|
@@ -1208,16 +1537,16 @@
|
|
|
1208
1537
|
|
|
1209
1538
|
@media (prefers-color-scheme: dark){
|
|
1210
1539
|
|
|
1211
|
-
:where(html:not(.is-light)) .annotationEditorLayer
|
|
1212
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
|
|
1540
|
+
:where(html:not(.is-light)) :is(.annotationEditorLayer
|
|
1541
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
|
|
1213
1542
|
--alt-text-tooltip-bg:#1c1b22;
|
|
1214
1543
|
--alt-text-tooltip-fg:#fbfbfe;
|
|
1215
1544
|
--alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
|
|
1216
1545
|
}
|
|
1217
1546
|
}
|
|
1218
1547
|
|
|
1219
|
-
:where(html.is-dark) .annotationEditorLayer
|
|
1220
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
|
|
1548
|
+
:where(html.is-dark) :is(.annotationEditorLayer
|
|
1549
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
|
|
1221
1550
|
--alt-text-tooltip-bg:#1c1b22;
|
|
1222
1551
|
--alt-text-tooltip-fg:#fbfbfe;
|
|
1223
1552
|
--alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
|
|
@@ -1225,8 +1554,8 @@
|
|
|
1225
1554
|
|
|
1226
1555
|
@media screen and (forced-colors: active){
|
|
1227
1556
|
|
|
1228
|
-
.annotationEditorLayer
|
|
1229
|
-
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
|
|
1557
|
+
:is(.annotationEditorLayer
|
|
1558
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
|
|
1230
1559
|
--alt-text-tooltip-bg:Canvas;
|
|
1231
1560
|
--alt-text-tooltip-fg:CanvasText;
|
|
1232
1561
|
--alt-text-tooltip-border:CanvasText;
|
|
@@ -1931,19 +2260,19 @@
|
|
|
1931
2260
|
border:none;
|
|
1932
2261
|
}
|
|
1933
2262
|
|
|
1934
|
-
.annotationEditorLayer[data-main-rotation="0"] .highlightEditor > .editToolbar{
|
|
2263
|
+
.annotationEditorLayer[data-main-rotation="0"] .highlightEditor:not(.free) > .editToolbar{
|
|
1935
2264
|
rotate:0deg;
|
|
1936
2265
|
}
|
|
1937
2266
|
|
|
1938
|
-
.annotationEditorLayer[data-main-rotation="90"] .highlightEditor > .editToolbar{
|
|
2267
|
+
.annotationEditorLayer[data-main-rotation="90"] .highlightEditor:not(.free) > .editToolbar{
|
|
1939
2268
|
rotate:270deg;
|
|
1940
2269
|
}
|
|
1941
2270
|
|
|
1942
|
-
.annotationEditorLayer[data-main-rotation="180"] .highlightEditor > .editToolbar{
|
|
2271
|
+
.annotationEditorLayer[data-main-rotation="180"] .highlightEditor:not(.free) > .editToolbar{
|
|
1943
2272
|
rotate:180deg;
|
|
1944
2273
|
}
|
|
1945
2274
|
|
|
1946
|
-
.annotationEditorLayer[data-main-rotation="270"] .highlightEditor > .editToolbar{
|
|
2275
|
+
.annotationEditorLayer[data-main-rotation="270"] .highlightEditor:not(.free) > .editToolbar{
|
|
1947
2276
|
rotate:90deg;
|
|
1948
2277
|
}
|
|
1949
2278
|
|
|
@@ -1951,16 +2280,19 @@
|
|
|
1951
2280
|
position:absolute;
|
|
1952
2281
|
background:transparent;
|
|
1953
2282
|
z-index:1;
|
|
1954
|
-
transform-origin:0 0;
|
|
1955
2283
|
cursor:auto;
|
|
1956
2284
|
max-width:100%;
|
|
1957
2285
|
max-height:100%;
|
|
1958
2286
|
border:none;
|
|
1959
2287
|
outline:none;
|
|
1960
2288
|
pointer-events:none;
|
|
1961
|
-
transform:
|
|
2289
|
+
transform-origin:0 0;
|
|
1962
2290
|
}
|
|
1963
2291
|
|
|
2292
|
+
.annotationEditorLayer .highlightEditor:not(.free){
|
|
2293
|
+
transform:none;
|
|
2294
|
+
}
|
|
2295
|
+
|
|
1964
2296
|
.annotationEditorLayer .highlightEditor .internal{
|
|
1965
2297
|
position:absolute;
|
|
1966
2298
|
top:0;
|
|
@@ -2016,6 +2348,10 @@
|
|
|
2016
2348
|
background-color:var(--editor-toolbar-hover-bg-color);
|
|
2017
2349
|
}
|
|
2018
2350
|
|
|
2351
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden))::after{
|
|
2352
|
+
scale:-1;
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2019
2355
|
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown{
|
|
2020
2356
|
position:absolute;
|
|
2021
2357
|
display:flex;
|
|
@@ -2067,23 +2403,24 @@
|
|
|
2067
2403
|
height:auto;
|
|
2068
2404
|
padding-inline:10px;
|
|
2069
2405
|
padding-block:10px 16px;
|
|
2406
|
+
gap:16px;
|
|
2070
2407
|
display:flex;
|
|
2071
2408
|
flex-direction:column;
|
|
2072
2409
|
box-sizing:border-box;
|
|
2073
2410
|
}
|
|
2074
2411
|
|
|
2412
|
+
#highlightParamsToolbarContainer .editorParamsLabel{
|
|
2413
|
+
width:-moz-fit-content;
|
|
2414
|
+
width:fit-content;
|
|
2415
|
+
inset-inline-start:0;
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2075
2418
|
#highlightParamsToolbarContainer .colorPicker{
|
|
2076
2419
|
display:flex;
|
|
2077
2420
|
flex-direction:column;
|
|
2078
2421
|
gap:8px;
|
|
2079
2422
|
}
|
|
2080
2423
|
|
|
2081
|
-
#highlightParamsToolbarContainer .colorPicker #highlightColorPickerLabel{
|
|
2082
|
-
width:-moz-fit-content;
|
|
2083
|
-
width:fit-content;
|
|
2084
|
-
inset-inline-start:0;
|
|
2085
|
-
}
|
|
2086
|
-
|
|
2087
2424
|
#highlightParamsToolbarContainer .colorPicker .dropdown{
|
|
2088
2425
|
display:flex;
|
|
2089
2426
|
justify-content:space-between;
|
|
@@ -2121,6 +2458,112 @@
|
|
|
2121
2458
|
outline:2px solid var(--hover-outline-color);
|
|
2122
2459
|
}
|
|
2123
2460
|
|
|
2461
|
+
#highlightParamsToolbarContainer #editorHighlightThickness{
|
|
2462
|
+
display:flex;
|
|
2463
|
+
flex-direction:column;
|
|
2464
|
+
align-items:center;
|
|
2465
|
+
gap:4px;
|
|
2466
|
+
align-self:stretch;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .editorParamsLabel{
|
|
2470
|
+
width:100%;
|
|
2471
|
+
height:auto;
|
|
2472
|
+
align-self:stretch;
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
|
|
2476
|
+
display:flex;
|
|
2477
|
+
justify-content:space-between;
|
|
2478
|
+
align-items:center;
|
|
2479
|
+
align-self:stretch;
|
|
2480
|
+
|
|
2481
|
+
--example-color:#bfbfc9;
|
|
2482
|
+
}
|
|
2483
|
+
|
|
2484
|
+
@media (prefers-color-scheme: dark){
|
|
2485
|
+
|
|
2486
|
+
:where(html:not(.is-light)) #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
|
|
2487
|
+
--example-color:#80808e;
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
:where(html.is-dark) #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
|
|
2492
|
+
--example-color:#80808e;
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
@media screen and (forced-colors: active){
|
|
2496
|
+
|
|
2497
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
|
|
2498
|
+
--example-color:CanvasText;
|
|
2499
|
+
}
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
:is(#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker > .editorParamsSlider[disabled]){
|
|
2503
|
+
opacity:0.4;
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::before,
|
|
2507
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::after{
|
|
2508
|
+
content:"";
|
|
2509
|
+
width:8px;
|
|
2510
|
+
aspect-ratio:1;
|
|
2511
|
+
display:block;
|
|
2512
|
+
border-radius:100%;
|
|
2513
|
+
background-color:var(--example-color);
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::after{
|
|
2517
|
+
width:24px;
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker .editorParamsSlider{
|
|
2521
|
+
width:unset;
|
|
2522
|
+
height:14px;
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2525
|
+
#highlightParamsToolbarContainer #editorHighlightVisibility{
|
|
2526
|
+
display:flex;
|
|
2527
|
+
flex-direction:column;
|
|
2528
|
+
align-items:flex-start;
|
|
2529
|
+
gap:8px;
|
|
2530
|
+
align-self:stretch;
|
|
2531
|
+
}
|
|
2532
|
+
|
|
2533
|
+
#highlightParamsToolbarContainer #editorHighlightVisibility .divider{
|
|
2534
|
+
--divider-color:#d7d7db;
|
|
2535
|
+
|
|
2536
|
+
margin-block:4px;
|
|
2537
|
+
width:100%;
|
|
2538
|
+
height:1px;
|
|
2539
|
+
background-color:var(--divider-color);
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
@media (prefers-color-scheme: dark){
|
|
2543
|
+
|
|
2544
|
+
:where(html:not(.is-light)) #highlightParamsToolbarContainer #editorHighlightVisibility .divider{
|
|
2545
|
+
--divider-color:#8f8f9d;
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
:where(html.is-dark) #highlightParamsToolbarContainer #editorHighlightVisibility .divider{
|
|
2550
|
+
--divider-color:#8f8f9d;
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
@media screen and (forced-colors: active){
|
|
2554
|
+
|
|
2555
|
+
#highlightParamsToolbarContainer #editorHighlightVisibility .divider{
|
|
2556
|
+
--divider-color:CanvasText;
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
#highlightParamsToolbarContainer #editorHighlightVisibility .toggler{
|
|
2561
|
+
display:flex;
|
|
2562
|
+
justify-content:space-between;
|
|
2563
|
+
align-items:center;
|
|
2564
|
+
align-self:stretch;
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2124
2567
|
:root{
|
|
2125
2568
|
--viewer-container-height:0;
|
|
2126
2569
|
--pdfViewer-padding-bottom:0;
|
|
@@ -2149,7 +2592,8 @@
|
|
|
2149
2592
|
transform:rotate(270deg) translateX(-100%);
|
|
2150
2593
|
}
|
|
2151
2594
|
|
|
2152
|
-
#hiddenCopyElement
|
|
2595
|
+
#hiddenCopyElement,
|
|
2596
|
+
.hiddenCanvasElement{
|
|
2153
2597
|
position:absolute;
|
|
2154
2598
|
top:0;
|
|
2155
2599
|
left:0;
|
|
@@ -2162,13 +2606,22 @@
|
|
|
2162
2606
|
--scale-factor:1;
|
|
2163
2607
|
|
|
2164
2608
|
padding-bottom:var(--pdfViewer-padding-bottom);
|
|
2609
|
+
|
|
2610
|
+
--hcm-highlight-filter:none;
|
|
2611
|
+
--hcm-highlight-selected-filter:none;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
@media screen and (forced-colors: active){
|
|
2615
|
+
|
|
2616
|
+
.pdfViewer{
|
|
2617
|
+
--hcm-highlight-filter:invert(100%);
|
|
2165
2618
|
}
|
|
2619
|
+
}
|
|
2166
2620
|
|
|
2167
2621
|
.pdfViewer .canvasWrapper{
|
|
2168
2622
|
overflow:hidden;
|
|
2169
2623
|
width:100%;
|
|
2170
2624
|
height:100%;
|
|
2171
|
-
z-index:1;
|
|
2172
2625
|
}
|
|
2173
2626
|
|
|
2174
2627
|
.pdfViewer .page{
|
|
@@ -2826,6 +3279,7 @@ body{
|
|
|
2826
3279
|
}
|
|
2827
3280
|
|
|
2828
3281
|
.loadingInput:has(> #findInput[data-status="pending"])::after{
|
|
3282
|
+
display:block;
|
|
2829
3283
|
visibility:visible;
|
|
2830
3284
|
}
|
|
2831
3285
|
|
|
@@ -3475,6 +3929,7 @@ a:is(.toolbarButton, .secondaryToolbarButton)[href="#"]{
|
|
|
3475
3929
|
}
|
|
3476
3930
|
|
|
3477
3931
|
.loadingInput:has(> #pageNumber.loading)::after{
|
|
3932
|
+
display:block;
|
|
3478
3933
|
visibility:visible;
|
|
3479
3934
|
|
|
3480
3935
|
transition-property:visibility;
|
|
@@ -3484,6 +3939,7 @@ a:is(.toolbarButton, .secondaryToolbarButton)[href="#"]{
|
|
|
3484
3939
|
.loadingInput::after{
|
|
3485
3940
|
position:absolute;
|
|
3486
3941
|
visibility:hidden;
|
|
3942
|
+
display:none;
|
|
3487
3943
|
top:calc(50% - 8px);
|
|
3488
3944
|
width:16px;
|
|
3489
3945
|
height:16px;
|