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

Side by Side Diff: polymer_0.5.0/bower_components/core-drawer-panel/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
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 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 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 --> 9 -->
10 <html> 10 <html>
11 <head> 11 <head>
12 <title>core-drawer-panel</title> 12 <title>core-drawer-panel</title>
13 13
14 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximu m-scale=1.0"> 14 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximu m-scale=1.0">
15 <meta name="mobile-web-app-capable" content="yes"> 15 <meta name="mobile-web-app-capable" content="yes">
16 <meta name="apple-mobile-web-app-capable" content="yes"> 16 <meta name="apple-mobile-web-app-capable" content="yes">
17 17
18 <script src="../platform/platform.js"></script> 18 <script src="../webcomponentsjs/webcomponents.js"></script>
19 19
20 <link rel="import" href="core-drawer-panel.html"> 20 <link rel="import" href="core-drawer-panel.html">
21 21
22 <style> 22 <style>
23 23
24 html, body { 24 html, body {
25 height: 100%; 25 height: 100%;
26 } 26 }
27 27
28 body { 28 body {
29 font-family: sans-serif; 29 font-family: sans-serif;
30 color: #FFF; 30 color: #FFF;
31 margin: 0; 31 margin: 0;
32 -webkit-user-select: none;
33 -moz-user-select: none;
34 -ms-user-select: none;
35 user-select: none;
36 -webkit-tap-highlight-color: rgba(0,0,0,0);
32 } 37 }
33 38
34 [drawer] { 39 [drawer] {
35 background-color: #B99588; 40 background-color: #B99588;
36 border-right: 1px solid #ccc; 41 border-right: 1px solid #ccc;
37 } 42 }
38 43
39 [main] { 44 [main] {
40 height: 100%;
41 background-color: #4F7DC9; 45 background-color: #4F7DC9;
42 } 46 }
43 47
44 button { 48 button {
45 display: none;
46 width: 160px; 49 width: 160px;
47 height: 40px; 50 height: 40px;
48 font-size: 16px; 51 font-size: 16px;
49 margin: 8px; 52 margin: 8px;
50 } 53 }
51 54
52 core-drawer-panel[narrow] button {
53 display: inline-block
54 }
55
56 </style> 55 </style>
57 56
58 </head> 57 </head>
59 58
60 <body unresolved> 59 <body unresolved>
61 60
62 <core-drawer-panel> 61 <core-drawer-panel>
63 62
64 <div drawer></div> 63 <div drawer></div>
65 64
66 <div main> 65 <div main>
67 <button onclick="document.querySelector('core-drawer-panel').togglePanel ();">toggle drawer</button> 66 <button core-drawer-toggle>toggle drawer</button>
68 </div> 67 </div>
69 68
70 </core-drawer-panel> 69 </core-drawer-panel>
71 70
72 </body> 71 </body>
73 </html> 72 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698