OLD | NEW |
1 <!-- | 1 <!-- |
2 @license | 2 @license |
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://polym
er.github.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polym
er.github.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/CO
NTRIBUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CO
NTRIBUTORS.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/P
ATENTS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/P
ATENTS.txt |
9 --> | 9 --> |
10 <!doctype html> | 10 <!doctype html> |
(...skipping 14 matching lines...) Expand all Loading... |
25 <style> | 25 <style> |
26 | 26 |
27 html, body { | 27 html, body { |
28 height: 100%; | 28 height: 100%; |
29 } | 29 } |
30 | 30 |
31 body { | 31 body { |
32 overflow: hidden; | 32 overflow: hidden; |
33 margin: 0; | 33 margin: 0; |
34 font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial; | 34 font-family: RobotoDraft, 'Helvetica Neue', Helvetica, Arial; |
35 -webkit-user-select: none; | |
36 -moz-user-select: none; | |
37 -ms-user-select: none; | |
38 user-select: none; | |
39 -webkit-tap-highlight-color: rgba(0,0,0,0); | 35 -webkit-tap-highlight-color: rgba(0,0,0,0); |
40 -webkit-touch-callout: none; | 36 -webkit-touch-callout: none; |
41 } | 37 } |
42 | 38 |
43 paper-button { | 39 paper-button { |
44 margin: 20px; | 40 margin: 20px; |
45 } | 41 } |
46 | 42 |
47 </style> | 43 </style> |
48 | 44 |
49 </head> | 45 </head> |
50 <body unresolved> | 46 <body unresolved> |
51 | 47 |
52 <paper-button raised onclick="document.querySelector('#toast1').show()">Discar
d Draft</paper-button> | 48 <paper-button raised onclick="document.querySelector('#toast1').show()">Discar
d Draft</paper-button> |
53 | 49 |
54 <paper-button raised onclick="document.querySelector('#toast2').show()">Get Me
ssages</paper-button> | 50 <paper-button raised onclick="document.querySelector('#toast2').show()">Get Me
ssages</paper-button> |
55 | 51 |
56 <paper-button raised onclick="document.querySelector('#toast3').show()">Send M
essage</paper-button> | 52 <paper-button raised onclick="document.querySelector('#toast3').show()">Send M
essage</paper-button> |
57 | 53 |
58 <paper-toast id="toast1" text="Your draft has been discarded."></paper-toast> | 54 <paper-toast id="toast1" text="Your draft has been discarded."></paper-toast> |
59 | 55 |
60 <paper-toast id="toast2" role="alert" text="Connection timed out. Showing limi
ted messages."> | 56 <paper-toast id="toast2" role="alert" text="Connection timed out. Showing limi
ted messages."> |
61 <div style="color: #eeff41;" onclick="console.log('RETRY')">Retry</div> | 57 <div style="color: #eeff41;" onclick="console.log('RETRY')">Retry</div> |
62 </paper-toast> | 58 </paper-toast> |
63 | 59 |
64 <paper-toast id="toast3" class="capsule" text="Message sent" style="padding-ri
ght: 60px;"></paper-toast> | 60 <paper-toast id="toast3" class="capsule" text="Message sent" style="padding-ri
ght: 60px;"></paper-toast> |
65 | 61 |
66 </body> | 62 </body> |
67 </html> | 63 </html> |
OLD | NEW |