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

Side by Side Diff: chrome/browser/resources/settings/downloads_page/downloads_page.html

Issue 1736103002: MD Settings: remove .settings-card to make spacing more consistent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: based on --google/paper colors Created 4 years, 10 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
OLDNEW
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
4 <link rel="import" href="chrome://md-settings/controls/settings_checkbox.html"> 4 <link rel="import" href="chrome://md-settings/controls/settings_checkbox.html">
5 <link rel="import" href="chrome://md-settings/controls/settings_input.html"> 5 <link rel="import" href="chrome://md-settings/controls/settings_input.html">
6 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> 6 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
7 7
8 <dom-module id="settings-downloads-page"> 8 <dom-module id="settings-downloads-page">
9 <link rel="import" type="css" href="downloads_page.css"> 9 <link rel="import" type="css" href="downloads_page.css">
10 <template> 10 <template>
11 <style include="settings-shared"></style> 11 <style include="settings-shared"></style>
12 <div class="settings-card"> 12 <div class="settings-box first">
13 <div class="settings-box first"> 13 <div class="start">
14 <div class="start"> 14 <settings-input id="downloadsPath" always-flow-label readonly
15 <settings-input id="downloadsPath" always-flow-label readonly 15 i18n-values="label:downloadLocation"
16 i18n-values="label:downloadLocation" 16 pref="{{prefs.download.default_directory}}"
17 pref="{{prefs.download.default_directory}}" 17 aria-labelledby="locationLabel">
18 aria-labelledby="locationLabel"> 18 </settings-input>
19 </settings-input>
20 </div>
21 <paper-button id="changeDownloadsPath" on-tap="selectDownloadLocation_"
22 i18n-content="changeDownloadLocation">
23 </paper-button>
24 </div> 19 </div>
25 <div class="settings-box block"> 20 <paper-button id="changeDownloadsPath" on-tap="selectDownloadLocation_"
26 <settings-checkbox pref="{{prefs.download.prompt_for_download}}" 21 i18n-content="changeDownloadLocation">
27 i18n-values="label:promptForDownload"> 22 </paper-button>
28 </settings-checkbox> 23 </div>
24 <div class="settings-box block">
25 <settings-checkbox pref="{{prefs.download.prompt_for_download}}"
26 i18n-values="label:promptForDownload">
27 </settings-checkbox>
29 <if expr="chromeos"> 28 <if expr="chromeos">
30 <settings-checkbox pref="{{prefs.gdata.disabled}}" 29 <settings-checkbox pref="{{prefs.gdata.disabled}}"
31 i18n-values="label:disconnectGoogleDriveAccount"> 30 i18n-values="label:disconnectGoogleDriveAccount">
32 </settings-checkbox> 31 </settings-checkbox>
33 </if> 32 </if>
34 </div>
35 </div> 33 </div>
36 </template> 34 </template>
37 <script src="downloads_page.js"></script> 35 <script src="downloads_page.js"></script>
38 </dom-module> 36 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698