summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/settings/settings_page/settings_subheader.html
blob: 0f5bf06861a194d6781dc6a42eeb1903f866e09d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html">

<dom-module id="settings-subheader">
  <template>
    <style include="settings-shared">
      :root {
        --iron-icon-fill-color: var(--settings-side-nav-color);
        --paper-icon-button: {
          width: 36px;
          height: 36px;
          margin: 0 12px 0 -8px;
        }
      }

      h2 {
        color: var(--settings-side-nav-color);
        font-size: 107.6923%; /* go to 14px from 13px */
      }
    </style>
    <div class="settings-box first">
      <paper-icon-button icon="arrow-back" on-tap="onTapBack_">
      </paper-icon-button>
      <h2>[[pageTitle]]</h2>
    </div>
  </template>
  <script src="settings_subheader.js"></script>
</dom-module>