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

Unified Diff: ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.css

Issue 909313003: Add cr-checkbox to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update styling and use underscores 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_checkbox/cr_checkbox.css
diff --git a/ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.css b/ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.css
new file mode 100644
index 0000000000000000000000000000000000000000..94e9c52d3466464cec69be44fcc47bc1e007c0e0
--- /dev/null
+++ b/ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.css
@@ -0,0 +1,15 @@
+/* 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-checkbox::shadow #ink[checked] {
+ color: rgb(0, 150, 136);
Jeremy Klein 2015/02/11 01:55:36 Can we share the color defs somewhere?
Oren Blasberg 2015/02/11 20:12:42 Not sure! Any ideas, Michael or Steven? Note that
stevenjb 2015/02/11 20:35:02 I agree that it would be nice to have something li
michaelpg 2015/02/11 20:40:34 Yes! I just discovered <core-style> last night. We
+}
+
+paper-checkbox::shadow #checkbox.checked {
+ border-color: rgb(0, 150, 136);
+}

Powered by Google App Engine
This is Rietveld 408576698