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

Unified Diff: chrome/browser/resources/settings/people_page/lock_screen.html

Issue 2639373002: MD Settings: clean up text controls (links, buttons) (Closed)
Patch Set: slightly more clean-up 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/people_page/lock_screen.html
diff --git a/chrome/browser/resources/settings/people_page/lock_screen.html b/chrome/browser/resources/settings/people_page/lock_screen.html
index cf290e9fb9302b6f7d1dfcd3a2450b7c84463eb1..0d0bcb855a95a823f8f50ee52504cb7a9e1e422f 100644
--- a/chrome/browser/resources/settings/people_page/lock_screen.html
+++ b/chrome/browser/resources/settings/people_page/lock_screen.html
@@ -1,6 +1,5 @@
<link rel="import" href="chrome://resources/html/i18n_behavior.html">
<link rel="import" href="chrome://resources/html/polymer.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper-radio-group.html">
<link rel="import" href="/controls/settings_toggle_button.html">
<link rel="import" href="/people_page/lock_screen_constants.html">
@@ -16,11 +15,7 @@
<style include="settings-shared"></style>
<style>
.radio-indent {
- margin-left: 28px;
- }
-
- paper-button {
- text-transform: none;
+ margin-left: 36px;
}
</style>
@@ -33,15 +28,13 @@
<paper-radio-button name="pin+password">
$i18n{lockScreenPinOrPassword}
</paper-radio-button>
- <div class="settings-box continuation radio-indent"
- hidden$="[[!showConfigurePinButton_(selectedUnlockType)]]">
- <!-- TODO(dbeam): I seriously doubt paper-button[is=action-link] is
- a good idea. -->
- <paper-button is="action-link" on-tap="onConfigurePin_">
- [[getSetupPinText_(hasPin)]]
- </paper-button>
- </div>
</paper-radio-group>
+ <div class="list-item radio-indent"
+ hidden$="[[!showConfigurePinButton_(selectedUnlockType)]]">
+ <a is="action-link" class="list-button" on-tap="onConfigurePin_">
+ [[getSetupPinText_(hasPin)]]
+ </a>
+ </div>
</div>
<div class="settings-box">

Powered by Google App Engine
This is Rietveld 408576698