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

Unified Diff: chrome/browser/resources/pdf/elements/viewer-toolbar/viewer-toolbar.css

Issue 110723007: Add the viewer toolbar to the PDF extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: chrome/browser/resources/pdf/elements/viewer-toolbar/viewer-toolbar.css
diff --git a/chrome/browser/resources/local_ntp/most_visited_iframe.css b/chrome/browser/resources/pdf/elements/viewer-toolbar/viewer-toolbar.css
similarity index 51%
copy from chrome/browser/resources/local_ntp/most_visited_iframe.css
copy to chrome/browser/resources/pdf/elements/viewer-toolbar/viewer-toolbar.css
index 89efb1e019d19d341288e48b586a8d043dcc7df4..3f2984a055ec5168317d4f47b38d1a67f085f56c 100644
--- a/chrome/browser/resources/local_ntp/most_visited_iframe.css
+++ b/chrome/browser/resources/pdf/elements/viewer-toolbar/viewer-toolbar.css
@@ -1,21 +1,22 @@
/* Copyright 2013 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. */
-body {
- -webkit-user-select: none;
- background: none transparent;
- margin: 0;
- overflow: hidden;
-}
-a {
+:host {
+ bottom: 0;
display: block;
- text-decoration: none;
+ font-size: 0;
+ opacity: 1;
+ position: fixed;
+ right: 0;
}
-a:active,
-a:hover,
-a:visited {
- color: inherit;
- text-decoration: inherit;
+#hover {
+ padding: 20px;
+}
+
+#toolbar {
+ border-radius: 3px;
+ box-shadow: 0 1px 2px gray, 0 3px 3px rgba(0, 0, 0, .2);
+ overflow: hidden;
}

Powered by Google App Engine
This is Rietveld 408576698