forked from felippepuhle/aero-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
components_cards.html
325 lines (290 loc) · 10.9 KB
/
components_cards.html
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
26
27
28
29
30
31
32
33
34
35
36
37
38
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
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
153
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
179
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
---
layout: admin
title: Components - Cards
section: components
module: components_cards
header:
icon: crop_16_9
title: Cards
description: Cards are a convenient means of displaying content composed of different types of objects. They’re also well-suited for presenting similar objects whose size or supported actions can vary considerably, like photos with captions of variable length.
---
<section id="components_cards">
<!-- ########## -->
<!-- Basic Card -->
<!-- ########## -->
<div class="row">
<div class="col s12">
<h4 class="main-text lighten-1">Basic Card</h4>
<div class="row no-gutter">
<div class="col s12 m6">
<div class="card blue-grey darken-1">
<div class="card-content">
<span class="card-title">Card Title</span>
<p>I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-action">
<a href="#">This is a link</a>
<a href="#">This is a link</a>
</div>
</div>
</div>
</div>
<pre>
<code class="language-markup">
<div class="row">
<div class="col s12 m6">
<div class="card blue-grey darken-1">
<div class="card-content">
<span class="card-title">Card Title</span>
<p>I am a very simple card. I am good at containing small bits of information.
I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-action">
<a href="#">This is a link</a>
<a href="#">This is a link</a>
</div>
</div>
</div>
</div>
</code>
</pre>
</div>
</div>
<!-- ########## -->
<!-- Image Card -->
<!-- ########## -->
<div class="row">
<div class="col s12">
<h4 class="main-text lighten-1">Image Card</h4>
<p>Here is the standard card with an image thumbnail.</p>
<div class="row no-gutter">
<div class="col s12 m6 l4">
<div class="card white">
<div class="card-image">
<img src="img/sample-1.jpg">
<span class="card-title">Card Title</span>
</div>
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-action">
<a href="#">This is a link</a>
</div>
</div>
</div>
</div>
<pre>
<code class="language-markup">
<div class="row">
<div class="col s12 m6 l4">
<div class="card white">
<div class="card-image">
<img src="img/sample-1.jpg">
<span class="card-title">Card Title</span>
</div>
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information.
I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-action">
<a href="#">This is a link</a>
</div>
</div>
</div>
</div>
</code>
</pre>
</div>
</div>
<!-- ############### -->
<!-- Horizontal Card -->
<!-- ############### -->
<div class="row">
<div class="col s12">
<h4 class="main-text lighten-1">Horizontal Card</h4>
<p>Here is the standard card with a horizontal image.</p>
<div class="row no-gutter">
<div class="col s12 m6 l4">
<div class="card horizontal">
<div class="card-image">
<img src="http://lorempixel.com/100/190/nature/10">
</div>
<div class="card-stacked">
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information.</p>
</div>
<div class="card-action">
<a href="#">This is a link</a>
</div>
</div>
</div>
</div>
</div>
<pre>
<code class="language-markup">
<div class="row">
<div class="col s12 m6 l4">
<div class="card horizontal">
<div class="card-image">
<img src="http://lorempixel.com/100/190/nature/10">
</div>
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information.</p>
</div>
<div class="card-action">
<a href="#">This is a link</a>
</div>
</div>
</div>
</div>
</code>
</pre>
</div>
</div>
<!-- ########### -->
<!-- Card Reveal -->
<!-- ########### -->
<div class="row">
<div class="col s12">
<h4 class="main-text lighten-1">Card Reveal</h4>
<p>Here you can add a card that reveals more information once clicked. Just add the <code class="language-markup">card-reveal</code> div with a <code class="language-markup">span.card-title</code> inside to make this work. Add the class <code class="language-markup">activator</code> to an element inside the card to allow it to open the card reveal.</p>
<div class="row no-gutter">
<div class="col s12 m6 l4">
<div class="card">
<div class="card-image waves-effect waves-block waves-light">
<img class="activator" src="img/office.jpg">
</div>
<div class="card-content">
<span class="card-title activator">Card Title<i class="material-icons right">more_vert</i></span>
<p><a href="#!">This is a link</a></p>
</div>
<div class="card-reveal">
<span class="card-title">Card Title<i class="material-icons right">close</i></i></span>
<p>Here is some more information about this product that is only revealed once clicked on.</p>
</div>
</div>
</div>
</div>
<pre>
<code class="language-markup">
<div class="row">
<div class="col s12 m6 l4">
<div class="card">
<div class="card-image waves-effect waves-block waves-light">
<img class="activator" src="img/office.jpg">
</div>
<div class="card-content">
<span class="card-title activator">Card Title<i class="material-icons right">more_vert</i></i></span>
<p><a href="#">This is a link</a></p>
</div>
<div class="card-reveal">
<span class="card-title">Card Title<i class="material-icons right">close</i></i></span>
<p>Here is some more information about this product that is only revealed once clicked on.</p>
</div>
</div>
</div>
</div>
</code>
</pre>
</div>
</div>
<!-- ########## -->
<!-- Card Sizes -->
<!-- ########## -->
<div class="row">
<div class="col s12">
<h4 class="main-text lighten-1">Card Sizes</h4>
<p class="caption">If you want to have uniformly sized cards, you can use our premade size classes. Just add the size class in addition to the card class. </p>
<pre>
<code class="language-markup">
<div class="card small">
<!-- Card Content -->
</div>
</code>
</pre>
<h5 class="margin-top-35">Small</h5>
<p>The Small Card limits the height of the card to 300px.</p>
<div class="row no-gutter">
<div class="col s12 m6 l4">
<div class="card small">
<div class="card-image">
<img src="img/sample-1.jpg">
<span class="card-title">Card Title</span>
</div>
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-action">
<a href="#">This is a link</a>
<a href="#">This is a link</a>
</div>
</div>
</div>
</div>
<h5 class="margin-top-35">Medium</h5>
<p>The Medium Card limits the height of the card to 400px.</p>
<div class="row no-gutter">
<div class="col s12 m6 l4">
<div class="card medium">
<div class="card-image">
<img src="img/sample-1.jpg">
<span class="card-title">Card Title</span>
</div>
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-action">
<a href="#">This is a link</a>
<a href="#">This is a link</a>
</div>
</div>
</div>
</div>
<h5 class="margin-top-35">Large</h5>
<p>The Large Card limits the height of the card to 500px.</p>
<div class="row no-gutter">
<div class="col s12 m6 l4">
<div class="card large">
<div class="card-image">
<img src="img/sample-1.jpg">
<span class="card-title">Card Title</span>
</div>
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-action">
<a href="#">This is a link</a>
<a href="#">This is a link</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ########## -->
<!-- Card Panel -->
<!-- ########## -->
<div class="row">
<div class="col s12">
<h4 class="main-text lighten-1">Card Panel</h4>
<div class="row no-gutter">
<div class="col s12 m6 l4">
<div class="card-panel alternative lighten-1">
I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively. I am similar to what is called a panel in other frameworks.
</div>
</div>
</div>
<pre>
<code class="language-markup">
<div class="row">
<div class="col s12 m6 l4">
<div class="card-panel alternative lighten-1">
I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively. I am similar to what is called a panel in other frameworks.
</div>
</div>
</div>
</code>
</pre>
</div>
</div>
</section>