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

Side by Side Diff: third_party/polymer/v0_8/components/paper-menu/demo/index.html

Issue 1082403004: Import Polymer 0.8 and several key elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rerun reproduce.sh Created 5 years, 7 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
(Empty)
1 <!doctype html>
2 <!--
3 @license
4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
5 This code may only be used under the BSD style license found at http://polymer .github.io/LICENSE.txt
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.t xt
7 The complete set of contributors may be found at http://polymer.github.io/CONT RIBUTORS.txt
8 Code distributed by Google as part of the polymer project is also
9 subject to an additional IP rights grant found at http://polymer.github.io/PAT ENTS.txt
10 -->
11 <html>
12 <head>
13
14 <meta charset="utf-8">
15 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
16 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial- scale=1, user-scalable=yes">
17
18 <title>paper-menu demo</title>
19
20 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
21
22 <link rel="import" href="../../paper-item/paper-item.html">
23 <link rel="import" href="../paper-menu.html">
24
25 <link rel="stylesheet" href="../../paper-styles/demo.css">
26
27 <style>
28 .list {
29 display: inline-block;
30 border: 1px solid #ccc;
31 padding: 8px 0;
32 }
33
34 .avatar {
35 display: inline-block;
36 width: 40px;
37 height: 40px;
38 border-radius: 50%;
39 overflow: hidden;
40 background: #ccc;
41 }
42
43 paper-item[colored] {
44 color: #57bb8a;
45 }
46 </style>
47 </head>
48 <body>
49
50 <section>
51
52 <paper-menu class="list">
53 <paper-item>Inbox</paper-item>
54 <paper-item>Starred</paper-item>
55 <paper-item>Sent mail</paper-item>
56 <paper-item>Drafts</paper-item>
57 </paper-menu>
58
59 <paper-menu class="list" selected="0">
60 <paper-item colored>Inbox</paper-item>
61 <paper-item disabled>Starred</paper-item>
62 <paper-item>Sent mail</paper-item>
63 <paper-item>Drafts</paper-item>
64 </paper-menu>
65
66 </section>
67
68 <section>
69
70 <div>Multi-select</div>
71
72 <paper-menu class="list" multi>
73 <paper-item>Bold</paper-item>
74 <paper-item>Italic</paper-item>
75 <paper-item>Underline</paper-item>
76 <paper-item>Strikethrough</paper-item>
77 <paper-item>Superscript</paper-item>
78 <paper-item>Subscript</paper-item>
79 </paper-menu>
80
81 </section>
82
83 </body>
84 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698