| /* Copyright 2015 The Chromium Authors. All rights reserved. |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. */ |
| |
| html { |
| /* The viewer implements a custom pinch zoom. */ |
| touch-action: pan-x pan-y; |
| } |
| |
| body { |
| background-color: rgb(82, 86, 89); |
| color: var(--primary-text-color); |
| line-height: 154%; |
| margin: 0; |
| } |
| |
| viewer-page-indicator { |
| visibility: hidden; |
| z-index: 2; |
| } |
| |
| viewer-pdf-toolbar { |
| position: fixed; |
| width: 100%; |
| z-index: 4; |
| } |
| |
| #content { |
| height: 100%; |
| position: fixed; |
| width: 100%; |
| z-index: 1; |
| } |
| |
| |
| viewer-ink-host, |
| #plugin { |
| height: 100%; |
| position: absolute; |
| width: 100%; |
| } |
| |
| #sizer { |
| position: absolute; |
| z-index: 0; |
| } |
| |
| @media(max-height: 250px) { |
| viewer-pdf-toolbar { |
| display: none; |
| } |
| } |
| |
| @media(max-height: 200px) { |
| viewer-zoom-toolbar { |
| display: none; |
| } |
| } |
| |
| @media(max-width: 300px) { |
| viewer-zoom-toolbar { |
| display: none; |
| } |
| } |