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

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

Issue 2371533002: [MD settings] I-beam cursor on settings input (Closed)
Patch Set: Created 4 years, 3 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/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/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="/controls/controlled_button.html"> 3 <link rel="import" href="/controls/controlled_button.html">
4 <link rel="import" href="/controls/settings_checkbox.html"> 4 <link rel="import" href="/controls/settings_checkbox.html">
5 <link rel="import" href="/controls/settings_input.html"> 5 <link rel="import" href="/controls/settings_input.html">
6 <link rel="import" href="/settings_shared_css.html"> 6 <link rel="import" href="/settings_shared_css.html">
7 7
8 <dom-module id="settings-downloads-page"> 8 <dom-module id="settings-downloads-page">
9 <template> 9 <template>
10 <style include="settings-shared"> 10 <style include="settings-shared">
11 settings-input {
12 /* This ensures that the "Download location" label and the text in the
13 * input itself are vertically aligned. */
14 margin-bottom: 1em;
15 width: 300px;
16 }
17
18 #locationLabel {
19 -webkit-margin-end: 10px;
20 }
21 </style> 11 </style>
22 <div class="settings-box first two-line"> 12 <div class="settings-box first two-line">
23 <div class="start"> 13 <div class="start">
24 <div>$i18n{downloadLocation}</div> 14 <div>$i18n{downloadLocation}</div>
25 <div class="secondary">[[prefs.download.default_directory.value]]</div> 15 <div class="secondary">[[prefs.download.default_directory.value]]</div>
26 </div> 16 </div>
27 <div class="secondary-action"> 17 <div class="secondary-action">
28 <controlled-button class="secondary-button" id="changeDownloadsPath" 18 <controlled-button class="secondary-button" id="changeDownloadsPath"
29 on-tap="selectDownloadLocation_" 19 on-tap="selectDownloadLocation_"
30 pref="[[prefs.download.default_directory]]"> 20 pref="[[prefs.download.default_directory]]">
31 $i18n{changeDownloadLocation} 21 $i18n{changeDownloadLocation}
32 </controlled-button> 22 </controlled-button>
33 </div> 23 </div>
34 </div> 24 </div>
35 <div class="settings-box block"> 25 <div class="settings-box block">
36 <settings-checkbox pref="{{prefs.download.prompt_for_download}}" 26 <settings-checkbox pref="{{prefs.download.prompt_for_download}}"
37 label="$i18n{promptForDownload}"> 27 label="$i18n{promptForDownload}">
38 </settings-checkbox> 28 </settings-checkbox>
39 <if expr="chromeos"> 29 <if expr="chromeos">
40 <settings-checkbox pref="{{prefs.gdata.disabled}}" 30 <settings-checkbox pref="{{prefs.gdata.disabled}}"
41 label="$i18n{disconnectGoogleDriveAccount}" 31 label="$i18n{disconnectGoogleDriveAccount}"
42 hidden="[[!pageVisibility.googleDrive]]"> 32 hidden="[[!pageVisibility.googleDrive]]">
43 </settings-checkbox> 33 </settings-checkbox>
44 </if> 34 </if>
45 </div> 35 </div>
46 </template> 36 </template>
47 <script src="downloads_page.js"></script> 37 <script src="downloads_page.js"></script>
48 </dom-module> 38 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698