Update {virtual,override,final} to follow C++11 style.
[chromium-blink-merge.git] / third_party / polymer / components / core-drawer-panel / demo.html
blob844967710eb7e6e0e007bc7ce0f957cd36a2f3a1
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.github.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/CONTRIBUTORS.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/PATENTS.txt
9 -->
10 <html>
11 <head>
12 <title>core-drawer-panel</title>
14 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
15 <meta name="mobile-web-app-capable" content="yes">
16 <meta name="apple-mobile-web-app-capable" content="yes">
18 <script src="../webcomponentsjs/webcomponents.js"></script>
20 <link rel="import" href="core-drawer-panel.html">
22 <style>
24 html, body {
25 height: 100%;
28 body {
29 font-family: sans-serif;
30 color: #FFF;
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);
39 [drawer] {
40 background-color: #B99588;
41 border-right: 1px solid #ccc;
44 [main] {
45 background-color: #4F7DC9;
48 button {
49 width: 160px;
50 height: 40px;
51 font-size: 16px;
52 margin: 8px;
55 </style>
57 </head>
59 <body unresolved>
61 <core-drawer-panel>
63 <div drawer></div>
65 <div main>
66 <button core-drawer-toggle>toggle drawer</button>
67 </div>
69 </core-drawer-panel>
71 </body>
72 </html>