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

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

Issue 898673003: Refactor Material Design PDF Viewer toolbar into a single element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improve variable naming and documentation Created 5 years, 10 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 @font-face { 5 @font-face {
6 font-family: 'Roboto'; 6 font-family: 'Roboto';
7 font-style: normal; 7 font-style: normal;
8 font-weight: 400; 8 font-weight: 400;
9 src: local('Roboto Regular'), local('Roboto-Regular'), url(chrome://resources/ roboto/roboto.woff2) format('woff2'); 9 src: local('Roboto Regular'), local('Roboto-Regular'), url(chrome://resources/ roboto/roboto.woff2) format('woff2');
10 unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; 10 unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
11 } 11 }
12 12
13 body { 13 body {
14 background-color: #eee; 14 background-color: #eee;
15 font-family: Roboto, 'Helvetica Neue', Helvetica, Arial; 15 font-family: Roboto, 'Helvetica Neue', Helvetica, Arial;
16 margin: 0; 16 margin: 0;
17 } 17 }
18 18
19 core-toolbar { 19 viewer-pdf-toolbar {
20 background-color: transparent;
21 color: rgb(241, 241, 241);
22 font-size: 1.5em;
23 height: 56px;
24 padding-left: 1em;
25 padding-right: 1em;
26 z-index: 3;
27 }
28
29 #toolbar-shadow {
30 position: fixed; 20 position: fixed;
31 width: 100%; 21 width: 100%;
32 z-index: 4; 22 z-index: 4;
33 } 23 }
34 24
35 #progress-bar {
36 height: 56px;
37 position: absolute;
38 width: 100%;
39 z-index: 3;
40 }
41
42 paper-progress::shadow #activeProgress {
43 background-color: rgb(33, 150, 243);
44 }
45
46 paper-progress::shadow #progressContainer {
47 background-color: rgb(100, 181, 246);
48 }
49
50 #plugin { 25 #plugin {
51 position: fixed; 26 position: fixed;
52 top: 56px; 27 top: 56px;
53 z-index: 1; 28 z-index: 1;
54 } 29 }
55 30
56 #sizer { 31 #sizer {
57 position: absolute; 32 position: absolute;
58 z-index: 0; 33 z-index: 0;
59 } 34 }
(...skipping 15 matching lines...) Expand all
75 50
76 viewer-error-screen { 51 viewer-error-screen {
77 visibility: hidden; 52 visibility: hidden;
78 z-index: 2; 53 z-index: 2;
79 } 54 }
80 55
81 viewer-password-screen { 56 viewer-password-screen {
82 visibility: hidden; 57 visibility: hidden;
83 z-index: 2; 58 z-index: 2;
84 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698