| OLD | NEW |
| (Empty) | |
| 1 <!doctype html> |
| 2 <!-- |
| 3 @license |
| 4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
| 5 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 7 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 8 Code distributed by Google as part of the polymer project is also |
| 9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 10 --> |
| 11 <html> |
| 12 <head> |
| 13 <title>paper-scroll-header-panel: demo2</title> |
| 14 |
| 15 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-
scale=1.0, user-scalable=yes"> |
| 16 <meta name="mobile-web-app-capable" content="yes"> |
| 17 <meta name="apple-mobile-web-app-capable" content="yes"> |
| 18 |
| 19 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> |
| 20 |
| 21 <link rel="import" href="../paper-scroll-header-panel.html"> |
| 22 <link rel="import" href="../../paper-toolbar/paper-toolbar.html"> |
| 23 <link rel="import" href="../../iron-icons/iron-icons.html"> |
| 24 <link rel="import" href="../../paper-icon-button/paper-icon-button.html"> |
| 25 <link rel="stylesheet" href="../../paper-styles/demo.css"> |
| 26 <link rel="import" href="sample-content.html"> |
| 27 |
| 28 <style is="custom-style"> |
| 29 |
| 30 paper-scroll-header-panel { |
| 31 position: absolute; |
| 32 top: 0; |
| 33 right: 0; |
| 34 bottom: 0; |
| 35 left: 0; |
| 36 background-color: var(--paper-grey-200, #eee); |
| 37 } |
| 38 |
| 39 paper-toolbar { |
| 40 background-color: var(--google-blue-500, #4285f4); |
| 41 } |
| 42 |
| 43 paper-toolbar .title { |
| 44 margin-left: 60px; |
| 45 } |
| 46 |
| 47 .content { |
| 48 padding: 8px; |
| 49 } |
| 50 |
| 51 </style> |
| 52 |
| 53 </head> |
| 54 <body> |
| 55 |
| 56 <paper-scroll-header-panel condenses> |
| 57 |
| 58 <paper-toolbar class="tall"> |
| 59 |
| 60 <paper-icon-button icon="arrow-back"></paper-icon-button> |
| 61 <div class="flex"></div> |
| 62 <paper-icon-button icon="search"></paper-icon-button> |
| 63 <paper-icon-button icon="more-vert"></paper-icon-button> |
| 64 |
| 65 <div class="bottom title">Title</div> |
| 66 |
| 67 </paper-toolbar> |
| 68 |
| 69 <div class="content"> |
| 70 |
| 71 <sample-content size="100"></sample-content> |
| 72 |
| 73 </div> |
| 74 |
| 75 </paper-scroll-header-panel> |
| 76 |
| 77 </body> |
| 78 </html> |
| OLD | NEW |