Skip to content

Commit f626a36

Browse files
Merge pull request #20743 from calixteman/bug2010822
Tweak the background color of the sidebar (bug 2010822)
2 parents 52efe65 + b263841 commit f626a36

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

web/viewer.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,9 +1360,13 @@ dialog :link {
13601360
height: 1px;
13611361
}
13621362

1363-
#toolbarViewerLeft #numPages.toolbarLabel {
1364-
padding-inline-start: 3px;
1365-
flex: none;
1363+
#toolbarViewerLeft {
1364+
margin-inline-start: 8px;
1365+
1366+
#numPages.toolbarLabel {
1367+
padding-inline-start: 3px;
1368+
flex: none;
1369+
}
13661370
}
13671371
}
13681372

web/views_manager.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
&.viewsManagerOpen {
2424
#viewsManager {
2525
visibility: visible;
26-
inset-inline-start: 1px;
26+
inset-inline-start: 8px;
2727
}
2828

2929
#viewerContainer:not(.pdfPresentationMode) {
@@ -53,7 +53,7 @@
5353
--pages-selected-icon: url(images/pages_selected.svg);
5454
--spinner-icon: url(images/altText_spinner.svg);
5555

56-
--sidebar-bg-color: light-dark(rgb(255 255 255 / 0.92), rgb(35 34 43 / 0.92));
56+
--sidebar-bg-color: light-dark(rgb(255 255 255 / 0.92), rgb(66 65 77 / 0.92));
5757
--sidebar-backdrop-filter: blur(7px);
5858
--sidebar-width: 230px;
5959
--sidebar-min-width: min-content;
@@ -86,13 +86,14 @@
8686
--header-shadow:
8787
0 0.25px 0.75px -0.75px light-dark(rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.2)),
8888
0 2px 6px -6px light-dark(rgb(0 0 0 / 0.1), rgb(0 0 0 / 0.4));
89+
--header-bg: light-dark(rgb(255 255 255 / 0.92), #42414e);
8990
--image-outline: none;
9091
--image-border-width: 6px;
9192
--image-border-color: light-dark(#cfcfd8, #3a3944);
9293
--image-hover-border-color: #bfbfc9;
9394
--image-current-border-color: var(--button-focus-outline-color);
9495
--image-current-focused-outline-color: var(--image-hover-border-color);
95-
--image-page-number-bg: light-dark(#f0f0f4, #23222b);
96+
--image-page-number-bg: light-dark(#f0f0f4, #42414d);
9697
--image-page-number-fg: var(--text-color);
9798
--image-page-number-border-color: transparent;
9899
--image-hover-page-number-bg: var(--image-page-number-bg);
@@ -243,6 +244,7 @@
243244
width: 100%;
244245
box-shadow: var(--header-shadow);
245246
flex: 0 0 auto;
247+
background-color: var(--header-bg);
246248

247249
.viewsManagerLabel {
248250
flex: 1 0 0;

0 commit comments

Comments
 (0)