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

Unified Diff: ui/webui/resources/html/action_link_css.html

Issue 2639373002: MD Settings: clean up text controls (links, buttons) (Closed)
Patch Set: move action_link specific stuff to resources/html/action_link_css.html Created 3 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
Index: ui/webui/resources/html/action_link_css.html
diff --git a/ui/webui/resources/html/action_link_css.html b/ui/webui/resources/html/action_link_css.html
new file mode 100644
index 0000000000000000000000000000000000000000..1289fa72b1f8786d736f7959c733c282642bdb61
--- /dev/null
+++ b/ui/webui/resources/html/action_link_css.html
@@ -0,0 +1,26 @@
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html">
+
+<dom-module id="action-link">
+ <template>
+ <style>
+ [is='action-link'] {
+ cursor: pointer;
Dan Beam 2017/01/24 05:25:33 this should use @apply(--settings-actionable) or -
scottchen 2017/01/24 19:39:12 This is outside of settings, so I'll use --cr-acti
+ text-decoration: none;
+ }
+
+ [is='action-link'],
+ [is='action-link']:active,
+ [is='action-link']:hover,
+ [is='action-link']:visited {
+ color: var(--google-blue-700);
+ }
+
+ [is='action-link'][disabled] {
+ color: var(--paper-grey-600);
+ cursor: default;
+ opacity: 0.65;
+ pointer-events: none;
+ }
+ </style>
+ </template>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698