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

Unified Diff: chrome/browser/resources/settings/site_settings/site_details.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: chrome/browser/resources/settings/site_settings/site_details.html
diff --git a/chrome/browser/resources/settings/site_settings/site_details.html b/chrome/browser/resources/settings/site_settings/site_details.html
index 0898ee3af21432edbd80a268969c2bf2080b53d7..ea2f2405d4d5de3a80c739fd5cf167e11a9e00ad 100644
--- a/chrome/browser/resources/settings/site_settings/site_details.html
+++ b/chrome/browser/resources/settings/site_settings/site_details.html
@@ -1,3 +1,5 @@
+<link rel="import" href="chrome://resources/html/action_link.html">
+<link rel="import" href="chrome://resources/html/action_link_css.html">
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
<link rel="import" href="chrome://resources/cr_elements/icons.html">
@@ -12,7 +14,7 @@
<dom-module id="site-details">
<template>
- <style include="settings-shared">
+ <style include="settings-shared action-link">
.favicon-image {
margin: 2px;
}
@@ -108,8 +110,10 @@
label="$i18n{siteSettingsUnsandboxedPlugins}" site="[[site]]">
</site-details-permission>
- <div on-tap="onClearAndReset_" raised class="list-item list-button">
- $i18n{siteSettingsClearAndReset}
+ <div raised class="list-item">
Dan Beam 2017/01/24 05:25:33 what does this raised do?
scottchen 2017/01/24 19:39:12 I'm guessing this div was originally a paper-butto
+ <a is="action-link" class="list-button" on-tap="onClearAndReset_" >
+ $i18n{siteSettingsClearAndReset}
+ </a>
</div>
</div>
<website-usage-private-api id="usageApi"

Powered by Google App Engine
This is Rietveld 408576698