mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Remove unnecessary alpha-value from CSS rgb
colors
Setting the alpha-value explicitly to `1` in `rgb` colors is unnecessary, since that's the default value, and this way we ever so slightly reduce the size of our CSS files. Unfortunately I've not found a Stylelint rule to enforce this automatically, and the patch was generated using search and replace.
This commit is contained in:
parent
2453b79fa8
commit
4ebddcb092
9 changed files with 95 additions and 95 deletions
|
@ -37,8 +37,8 @@
|
|||
.fileAttachmentAnnotation:not(.hasFillAlpha)
|
||||
.popupTriggerArea {
|
||||
opacity: 0.2;
|
||||
background: rgb(255 255 0 / 1);
|
||||
box-shadow: 0 2px 10px rgb(255 255 0 / 1);
|
||||
background: rgb(255 255 0);
|
||||
box-shadow: 0 2px 10px rgb(255 255 0);
|
||||
}
|
||||
.annotationLayer .fileAttachmentAnnotation.hasFillAlpha {
|
||||
outline: 2px solid yellow;
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
|
||||
.xfaLink {
|
||||
opacity: 0.2;
|
||||
background: rgb(255 255 0 / 1);
|
||||
box-shadow: 0 2px 10px rgb(255 255 0 / 1);
|
||||
background: rgb(255 255 0);
|
||||
box-shadow: 0 2px 10px rgb(255 255 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue