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

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

Issue 806633003: Implement basic toolbar with Material Design and loading progress. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust viewport_test.js Created 5 years, 11 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
(Empty)
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
3 * found in the LICENSE file. */
4
5 @font-face {
6 font-family: 'Roboto';
7 font-style: normal;
8 font-weight: 400;
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;
11 }
12
13 body {
14 background-color: #ccc;
15 font-family: Roboto, 'Helvetica Neue', Helvetica, Arial;
16 margin: 0;
17 }
18
19 core-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;
29 width: 100%;
30 z-index: 4;
31 }
32
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 {
49 position: fixed;
50 top: 64px;
51 z-index: 1;
52 }
53
54 #sizer {
55 position: absolute;
56 z-index: 0;
57 }
58
59 viewer-toolbar {
60 visibility: hidden;
61 white-space: nowrap;
62 z-index: 3;
63 }
64
65 viewer-page-indicator {
66 visibility: hidden;
67 z-index: 3;
68 }
69
70 viewer-error-screen {
71 visibility: hidden;
72 z-index: 2;
73 }
74
75 viewer-password-screen {
76 visibility: hidden;
77 z-index: 2;
78 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/pdf/index.html ('k') | chrome/browser/resources/pdf/index-material.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698