Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> | 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape r-radio-button.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-group/paper -radio-group.html"> |
| 9 <link rel="import" href="/controls/settings_checkbox.html"> | 9 <link rel="import" href="/controls/settings_checkbox.html"> |
| 10 <link rel="import" href="/people_page/sync_browser_proxy.html"> | 10 <link rel="import" href="/people_page/sync_browser_proxy.html"> |
| 11 <link rel="import" href="/route.html"> | 11 <link rel="import" href="/route.html"> |
| 12 <link rel="import" href="/settings_shared_css.html"> | 12 <link rel="import" href="/settings_shared_css.html"> |
| 13 | 13 |
| 14 <dom-module id="settings-sync-page"> | 14 <dom-module id="settings-sync-page"> |
| 15 <template> | 15 <template> |
| 16 <style include="settings-shared"> | 16 <style include="settings-shared"> |
| 17 #create-password-box { | 17 #create-password-box { |
| 18 /* The password fields line up with the encryption radio box text. */ | 18 /* The password fields line up with the encryption radio box text. */ |
| 19 -webkit-margin-start: 36px; | 19 -webkit-margin-start: 36px; |
| 20 } | 20 } |
| 21 | 21 |
| 22 paper-input { | 22 paper-input { |
| 23 width: var(--paper-input-max-width); | 23 width: var(--paper-input-max-width); |
| 24 } | 24 } |
| 25 | |
| 26 #existingPassphraseInput { | |
| 27 /* The submit button for the existing passphrase is on the same line. */ | |
| 28 -webkit-margin-end: 16px; | |
|
dschuyler
2016/08/17 23:46:34
I think that in rtl the margin will go
on the othe
tommycli
2016/08/18 00:06:50
The button and input are auto-swapped in RTL.
See
| |
| 29 display: inline-block; | |
| 30 } | |
| 25 </style> | 31 </style> |
| 26 <div id="[[pages.SPINNER]]" class="settings-box first" | 32 <div id="[[pages.SPINNER]]" class="settings-box first" |
| 27 hidden$="[[!isStatus_(pages.SPINNER, pageStatus_)]]"> | 33 hidden$="[[!isStatus_(pages.SPINNER, pageStatus_)]]"> |
| 28 $i18n{syncLoading} | 34 $i18n{syncLoading} |
| 29 </div> | 35 </div> |
| 30 <div id="[[pages.TIMEOUT]]" class="settings-box first" | 36 <div id="[[pages.TIMEOUT]]" class="settings-box first" |
| 31 hidden$="[[!isStatus_(pages.TIMEOUT, pageStatus_)]]"> | 37 hidden$="[[!isStatus_(pages.TIMEOUT, pageStatus_)]]"> |
| 32 $i18n{syncTimeout} | 38 $i18n{syncTimeout} |
| 33 </div> | 39 </div> |
| 34 <div id="[[pages.CONFIGURE]]" | 40 <div id="[[pages.CONFIGURE]]" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 192 <paper-button id="submitExistingPassphrase" | 198 <paper-button id="submitExistingPassphrase" |
| 193 on-tap="onSubmitExistingPassphraseTap_" class="action-button"> | 199 on-tap="onSubmitExistingPassphraseTap_" class="action-button"> |
| 194 $i18n{submitPassphraseButton} | 200 $i18n{submitPassphraseButton} |
| 195 </paper-button> | 201 </paper-button> |
| 196 </div> | 202 </div> |
| 197 </template> | 203 </template> |
| 198 </div> | 204 </div> |
| 199 </template> | 205 </template> |
| 200 <script src="sync_page.js"></script> | 206 <script src="sync_page.js"></script> |
| 201 </dom-module> | 207 </dom-module> |
| OLD | NEW |