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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/pdf/index-material.css
diff --git a/chrome/browser/resources/pdf/index-material.css b/chrome/browser/resources/pdf/index-material.css
new file mode 100644
index 0000000000000000000000000000000000000000..7f0bf98a6bcab61c9afce5e05ba4cf2b7bd0f2fb
--- /dev/null
+++ b/chrome/browser/resources/pdf/index-material.css
@@ -0,0 +1,78 @@
+/* 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. */
+
+@font-face {
+ font-family: 'Roboto';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Roboto Regular'), local('Roboto-Regular'), url(chrome://resources/roboto/roboto.woff2) format('woff2');
+ unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
+}
+
+body {
+ background-color: #ccc;
+ font-family: Roboto, 'Helvetica Neue', Helvetica, Arial;
+ margin: 0;
+}
+
+core-toolbar {
+ background-color: transparent;
+ color: rgb(241, 241, 241);
+ font-size: 2em;
+ height: 64px;
+ z-index: 3;
+}
+
+#toolbar-shadow {
+ position: fixed;
+ width: 100%;
+ z-index: 4;
+}
+
+#progress-bar {
+ height: 64px;
+ position: absolute;
+ width: 100%;
+ z-index: 3;
+}
+
+paper-progress::shadow #activeProgress {
+ background-color: rgb(33, 150, 243);
+}
+
+paper-progress::shadow #progressContainer {
+ background-color: rgb(100, 181, 246);
+}
+
+#plugin {
+ position: fixed;
+ top: 64px;
+ z-index: 1;
+}
+
+#sizer {
+ position: absolute;
+ z-index: 0;
+}
+
+viewer-toolbar {
+ visibility: hidden;
+ white-space: nowrap;
+ z-index: 3;
+}
+
+viewer-page-indicator {
+ visibility: hidden;
+ z-index: 3;
+}
+
+viewer-error-screen {
+ visibility: hidden;
+ z-index: 2;
+}
+
+viewer-password-screen {
+ visibility: hidden;
+ z-index: 2;
+}
« 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