<!– @license Copyright © 2016 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at polymer.github.io/LICENSE.txt The complete set of authors may be found at polymer.github.io/AUTHORS.txt The complete set of contributors may be found at polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at polymer.github.io/PATENTS.txt –>

<!doctype html> <html> <head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">

<title>app-header-layout demo</title>

<script src="../../../webcomponentsjs/webcomponents-lite.js"></script>

<link rel="import" href="../../../font-roboto/roboto.html">
<link rel="import" href="../../../iron-icons/iron-icons.html">
<link rel="import" href="../../../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../../app-header/app-header.html">
<link rel="import" href="../../app-scroll-effects/app-scroll-effects.html">
<link rel="import" href="../../app-toolbar/app-toolbar.html">
<link rel="import" href="../../demo/sample-content.html">
<link rel="import" href="../app-header-layout.html">

<style is="custom-style">

  body {
    margin: 0;
    font-family: 'Roboto', 'Noto', sans-serif;
    background-color: #eee;
  }

  app-header {
    background-color: #4285f4;
    color: #fff;
  }

  .content {
    @apply(--layout-flex);
  }

  app-header paper-icon-button {
    --paper-icon-button-ink-color: white;
  }

  footer {
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: white;
    font-size: 14px;
  }

</style>

</head> <body>

<!-- default to use body scroller -->
<app-header-layout fullbleed>

  <app-header effects="waterfall" condenses reveals>
    <app-toolbar>
      <paper-icon-button icon="menu"></paper-icon-button>
      <div main-title></div>
      <paper-icon-button icon="search"></paper-icon-button>
    </app-toolbar>
    <app-toolbar></app-toolbar>
    <app-toolbar>
      <div spacer main-title>My Drive</div>
    </app-toolbar>
  </app-header>

  <div class="content">
    <!-- content goes here -->
  </div>

  <footer>
    &copy; Polymer project
  </footer>

</app-header-layout>

</body> </html>