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

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

Issue 2639373002: MD Settings: clean up text controls (links, buttons) (Closed)
Patch Set: add comment for action_link_css 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..1509295cc0ed41b4578d7976ab7f39c70839ae6d
--- /dev/null
+++ b/ui/webui/resources/html/action_link_css.html
@@ -0,0 +1,27 @@
+<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html">
+
+<dom-module id="action-link">
+ <template>
+ <style>
+ [is='action-link'] {
+ @apply(--cr-actionable);
+ 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