mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #16804 from Snuffleupagus/issue-16800
Take fill-alpha into account with default icons for FileAttachment annotations (issue 16800)
This commit is contained in:
commit
2e9f2e630c
5 changed files with 38 additions and 7 deletions
|
@ -33,11 +33,16 @@
|
|||
:is(.linkAnnotation, .buttonWidgetAnnotation.pushButton):not(.hasBorder)
|
||||
> a,
|
||||
.annotationLayer .popupTriggerArea::after,
|
||||
.annotationLayer .fileAttachmentAnnotation .popupTriggerArea {
|
||||
.annotationLayer
|
||||
.fileAttachmentAnnotation:not(.hasFillAlpha)
|
||||
.popupTriggerArea {
|
||||
opacity: 0.2;
|
||||
background: rgba(255, 255, 0, 1);
|
||||
box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
|
||||
}
|
||||
.annotationLayer .fileAttachmentAnnotation.hasFillAlpha {
|
||||
outline: 2px solid yellow;
|
||||
}
|
||||
|
||||
.annotationLayer .hasClipPath::after {
|
||||
box-shadow: none;
|
||||
|
|
1
test/pdfs/issue16800.pdf.link
Normal file
1
test/pdfs/issue16800.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/12287878/TS354.Week.2.slides.pdf
|
|
@ -6270,6 +6270,16 @@
|
|||
"type": "eq",
|
||||
"annotations": true
|
||||
},
|
||||
{ "id": "issue16800",
|
||||
"file": "pdfs/issue16800.pdf",
|
||||
"md5": "771bc170a55f923d7903af28ccca196c",
|
||||
"link": true,
|
||||
"rounds": 1,
|
||||
"firstPage": 2,
|
||||
"lastPage": 2,
|
||||
"type": "eq",
|
||||
"annotations": true
|
||||
},
|
||||
{ "id": "issue14117",
|
||||
"file": "pdfs/issue14117.pdf",
|
||||
"md5": "9b1c33ad2f59f4e723c258e863149abf",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue