Merge pull request #15850 from calixteman/15836

Remove shadow around each pages (fix issue #15836)
This commit is contained in:
Tim van der Meij 2023-01-07 13:29:41 +01:00 committed by GitHub
commit 38e46e7614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 8 deletions

View File

@ -986,7 +986,6 @@ function buildComponents(defines, dir) {
const COMPONENTS_IMAGES = [ const COMPONENTS_IMAGES = [
"web/images/annotation-*.svg", "web/images/annotation-*.svg",
"web/images/loading-icon.gif", "web/images/loading-icon.gif",
"web/images/shadow.png",
]; ];
return merge([ return merge([

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

View File

@ -22,7 +22,6 @@
--pdfViewer-padding-bottom: 0; --pdfViewer-padding-bottom: 0;
--page-margin: 1px auto -8px; --page-margin: 1px auto -8px;
--page-border: 9px solid transparent; --page-border: 9px solid transparent;
--page-border-image: url(images/shadow.png) 9 9 repeat;
--spreadHorizontalWrapped-margin-LR: -3.5px; --spreadHorizontalWrapped-margin-LR: -3.5px;
--scale-factor: 1; --scale-factor: 1;
--loading-icon-delay: 400ms; --loading-icon-delay: 400ms;
@ -33,7 +32,6 @@
--pdfViewer-padding-bottom: 9px; --pdfViewer-padding-bottom: 9px;
--page-margin: 8px auto -1px; --page-margin: 8px auto -1px;
--page-border: 1px solid CanvasText; --page-border: 1px solid CanvasText;
--page-border-image: none;
--spreadHorizontalWrapped-margin-LR: 3.5px; --spreadHorizontalWrapped-margin-LR: 3.5px;
} }
} }
@ -67,7 +65,6 @@
position: relative; position: relative;
overflow: visible; overflow: visible;
border: var(--page-border); border: var(--page-border);
border-image: var(--page-border-image);
background-clip: content-box; background-clip: content-box;
background-color: rgba(255, 255, 255, 1); background-color: rgba(255, 255, 255, 1);
} }

View File

@ -23,7 +23,7 @@
--doorhanger-icon-opacity: 0.9; --doorhanger-icon-opacity: 0.9;
--main-color: rgba(12, 12, 13, 1); --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-color: auto;
--scrollbar-bg-color: auto; --scrollbar-bg-color: auto;
--dialog-button-border: none; --dialog-button-border: none;

View File

@ -26,7 +26,7 @@
--doorhanger-icon-opacity: 0.9; --doorhanger-icon-opacity: 0.9;
--main-color: rgba(12, 12, 13, 1); --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-percent: 0%;
--progressBar-end-offset: 0; --progressBar-end-offset: 0;
--progressBar-color: rgba(10, 132, 255, 1); --progressBar-color: rgba(10, 132, 255, 1);
@ -37,7 +37,7 @@
--toolbar-icon-bg-color: rgba(0, 0, 0, 1); --toolbar-icon-bg-color: rgba(0, 0, 0, 1);
--toolbar-icon-hover-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); --sidebar-toolbar-bg-color: rgba(245, 246, 247, 1);
--toolbar-bg-color: rgba(249, 249, 250, 1); --toolbar-bg-color: rgba(249, 249, 250, 1);
--toolbar-border-color: rgba(204, 204, 204, 1); --toolbar-border-color: rgba(204, 204, 204, 1);
@ -281,7 +281,7 @@ body {
overflow: auto; overflow: auto;
position: absolute; position: absolute;
width: 100%; 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); box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25);
} }