| 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: demo3</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 /* background for toolbar when it is at its full size */ |
| 39 --paper-scroll-header-panel-full-header: { |
| 40 background-image: url(images/bg3.jpg); |
| 41 }; |
| 42 } |
| 43 |
| 44 paper-toolbar { |
| 45 background-color: transparent; |
| 46 } |
| 47 |
| 48 paper-toolbar iron-icon { |
| 49 margin: 0 8px; |
| 50 } |
| 51 |
| 52 .content { |
| 53 padding: 8px; |
| 54 } |
| 55 |
| 56 </style> |
| 57 |
| 58 </head> |
| 59 <body> |
| 60 |
| 61 <paper-scroll-header-panel condenses no-reveal no-dissolve> |
| 62 |
| 63 <paper-toolbar class="tall"> |
| 64 |
| 65 <div class="flex"></div> |
| 66 <paper-icon-button icon="search"></paper-icon-button> |
| 67 |
| 68 </paper-toolbar> |
| 69 |
| 70 <div class="content"> |
| 71 |
| 72 <sample-content size="100"></sample-content> |
| 73 |
| 74 </div> |
| 75 |
| 76 </paper-scroll-header-panel> |
| 77 |
| 78 </body> |
| 79 </html> |
| OLD | NEW |