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

Side by Side Diff: chrome/browser/resources/settings/settings_page/settings_subheader.html

Issue 1826683002: MD Settings: Lazy-load sub-pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WebAnimationsExterns
Patch Set: no-op Created 4 years, 8 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
(Empty)
1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml">
4 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
5
6 <dom-module id="settings-subheader">
7 <template>
8 <style include="settings-shared">
9 :host {
10 display: block;
11 margin: 8px 0 16px 0;
12 }
13
14 :root {
15 --iron-icon-fill-color: var(--settings-nav-grey);
16 }
17
18 paper-icon-button {
19 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */
20 height: 36px;
21 /* Centers the ripple on the icon with appropriate margin on right. */
22 margin: 0 12px 0 -8px;
23 width: 36px;
24 }
25
26 h2 {
27 color: var(--settings-nav-grey);
28 font-size: 107.6923%; /* go to 14px from 13px */
29 }
30 </style>
31 <div class="settings-box first">
32 <paper-icon-button icon="arrow-back" on-tap="onTapBack_">
33 </paper-icon-button>
34 <h2>[[pageTitle]]</h2>
35 </div>
36 </template>
37 <script src="settings_subheader.js"></script>
38 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698