@4tw/vue-cli-plugin-pdfjs-viewer 1.4.0 → 1.5.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/CHANGELOG.md +4 -0
- package/assets/build/pdf.mjs +973 -220
- package/assets/build/pdf.mjs.map +1 -1
- package/assets/build/pdf.sandbox.mjs +3 -3
- package/assets/build/pdf.sandbox.mjs.map +1 -1
- package/assets/build/pdf.worker.mjs +66 -19
- package/assets/build/pdf.worker.mjs.map +1 -1
- package/assets/web/images/toolbarButton-editorHighlight.svg +6 -0
- package/assets/web/locale/be/viewer.ftl +35 -0
- package/assets/web/locale/br/viewer.ftl +30 -0
- package/assets/web/locale/cs/viewer.ftl +35 -0
- package/assets/web/locale/cy/viewer.ftl +33 -0
- package/assets/web/locale/da/viewer.ftl +14 -0
- package/assets/web/locale/de/viewer.ftl +35 -0
- package/assets/web/locale/dsb/viewer.ftl +33 -0
- package/assets/web/locale/el/viewer.ftl +33 -0
- package/assets/web/locale/en-GB/viewer.ftl +33 -0
- package/assets/web/locale/en-US/viewer.ftl +36 -2
- package/assets/web/locale/es-AR/viewer.ftl +35 -0
- package/assets/web/locale/es-CL/viewer.ftl +33 -0
- package/assets/web/locale/es-ES/viewer.ftl +35 -0
- package/assets/web/locale/fi/viewer.ftl +33 -0
- package/assets/web/locale/fr/viewer.ftl +33 -0
- package/assets/web/locale/fur/viewer.ftl +14 -0
- package/assets/web/locale/fy-NL/viewer.ftl +35 -0
- package/assets/web/locale/gn/viewer.ftl +33 -0
- package/assets/web/locale/he/viewer.ftl +33 -0
- package/assets/web/locale/hsb/viewer.ftl +33 -0
- package/assets/web/locale/hu/viewer.ftl +35 -0
- package/assets/web/locale/ia/viewer.ftl +33 -0
- package/assets/web/locale/is/viewer.ftl +33 -0
- package/assets/web/locale/it/viewer.ftl +33 -0
- package/assets/web/locale/ja/viewer.ftl +14 -0
- package/assets/web/locale/ka/viewer.ftl +2 -0
- package/assets/web/locale/kab/viewer.ftl +12 -0
- package/assets/web/locale/kk/viewer.ftl +33 -0
- package/assets/web/locale/ko/viewer.ftl +33 -0
- package/assets/web/locale/nb-NO/viewer.ftl +33 -0
- package/assets/web/locale/nl/viewer.ftl +35 -0
- package/assets/web/locale/nn-NO/viewer.ftl +2 -0
- package/assets/web/locale/pa-IN/viewer.ftl +14 -0
- package/assets/web/locale/pl/viewer.ftl +35 -0
- package/assets/web/locale/pt-BR/viewer.ftl +33 -0
- package/assets/web/locale/rm/viewer.ftl +35 -0
- package/assets/web/locale/ru/viewer.ftl +33 -0
- package/assets/web/locale/sk/viewer.ftl +33 -0
- package/assets/web/locale/sl/viewer.ftl +35 -0
- package/assets/web/locale/sq/viewer.ftl +35 -0
- package/assets/web/locale/sv-SE/viewer.ftl +33 -0
- package/assets/web/locale/tg/viewer.ftl +35 -0
- package/assets/web/locale/tr/viewer.ftl +33 -0
- package/assets/web/locale/uk/viewer.ftl +35 -0
- package/assets/web/locale/vi/viewer.ftl +33 -0
- package/assets/web/locale/zh-CN/viewer.ftl +35 -0
- package/assets/web/locale/zh-TW/viewer.ftl +33 -0
- package/assets/web/viewer.css +524 -360
- package/assets/web/viewer.html +22 -11
- package/assets/web/viewer.mjs +343 -238
- package/assets/web/viewer.mjs.map +1 -1
- package/package.json +1 -1
package/assets/web/viewer.css
CHANGED
|
@@ -333,8 +333,8 @@
|
|
|
333
333
|
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{
|
|
334
334
|
border-radius:50%;
|
|
335
335
|
height:50%;
|
|
336
|
-
left:
|
|
337
|
-
top:
|
|
336
|
+
left:25%;
|
|
337
|
+
top:25%;
|
|
338
338
|
width:50%;
|
|
339
339
|
}
|
|
340
340
|
|
|
@@ -773,6 +773,61 @@
|
|
|
773
773
|
}
|
|
774
774
|
}
|
|
775
775
|
|
|
776
|
+
.canvasWrapper svg{
|
|
777
|
+
transform:none;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.canvasWrapper svg[data-main-rotation="90"] use:not(.clip){
|
|
781
|
+
transform:matrix(0, 1, -1, 0, 1, 0);
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
.canvasWrapper svg[data-main-rotation="180"] use:not(.clip){
|
|
785
|
+
transform:matrix(-1, 0, 0, -1, 1, 1);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.canvasWrapper svg[data-main-rotation="270"] use:not(.clip){
|
|
789
|
+
transform:matrix(0, -1, 1, 0, 0, 1);
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.canvasWrapper svg.highlight{
|
|
793
|
+
--blend-mode:multiply;
|
|
794
|
+
|
|
795
|
+
position:absolute;
|
|
796
|
+
mix-blend-mode:var(--blend-mode);
|
|
797
|
+
fill-rule:evenodd;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
@media screen and (forced-colors: active){
|
|
801
|
+
|
|
802
|
+
.canvasWrapper svg.highlight{
|
|
803
|
+
--blend-mode:difference;
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.canvasWrapper svg.highlightOutline{
|
|
808
|
+
position:absolute;
|
|
809
|
+
mix-blend-mode:normal;
|
|
810
|
+
fill-rule:evenodd;
|
|
811
|
+
fill:none;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.canvasWrapper svg.highlightOutline.hovered{
|
|
815
|
+
stroke:var(--hover-outline-color);
|
|
816
|
+
stroke-width:var(--outline-width);
|
|
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
|
+
);
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.canvasWrapper svg.highlightOutline.selected .secondaryOutline{
|
|
827
|
+
stroke:var(--outline-color);
|
|
828
|
+
stroke-width:var(--outline-width);
|
|
829
|
+
}
|
|
830
|
+
|
|
776
831
|
:root{
|
|
777
832
|
--outline-width:2px;
|
|
778
833
|
--outline-color:#0060df;
|
|
@@ -795,22 +850,6 @@
|
|
|
795
850
|
);
|
|
796
851
|
--editorFreeText-editing-cursor:text;
|
|
797
852
|
--editorInk-editing-cursor:url(images/cursor-editorInk.svg) 0 16, pointer;
|
|
798
|
-
|
|
799
|
-
--alt-text-opacity:0.8;
|
|
800
|
-
--alt-text-add-image:url(images/altText_add.svg);
|
|
801
|
-
--alt-text-done-image:url(images/altText_done.svg);
|
|
802
|
-
--alt-text-bg-color:rgb(43 42 51 / var(--alt-text-opacity));
|
|
803
|
-
--alt-text-fg-color:#fbfbfe;
|
|
804
|
-
--alt-text-border-color:var(--alt-text-bg-color);
|
|
805
|
-
--alt-text-hover-bg-color:rgb(82 82 94 / var(--alt-text-opacity));
|
|
806
|
-
--alt-text-hover-fg-color:var(--alt-text-fg-color);
|
|
807
|
-
--alt-text-hover-border-color:var(--alt-text-hover-bg-color);
|
|
808
|
-
--alt-text-active-bg-color:rgb(91 91 102 / var(--alt-text-opacity));
|
|
809
|
-
--alt-text-active-fg-color:var(--alt-text-fg-color);
|
|
810
|
-
--alt-text-active-border-color:var(--alt-text-hover-bg-color);
|
|
811
|
-
--alt-text-focus-outline-color:#0060df;
|
|
812
|
-
--alt-text-focus-border-color:#f0f0f4;
|
|
813
|
-
--alt-text-shadow:0 2px 6px 0 rgb(28 27 34 / 0.5);
|
|
814
853
|
}
|
|
815
854
|
|
|
816
855
|
@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 1.1dppx){
|
|
@@ -826,29 +865,17 @@
|
|
|
826
865
|
--resizer-bg-color:ButtonText;
|
|
827
866
|
--hover-outline-color:Highlight;
|
|
828
867
|
--hover-outline-around-color:SelectedItemText;
|
|
829
|
-
|
|
830
|
-
--alt-text-bg-color:Canvas;
|
|
831
|
-
--alt-text-fg-color:ButtonText;
|
|
832
|
-
--alt-text-border-color:ButtonText;
|
|
833
|
-
--alt-text-hover-bg-color:Canvas;
|
|
834
|
-
--alt-text-hover-fg-color:SelectedItem;
|
|
835
|
-
--alt-text-hover-border-color:SelectedItem;
|
|
836
|
-
--alt-text-active-bg-color:ButtonFace;
|
|
837
|
-
--alt-text-active-fg-color:SelectedItem;
|
|
838
|
-
--alt-text-active-border-color:ButtonText;
|
|
839
|
-
--alt-text-focus-outline-color:CanvasText;
|
|
840
|
-
--alt-text-focus-border-color:ButtonText;
|
|
841
|
-
--alt-text-shadow:none;
|
|
842
|
-
--alt-text-opacity:1;
|
|
843
868
|
}
|
|
844
869
|
}
|
|
845
870
|
|
|
846
871
|
[data-editor-rotation="90"]{
|
|
847
872
|
transform:rotate(90deg);
|
|
848
873
|
}
|
|
874
|
+
|
|
849
875
|
[data-editor-rotation="180"]{
|
|
850
876
|
transform:rotate(180deg);
|
|
851
877
|
}
|
|
878
|
+
|
|
852
879
|
[data-editor-rotation="270"]{
|
|
853
880
|
transform:rotate(270deg);
|
|
854
881
|
}
|
|
@@ -924,30 +951,39 @@
|
|
|
924
951
|
border:var(--focus-outline-around);
|
|
925
952
|
}
|
|
926
953
|
|
|
927
|
-
.annotationEditorLayer
|
|
954
|
+
.annotationEditorLayer
|
|
955
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
928
956
|
--editor-toolbar-delete-image:url(images/editor-toolbar-delete.svg);
|
|
929
957
|
--editor-toolbar-bg-color:#f0f0f4;
|
|
930
958
|
--editor-toolbar-fg-color:#2e2e56;
|
|
931
959
|
--editor-toolbar-border-color:#8f8f9d;
|
|
960
|
+
--editor-toolbar-hover-border-color:var(--editor-toolbar-border-color);
|
|
932
961
|
--editor-toolbar-hover-bg-color:#e0e0e6;
|
|
933
|
-
--editor-toolbar-
|
|
962
|
+
--editor-toolbar-hover-fg-color:var(--editor-toolbar-fg-color);
|
|
963
|
+
--editor-toolbar-hover-outline:none;
|
|
934
964
|
--editor-toolbar-focus-outline-color:#0060df;
|
|
935
965
|
--editor-toolbar-shadow:0 2px 6px 0 rgb(58 57 68 / 0.2);
|
|
966
|
+
--editor-toolbar-vert-offset:6px;
|
|
967
|
+
--editor-toolbar-height:28px;
|
|
968
|
+
--editor-toolbar-padding:2px;
|
|
936
969
|
|
|
937
970
|
display:flex;
|
|
938
971
|
width:-moz-fit-content;
|
|
939
972
|
width:fit-content;
|
|
940
|
-
height:
|
|
973
|
+
height:var(--editor-toolbar-height);
|
|
941
974
|
flex-direction:column;
|
|
942
975
|
justify-content:center;
|
|
943
976
|
align-items:center;
|
|
944
977
|
cursor:default;
|
|
978
|
+
pointer-events:auto;
|
|
979
|
+
box-sizing:content-box;
|
|
980
|
+
padding:var(--editor-toolbar-padding);
|
|
945
981
|
|
|
946
982
|
position:absolute;
|
|
947
983
|
inset-inline-end:0;
|
|
948
|
-
inset-block-start:calc(100% +
|
|
984
|
+
inset-block-start:calc(100% + var(--editor-toolbar-vert-offset));
|
|
949
985
|
|
|
950
|
-
border-radius:
|
|
986
|
+
border-radius:6px;
|
|
951
987
|
background-color:var(--editor-toolbar-bg-color);
|
|
952
988
|
border:1px solid var(--editor-toolbar-border-color);
|
|
953
989
|
box-shadow:var(--editor-toolbar-shadow);
|
|
@@ -955,63 +991,86 @@
|
|
|
955
991
|
|
|
956
992
|
@media (prefers-color-scheme: dark){
|
|
957
993
|
|
|
958
|
-
:where(html:not(.is-light)) .annotationEditorLayer
|
|
994
|
+
:where(html:not(.is-light)) .annotationEditorLayer
|
|
995
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
959
996
|
--editor-toolbar-bg-color:#2b2a33;
|
|
960
997
|
--editor-toolbar-fg-color:#fbfbfe;
|
|
961
|
-
--editor-toolbar-border-color:#2b2a33;
|
|
962
998
|
--editor-toolbar-hover-bg-color:#52525e;
|
|
963
|
-
--editor-toolbar-active-bg-color:#5b5b66;
|
|
964
999
|
--editor-toolbar-focus-outline-color:#0df;
|
|
965
1000
|
}
|
|
966
1001
|
}
|
|
967
1002
|
|
|
968
|
-
:where(html.is-dark) .annotationEditorLayer
|
|
1003
|
+
:where(html.is-dark) .annotationEditorLayer
|
|
1004
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
969
1005
|
--editor-toolbar-bg-color:#2b2a33;
|
|
970
1006
|
--editor-toolbar-fg-color:#fbfbfe;
|
|
971
|
-
--editor-toolbar-border-color:#2b2a33;
|
|
972
1007
|
--editor-toolbar-hover-bg-color:#52525e;
|
|
973
|
-
--editor-toolbar-active-bg-color:#5b5b66;
|
|
974
1008
|
--editor-toolbar-focus-outline-color:#0df;
|
|
975
1009
|
}
|
|
976
1010
|
|
|
977
1011
|
@media screen and (forced-colors: active){
|
|
978
1012
|
|
|
979
|
-
.annotationEditorLayer
|
|
1013
|
+
.annotationEditorLayer
|
|
1014
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
980
1015
|
--editor-toolbar-bg-color:ButtonFace;
|
|
981
1016
|
--editor-toolbar-fg-color:ButtonText;
|
|
982
1017
|
--editor-toolbar-border-color:ButtonText;
|
|
983
|
-
--editor-toolbar-hover-
|
|
984
|
-
--editor-toolbar-
|
|
1018
|
+
--editor-toolbar-hover-border-color:AccentColor;
|
|
1019
|
+
--editor-toolbar-hover-bg-color:ButtonFace;
|
|
1020
|
+
--editor-toolbar-hover-fg-color:AccentColor;
|
|
1021
|
+
--editor-toolbar-hover-outline:2px solid var(--editor-toolbar-hover-border-color);
|
|
985
1022
|
--editor-toolbar-focus-outline-color:ButtonBorder;
|
|
986
1023
|
--editor-toolbar-shadow:none;
|
|
987
1024
|
}
|
|
988
1025
|
}
|
|
989
1026
|
|
|
990
|
-
.annotationEditorLayer
|
|
1027
|
+
.annotationEditorLayer
|
|
1028
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar.hidden{
|
|
991
1029
|
display:none;
|
|
992
1030
|
}
|
|
993
1031
|
|
|
994
|
-
.annotationEditorLayer
|
|
1032
|
+
.annotationEditorLayer
|
|
1033
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar:has(:focus-visible){
|
|
995
1034
|
border-color:transparent;
|
|
996
1035
|
}
|
|
997
1036
|
|
|
998
|
-
.annotationEditorLayer
|
|
1037
|
+
[dir="ltr"] .annotationEditorLayer
|
|
1038
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
1039
|
+
transform-origin:100% 0;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
[dir="rtl"] .annotationEditorLayer
|
|
1043
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar{
|
|
1044
|
+
transform-origin:0 0;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.annotationEditorLayer
|
|
1048
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons{
|
|
999
1049
|
display:flex;
|
|
1000
|
-
padding:0 2px;
|
|
1001
1050
|
justify-content:center;
|
|
1002
1051
|
align-items:center;
|
|
1003
|
-
gap:
|
|
1052
|
+
gap:0;
|
|
1053
|
+
height:100%;
|
|
1004
1054
|
}
|
|
1005
1055
|
|
|
1006
|
-
.annotationEditorLayer
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1056
|
+
.annotationEditorLayer
|
|
1057
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .divider{
|
|
1058
|
+
width:1px;
|
|
1059
|
+
height:calc(
|
|
1060
|
+
2 * var(--editor-toolbar-padding) + var(--editor-toolbar-height)
|
|
1061
|
+
);
|
|
1062
|
+
background-color:var(--editor-toolbar-border-color);
|
|
1063
|
+
display:inline-block;
|
|
1064
|
+
margin-inline:2px;
|
|
1012
1065
|
}
|
|
1013
1066
|
|
|
1014
|
-
.annotationEditorLayer
|
|
1067
|
+
.annotationEditorLayer
|
|
1068
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .delete{
|
|
1069
|
+
width:var(--editor-toolbar-height);
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
.annotationEditorLayer
|
|
1073
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .delete::before{
|
|
1015
1074
|
content:"";
|
|
1016
1075
|
-webkit-mask-image:var(--editor-toolbar-delete-image);
|
|
1017
1076
|
mask-image:var(--editor-toolbar-delete-image);
|
|
@@ -1025,21 +1084,156 @@
|
|
|
1025
1084
|
height:100%;
|
|
1026
1085
|
}
|
|
1027
1086
|
|
|
1028
|
-
.annotationEditorLayer
|
|
1087
|
+
.annotationEditorLayer
|
|
1088
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .delete:hover::before{
|
|
1089
|
+
background-color:var(--editor-toolbar-hover-fg-color);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
.annotationEditorLayer
|
|
1093
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > *{
|
|
1094
|
+
height:var(--editor-toolbar-height);
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
.annotationEditorLayer
|
|
1098
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider){
|
|
1099
|
+
border:none;
|
|
1100
|
+
background-color:transparent;
|
|
1101
|
+
cursor:pointer;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.annotationEditorLayer
|
|
1105
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider):hover{
|
|
1029
1106
|
border-radius:2px;
|
|
1030
1107
|
background-color:var(--editor-toolbar-hover-bg-color);
|
|
1108
|
+
color:var(--editor-toolbar-hover-fg-color);
|
|
1109
|
+
outline:var(--editor-toolbar-hover-outline);
|
|
1110
|
+
outline-offset:1px;
|
|
1031
1111
|
}
|
|
1032
1112
|
|
|
1033
|
-
.annotationEditorLayer
|
|
1113
|
+
.annotationEditorLayer
|
|
1114
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider):hover:active{
|
|
1115
|
+
outline:none;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
.annotationEditorLayer
|
|
1119
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons > :not(.divider):focus-visible{
|
|
1034
1120
|
border-radius:2px;
|
|
1035
|
-
|
|
1121
|
+
outline:2px solid var(--editor-toolbar-focus-outline-color);
|
|
1036
1122
|
}
|
|
1037
1123
|
|
|
1038
|
-
.annotationEditorLayer
|
|
1039
|
-
|
|
1040
|
-
|
|
1124
|
+
.annotationEditorLayer
|
|
1125
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText{
|
|
1126
|
+
--alt-text-add-image:url(images/altText_add.svg);
|
|
1127
|
+
--alt-text-done-image:url(images/altText_done.svg);
|
|
1128
|
+
|
|
1129
|
+
display:flex;
|
|
1130
|
+
align-items:center;
|
|
1131
|
+
justify-content:center;
|
|
1132
|
+
width:-moz-max-content;
|
|
1133
|
+
width:max-content;
|
|
1134
|
+
padding-inline:8px;
|
|
1135
|
+
pointer-events:all;
|
|
1136
|
+
font:menu;
|
|
1137
|
+
font-weight:590;
|
|
1138
|
+
font-size:12px;
|
|
1139
|
+
color:var(--editor-toolbar-fg-color);
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
.annotationEditorLayer
|
|
1143
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText:disabled{
|
|
1144
|
+
pointer-events:none;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.annotationEditorLayer
|
|
1148
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText::before{
|
|
1149
|
+
content:"";
|
|
1150
|
+
-webkit-mask-image:var(--alt-text-add-image);
|
|
1151
|
+
mask-image:var(--alt-text-add-image);
|
|
1152
|
+
-webkit-mask-repeat:no-repeat;
|
|
1153
|
+
mask-repeat:no-repeat;
|
|
1154
|
+
-webkit-mask-position:center;
|
|
1155
|
+
mask-position:center;
|
|
1156
|
+
display:inline-block;
|
|
1157
|
+
width:12px;
|
|
1158
|
+
height:13px;
|
|
1159
|
+
background-color:var(--editor-toolbar-fg-color);
|
|
1160
|
+
margin-inline-end:4px;
|
|
1041
1161
|
}
|
|
1042
1162
|
|
|
1163
|
+
.annotationEditorLayer
|
|
1164
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText:hover::before{
|
|
1165
|
+
background-color:var(--editor-toolbar-hover-fg-color);
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
.annotationEditorLayer
|
|
1169
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText.done::before{
|
|
1170
|
+
-webkit-mask-image:var(--alt-text-done-image);
|
|
1171
|
+
mask-image:var(--alt-text-done-image);
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
.annotationEditorLayer
|
|
1175
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip{
|
|
1176
|
+
display:none;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
.annotationEditorLayer
|
|
1180
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
|
|
1181
|
+
--alt-text-tooltip-bg:#f0f0f4;
|
|
1182
|
+
--alt-text-tooltip-fg:#15141a;
|
|
1183
|
+
--alt-text-tooltip-border:#8f8f9d;
|
|
1184
|
+
--alt-text-tooltip-shadow:0px 2px 6px 0px rgb(58 57 68 / 0.2);
|
|
1185
|
+
|
|
1186
|
+
display:inline-flex;
|
|
1187
|
+
flex-direction:column;
|
|
1188
|
+
align-items:center;
|
|
1189
|
+
justify-content:center;
|
|
1190
|
+
position:absolute;
|
|
1191
|
+
top:calc(100% + 2px);
|
|
1192
|
+
inset-inline-start:0;
|
|
1193
|
+
padding-block:2px 3px;
|
|
1194
|
+
padding-inline:3px;
|
|
1195
|
+
max-width:300px;
|
|
1196
|
+
width:-moz-max-content;
|
|
1197
|
+
width:max-content;
|
|
1198
|
+
height:auto;
|
|
1199
|
+
font-size:12px;
|
|
1200
|
+
|
|
1201
|
+
border:0.5px solid var(--alt-text-tooltip-border);
|
|
1202
|
+
background:var(--alt-text-tooltip-bg);
|
|
1203
|
+
box-shadow:var(--alt-text-tooltip-shadow);
|
|
1204
|
+
color:var(--alt-text-tooltip-fg);
|
|
1205
|
+
|
|
1206
|
+
pointer-events:none;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
@media (prefers-color-scheme: dark){
|
|
1210
|
+
|
|
1211
|
+
:where(html:not(.is-light)) .annotationEditorLayer
|
|
1212
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
|
|
1213
|
+
--alt-text-tooltip-bg:#1c1b22;
|
|
1214
|
+
--alt-text-tooltip-fg:#fbfbfe;
|
|
1215
|
+
--alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
:where(html.is-dark) .annotationEditorLayer
|
|
1220
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
|
|
1221
|
+
--alt-text-tooltip-bg:#1c1b22;
|
|
1222
|
+
--alt-text-tooltip-fg:#fbfbfe;
|
|
1223
|
+
--alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
@media screen and (forced-colors: active){
|
|
1227
|
+
|
|
1228
|
+
.annotationEditorLayer
|
|
1229
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor) .editToolbar .buttons .altText .tooltip.show{
|
|
1230
|
+
--alt-text-tooltip-bg:Canvas;
|
|
1231
|
+
--alt-text-tooltip-fg:CanvasText;
|
|
1232
|
+
--alt-text-tooltip-border:CanvasText;
|
|
1233
|
+
--alt-text-tooltip-shadow:none;
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1043
1237
|
.annotationEditorLayer .freeTextEditor{
|
|
1044
1238
|
padding:calc(var(--freetext-padding) * var(--scale-factor));
|
|
1045
1239
|
width:auto;
|
|
@@ -1069,7 +1263,7 @@
|
|
|
1069
1263
|
height:100%;
|
|
1070
1264
|
}
|
|
1071
1265
|
|
|
1072
|
-
.annotationEditorLayer
|
|
1266
|
+
.annotationEditorLayer freeTextEditor .overlay.enabled{
|
|
1073
1267
|
display:block;
|
|
1074
1268
|
}
|
|
1075
1269
|
|
|
@@ -1322,58 +1516,6 @@
|
|
|
1322
1516
|
cursor:ns-resize;
|
|
1323
1517
|
}
|
|
1324
1518
|
|
|
1325
|
-
.annotationEditorLayer
|
|
1326
|
-
:is(
|
|
1327
|
-
[data-main-rotation="0"] [data-editor-rotation="90"],
|
|
1328
|
-
[data-main-rotation="90"] [data-editor-rotation="0"],
|
|
1329
|
-
[data-main-rotation="180"] [data-editor-rotation="270"],
|
|
1330
|
-
[data-main-rotation="270"] [data-editor-rotation="180"]
|
|
1331
|
-
) .altText{
|
|
1332
|
-
rotate:270deg;
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
[dir="ltr"] .annotationEditorLayer
|
|
1336
|
-
:is(
|
|
1337
|
-
[data-main-rotation="0"] [data-editor-rotation="90"],
|
|
1338
|
-
[data-main-rotation="90"] [data-editor-rotation="0"],
|
|
1339
|
-
[data-main-rotation="180"] [data-editor-rotation="270"],
|
|
1340
|
-
[data-main-rotation="270"] [data-editor-rotation="180"]
|
|
1341
|
-
) .altText{
|
|
1342
|
-
inset-inline-start:calc(100% - 8px);
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
[dir="ltr"] .annotationEditorLayer
|
|
1346
|
-
:is(
|
|
1347
|
-
[data-main-rotation="0"] [data-editor-rotation="90"],
|
|
1348
|
-
[data-main-rotation="90"] [data-editor-rotation="0"],
|
|
1349
|
-
[data-main-rotation="180"] [data-editor-rotation="270"],
|
|
1350
|
-
[data-main-rotation="270"] [data-editor-rotation="180"]
|
|
1351
|
-
) .altText.small{
|
|
1352
|
-
inset-inline-start:calc(100% + 8px);
|
|
1353
|
-
inset-block-start:100%;
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
[dir="rtl"] .annotationEditorLayer
|
|
1357
|
-
:is(
|
|
1358
|
-
[data-main-rotation="0"] [data-editor-rotation="90"],
|
|
1359
|
-
[data-main-rotation="90"] [data-editor-rotation="0"],
|
|
1360
|
-
[data-main-rotation="180"] [data-editor-rotation="270"],
|
|
1361
|
-
[data-main-rotation="270"] [data-editor-rotation="180"]
|
|
1362
|
-
) .altText{
|
|
1363
|
-
inset-block-end:calc(100% - 8px);
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
[dir="rtl"] .annotationEditorLayer
|
|
1367
|
-
:is(
|
|
1368
|
-
[data-main-rotation="0"] [data-editor-rotation="90"],
|
|
1369
|
-
[data-main-rotation="90"] [data-editor-rotation="0"],
|
|
1370
|
-
[data-main-rotation="180"] [data-editor-rotation="270"],
|
|
1371
|
-
[data-main-rotation="270"] [data-editor-rotation="180"]
|
|
1372
|
-
) .altText.small{
|
|
1373
|
-
inset-inline-start:-8px;
|
|
1374
|
-
inset-block-start:0;
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
1519
|
.annotationEditorLayer
|
|
1378
1520
|
:is(
|
|
1379
1521
|
[data-main-rotation="0"] [data-editor-rotation="90"],
|
|
@@ -1391,7 +1533,7 @@
|
|
|
1391
1533
|
[data-main-rotation="180"] [data-editor-rotation="270"],
|
|
1392
1534
|
[data-main-rotation="270"] [data-editor-rotation="180"]
|
|
1393
1535
|
) .editToolbar{
|
|
1394
|
-
inset-inline-
|
|
1536
|
+
inset-inline-end:calc(0px - var(--editor-toolbar-vert-offset));
|
|
1395
1537
|
inset-block-start:0;
|
|
1396
1538
|
}
|
|
1397
1539
|
|
|
@@ -1402,33 +1544,8 @@
|
|
|
1402
1544
|
[data-main-rotation="180"] [data-editor-rotation="270"],
|
|
1403
1545
|
[data-main-rotation="270"] [data-editor-rotation="180"]
|
|
1404
1546
|
) .editToolbar{
|
|
1405
|
-
inset-inline-end:calc(100% +
|
|
1406
|
-
inset-block-
|
|
1407
|
-
inset-block-start:unset;
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
.annotationEditorLayer
|
|
1411
|
-
:is(
|
|
1412
|
-
[data-main-rotation="0"] [data-editor-rotation="180"],
|
|
1413
|
-
[data-main-rotation="90"] [data-editor-rotation="90"],
|
|
1414
|
-
[data-main-rotation="180"] [data-editor-rotation="0"],
|
|
1415
|
-
[data-main-rotation="270"] [data-editor-rotation="270"]
|
|
1416
|
-
) .altText{
|
|
1417
|
-
rotate:180deg;
|
|
1418
|
-
|
|
1419
|
-
inset-block-end:calc(100% - 8px);
|
|
1420
|
-
inset-inline-start:calc(100% - 8px);
|
|
1421
|
-
}
|
|
1422
|
-
|
|
1423
|
-
.annotationEditorLayer
|
|
1424
|
-
:is(
|
|
1425
|
-
[data-main-rotation="0"] [data-editor-rotation="180"],
|
|
1426
|
-
[data-main-rotation="90"] [data-editor-rotation="90"],
|
|
1427
|
-
[data-main-rotation="180"] [data-editor-rotation="0"],
|
|
1428
|
-
[data-main-rotation="270"] [data-editor-rotation="270"]
|
|
1429
|
-
) .altText.small{
|
|
1430
|
-
inset-inline-start:100%;
|
|
1431
|
-
inset-block-start:-8px;
|
|
1547
|
+
inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset));
|
|
1548
|
+
inset-block-start:0;
|
|
1432
1549
|
}
|
|
1433
1550
|
|
|
1434
1551
|
.annotationEditorLayer
|
|
@@ -1439,63 +1556,10 @@
|
|
|
1439
1556
|
[data-main-rotation="270"] [data-editor-rotation="270"]
|
|
1440
1557
|
) .editToolbar{
|
|
1441
1558
|
rotate:180deg;
|
|
1442
|
-
inset-inline-
|
|
1443
|
-
inset-block-
|
|
1444
|
-
inset-block-start:unset;
|
|
1445
|
-
}
|
|
1446
|
-
|
|
1447
|
-
.annotationEditorLayer
|
|
1448
|
-
:is(
|
|
1449
|
-
[data-main-rotation="0"] [data-editor-rotation="270"],
|
|
1450
|
-
[data-main-rotation="90"] [data-editor-rotation="180"],
|
|
1451
|
-
[data-main-rotation="180"] [data-editor-rotation="90"],
|
|
1452
|
-
[data-main-rotation="270"] [data-editor-rotation="0"]
|
|
1453
|
-
) .altText{
|
|
1454
|
-
rotate:90deg;
|
|
1559
|
+
inset-inline-end:100%;
|
|
1560
|
+
inset-block-start:calc(0pc - var(--editor-toolbar-vert-offset));
|
|
1455
1561
|
}
|
|
1456
1562
|
|
|
1457
|
-
[dir="ltr"] .annotationEditorLayer
|
|
1458
|
-
:is(
|
|
1459
|
-
[data-main-rotation="0"] [data-editor-rotation="270"],
|
|
1460
|
-
[data-main-rotation="90"] [data-editor-rotation="180"],
|
|
1461
|
-
[data-main-rotation="180"] [data-editor-rotation="90"],
|
|
1462
|
-
[data-main-rotation="270"] [data-editor-rotation="0"]
|
|
1463
|
-
) .altText{
|
|
1464
|
-
inset-block-end:calc(100% - 8px);
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1467
|
-
[dir="ltr"] .annotationEditorLayer
|
|
1468
|
-
:is(
|
|
1469
|
-
[data-main-rotation="0"] [data-editor-rotation="270"],
|
|
1470
|
-
[data-main-rotation="90"] [data-editor-rotation="180"],
|
|
1471
|
-
[data-main-rotation="180"] [data-editor-rotation="90"],
|
|
1472
|
-
[data-main-rotation="270"] [data-editor-rotation="0"]
|
|
1473
|
-
) .altText.small{
|
|
1474
|
-
inset-inline-start:-8px;
|
|
1475
|
-
inset-block-start:0;
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1478
|
-
[dir="rtl"] .annotationEditorLayer
|
|
1479
|
-
:is(
|
|
1480
|
-
[data-main-rotation="0"] [data-editor-rotation="270"],
|
|
1481
|
-
[data-main-rotation="90"] [data-editor-rotation="180"],
|
|
1482
|
-
[data-main-rotation="180"] [data-editor-rotation="90"],
|
|
1483
|
-
[data-main-rotation="270"] [data-editor-rotation="0"]
|
|
1484
|
-
) .altText{
|
|
1485
|
-
inset-inline-start:calc(100% - 8px);
|
|
1486
|
-
}
|
|
1487
|
-
|
|
1488
|
-
[dir="rtl"] .annotationEditorLayer
|
|
1489
|
-
:is(
|
|
1490
|
-
[data-main-rotation="0"] [data-editor-rotation="270"],
|
|
1491
|
-
[data-main-rotation="90"] [data-editor-rotation="180"],
|
|
1492
|
-
[data-main-rotation="180"] [data-editor-rotation="90"],
|
|
1493
|
-
[data-main-rotation="270"] [data-editor-rotation="0"]
|
|
1494
|
-
) .altText.small{
|
|
1495
|
-
inset-inline-start:calc(100% + 8px);
|
|
1496
|
-
inset-block-start:100%;
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
1563
|
.annotationEditorLayer
|
|
1500
1564
|
:is(
|
|
1501
1565
|
[data-main-rotation="0"] [data-editor-rotation="270"],
|
|
@@ -1513,9 +1577,8 @@
|
|
|
1513
1577
|
[data-main-rotation="180"] [data-editor-rotation="90"],
|
|
1514
1578
|
[data-main-rotation="270"] [data-editor-rotation="0"]
|
|
1515
1579
|
) .editToolbar{
|
|
1516
|
-
inset-inline-end:calc(100% +
|
|
1517
|
-
inset-block-
|
|
1518
|
-
inset-block-start:unset;
|
|
1580
|
+
inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset));
|
|
1581
|
+
inset-block-start:100%;
|
|
1519
1582
|
}
|
|
1520
1583
|
|
|
1521
1584
|
[dir="rtl"] .annotationEditorLayer
|
|
@@ -1525,166 +1588,10 @@
|
|
|
1525
1588
|
[data-main-rotation="180"] [data-editor-rotation="90"],
|
|
1526
1589
|
[data-main-rotation="270"] [data-editor-rotation="0"]
|
|
1527
1590
|
) .editToolbar{
|
|
1528
|
-
inset-inline-start:calc(
|
|
1591
|
+
inset-inline-start:calc(0px - var(--editor-toolbar-vert-offset));
|
|
1529
1592
|
inset-block-start:0;
|
|
1530
1593
|
}
|
|
1531
1594
|
|
|
1532
|
-
.altText{
|
|
1533
|
-
display:flex;
|
|
1534
|
-
align-items:center;
|
|
1535
|
-
justify-content:center;
|
|
1536
|
-
padding-inline:4px;
|
|
1537
|
-
width:-moz-max-content;
|
|
1538
|
-
width:max-content;
|
|
1539
|
-
height:24px;
|
|
1540
|
-
min-width:88px;
|
|
1541
|
-
z-index:1;
|
|
1542
|
-
pointer-events:all;
|
|
1543
|
-
|
|
1544
|
-
color:var(--alt-text-fg-color);
|
|
1545
|
-
font:menu;
|
|
1546
|
-
font-size:12px;
|
|
1547
|
-
border-radius:4px;
|
|
1548
|
-
border:1px solid var(--alt-text-border-color);
|
|
1549
|
-
background-color:var(--alt-text-bg-color);
|
|
1550
|
-
box-shadow:var(--alt-text-shadow);
|
|
1551
|
-
|
|
1552
|
-
position:absolute;
|
|
1553
|
-
inset-block-end:8px;
|
|
1554
|
-
inset-inline-start:8px;
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
.altText:disabled{
|
|
1558
|
-
pointer-events:none;
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
|
-
[dir="ltr"] .altText{
|
|
1562
|
-
transform-origin:0 100%;
|
|
1563
|
-
}
|
|
1564
|
-
|
|
1565
|
-
[dir="rtl"] .altText{
|
|
1566
|
-
transform-origin:100% 100%;
|
|
1567
|
-
}
|
|
1568
|
-
|
|
1569
|
-
.altText.small{
|
|
1570
|
-
|
|
1571
|
-
inset-block-end:unset;
|
|
1572
|
-
inset-inline-start:0;
|
|
1573
|
-
inset-block-start:calc(100% + 8px);
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
[dir="ltr"] .altText.small{
|
|
1577
|
-
transform-origin:0 0;
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
[dir="rtl"] .altText.small{
|
|
1581
|
-
transform-origin:100% 0;
|
|
1582
|
-
}
|
|
1583
|
-
|
|
1584
|
-
.altText:hover{
|
|
1585
|
-
background-color:var(--alt-text-hover-bg-color);
|
|
1586
|
-
border-color:var(--alt-text-hover-border-color);
|
|
1587
|
-
color:var(--alt-text-hover-fg-color);
|
|
1588
|
-
cursor:pointer;
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
|
-
.altText:hover::before{
|
|
1592
|
-
background-color:var(--alt-text-hover-fg-color);
|
|
1593
|
-
}
|
|
1594
|
-
|
|
1595
|
-
.altText:active{
|
|
1596
|
-
background-color:var(--alt-text-active-bg-color);
|
|
1597
|
-
border-color:var(--alt-text-active-border-color);
|
|
1598
|
-
color:var(--alt-text-active-fg-color);
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
|
-
.altText:active::before{
|
|
1602
|
-
background-color:var(--alt-text-active-fg-color);
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
.altText:focus-visible{
|
|
1606
|
-
outline:2px solid var(--alt-text-focus-outline-color);
|
|
1607
|
-
border-color:var(--alt-text-focus-border-color);
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
.altText::before{
|
|
1611
|
-
content:"";
|
|
1612
|
-
-webkit-mask-image:var(--alt-text-add-image);
|
|
1613
|
-
mask-image:var(--alt-text-add-image);
|
|
1614
|
-
-webkit-mask-repeat:no-repeat;
|
|
1615
|
-
mask-repeat:no-repeat;
|
|
1616
|
-
-webkit-mask-position:center;
|
|
1617
|
-
mask-position:center;
|
|
1618
|
-
display:inline-block;
|
|
1619
|
-
width:12px;
|
|
1620
|
-
height:13px;
|
|
1621
|
-
background-color:var(--alt-text-fg-color);
|
|
1622
|
-
margin-inline-end:4px;
|
|
1623
|
-
}
|
|
1624
|
-
|
|
1625
|
-
.altText.done::before{
|
|
1626
|
-
-webkit-mask-image:var(--alt-text-done-image);
|
|
1627
|
-
mask-image:var(--alt-text-done-image);
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
.altText .tooltip{
|
|
1631
|
-
display:none;
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
|
-
.altText .tooltip.show{
|
|
1635
|
-
--alt-text-tooltip-bg:#f0f0f4;
|
|
1636
|
-
--alt-text-tooltip-fg:#15141a;
|
|
1637
|
-
--alt-text-tooltip-border:#8f8f9d;
|
|
1638
|
-
--alt-text-tooltip-shadow:0px 2px 6px 0px rgb(58 57 68 / 0.2);
|
|
1639
|
-
|
|
1640
|
-
display:inline-flex;
|
|
1641
|
-
flex-direction:column;
|
|
1642
|
-
align-items:center;
|
|
1643
|
-
justify-content:center;
|
|
1644
|
-
position:absolute;
|
|
1645
|
-
top:calc(100% + 2px);
|
|
1646
|
-
inset-inline-start:0;
|
|
1647
|
-
padding-block:2px 3px;
|
|
1648
|
-
padding-inline:3px;
|
|
1649
|
-
max-width:300px;
|
|
1650
|
-
width:-moz-max-content;
|
|
1651
|
-
width:max-content;
|
|
1652
|
-
height:auto;
|
|
1653
|
-
font-size:12px;
|
|
1654
|
-
|
|
1655
|
-
border:0.5px solid var(--alt-text-tooltip-border);
|
|
1656
|
-
background:var(--alt-text-tooltip-bg);
|
|
1657
|
-
box-shadow:var(--alt-text-tooltip-shadow);
|
|
1658
|
-
color:var(--alt-text-tooltip-fg);
|
|
1659
|
-
|
|
1660
|
-
pointer-events:none;
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
|
-
@media (prefers-color-scheme: dark){
|
|
1664
|
-
|
|
1665
|
-
:where(html:not(.is-light)) .altText .tooltip.show{
|
|
1666
|
-
--alt-text-tooltip-bg:#1c1b22;
|
|
1667
|
-
--alt-text-tooltip-fg:#fbfbfe;
|
|
1668
|
-
--alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
:where(html.is-dark) .altText .tooltip.show{
|
|
1673
|
-
--alt-text-tooltip-bg:#1c1b22;
|
|
1674
|
-
--alt-text-tooltip-fg:#fbfbfe;
|
|
1675
|
-
--alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
@media screen and (forced-colors: active){
|
|
1679
|
-
|
|
1680
|
-
.altText .tooltip.show{
|
|
1681
|
-
--alt-text-tooltip-bg:Canvas;
|
|
1682
|
-
--alt-text-tooltip-fg:CanvasText;
|
|
1683
|
-
--alt-text-tooltip-border:CanvasText;
|
|
1684
|
-
--alt-text-tooltip-shadow:none;
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
1595
|
#altTextDialog{
|
|
1689
1596
|
--dialog-bg-color:white;
|
|
1690
1597
|
--dialog-border-color:white;
|
|
@@ -1980,6 +1887,240 @@
|
|
|
1980
1887
|
border-color:var(--button-save-hover-border-color);
|
|
1981
1888
|
}
|
|
1982
1889
|
|
|
1890
|
+
.colorPicker{
|
|
1891
|
+
--hover-outline-color:#0250bb;
|
|
1892
|
+
--selected-outline-color:#0060df;
|
|
1893
|
+
--swatch-border-color:#cfcfd8;
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
@media (prefers-color-scheme: dark){
|
|
1897
|
+
|
|
1898
|
+
:where(html:not(.is-light)) .colorPicker{
|
|
1899
|
+
--hover-outline-color:#80ebff;
|
|
1900
|
+
--selected-outline-color:#aaf2ff;
|
|
1901
|
+
--swatch-border-color:#52525e;
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
:where(html.is-dark) .colorPicker{
|
|
1906
|
+
--hover-outline-color:#80ebff;
|
|
1907
|
+
--selected-outline-color:#aaf2ff;
|
|
1908
|
+
--swatch-border-color:#52525e;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
@media screen and (forced-colors: active){
|
|
1912
|
+
|
|
1913
|
+
.colorPicker{
|
|
1914
|
+
--hover-outline-color:Highlight;
|
|
1915
|
+
--selected-outline-color:var(--hover-outline-color);
|
|
1916
|
+
--swatch-border-color:ButtonText;
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
.colorPicker .swatch{
|
|
1921
|
+
width:16px;
|
|
1922
|
+
height:16px;
|
|
1923
|
+
border:1px solid var(--swatch-border-color);
|
|
1924
|
+
border-radius:100%;
|
|
1925
|
+
outline-offset:2px;
|
|
1926
|
+
box-sizing:border-box;
|
|
1927
|
+
forced-color-adjust:none;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
.colorPicker button:is(:hover, .selected) > .swatch{
|
|
1931
|
+
border:none;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
.annotationEditorLayer[data-main-rotation="0"] .highlightEditor > .editToolbar{
|
|
1935
|
+
rotate:0deg;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
.annotationEditorLayer[data-main-rotation="90"] .highlightEditor > .editToolbar{
|
|
1939
|
+
rotate:270deg;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
.annotationEditorLayer[data-main-rotation="180"] .highlightEditor > .editToolbar{
|
|
1943
|
+
rotate:180deg;
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
.annotationEditorLayer[data-main-rotation="270"] .highlightEditor > .editToolbar{
|
|
1947
|
+
rotate:90deg;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
.annotationEditorLayer .highlightEditor{
|
|
1951
|
+
position:absolute;
|
|
1952
|
+
background:transparent;
|
|
1953
|
+
z-index:1;
|
|
1954
|
+
transform-origin:0 0;
|
|
1955
|
+
cursor:auto;
|
|
1956
|
+
max-width:100%;
|
|
1957
|
+
max-height:100%;
|
|
1958
|
+
border:none;
|
|
1959
|
+
outline:none;
|
|
1960
|
+
pointer-events:none;
|
|
1961
|
+
transform:none;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
.annotationEditorLayer .highlightEditor .internal{
|
|
1965
|
+
position:absolute;
|
|
1966
|
+
top:0;
|
|
1967
|
+
left:0;
|
|
1968
|
+
width:100%;
|
|
1969
|
+
height:100%;
|
|
1970
|
+
pointer-events:auto;
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
.annotationEditorLayer .highlightEditor.disabled .internal{
|
|
1974
|
+
pointer-events:none;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
.annotationEditorLayer .highlightEditor.selectedEditor .internal{
|
|
1978
|
+
cursor:pointer;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
.annotationEditorLayer .highlightEditor .editToolbar{
|
|
1982
|
+
--editor-toolbar-colorpicker-arrow-image:url(images/toolbarButton-menuArrow.svg);
|
|
1983
|
+
|
|
1984
|
+
transform-origin:center !important;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker{
|
|
1988
|
+
position:relative;
|
|
1989
|
+
width:auto;
|
|
1990
|
+
display:flex;
|
|
1991
|
+
justify-content:center;
|
|
1992
|
+
align-items:center;
|
|
1993
|
+
gap:4px;
|
|
1994
|
+
padding:4px;
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker::after{
|
|
1998
|
+
content:"";
|
|
1999
|
+
-webkit-mask-image:var(--editor-toolbar-colorpicker-arrow-image);
|
|
2000
|
+
mask-image:var(--editor-toolbar-colorpicker-arrow-image);
|
|
2001
|
+
-webkit-mask-repeat:no-repeat;
|
|
2002
|
+
mask-repeat:no-repeat;
|
|
2003
|
+
-webkit-mask-position:center;
|
|
2004
|
+
mask-position:center;
|
|
2005
|
+
display:inline-block;
|
|
2006
|
+
background-color:var(--editor-toolbar-fg-color);
|
|
2007
|
+
width:12px;
|
|
2008
|
+
height:12px;
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:hover::after{
|
|
2012
|
+
background-color:var(--editor-toolbar-hover-fg-color);
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden)){
|
|
2016
|
+
background-color:var(--editor-toolbar-hover-bg-color);
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown{
|
|
2020
|
+
position:absolute;
|
|
2021
|
+
display:flex;
|
|
2022
|
+
justify-content:center;
|
|
2023
|
+
align-items:center;
|
|
2024
|
+
flex-direction:column;
|
|
2025
|
+
gap:11px;
|
|
2026
|
+
padding-block:8px;
|
|
2027
|
+
border-radius:6px;
|
|
2028
|
+
background-color:var(--editor-toolbar-bg-color);
|
|
2029
|
+
border:1px solid var(--editor-toolbar-border-color);
|
|
2030
|
+
box-shadow:var(--editor-toolbar-shadow);
|
|
2031
|
+
inset-block-start:calc(100% + 4px);
|
|
2032
|
+
width:calc(100% + 2 * var(--editor-toolbar-padding));
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button{
|
|
2036
|
+
width:100%;
|
|
2037
|
+
height:auto;
|
|
2038
|
+
border:none;
|
|
2039
|
+
cursor:pointer;
|
|
2040
|
+
display:flex;
|
|
2041
|
+
justify-content:center;
|
|
2042
|
+
align-items:center;
|
|
2043
|
+
background:none;
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:active, :focus-visible){
|
|
2047
|
+
outline:none;
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button > .swatch{
|
|
2051
|
+
outline-offset:2px;
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button[aria-selected="true"] > .swatch{
|
|
2055
|
+
outline:2px solid var(--selected-outline-color);
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{
|
|
2059
|
+
outline:2px solid var(--hover-outline-color);
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
.editorParamsToolbar:has(#highlightParamsToolbarContainer){
|
|
2063
|
+
padding:unset;
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
#highlightParamsToolbarContainer{
|
|
2067
|
+
height:auto;
|
|
2068
|
+
padding-inline:10px;
|
|
2069
|
+
padding-block:10px 16px;
|
|
2070
|
+
display:flex;
|
|
2071
|
+
flex-direction:column;
|
|
2072
|
+
box-sizing:border-box;
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
#highlightParamsToolbarContainer .colorPicker{
|
|
2076
|
+
display:flex;
|
|
2077
|
+
flex-direction:column;
|
|
2078
|
+
gap:8px;
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
#highlightParamsToolbarContainer .colorPicker #highlightColorPickerLabel{
|
|
2082
|
+
width:-moz-fit-content;
|
|
2083
|
+
width:fit-content;
|
|
2084
|
+
inset-inline-start:0;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown{
|
|
2088
|
+
display:flex;
|
|
2089
|
+
justify-content:space-between;
|
|
2090
|
+
align-items:center;
|
|
2091
|
+
flex-direction:row;
|
|
2092
|
+
height:auto;
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown button{
|
|
2096
|
+
width:auto;
|
|
2097
|
+
height:auto;
|
|
2098
|
+
border:none;
|
|
2099
|
+
cursor:pointer;
|
|
2100
|
+
display:flex;
|
|
2101
|
+
justify-content:center;
|
|
2102
|
+
align-items:center;
|
|
2103
|
+
background:none;
|
|
2104
|
+
flex:0 0 auto;
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown button .swatch{
|
|
2108
|
+
width:24px;
|
|
2109
|
+
height:24px;
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown button:is(:active, :focus-visible){
|
|
2113
|
+
outline:none;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown button[aria-selected="true"] > .swatch{
|
|
2117
|
+
outline:2px solid var(--selected-outline-color);
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{
|
|
2121
|
+
outline:2px solid var(--hover-outline-color);
|
|
2122
|
+
}
|
|
2123
|
+
|
|
1983
2124
|
:root{
|
|
1984
2125
|
--viewer-container-height:0;
|
|
1985
2126
|
--pdfViewer-padding-bottom:0;
|
|
@@ -2208,6 +2349,7 @@
|
|
|
2208
2349
|
--treeitem-expanded-icon:url(images/treeitem-expanded.svg);
|
|
2209
2350
|
--treeitem-collapsed-icon:url(images/treeitem-collapsed.svg);
|
|
2210
2351
|
--toolbarButton-editorFreeText-icon:url(images/toolbarButton-editorFreeText.svg);
|
|
2352
|
+
--toolbarButton-editorHighlight-icon:url(images/toolbarButton-editorHighlight.svg);
|
|
2211
2353
|
--toolbarButton-editorInk-icon:url(images/toolbarButton-editorInk.svg);
|
|
2212
2354
|
--toolbarButton-editorStamp-icon:url(images/toolbarButton-editorStamp.svg);
|
|
2213
2355
|
--toolbarButton-menuArrow-icon:url(images/toolbarButton-menuArrow.svg);
|
|
@@ -2715,6 +2857,11 @@ body{
|
|
|
2715
2857
|
.editorParamsToolbarContainer .editorParamsLabel{
|
|
2716
2858
|
padding-inline-end:10px;
|
|
2717
2859
|
flex:none;
|
|
2860
|
+
font:menu;
|
|
2861
|
+
font-size:13px;
|
|
2862
|
+
font-style:normal;
|
|
2863
|
+
font-weight:400;
|
|
2864
|
+
line-height:150%;
|
|
2718
2865
|
color:var(--main-color);
|
|
2719
2866
|
}
|
|
2720
2867
|
|
|
@@ -2764,6 +2911,10 @@ body{
|
|
|
2764
2911
|
inset-inline-end:calc(var(--editor-toolbar-base-offset) + 56px);
|
|
2765
2912
|
}
|
|
2766
2913
|
|
|
2914
|
+
#editorHighlightParamsToolbar{
|
|
2915
|
+
inset-inline-end:calc(var(--editor-toolbar-base-offset) + 84px);
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2767
2918
|
#editorStampAddImage::before{
|
|
2768
2919
|
-webkit-mask-image:var(--editorParams-stampAddImage-icon);
|
|
2769
2920
|
mask-image:var(--editorParams-stampAddImage-icon);
|
|
@@ -3097,6 +3248,11 @@ body{
|
|
|
3097
3248
|
mask-image:var(--toolbarButton-editorFreeText-icon);
|
|
3098
3249
|
}
|
|
3099
3250
|
|
|
3251
|
+
#editorHighlight::before{
|
|
3252
|
+
-webkit-mask-image:var(--toolbarButton-editorHighlight-icon);
|
|
3253
|
+
mask-image:var(--toolbarButton-editorHighlight-icon);
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3100
3256
|
#editorInk::before{
|
|
3101
3257
|
-webkit-mask-image:var(--toolbarButton-editorInk-icon);
|
|
3102
3258
|
mask-image:var(--toolbarButton-editorInk-icon);
|
|
@@ -3508,6 +3664,14 @@ a:focus > .thumbnail > .thumbnailImage,
|
|
|
3508
3664
|
color:var(--treeitem-hover-color);
|
|
3509
3665
|
}
|
|
3510
3666
|
|
|
3667
|
+
#outlineOptionsContainer{
|
|
3668
|
+
display:none;
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
#sidebarContainer:has(#outlineView:not(.hidden)) #outlineOptionsContainer{
|
|
3672
|
+
display:inherit;
|
|
3673
|
+
}
|
|
3674
|
+
|
|
3511
3675
|
.dialogButton{
|
|
3512
3676
|
width:auto;
|
|
3513
3677
|
margin:3px 4px 2px !important;
|