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

Side by Side Diff: bower_components/core-layout-trbl/demo.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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 Copyright (c) 2014 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
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
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
9 -->
10
11 <html>
12 <head>
13
14 <title>core-layout-trbl demo</title>
15
16 <script src="../platform/platform.js"></script>
17 <link rel="import" href="core-layout-trbl.html">
18 <link rel="import" href="core-slide.html">
19
20 <style>
21 div {
22 padding: 8px;
23 border: 3px solid lightblue;
24 -webkit-transition: all 0.3s;
25 }
26 [vertical] ~ div {
27 border: 3px solid orange;
28 }
29 </style>
30
31 </head>
32 <body unresolved>
33
34 <div style="height: 600px; overflow: hidden;">
35 <core-layout-trbl></core-layout-trbl>
36 <div id="left">Hi I'm some content</div>
37 <div id="left2" onclick="leftSlide.closed = !leftSlide.closed;">Click Me Fir st</div>
38 <div onclick="leftSlide2.closed = !leftSlide2.closed;">Click Me Second</div>
39 <div fit>
40 <core-layout-trbl vertical></core-layout-trbl>
41 <div id="top">Gribble gribble</div>
42 <div onclick="topSlide.closed = !topSlide.closed;">Click Me</div>
43 <div fit>Squids!</div>
44 <div onclick="bottomSlide.closed = !bottomSlide.closed;">Click Me</div>
45 <div>More is more</div>
46 <div id="bottom">Squids are larger than they appear.</div>
47 </div>
48 <div onclick="rightSlide.closed = !rightSlide.closed;">Click me</div>
49 <div id="right">A last bit, like a panel</div>
50 </div>
51 <core-slide id="leftSlide" targetid="left"></core-slide>
52 <core-slide id="leftSlide2" targetid="left2"></core-slide>
53 <core-slide id="rightSlide" targetid="right"></core-slide>
54 <core-slide id="topSlide" vertical targetid="top"></core-slide>
55 <core-slide id="bottomSlide" vertical targetid="bottom"></core-slide>
56
57 </body>
58 </html>
OLDNEW
« no previous file with comments | « bower_components/core-layout-trbl/core-slide.html ('k') | bower_components/core-layout-trbl/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698