Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: polymer_1.0.4/bower_components/paper-scroll-header-panel/demo/demo9.html

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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: demo9</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="../../iron-icon/iron-icon.html">
23 <link rel="import" href="../../iron-icons/iron-icons.html">
24 <link rel="import" href="../../iron-icons/av-icons.html">
25 <link rel="import" href="../../paper-toolbar/paper-toolbar.html">
26 <link rel="import" href="../../paper-input/paper-input.html">
27 <link rel="import" href="sample-content.html">
28
29 <link rel="stylesheet" href="../../paper-styles/demo.css">
30
31
32 <style is="custom-style">
33
34 paper-scroll-header-panel {
35 position: absolute;
36 top: 0;
37 right: 0;
38 bottom: 0;
39 left: 0;
40 background-color: var(--paper-grey-200, #eee);
41
42 /* background for toolbar when it is at its full size */
43 --paper-scroll-header-panel-full-header: {
44 background-image: url(images/bg9.jpg);
45 };
46
47 /* background for toolbar when it is condensed */
48 --paper-scroll-header-panel-condensed-header: {
49 background-color: transparent;
50 };
51 }
52
53 paper-toolbar {
54 background-color: transparent;
55 }
56
57 .field {
58 background-color: #fff;
59 border: 1px solid #eee;
60 box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
61 height: 40px;
62 }
63
64 .field iron-icon {
65 color: var(--google-grey-700);
66 fill: var(--google-grey-700);
67 margin: 0 8px;
68 }
69
70 .field input {
71 font-size: 20px;
72 outline: 0;
73 border: none;
74 margin-left: 20px;
75 }
76
77 .content {
78 padding: 8px;
79 }
80
81 </style>
82
83 </head>
84 <body>
85
86 <!-- Instead of using 1/3 of the header's height, we want to manually set the
87 condensed header's height to 64px -->
88 <paper-scroll-header-panel condenses condensed-header-height="64">
89
90 <paper-toolbar class="medium-tall">
91
92 <div class="flex center horizontal layout bottom field">
93 <iron-icon icon="menu"></iron-icon>
94 <input class="flex">
95 <iron-icon icon="av:mic"></iron-icon>
96 </div>
97 </paper-toolbar>
98
99 <div class="content">
100
101 <sample-content size="100"></sample-content>
102
103 </div>
104
105 </paper-scroll-header-panel>
106
107 </body>
108 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698