Remove shadow around each pages (fix issue #15836)

This commit is contained in:
Calixte Denizet 2022-12-17 14:29:00 +01:00
parent e7cea29ad4
commit 685b5866e4
5 changed files with 4 additions and 8 deletions

View File

@ -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([

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

View File

@ -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;
}
@ -32,7 +31,6 @@
--pdfViewer-padding-bottom: 9px;
--page-margin: 8px auto -1px;
--page-border: 1px solid CanvasText;
--page-border-image: none;
--spreadHorizontalWrapped-margin-LR: 3.5px;
}
}
@ -66,7 +64,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);
}

View File

@ -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;

View File

@ -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);
@ -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);
@ -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);
}