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

Unified Diff: ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js

Issue 2317113002: Remove ::shadow and /deep/ combinator from Files app. (Closed)
Patch Set: Created 4 years, 3 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/file_manager/file_manager/foreground/elements/files_toggle_ripple.js
diff --git a/ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js b/ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js
index 7a681b8cf8a3cfb485a15decf6a61d229ba7467a..2033694175b7cbc5d4a589c96bbbe805f3cb46fb 100644
--- a/ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js
+++ b/ui/file_manager/file_manager/foreground/elements/files_toggle_ripple.js
@@ -5,10 +5,12 @@
/**
* Toggle Ripple.
*
- * You can change ripple color by the following CSS selector.
+ * You can change ripple color by the following CSS variable.
*
- * files-toggle-ripple#my-button::shadow .ripple {
- * background-color: black;
+ * files-toggle-ripple#my-button {
+ * --files-toggle-ripple: {
+ * background-color: black;
+ * }
* }
*
* Ripple size of the activated state is same with the size of this element.

Powered by Google App Engine
This is Rietveld 408576698