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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html

Issue 2639373002: MD Settings: clean up text controls (links, buttons) (Closed)
Patch Set: move comment about action_link_css to action_likn_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/passwords_and_forms_page/autofill_section.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
index c11eec9cf96abb7fca35dc846e99970755c46985..275186eb45e8967f8c76bdb521809882008283bd 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html
@@ -1,5 +1,6 @@
<link rel="import" href="chrome://resources/cr_elements/cr_action_menu/cr_action_menu.html">
<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/polymer/v1_0/paper-icon-button/paper-icon-button.html">
<link rel="import" href="/i18n_setup.html">
@@ -9,9 +10,8 @@
<link rel="import" href="/settings_shared_css.html">
<dom-module id="settings-autofill-section">
- <link rel="import" type="css" href="chrome://resources/css/action_link.css">
<template>
- <style include="settings-shared passwords-shared">
+ <style include="settings-shared passwords-shared action-link">
.type-column {
align-items: center;
flex: 2;
@@ -82,8 +82,10 @@
hidden$="[[hasSome_(addresses)]]">
$i18n{noAddressesFound}
</div>
- <div class="list-item list-button">
- <a is="action-link" on-tap="onAddAddressTap_">$i18n{addAddress}</a>
+ <div class="list-item">
+ <a is="action-link" class="list-button" on-tap="onAddAddressTap_">
+ $i18n{addAddress}
+ </a>
</div>
</div>
<dialog is="cr-action-menu" id="addressSharedMenu">
@@ -136,8 +138,8 @@
hidden$="[[hasSome_(creditCards)]]">
$i18n{noCreditCardsFound}
</div>
- <div class="list-item list-button">
- <a is="action-link" on-tap="onAddCreditCardTap_">
+ <div class="list-item">
+ <a is="action-link" class="list-button" on-tap="onAddCreditCardTap_">
$i18n{addCreditCard}
</a>
</div>

Powered by Google App Engine
This is Rietveld 408576698