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

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

Issue 2094813002: MD Settings: make custom UIs look "actionable" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dpapad@ review Created 4 years, 5 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="/about_page/about_page_browser_proxy.html"> 2 <link rel="import" href="/about_page/about_page_browser_proxy.html">
3 <link rel="import" href="/i18n_setup.html"> 3 <link rel="import" href="/i18n_setup.html">
4 <link rel="import" href="/icons.html"> 4 <link rel="import" href="/icons.html">
5 <link rel="import" href="/lifetime_browser_proxy.html"> 5 <link rel="import" href="/lifetime_browser_proxy.html">
6 <link rel="import" href="/settings_page/main_page_behavior.html"> 6 <link rel="import" href="/settings_page/main_page_behavior.html">
7 <link rel="import" href="/settings_page/settings_animated_pages.html"> 7 <link rel="import" href="/settings_page/settings_animated_pages.html">
8 <link rel="import" href="/settings_page/settings_section.html"> 8 <link rel="import" href="/settings_page/settings_section.html">
9 <link rel="import" href="/settings_page_css.html"> 9 <link rel="import" href="/settings_page_css.html">
10 <link rel="import" href="/settings_shared_css.html"> 10 <link rel="import" href="/settings_shared_css.html">
11 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 11 <link rel="import" href="chrome://resources/cr_elements/icons.html">
12 <link rel="import" href="chrome://resources/html/assert.html"> 12 <link rel="import" href="chrome://resources/html/assert.html">
13 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 13 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
14 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 14 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
15 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 15 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
16 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 16 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
17 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 17 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
18 18
19 <if expr="chromeos"> 19 <if expr="chromeos">
20 <link rel="import" href="/about_page/detailed_build_info.html"> 20 <link rel="import" href="/about_page/detailed_build_info.html">
21 <link rel="import" href="/settings_page/settings_subpage.html"> 21 <link rel="import" href="/settings_page/settings_subpage.html">
22 </if> 22 </if>
23 23
24 <dom-module id="settings-about-page"> 24 <dom-module id="settings-about-page">
25 <template> 25 <template>
26 <style include="settings-shared settings-page-styles"> 26 <style include="settings-shared settings-page-styles">
27 .product-title { 27 .product-title {
28 font-size: 20px; 28 font-size: 20px;
29 margin-bottom: auto;
29 margin-top: auto; 30 margin-top: auto;
30 margin-bottom: auto;
31 } 31 }
32 32
33 img { 33 img {
34 -webkit-margin-end: 10px; 34 -webkit-margin-end: 10px;
35 } 35 }
36 36
37 iron-icon { 37 iron-icon {
38 -webkit-margin-end: var(--iron-icon-spacing); 38 -webkit-margin-end: var(--iron-icon-spacing);
39 } 39 }
40 40
41 iron-icon[icon="settings:check-circle"] { 41 iron-icon[icon='settings:check-circle'] {
42 fill: var(--paper-blue-600); 42 fill: var(--paper-blue-600);
43 } 43 }
44 44
45 iron-icon[icon="settings:error"] { 45 iron-icon[icon='settings:error'] {
46 fill: var(--paper-red-600); 46 fill: var(--paper-red-600);
47 } 47 }
48 48
49 .product-info { 49 .product-info {
50 display: block; 50 display: block;
51 padding-bottom: 10px; 51 padding-bottom: 10px;
52 padding-top: 10px; 52 padding-top: 10px;
53 } 53 }
54 54
55 .info-section { 55 .info-section {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 on-tap="onRelaunchAndPowerwashTap_"> 114 on-tap="onRelaunchAndPowerwashTap_">
115 $i18n{aboutRelaunchAndPowerwash} 115 $i18n{aboutRelaunchAndPowerwash}
116 </paper-button> 116 </paper-button>
117 <paper-button id="checkForUpdates" class="secondary-action" 117 <paper-button id="checkForUpdates" class="secondary-action"
118 hidden="[[!shouldShowCheckUpdates_(currentUpdateStatusEvent_)] ]" 118 hidden="[[!shouldShowCheckUpdates_(currentUpdateStatusEvent_)] ]"
119 on-tap="onCheckUpdatesTap_"> 119 on-tap="onCheckUpdatesTap_">
120 $i18n{aboutCheckForUpdates} 120 $i18n{aboutCheckForUpdates}
121 </paper-button> 121 </paper-button>
122 </if> 122 </if>
123 </div> 123 </div>
124 <div id="help" class="settings-box two-line" on-tap="onHelpTap_"> 124 <div id="help" class="settings-box two-line" on-tap="onHelpTap_"
125 actionable>
125 $i18n{aboutGetHelpUsingChrome} 126 $i18n{aboutGetHelpUsingChrome}
126 </div> 127 </div>
127 <if expr="_google_chrome"> 128 <if expr="_google_chrome">
128 <div id="reportIssue" class="settings-box" 129 <div id="reportIssue" class="settings-box" actionable
129 on-tap="onReportIssueTap_"> 130 on-tap="onReportIssueTap_">
130 $i18n{aboutReportAnIssue} 131 $i18n{aboutReportAnIssue}
131 </div> 132 </div>
132 </if> 133 </if>
133 <if expr="chromeos"> 134 <if expr="chromeos">
134 <div class="settings-box" on-tap="onDetailedBuildInfoTap_"> 135 <div class="settings-box" on-tap="onDetailedBuildInfoTap_"
136 actionable>
135 <!-- TODO(dpapad): Localize string. --> 137 <!-- TODO(dpapad): Localize string. -->
136 Detailed build info 138 Detailed build info
137 </div> 139 </div>
138 </if> 140 </if>
139 <div class="settings-box product-info"> 141 <div class="settings-box product-info">
140 <div class="info-section"> 142 <div class="info-section">
141 <div class="secondary">$i18n{aboutProductTitle}</div> 143 <div class="secondary">$i18n{aboutProductTitle}</div>
142 <div class="secondary">$i18n{aboutProductCopyright}</div> 144 <div class="secondary">$i18n{aboutProductCopyright}</div>
143 </div> 145 </div>
144 146
(...skipping 20 matching lines...) Expand all
165 <settings-detailed-build-info></settings-detailed-build-info> 167 <settings-detailed-build-info></settings-detailed-build-info>
166 </settings-subpage> 168 </settings-subpage>
167 </template> 169 </template>
168 </if> 170 </if>
169 </settings-animated-pages> 171 </settings-animated-pages>
170 </settings-section> 172 </settings-section>
171 </div> 173 </div>
172 </template> 174 </template>
173 <script src="about_page.js"></script> 175 <script src="about_page.js"></script>
174 </dom-module> 176 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698