Commit 85996fdb authored by dpapad's avatar dpapad Committed by Commit Bot

PDF Viewer update: Update sidenav animations duration and timing.

Fixed: 1114268
Change-Id: I9e9c81e53696ff6436c2ce7999067cd213a40191
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366673
Auto-Submit: dpapad <dpapad@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Reviewed-by: default avatarJohn Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800208}
parent 045d501c
...@@ -15,12 +15,13 @@ ...@@ -15,12 +15,13 @@
#sidenav-container { #sidenav-container {
overflow: hidden; overflow: hidden;
transition: width 250ms ease-out, visibility 250ms; transition: width 250ms cubic-bezier(.6, 0, 0, 1), visibility 250ms;
visibility: visible; visibility: visible;
width: var(--viewer-pdf-sidenav-width); width: var(--viewer-pdf-sidenav-width);
} }
#sidenav-container[closed] { #sidenav-container[closed] {
transition: width 200ms cubic-bezier(.6, 0, 0, 1), visibility 200ms;
visibility: hidden; visibility: hidden;
width: 0; width: 0;
} }
......
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