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

Unified Diff: chrome/browser/resources/settings/on_startup_page/startup_urls_page.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/on_startup_page/startup_urls_page.html
diff --git a/chrome/browser/resources/settings/on_startup_page/startup_urls_page.html b/chrome/browser/resources/settings/on_startup_page/startup_urls_page.html
index 8a4a1bf14ce3c4519f56a3173afef2338a1bf4a3..2627254d85ae6f37acc1edad5e19d1b36536d531 100644
--- a/chrome/browser/resources/settings/on_startup_page/startup_urls_page.html
+++ b/chrome/browser/resources/settings/on_startup_page/startup_urls_page.html
@@ -1,4 +1,6 @@
<link rel="import" href="chrome://resources/html/polymer.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/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
@@ -11,7 +13,7 @@
<dom-module id="settings-startup-urls-page">
<template>
- <style include="settings-shared">
+ <style include="settings-shared action-link">
#outer {
@apply(--settings-list-frame-padding);
max-height: 395px; /** Enough height to show six entries. */
@@ -39,11 +41,17 @@
</div>
<template is="dom-if" if="[[!prefs.session.startup_urls.controlledBy]]"
restamp>
- <div class="list-item list-button" id="addPage" on-tap="onAddPageTap_">
- $i18n{onStartupAddNewPage}
+ <div class="list-item" id="addPage">
+ <a is="action-link" class="list-button" on-tap="onAddPageTap_">
+ $i18n{onStartupAddNewPage}
+ </a>
+ </div>
+ <div class="list-item" id="useCurrentPages">
+ <a is="action-link" class="list-button"
+ on-tap="onUseCurrentPagesTap_">
+ $i18n{onStartupUseCurrent}
+ </a>
</div>
- <div class="list-item list-button" id="useCurrentPages"
- on-tap="onUseCurrentPagesTap_">$i18n{onStartupUseCurrent}</div>
</template>
<template is="dom-if" if="[[prefs.session.startup_urls.extensionId]]"
restamp>

Powered by Google App Engine
This is Rietveld 408576698