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

Unified Diff: elements/viewer-button/viewer-button.css

Issue 129903002: Add the Quickoffice viewer toolbar polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/html-office-public.git@master
Patch Set: Created 6 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 | « elements/viewer-button/img/lowDPI/button_zoom_out.png ('k') | elements/viewer-button/viewer-button.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: elements/viewer-button/viewer-button.css
diff --git a/elements/viewer-button/viewer-button.css b/elements/viewer-button/viewer-button.css
new file mode 100644
index 0000000000000000000000000000000000000000..ccc61ca5337dcceb37636f32fe6c4e7417dc9cef
--- /dev/null
+++ b/elements/viewer-button/viewer-button.css
@@ -0,0 +1,36 @@
+/* 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. */
+
+#icon {
+ background-position: center center;
+ background-repeat: no-repeat;
+ background-size: 100% 100%;
+ height: 100%;
+ width: 100%;
+}
+
+:host {
+ -webkit-user-select: none;
+ background-image: linear-gradient(rgb(60, 80, 119), rgb(15, 24, 41));
+ border: 1px solid rgb(11, 9, 16);
+ cursor: default;
+ display: inline-block;
+ height: 36px;
+ margin: 0;
+ width: 43px;
+}
+
+:host(:focus:host) {
+ outline: none;
+}
+
+:host(:hover:host) {
+ background-image: linear-gradient(rgb(73, 102, 155), rgb(32, 52, 95));
+}
+
+:host(.latchable.polymer-selected:host),
+:host(:active:host) {
+ background-color: rgb(75, 103, 156);
+ background-image: none;
+}
« no previous file with comments | « elements/viewer-button/img/lowDPI/button_zoom_out.png ('k') | elements/viewer-button/viewer-button.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698