Material PDF: Fix inconsistent behaviour in page selector, update styling
* Only change page when a value is committed to the selector with enter
* Prevents PDF keyboard shortcuts from firing when any input or textarea
is active
* Update colors of the viewer and visual styling of the page selector
BUG=
439114,
484291
Committed:
https://crrev.com/b4e68c87604b6d3b122fe077f8c9d619974317df
Cr-Commit-Position: refs/heads/master@{#332764}