73bcce88
luigser
COMPONENTS
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<!doctype html>
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
<title>paper-item demo</title>
<script src="../../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../../iron-icon/iron-icon.html">
<link rel="import" href="../../iron-icons/iron-icons.html">
<link rel="import" href="../../iron-icons/communication-icons.html">
<link rel="import" href="../../paper-checkbox/paper-checkbox.html">
|
e619a3b0
Luigi Serra
Controllet cross ...
|
26
|
<link rel="import" href="../../paper-icon-button/paper-icon-button.html">
|
73bcce88
luigser
COMPONENTS
|
27
28
29
30
|
<link rel="import" href="../../paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="../paper-icon-item.html">
<link rel="import" href="../paper-item.html">
<link rel="import" href="../paper-item-body.html">
|
a1a3bc73
Luigi Serra
graphs updates
|
31
|
<link rel="import" href="../../iron-flex-layout/iron-flex-layout.html">
|
73bcce88
luigser
COMPONENTS
|
32
|
<link rel="import" href="../../paper-styles/demo-pages.html">
|
73bcce88
luigser
COMPONENTS
|
33
34
|
<style is="custom-style">
.list {
|
a1a3bc73
Luigi Serra
graphs updates
|
35
36
|
@apply(--layout-vertical);
|
73bcce88
luigser
COMPONENTS
|
37
38
|
padding-top: 12px;
background-color: white;
|
73bcce88
luigser
COMPONENTS
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
width: 240px;
height: 228px;
margin: 12px;
@apply(--shadow-elevation-2dp);
}
.short {
padding-top: 12px;
height: 216px;
}
h4 {
margin-left: 24px;
}
.avatar {
display: inline-block;
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
background: #ccc;
}
.blue {
background-color: var(--paper-light-blue-300);
}
.red {
background-color: var(--paper-red-300);
}
.orange {
background-color: var(--paper-amber-300);
}
.green {
background-color: var(--paper-green-300);
}
|
a1a3bc73
Luigi Serra
graphs updates
|
75
76
77
78
79
80
81
82
83
|
.container {
@apply(--layout-wrap);
@apply(--layout-center-center);
@apply(--layout-inline);
}
.flex {
@apply(--layout-flex);
}
|
73bcce88
luigser
COMPONENTS
|
84
85
86
|
</style>
</head>
<body unresolved>
|
a1a3bc73
Luigi Serra
graphs updates
|
87
|
<div class="container">
|
73bcce88
luigser
COMPONENTS
|
88
89
|
<div>
<h4>Single line items</h4>
|
a1a3bc73
Luigi Serra
graphs updates
|
90
|
<div class="list short" role="listbox">
|
73bcce88
luigser
COMPONENTS
|
91
92
93
94
95
96
97
98
99
|
<paper-item>Inbox</paper-item>
<paper-item>Starred</paper-item>
<paper-item>Sent mail</paper-item>
<paper-item>Drafts</paper-item>
</div>
</div>
<div>
<h4>Icon with text</h4>
|
a1a3bc73
Luigi Serra
graphs updates
|
100
|
<div class="list short" role="listbox">
|
73bcce88
luigser
COMPONENTS
|
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
<paper-icon-item>
<iron-icon icon="inbox" item-icon></iron-icon> Inbox
</paper-icon-item>
<paper-icon-item>
<iron-icon icon="send" item-icon></iron-icon> Outbox
</paper-icon-item>
<paper-icon-item>
<iron-icon icon="delete" item-icon></iron-icon> Trash
</paper-icon-item>
<paper-icon-item>
<iron-icon icon="report" item-icon></iron-icon> Spam
</paper-icon-item>
</div>
</div>
<div>
<h4>Avatar with text</h4>
|
a1a3bc73
Luigi Serra
graphs updates
|
118
|
<div class="list short" role="listbox">
|
73bcce88
luigser
COMPONENTS
|
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
<paper-icon-item>
<div class="avatar blue" item-icon></div> Alphonso Engelking
</paper-icon-item>
<paper-icon-item>
<div class="avatar red" item-icon></div> Andrews Boyd
</paper-icon-item>
<paper-icon-item>
<div class="avatar orange" item-icon></div> Angela Decker
</paper-icon-item>
<paper-icon-item>
<div class="avatar green" item-icon></div> Lorem Ipsum
</paper-icon-item>
</div>
</div>
<div>
<h4>Avatar with text and icon</h4>
|
a1a3bc73
Luigi Serra
graphs updates
|
136
|
<div class="list short" role="listbox">
|
73bcce88
luigser
COMPONENTS
|
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
<paper-icon-item>
<div class="avatar red" item-icon></div>
<div class="flex">Alphonso</div>
<iron-icon icon="communication:chat"></iron-icon>
</paper-icon-item>
<paper-icon-item>
<div class="avatar orange" item-icon></div>
<div class="flex">Andrews</div>
<iron-icon icon="communication:chat"></iron-icon>
</paper-icon-item>
<paper-icon-item>
<div class="avatar green" item-icon></div>
<div class="flex">Angela</div>
<iron-icon icon="communication:chat"></iron-icon>
</paper-icon-item>
<paper-icon-item>
<div class="avatar blue" item-icon></div>
<div class="flex">Lorem</div>
<iron-icon icon="communication:chat"></iron-icon>
</paper-icon-item>
</div>
</div>
<div>
<h4>Avatar with text and control</h4>
|
a1a3bc73
Luigi Serra
graphs updates
|
162
|
<div class="list short" role="listbox">
|
73bcce88
luigser
COMPONENTS
|
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
<paper-icon-item>
<div class="avatar orange" item-icon></div>
<div class="flex">Alphonso</div>
<paper-checkbox></paper-checkbox>
</paper-icon-item>
<paper-icon-item>
<div class="avatar green" item-icon></div>
<div class="flex">Andrews</div>
<paper-checkbox checked></paper-checkbox>
</paper-icon-item>
<paper-icon-item>
<div class="avatar blue" item-icon></div>
<div class="flex">Angela</div>
<paper-checkbox></paper-checkbox>
</paper-icon-item>
<paper-icon-item>
<div class="avatar red" item-icon></div>
<div class="flex">Lorem</div>
<paper-checkbox></paper-checkbox>
</paper-icon-item>
</div>
</div>
<div>
<h4>Control with text and icon</h4>
|
a1a3bc73
Luigi Serra
graphs updates
|
188
|
<div class="list short" role="listbox">
|
73bcce88
luigser
COMPONENTS
|
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
|
<paper-icon-item>
<paper-checkbox item-icon></paper-checkbox>
<div class="flex">Alphonso</div>
<iron-icon icon="communication:chat"></iron-icon>
</paper-icon-item>
<paper-icon-item>
<paper-checkbox checked item-icon></paper-checkbox>
<div class="flex">Andrews</div>
<iron-icon icon="communication:chat"></iron-icon>
</paper-icon-item>
<paper-icon-item>
<paper-checkbox item-icon></paper-checkbox>
<div class="flex">Angela</div>
<iron-icon icon="communication:chat"></iron-icon>
</paper-icon-item>
<paper-icon-item>
<paper-checkbox item-icon></paper-checkbox>
<div class="flex">Lorem</div>
<iron-icon icon="communication:chat"></iron-icon>
</paper-icon-item>
</div>
</div>
<div>
<h4>Two-line items</h4>
|
a1a3bc73
Luigi Serra
graphs updates
|
214
|
<div class="list" role="listbox">
|
73bcce88
luigser
COMPONENTS
|
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
|
<paper-item>
<paper-item-body two-line class="layout vertical">
<div>Profile Photo</div>
<div secondary>Change your Google+ profile photo</div>
</paper-item-body>
</paper-item>
<paper-item>
<paper-item-body two-line>
<div>Show your status</div>
<div secondary>Your status is visible to everyone you use with</div>
</paper-item-body>
</paper-item>
<paper-item>
<paper-item-body two-line class="layout vertical">
<div>Settings</div>
<div secondary>Change your account settings</div>
</paper-item-body>
</paper-item>
</div>
</div>
<div>
<h4>Icon with two-line text</h4>
|
a1a3bc73
Luigi Serra
graphs updates
|
238
|
<div class="list" role="listbox">
|
73bcce88
luigser
COMPONENTS
|
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
|
<paper-icon-item>
<div class="avatar green" item-icon></div>
<paper-item-body two-line>
<div>Alphonso Engelking</div>
<div secondary>Change photo</div>
</paper-item-body>
</paper-icon-item>
<paper-icon-item>
<iron-icon icon="communication:phone" item-icon></iron-icon>
<paper-item-body two-line>
<div>(650) 555-1234</div>
<div secondary>Mobile</div>
</paper-item-body>
</paper-icon-item>
<paper-icon-item>
<iron-icon icon="communication:email" item-icon></iron-icon>
<paper-item-body two-line>
<div>alphonso@example.com</div>
<div secondary>Personal</div>
</paper-item-body>
</paper-icon-item>
|
73bcce88
luigser
COMPONENTS
|
260
261
262
263
264
|
</div>
</div>
<div>
<h4>Avatar with text and icon</h4>
|
a1a3bc73
Luigi Serra
graphs updates
|
265
|
<div class="list" role="listbox">
|
73bcce88
luigser
COMPONENTS
|
266
267
268
269
270
271
|
<paper-icon-item>
<div class="avatar blue" item-icon></div>
<paper-item-body two-line>
<div>Photos</div>
<div secondary>Jan 9, 2014</div>
</paper-item-body>
|
e619a3b0
Luigi Serra
Controllet cross ...
|
272
|
<paper-icon-button icon="star" alt="favourite this!"></paper-icon-button>
|
73bcce88
luigser
COMPONENTS
|
273
274
275
276
277
278
279
|
</paper-icon-item>
<paper-icon-item>
<div class="avatar red" item-icon></div>
<paper-item-body two-line>
<div>Recipes</div>
<div secondary>Jan 17, 2014</div>
</paper-item-body>
|
e619a3b0
Luigi Serra
Controllet cross ...
|
280
|
<paper-icon-button icon="star" alt="favourite this!"></paper-icon-button>
|
73bcce88
luigser
COMPONENTS
|
281
282
283
284
285
286
287
|
</paper-icon-item>
<paper-icon-item>
<div class="avatar orange" item-icon></div>
<paper-item-body two-line>
<div>Work</div>
<div secondary>Jan 28, 2014</div>
</paper-item-body>
|
e619a3b0
Luigi Serra
Controllet cross ...
|
288
|
<paper-icon-button icon="star" alt="favourite this!"></paper-icon-button>
|
73bcce88
luigser
COMPONENTS
|
289
290
291
292
293
294
|
</paper-icon-item>
</div>
</div>
</body>
</html>
|