| OLD | NEW |
| 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-icon/iron-icon.htm
l"> | 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"> | 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"> |
| 4 | 5 |
| 5 <dom-module id="settings-subheader"> | 6 <dom-module id="settings-subheader"> |
| 6 <template> | 7 <template> |
| 7 <style include="settings-shared"> | 8 <style include="settings-shared"> |
| 9 :host { |
| 10 display: block; |
| 11 margin: 8px 0 16px 0; |
| 12 } |
| 13 |
| 8 :root { | 14 :root { |
| 9 --iron-icon-fill-color: var(--settings-side-nav-color); | 15 --iron-icon-fill-color: var(--settings-nav-grey); |
| 10 --paper-icon-button: { | 16 } |
| 11 width: 36px; | 17 |
| 12 height: 36px; | 18 paper-icon-button { |
| 13 margin: 0 12px 0 -8px; | 19 /* The inner icon is 20px in size. paper-icon-button has 8px padding. */ |
| 14 } | 20 height: 36px; |
| 21 /* Centers the ripple on the icon with appropriate margin on right. */ |
| 22 margin: 0 12px 0 -8px; |
| 23 width: 36px; |
| 15 } | 24 } |
| 16 | 25 |
| 17 h2 { | 26 h2 { |
| 18 color: var(--settings-side-nav-color); | 27 color: var(--settings-nav-grey); |
| 19 font-size: 107.6923%; /* go to 14px from 13px */ | 28 font-size: 107.6923%; /* go to 14px from 13px */ |
| 20 } | 29 } |
| 21 </style> | 30 </style> |
| 22 <div class="settings-box first"> | 31 <div class="settings-box first"> |
| 23 <paper-icon-button icon="arrow-back" on-tap="onTapBack_"> | 32 <paper-icon-button icon="arrow-back" on-tap="onTapBack_"> |
| 24 </paper-icon-button> | 33 </paper-icon-button> |
| 25 <h2>[[pageTitle]]</h2> | 34 <h2>[[pageTitle]]</h2> |
| 26 </div> | 35 </div> |
| 27 </template> | 36 </template> |
| 28 <script src="settings_subheader.js"></script> | 37 <script src="settings_subheader.js"></script> |
| 29 </dom-module> | 38 </dom-module> |
| OLD | NEW |