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

Side by Side Diff: chrome/browser/resources/settings/people_page/sync_page.html

Issue 2629743002: MD Settings: add border between sync data type toggles (Closed)
Patch Set: asdf 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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-toggle-button/pap er-toggle-button.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap er-toggle-button.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="/people_page/sync_browser_proxy.html"> 9 <link rel="import" href="/people_page/sync_browser_proxy.html">
10 <link rel="import" href="/route.html"> 10 <link rel="import" href="/route.html">
(...skipping 26 matching lines...) Expand all
37 } 37 }
38 38
39 #existingPassphraseInput { 39 #existingPassphraseInput {
40 /* The submit button for the existing passphrase is on the same line. */ 40 /* The submit button for the existing passphrase is on the same line. */
41 -webkit-margin-end: 16px; 41 -webkit-margin-end: 16px;
42 display: inline-block; 42 display: inline-block;
43 --paper-input-container: { 43 --paper-input-container: {
44 padding: 0; 44 padding: 0;
45 }; 45 };
46 } 46 }
47
48 #sync-data-types .list-item:not([hidden]) ~ .list-item:not([hidden]) {
49 border-top: var(--settings-separator-line);
50 }
47 </style> 51 </style>
48 <div id="[[pages.SPINNER]]" class="settings-box first" 52 <div id="[[pages.SPINNER]]" class="settings-box first"
49 hidden$="[[!isStatus_(pages.SPINNER, pageStatus_)]]"> 53 hidden$="[[!isStatus_(pages.SPINNER, pageStatus_)]]">
50 $i18n{syncLoading} 54 $i18n{syncLoading}
51 </div> 55 </div>
52 <div id="[[pages.TIMEOUT]]" class="settings-box first" 56 <div id="[[pages.TIMEOUT]]" class="settings-box first"
53 hidden$="[[!isStatus_(pages.TIMEOUT, pageStatus_)]]"> 57 hidden$="[[!isStatus_(pages.TIMEOUT, pageStatus_)]]">
54 $i18n{syncTimeout} 58 $i18n{syncTimeout}
55 </div> 59 </div>
56 <div id="[[pages.CONFIGURE]]" 60 <div id="[[pages.CONFIGURE]]"
57 hidden$="[[!isStatus_(pages.CONFIGURE, pageStatus_)]]"> 61 hidden$="[[!isStatus_(pages.CONFIGURE, pageStatus_)]]">
58 <div class="settings-box first"> 62 <div class="settings-box first">
59 <div class="start">$i18n{syncEverythingCheckboxLabel}</div> 63 <div class="start">$i18n{syncEverythingCheckboxLabel}</div>
60 <paper-toggle-button id="syncAllDataTypesControl" 64 <paper-toggle-button id="syncAllDataTypesControl"
61 checked="{{syncPrefs.syncAllDataTypes}}" 65 checked="{{syncPrefs.syncAllDataTypes}}"
62 on-change="onSyncAllDataTypesChanged_"> 66 on-change="onSyncAllDataTypesChanged_">
63 </paper-toggle-button> 67 </paper-toggle-button>
64 </div> 68 </div>
65 69
66 <div class="list-frame"> 70 <div class="list-frame" id="sync-data-types">
67 <div class="layout horizontal list-item" 71 <div class="layout horizontal list-item"
68 hidden="[[!syncPrefs.appsRegistered]]"> 72 hidden="[[!syncPrefs.appsRegistered]]">
69 <div class="flex">$i18n{appCheckboxLabel}</div> 73 <div class="flex">$i18n{appCheckboxLabel}</div>
70 <paper-toggle-button checked="{{syncPrefs.appsSynced}}" 74 <paper-toggle-button checked="{{syncPrefs.appsSynced}}"
71 on-change="onSingleSyncDataTypeChanged_" 75 on-change="onSingleSyncDataTypeChanged_"
72 disabled="[[shouldSyncCheckboxBeDisabled_( 76 disabled="[[shouldSyncCheckboxBeDisabled_(
73 syncPrefs.syncAllDataTypes, syncPrefs.appsEnforced)]]"> 77 syncPrefs.syncAllDataTypes, syncPrefs.appsEnforced)]]">
74 </paper-toggle-button> 78 </paper-toggle-button>
75 </div> 79 </div>
76 80
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 </div> 272 </div>
269 <div id="passphraseRecoverHint" class="list-item"> 273 <div id="passphraseRecoverHint" class="list-item">
270 <span>$i18nRaw{passphraseRecover}</span> 274 <span>$i18nRaw{passphraseRecover}</span>
271 </div> 275 </div>
272 </div> 276 </div>
273 </template> 277 </template>
274 </div> 278 </div>
275 </template> 279 </template>
276 <script src="sync_page.js"></script> 280 <script src="sync_page.js"></script>
277 </dom-module> 281 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698