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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-scroll-header-panel/paper-scroll-header-panel.html

Issue 1187823002: Update Polymer components and re-run reproduce.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 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
1 <!-- 1 <!--
2 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><html><head><link rel="import" href="../polymer/polymer.html"> 9 --><html><head><link rel="import" href="../polymer/polymer.html">
10 <link rel="import" href="../iron-resizable-behavior/iron-resizable-behavior.html "> 10 <link rel="import" href="../iron-resizable-behavior/iron-resizable-behavior.html ">
(...skipping 21 matching lines...) Expand all
32 32
33 html, body { 33 html, body {
34 height: 100%; 34 height: 100%;
35 margin: 0; 35 margin: 0;
36 } 36 }
37 paper-scroll-header-panel { 37 paper-scroll-header-panel {
38 height: 100%; 38 height: 100%;
39 } 39 }
40 40
41 `paper-scroll-header-panel` works well with `paper-toolbar` but can use any elem ent 41 `paper-scroll-header-panel` works well with `paper-toolbar` but can use any elem ent
42 that represents a header by adding a `core-header` class to it. 42 that represents a header by adding a `paper-header` class to it.
43 43
44 <paper-scroll-header-panel> 44 <paper-scroll-header-panel>
45 <paper-toolbar>Header</paper-toolbar> 45 <paper-toolbar>Header</paper-toolbar>
46 <div>Content goes here...</div> 46 <div>Content goes here...</div>
47 </paper-scroll-header-panel> 47 </paper-scroll-header-panel>
48 48
49 Styling scroll-header-panel: 49 Styling scroll-header-panel:
50 50
51 To change background for toolbar when it is at its full size: 51 To change background for toolbar when it is at its full size:
52 52
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 <div class="bg-container"> 141 <div class="bg-container">
142 <div id="condensedHeaderBg"></div> 142 <div id="condensedHeaderBg"></div>
143 <div id="headerBg"></div> 143 <div id="headerBg"></div>
144 </div> 144 </div>
145 <content id="headerContent" select="paper-toolbar, .paper-header"></conten t> 145 <content id="headerContent" select="paper-toolbar, .paper-header"></conten t>
146 </div> 146 </div>
147 </template> 147 </template>
148 </dom-module> 148 </dom-module>
149 149
150 <script src="paper-scroll-header-panel-extracted.js"></script></body></html> 150 <script src="paper-scroll-header-panel-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698