Skip to content

Commit

Permalink
Merge pull request #15850 from calixteman/15836
Browse files Browse the repository at this point in the history
Remove shadow around each pages (fix issue #15836)
  • Loading branch information
timvandermeij authored Jan 7, 2023
2 parents 69113f0 + 685b586 commit 38e46e7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,6 @@ function buildComponents(defines, dir) {
const COMPONENTS_IMAGES = [
"web/images/annotation-*.svg",
"web/images/loading-icon.gif",
"web/images/shadow.png",
];

return merge([
Expand Down
Binary file removed web/images/shadow.png
Binary file not shown.
3 changes: 0 additions & 3 deletions web/pdf_viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
--pdfViewer-padding-bottom: 0;
--page-margin: 1px auto -8px;
--page-border: 9px solid transparent;
--page-border-image: url(images/shadow.png) 9 9 repeat;
--spreadHorizontalWrapped-margin-LR: -3.5px;
--scale-factor: 1;
--loading-icon-delay: 400ms;
Expand All @@ -33,7 +32,6 @@
--pdfViewer-padding-bottom: 9px;
--page-margin: 8px auto -1px;
--page-border: 1px solid CanvasText;
--page-border-image: none;
--spreadHorizontalWrapped-margin-LR: 3.5px;
}
}
Expand Down Expand Up @@ -67,7 +65,6 @@
position: relative;
overflow: visible;
border: var(--page-border);
border-image: var(--page-border-image);
background-clip: content-box;
background-color: rgba(255, 255, 255, 1);
}
Expand Down
2 changes: 1 addition & 1 deletion web/viewer-geckoview.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
--doorhanger-icon-opacity: 0.9;

--main-color: rgba(12, 12, 13, 1);
--body-bg-color: rgba(237, 237, 240, 1);
--body-bg-color: rgba(212, 212, 215, 1);
--scrollbar-color: auto;
--scrollbar-bg-color: auto;
--dialog-button-border: none;
Expand Down
6 changes: 3 additions & 3 deletions web/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
--doorhanger-icon-opacity: 0.9;

--main-color: rgba(12, 12, 13, 1);
--body-bg-color: rgba(237, 237, 240, 1);
--body-bg-color: rgba(212, 212, 215, 1);
--progressBar-percent: 0%;
--progressBar-end-offset: 0;
--progressBar-color: rgba(10, 132, 255, 1);
Expand All @@ -37,7 +37,7 @@
--toolbar-icon-bg-color: rgba(0, 0, 0, 1);
--toolbar-icon-hover-bg-color: rgba(0, 0, 0, 1);

--sidebar-narrow-bg-color: rgba(237, 237, 240, 0.9);
--sidebar-narrow-bg-color: rgba(212, 212, 215, 0.9);
--sidebar-toolbar-bg-color: rgba(245, 246, 247, 1);
--toolbar-bg-color: rgba(249, 249, 250, 1);
--toolbar-border-color: rgba(204, 204, 204, 1);
Expand Down Expand Up @@ -281,7 +281,7 @@ body {
overflow: auto;
position: absolute;
width: 100%;
background-color: rgba(0, 0, 0, 0.1);
background-color: rgba(0, 0, 0, 0.05);
box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25);
}

Expand Down

0 comments on commit 38e46e7

Please sign in to comment.