Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 2 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp le.html"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp le.html"> |
| 10 <link rel="import" href="fingerprint_browser_proxy.html"> | 10 <link rel="import" href="fingerprint_browser_proxy.html"> |
| 11 <link rel="import" href="setup_fingerprint_dialog.html"> | 11 <link rel="import" href="setup_fingerprint_dialog.html"> |
| 12 <link rel="import" href="../i18n_setup.html"> | 12 <link rel="import" href="../i18n_setup.html"> |
| 13 <link rel="import" href="../settings_shared_css.html"> | 13 <link rel="import" href="../settings_shared_css.html"> |
| 14 | 14 |
| 15 <dom-module id="settings-fingerprint-list"> | 15 <dom-module id="settings-fingerprint-list"> |
| 16 <template> | 16 <template> |
| 17 <style include="settings-shared"> | 17 <style include="settings-shared"> |
| 18 .add-link { | 18 .add-link { |
| 19 background-color: transparent; | 19 background-color: transparent; |
| 20 color: var(--google-blue-500); | 20 color: var(--google-blue-500); |
| 21 padding: 0; | 21 } |
| 22 | |
| 23 .add-link[focused] { | |
|
Dan Beam
2017/05/23 16:36:22
what's going on here?
scottchen
2017/05/27 00:18:03
There was a really weird visual where when the but
| |
| 24 color: white; | |
| 22 } | 25 } |
| 23 | 26 |
| 24 .add-link[disabled] { | 27 .add-link[disabled] { |
| 25 color: var(--google-grey-500); | 28 color: var(--google-grey-500); |
| 26 } | 29 } |
| 27 | 30 |
| 28 .body { | 31 .body { |
| 29 @apply(--settings-list-frame-padding); | 32 @apply(--settings-list-frame-padding); |
| 30 } | 33 } |
| 31 | 34 |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 44 | 47 |
| 45 <h2 class="settings-box">$i18n{lockScreenRegisteredFingerprints}</h2> | 48 <h2 class="settings-box">$i18n{lockScreenRegisteredFingerprints}</h2> |
| 46 <div class="body layout vertical"> | 49 <div class="body layout vertical"> |
| 47 <iron-list id="fingerprintsList" items="[[fingerprints_]]"> | 50 <iron-list id="fingerprintsList" items="[[fingerprints_]]"> |
| 48 <template> | 51 <template> |
| 49 <div class="list-item"> | 52 <div class="list-item"> |
| 50 <paper-ripple noink></paper-ripple> | 53 <paper-ripple noink></paper-ripple> |
| 51 <paper-input value="{{item}}" | 54 <paper-input value="{{item}}" |
| 52 on-change="onFingerprintLabelChanged_"> | 55 on-change="onFingerprintLabelChanged_"> |
| 53 </paper-input> | 56 </paper-input> |
| 54 <button is="paper-icon-button-light" | 57 <button is="paper-icon-button-light" class="icon-delete" |
| 55 on-tap="onFingerprintDeleteTapped_"> | 58 on-tap="onFingerprintDeleteTapped_"> |
| 56 <iron-icon icon="cr:delete"></iron-icon> | |
| 57 </button> | 59 </button> |
| 58 </div> | 60 </div> |
| 59 </template> | 61 </template> |
| 60 </iron-list> | 62 </iron-list> |
| 61 <div class="continuation"> | 63 <div class="continuation"> |
| 62 <paper-button id="addFingerprint" class="add-link action-button" | 64 <paper-button id="addFingerprint" class="add-link action-button" |
| 63 on-tap="openAddFingerprintDialog_"> | 65 on-tap="openAddFingerprintDialog_"> |
| 64 $i18n{lockScreenAddFingerprint} | 66 $i18n{lockScreenAddFingerprint} |
| 65 </paper-button> | 67 </paper-button> |
| 66 </div> | 68 </div> |
| 67 </div> | 69 </div> |
| 68 <i class="settings-box continuation">$i18n{lockScreenFingerprintWarning}</i> | 70 <i class="settings-box continuation">$i18n{lockScreenFingerprintWarning}</i> |
| 69 | 71 |
| 70 <settings-setup-fingerprint-dialog id="setupFingerprint" | 72 <settings-setup-fingerprint-dialog id="setupFingerprint" |
| 71 on-add-fingerprint="updateFingerprintsList_" | 73 on-add-fingerprint="updateFingerprintsList_" |
| 72 on-close="onSetupFingerprintDialogClose_"> | 74 on-close="onSetupFingerprintDialogClose_"> |
| 73 </settings-setup-fingerprint-dialog> | 75 </settings-setup-fingerprint-dialog> |
| 74 </template> | 76 </template> |
| 75 <script src="fingerprint_list.js"></script> | 77 <script src="fingerprint_list.js"></script> |
| 76 </dom-module> | 78 </dom-module> |
| OLD | NEW |