Fix typo in the --hcm-highlight-filter
CSS variable name (issue 17254)
This commit is contained in:
parent
7b89e7e0d2
commit
90864a5672
@ -28,7 +28,7 @@
|
|||||||
--input-disabled-border-color: GrayText;
|
--input-disabled-border-color: GrayText;
|
||||||
--input-hover-border-color: Highlight;
|
--input-hover-border-color: Highlight;
|
||||||
--link-outline: 1.5px solid LinkText;
|
--link-outline: 1.5px solid LinkText;
|
||||||
--hcm-highligh-filter: invert(100%);
|
--hcm-highlight-filter: invert(100%);
|
||||||
|
|
||||||
.textWidgetAnnotation :is(input, textarea):required,
|
.textWidgetAnnotation :is(input, textarea):required,
|
||||||
.choiceWidgetAnnotation select:required,
|
.choiceWidgetAnnotation select:required,
|
||||||
@ -40,7 +40,7 @@
|
|||||||
outline: var(--link-outline);
|
outline: var(--link-outline);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
backdrop-filter: var(--hcm-highligh-filter);
|
backdrop-filter: var(--hcm-highlight-filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
& > a:hover {
|
& > a:hover {
|
||||||
@ -62,7 +62,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
backdrop-filter: var(--hcm-highligh-filter);
|
backdrop-filter: var(--hcm-highlight-filter);
|
||||||
content: "";
|
content: "";
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
@ -284,7 +284,7 @@ class PDFPageView {
|
|||||||
this.pageColors?.background === "Canvas")
|
this.pageColors?.background === "Canvas")
|
||||||
) {
|
) {
|
||||||
this._container?.style.setProperty(
|
this._container?.style.setProperty(
|
||||||
"--hcm-highligh-filter",
|
"--hcm-highlight-filter",
|
||||||
pdfPage.filterFactory.addHighlightHCMFilter(
|
pdfPage.filterFactory.addHighlightHCMFilter(
|
||||||
"CanvasText",
|
"CanvasText",
|
||||||
"Canvas",
|
"Canvas",
|
||||||
|
@ -886,7 +886,7 @@ class PDFViewer {
|
|||||||
this.pageColors?.background === "Canvas"
|
this.pageColors?.background === "Canvas"
|
||||||
) {
|
) {
|
||||||
this.viewer.style.setProperty(
|
this.viewer.style.setProperty(
|
||||||
"--hcm-highligh-filter",
|
"--hcm-highlight-filter",
|
||||||
pdfDocument.filterFactory.addHighlightHCMFilter(
|
pdfDocument.filterFactory.addHighlightHCMFilter(
|
||||||
"CanvasText",
|
"CanvasText",
|
||||||
"Canvas",
|
"Canvas",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user