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

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: Remove irrelevant comment 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: 2em;
23 height: 64px;
24 z-index: 3;
25 }
26
27 #toolbar-shadow {
28 position: fixed; 20 position: fixed;
29 width: 100%; 21 width: 100%;
30 z-index: 4; 22 z-index: 4;
31 } 23 }
32 24
33 #progress-bar {
34 height: 64px;
35 position: absolute;
36 width: 100%;
37 z-index: 3;
38 }
39
40 paper-progress::shadow #activeProgress {
41 background-color: rgb(33, 150, 243);
42 }
43
44 paper-progress::shadow #progressContainer {
45 background-color: rgb(100, 181, 246);
46 }
47
48 #plugin { 25 #plugin {
49 position: fixed; 26 position: fixed;
50 top: 64px; 27 top: 64px;
51 z-index: 1; 28 z-index: 1;
52 } 29 }
53 30
54 #sizer { 31 #sizer {
55 position: absolute; 32 position: absolute;
56 z-index: 0; 33 z-index: 0;
57 } 34 }
(...skipping 15 matching lines...) Expand all
73 50
74 viewer-error-screen { 51 viewer-error-screen {
75 visibility: hidden; 52 visibility: hidden;
76 z-index: 2; 53 z-index: 2;
77 } 54 }
78 55
79 viewer-password-screen { 56 viewer-password-screen {
80 visibility: hidden; 57 visibility: hidden;
81 z-index: 2; 58 z-index: 2;
82 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698