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

Unified Diff: chrome/browser/resources/chromeos/login/gaia_icon_button.css

Issue 1133733003: Unified icon-buttons used in the new GAIA flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added 'aria-label's. Created 5 years, 7 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
Index: chrome/browser/resources/chromeos/login/gaia_icon_button.css
diff --git a/chrome/browser/resources/chromeos/login/gaia_icon_button.css b/chrome/browser/resources/chromeos/login/gaia_icon_button.css
new file mode 100644
index 0000000000000000000000000000000000000000..60fb3bb63b5be2617e6cce936c348106cb864fc3
--- /dev/null
+++ b/chrome/browser/resources/chromeos/login/gaia_icon_button.css
@@ -0,0 +1,31 @@
+/* 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.
+ */
+
+:host {
+ background: transparent;
+ border: none;
+ border-radius: 50%;
+ height: 24px;
+ margin: 0;
+ outline: none;
+ padding: 0;
+ width: 24px;
+}
+
+:host(:hover) {
+ cursor: pointer;
+}
+
+:host(:focus) {
+ background: rgba(0,0,0,.16);
+ border-color: transparent;
+ opacity: 0.75;
+}
+
+:host(:active) {
+ background: rgba(0,0,0,.12);
+ opacity: 1.0;
+}
+

Powered by Google App Engine
This is Rietveld 408576698