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

Side by Side Diff: bower_components/paper-toast/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
« no previous file with comments | « bower_components/paper-toast/bower.json ('k') | bower_components/paper-toast/index.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!--
2 @license
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
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
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
9 -->
10 <!doctype html>
11 <html>
12 <head>
13 <title>paper-toast</title>
14
15 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial- scale=1, user-scalable=yes">
16 <meta name="mobile-web-app-capable" content="yes">
17 <meta name="apple-mobile-web-app-capable" content="yes">
18
19 <script src="../platform/platform.js"></script>
20
21 <link rel="import" href="paper-toast.html">
22 <link rel="import" href="../font-roboto/roboto.html" >
23 <link rel="import" href="../paper-button/paper-button.html" >
24
25 <style>
26
27 html, body {
28 height: 100%;
29 }
30
31 body {
32 overflow: hidden;
33 margin: 0;
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);
40 -webkit-touch-callout: none;
41 }
42
43 paper-button {
44 margin: 20px;
45 }
46
47 </style>
48
49 </head>
50 <body unresolved>
51
52 <paper-button raised onclick="document.querySelector('#toast1').show()">Discar d Draft</paper-button>
53
54 <paper-button raised onclick="document.querySelector('#toast2').show()">Get Me ssages</paper-button>
55
56 <paper-button raised onclick="document.querySelector('#toast3').show()">Send M essage</paper-button>
57
58 <paper-toast id="toast1" text="Your draft has been discarded."></paper-toast>
59
60 <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>
62 </paper-toast>
63
64 <paper-toast id="toast3" class="capsule" text="Message sent" style="padding-ri ght: 60px;"></paper-toast>
65
66 </body>
67 </html>
OLDNEW
« no previous file with comments | « bower_components/paper-toast/bower.json ('k') | bower_components/paper-toast/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698