summaryrefslogtreecommitdiffstats
path: root/toolkit/components/pdfjs/content/web/viewer.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /toolkit/components/pdfjs/content/web/viewer.css
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/pdfjs/content/web/viewer.css')
-rw-r--r--toolkit/components/pdfjs/content/web/viewer.css21
1 files changed, 19 insertions, 2 deletions
diff --git a/toolkit/components/pdfjs/content/web/viewer.css b/toolkit/components/pdfjs/content/web/viewer.css
index 063fa1632b..cbdaff2757 100644
--- a/toolkit/components/pdfjs/content/web/viewer.css
+++ b/toolkit/components/pdfjs/content/web/viewer.css
@@ -179,11 +179,22 @@
}
}
- canvas{
+ .annotationContent{
position:absolute;
width:100%;
height:100%;
pointer-events:none;
+
+ &.freetext{
+ background:transparent;
+ border:none;
+ inset:0;
+ overflow:visible;
+ white-space:nowrap;
+ font:10px sans-serif;
+ line-height:1.35;
+ user-select:none;
+ }
}
section{
@@ -192,6 +203,12 @@
pointer-events:auto;
box-sizing:border-box;
transform-origin:0 0;
+
+ &:has(div.annotationContent){
+ canvas.annotationContent{
+ display:none;
+ }
+ }
}
:is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a{
@@ -985,7 +1002,7 @@
background-color:var(--toggle-dot-background-color-on-pressed);
}
- &[aria-pressed="true"]:-moz-locale-dir(rtl)::before,
+ &[aria-pressed="true"]:-moz-locale-dir(rtl)::before,
&[aria-pressed="true"]:dir(rtl)::before{
translate:calc(-1 * var(--toggle-dot-transform-x));
}