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

Unified Diff: ui/webui/resources/cr_elements/cr_toggle_button/cr-toggle-button.css

Issue 902053003: Add cr-toggle-button to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: closure linter fix Created 5 years, 10 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: ui/webui/resources/cr_elements/cr_toggle_button/cr-toggle-button.css
diff --git a/ui/webui/resources/cr_elements/cr_toggle_button/cr-toggle-button.css b/ui/webui/resources/cr_elements/cr_toggle_button/cr-toggle-button.css
new file mode 100644
index 0000000000000000000000000000000000000000..05d6ac864acf61d9d52d3fe18d9ddcfa9064448f
--- /dev/null
+++ b/ui/webui/resources/cr_elements/cr_toggle_button/cr-toggle-button.css
@@ -0,0 +1,27 @@
+/* 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 {
+ display: inline-block;
+}
+
+paper-toggle-button::shadow .toggle {
+ background-color: rgb(236, 239, 241);
+}
+
+paper-toggle-button::shadow .toggle-bar {
+ background-color: rgb(38, 50, 56);
+}
+
+paper-toggle-button::shadow [checked] .toggle {
+ background-color: rgb(0, 150, 136);
+}
+
+paper-toggle-button::shadow .toggle-ink {
+ color: rgb(176, 190, 197);
+}
+
+paper-toggle-button::shadow [checked] .toggle-ink {
+ color: rgb(0, 150, 136);
+}

Powered by Google App Engine
This is Rietveld 408576698