Commit 336d05f8 authored by dpapad's avatar dpapad Committed by Commit Bot

PDF Viewer update: Adjust toolbar spacing/height.

Specifically:
 - change toolbar height from 48px to 56px
 - add 16px start/end padding
 - add 4px padding between toolbar icons
 - adjust margin and padding in zoom-controls

Bug: 1123803
Change-Id: I5f8d7b68e3cc651422de7bc58465c2be35440874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386853Reviewed-by: default avatarJohn Lee <johntlee@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Auto-Submit: dpapad <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803562}
parent b16dfba3
...@@ -12,11 +12,8 @@ ...@@ -12,11 +12,8 @@
background-color: var(--viewer-pdf-toolbar-background-color); background-color: var(--viewer-pdf-toolbar-background-color);
color: white; color: white;
display: flex; display: flex;
height: 48px; height: 56px;
} padding: 0 16px;
#sidenavToggle {
margin: 0 6px;
} }
#title { #title {
...@@ -53,8 +50,8 @@ ...@@ -53,8 +50,8 @@
border-inline-end: 1px solid rgba(255, 255, 255, 0.3); border-inline-end: 1px solid rgba(255, 255, 255, 0.3);
border-inline-start: 1px solid rgba(255, 255, 255, 0.3); border-inline-start: 1px solid rgba(255, 255, 255, 0.3);
margin-inline-end: 12px; margin-inline-end: 12px;
margin-inline-start: 21px; margin-inline-start: 20px;
padding: 0 6px; padding: 0 4px;
} }
#zoom-controls input::selection { #zoom-controls input::selection {
...@@ -119,12 +116,21 @@ ...@@ -119,12 +116,21 @@
} }
<if expr="chromeos"> <if expr="chromeos">
#annotate {
margin-inline-end: 4px;
}
:host([annotation-mode]) #annotate { :host([annotation-mode]) #annotate {
background-color: var(--active-button-bg); background-color: var(--active-button-bg);
border-radius: 50%; border-radius: 50%;
} }
</if> </if>
#print,
#more {
margin-inline-start: 4px;
}
.dropdown-item { .dropdown-item {
padding-inline-end: 16px; padding-inline-end: 16px;
padding-inline-start: 12px; padding-inline-start: 12px;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment