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">
|
c5169e0e
Renato De Donato
a new hope
|
31
|
<link rel="import" href="../../paper-styles/paper-styles.html">
|
73bcce88
luigser
COMPONENTS
|
32
|
<link rel="import" href="../../paper-styles/demo-pages.html">
|
c5169e0e
Renato De Donato
a new hope
|
33
|
|
73bcce88
luigser
COMPONENTS
|
34
35
|
<style is="custom-style">
.list {
|
73bcce88
luigser
COMPONENTS
|
36
37
|
padding-top: 12px;
background-color: white;
|
c5169e0e
Renato De Donato
a new hope
|
38
|
display: inline-block;
|
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);
}
|
73bcce88
luigser
COMPONENTS
|
75
76
77
|
</style>
</head>
<body unresolved>
|
c5169e0e
Renato De Donato
a new hope
|
78
|
<div class="layout wrap inline center-center">
|
73bcce88
luigser
COMPONENTS
|
79
80
|
<div>
<h4>Single line items</h4>
|
c5169e0e
Renato De Donato
a new hope
|
81
|
<div class="list short" role="list">
|
73bcce88
luigser
COMPONENTS
|
82
83
84
85
86
87
88
89
90
|
<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>
|
c5169e0e
Renato De Donato
a new hope
|
91
|
<div class="list short" role="list">
|
73bcce88
luigser
COMPONENTS
|
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
<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>
|
c5169e0e
Renato De Donato
a new hope
|
109
|
<div class="list short" role="list">
|
73bcce88
luigser
COMPONENTS
|
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
<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>
|
c5169e0e
Renato De Donato
a new hope
|
127
|
<div class="list short" role="list">
|
73bcce88
luigser
COMPONENTS
|
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
<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>
|
c5169e0e
Renato De Donato
a new hope
|
153
|
<div class="list short" role="list">
|
73bcce88
luigser
COMPONENTS
|
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
<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>
|
c5169e0e
Renato De Donato
a new hope
|
179
|
<div class="list short" role="list">
|
73bcce88
luigser
COMPONENTS
|
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
|
<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>
|
c5169e0e
Renato De Donato
a new hope
|
205
|
<div class="list" role="list">
|
73bcce88
luigser
COMPONENTS
|
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
|
<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>
|
c5169e0e
Renato De Donato
a new hope
|
229
|
<div class="list" role="list">
|
73bcce88
luigser
COMPONENTS
|
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
|
<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>
|
c5169e0e
Renato De Donato
a new hope
|
251
|
<paper-icon-item>
|
73bcce88
luigser
COMPONENTS
|
252
253
254
255
256
|
</div>
</div>
<div>
<h4>Avatar with text and icon</h4>
|
c5169e0e
Renato De Donato
a new hope
|
257
|
<div class="list" role="list">
|
73bcce88
luigser
COMPONENTS
|
258
259
260
261
262
263
|
<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 ...
|
264
|
<paper-icon-button icon="star" alt="favourite this!"></paper-icon-button>
|
73bcce88
luigser
COMPONENTS
|
265
266
267
268
269
270
271
|
</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 ...
|
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 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 ...
|
280
|
<paper-icon-button icon="star" alt="favourite this!"></paper-icon-button>
|
73bcce88
luigser
COMPONENTS
|
281
282
283
284
285
286
|
</paper-icon-item>
</div>
</div>
</body>
</html>
|