Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(734)

Side by Side Diff: chrome/browser/resources/pdf/index-material.css

Issue 1366053004: Material PDF: Improve layout of PDF viewer in very small windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak behaviour Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* Copyright 2015 The Chromium Authors. All rights reserved. 1 /* Copyright 2015 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 body { 5 body {
6 background-color: rgb(82, 86, 89); 6 background-color: rgb(82, 86, 89);
7 font-family: 'Roboto', 'Noto', sans-serif; 7 font-family: 'Roboto', 'Noto', sans-serif;
8 margin: 0; 8 margin: 0;
9 } 9 }
10 10
(...skipping 12 matching lines...) Expand all
23 height: 100%; 23 height: 100%;
24 position: fixed; 24 position: fixed;
25 width: 100%; 25 width: 100%;
26 z-index: 1; 26 z-index: 1;
27 } 27 }
28 28
29 #sizer { 29 #sizer {
30 position: absolute; 30 position: absolute;
31 z-index: 0; 31 z-index: 0;
32 } 32 }
33
34 @media(max-height: 250px) {
35 viewer-pdf-toolbar {
36 display: none;
37 }
38 }
39
40 @media(max-height: 200px) {
41 viewer-zoom-toolbar {
42 display: none;
43 }
44 }
45
46 @media(max-width: 300px) {
47 viewer-zoom-toolbar {
48 display: none;
49 }
50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698