OLD | NEW |
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 | 12 |
13 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-
scale=1, user-scalable=yes"> | 13 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-
scale=1, user-scalable=yes"> |
14 | 14 |
15 <title>core-toolbar</title> | 15 <title>core-toolbar</title> |
16 | 16 |
17 <script src="../../platform/platform.js"></script> | 17 <script src="../../webcomponentsjs/webcomponents.js"></script> |
18 | 18 |
19 <link rel="import" href="../../font-roboto/roboto.html"> | 19 <link rel="import" href="../../font-roboto/roboto.html"> |
20 <link rel="import" href="../../core-icons/core-icons.html"> | 20 <link rel="import" href="../../core-icons/core-icons.html"> |
21 <link rel="import" href="../../core-toolbar/core-toolbar.html"> | 21 <link rel="import" href="../../core-toolbar/core-toolbar.html"> |
22 <link rel="import" href="../../core-media-query/core-media-query.html"> | 22 <link rel="import" href="../../core-media-query/core-media-query.html"> |
23 <link rel="import" href="../../paper-icon-button/paper-icon-button.html"> | 23 <link rel="import" href="../../paper-icon-button/paper-icon-button.html"> |
24 | 24 |
25 <style> | 25 <style> |
26 | 26 |
27 body { | 27 body { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 document.querySelector('#mediaQuery').addEventListener('core-media-change', | 102 document.querySelector('#mediaQuery').addEventListener('core-media-change', |
103 function(e) { | 103 function(e) { |
104 document.body.classList.toggle('core-narrow', e.detail.matches); | 104 document.body.classList.toggle('core-narrow', e.detail.matches); |
105 }); | 105 }); |
106 | 106 |
107 </script> | 107 </script> |
108 | 108 |
109 </body> | 109 </body> |
110 </html> | 110 </html> |
OLD | NEW |