-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
447 lines (444 loc) · 21.5 KB
/
index.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
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0, maximum-scale=1, minimum-scale=1">
<title>Examples</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/materialDesign.css">
<script src="js/materialDesign.js"></script>
<style>
.heading {
margin-top: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #ddd;
}
</style>
</head>
<body>
<nav class="navbar navbar-dark bg-primary">
<ul class="nav navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#1" materialDesign>content</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#2" materialDesign>Features</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#2" materialDesign>Features</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#2" materialDesign>Features</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#2" materialDesign>FeaturesFeaturesFeaturesFeatures</a>
</li>
</ul>
</nav>
<div class="container">
<h1 class="heading">media图文</h1>
<div class="row">
<div class="col-xs-6 col-sm-3">
<div class="media" materialDesign>
<div class="media-left">
<div class="media-object" style="width: 50px;">
<img src="images/jsoncode1-1v1.png" class="img-responsive">
</div>
</div>
<div class="media-body">
<h4 class="media-heading">Top</h4> Cras sit amet nibh libero
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3">
<div class="media" materialDesign>
<div class="media-left media-middle">
<div class="media-object" style="width: 50px;">
<img src="images/jsoncode1-1v1.png" class="img-responsive">
</div>
</div>
<div class="media-body">
<h4 class="media-heading">Middle</h4>
<p>Donec sed odio dui. Nullam quisDonec sed odio dui</p>
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3">
<div class="media" materialDesign>
<div class="media-left media-bottom">
<div class="media-object" style="width: 50px;">
<img src="images/jsoncode1-1v1.png" class="img-responsive">
</div>
</div>
<div class="media-body">
<h4 class="media-heading">Bottom</h4>
<p>Donec sed odio dui. Nullam quis risus</p>
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3">
<div class="media" materialDesign>
<div class="media-body">
<h4 class="media-heading">Right</h4> Cras sit amet nibh libero
</div>
<div class="media-right">
<div class="media-object" style="width: 50px;">
<img src="images/jsoncode1-1v1.png" class="img-responsive">
</div>
</div>
</div>
</div>
</div>
<h1 class="heading">code</h1>
<div>
For example, <code materialDesign><section></code> should be wrapped as inline.
</div>
<h1 class="heading">imgages</h1>
<div class="row">
<div class="col-xs-6 col-sm-2" id="aaa">
<div materialDesign>
<img src="images/jsoncode1-1v1.png" class="img-responsive img-rounded">
</div>
</div>
<div class="col-xs-6 col-sm-2">
<div materialDesign class="img-circle">
<img src="images/jsoncode1-1v1.png" class="img-responsive img-circle">
</div>
</div>
<div class="col-xs-6 col-sm-2">
<div materialDesign>
<img src="images/jsoncode1-1v1.png" class="img-responsive img-thumbnail">
</div>
</div>
</div>
<h1 class="heading">buttons</h1>
<button type="button" class="btn btn-primary" materialDesign>Primary</button>
<button type="button" class="btn btn-secondary" materialDesign>Secondary</button>
<button type="button" class="btn btn-success" materialDesign>Success</button>
<button type="button" class="btn btn-info" materialDesign>Info</button>
<button type="button" class="btn btn-warning" materialDesign>Warning</button>
<button type="button" class="btn btn-danger" materialDesign>Danger</button>
<button type="button" class="btn btn-link" materialDesign>Link</button>
<button type="button" class="btn btn-primary btn-sm" materialDesign>Small button</button>
<button type="button" class="btn btn-primary-outline" materialDesign>Primary</button>
<button type="button" class="btn btn-primary btn-lg" materialDesign>Large button</button>
<hr>
<button type="button" class="btn btn-primary btn-lg btn-block" materialDesign>Block level button</button>
<h1 class="heading">dropdown</h1>
<div class="btn-group">
<button type="button" class="btn btn-secondary dropdown-toggle" materialDesign data-toggle="dropdown">
left list
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
<div class="btn-group dropup">
<button type="button" class="btn btn-secondary dropdown-toggle" materialDesign data-toggle="dropdown">
top list
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
<div class="btn-group">
<button type="button" class="btn btn-secondary dropdown-toggle" materialDesign data-toggle="dropdown">
right list
</button>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
<h1 class="heading">forms</h1>
<label class="c-input c-checkbox">
<input type="checkbox">
<span class="c-indicator"></span> Check this custom checkbox
</label>
<form>
<label class="c-input c-radio">
<input id="radio1" name="radio" type="radio">
<span class="c-indicator"></span> Toggle this custom radio
</label>
<label class="c-input c-radio">
<input id="radio2" name="radio" type="radio">
<span class="c-indicator"></span> Or toggle this other custom radio
</label>
</form>
<select class="c-select">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<div class="input-group-btn">
<button class="btn btn-secondary" type="button" materialDesign>Go!</button>
</div>
</div>
<h1 class="heading">alert</h1>
<div class="alert alert-success" materialDesign>
<strong>Well done!</strong> You successfully read this important alert message.
</div>
<div class="alert alert-warning alert-dismissible fade in">
<button type="button" class="close" data-dismiss="alert" materialDesign>
<span aria-hidden="true">×</span>
</button>
<strong>Holy guacamole!</strong> You should check in on some of those fields below.
</div>
<h1 class="heading">cards</h1>
<div class="row">
<div class="col-xs-6 col-sm-3">
<div class="card" materialDesign>
<div class="card-img-top">
<img class="img-responsive" src="images/jsoncode_1210v750.jpg">
</div>
<div class="card-block">
<p class="card-text">Some quick example text to build</p>
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3">
<div class="card">
<div class="card-img-top" materialDesign>
<img class="img-responsive" src="images/jsoncode_1210v750.jpg">
</div>
<div class="card-block" materialDesign>
<p class="card-text">Some quick example text to build</p>
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3">
<div class="card">
<div class="card-header" materialDesign>
Featured
</div>
<div class="card-block">
<h4 class="card-title">Special title</h4>
<p class="card-text">With supporting text below as a nat</p>
<a href="#2" class="btn btn-primary" materialDesign>Go somewhere</a>
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3">
<div class="card card-inverse card-primary" materialDesign>
<div class="card-block">
<blockquote class="card-blockquote">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<footer>Someone famous in
<cite title="Source Title">Source Title</cite>
</footer>
</blockquote>
</div>
</div>
</div>
</div>
<h1 class="heading">navbar</h1>
<div class="collapse" id="exCollapsingNavbar">
<div class="bg-inverse p-a">
<h4>Collapsed content</h4>
<span class="text-muted">Toggleable via the navbar brand.</span>
</div>
</div>
<nav class="navbar navbar-light bg-faded">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#exCollapsingNavbar" materialDesign>
☰
</button>
</nav>
<br />
<nav class="navbar navbar-light bg-faded">
<div class="collapse navbar-toggleable-xs" id="exCollapsingNavbar2">
<a class="navbar-brand" href="#1" materialDesign>brand</a>
<ul class="nav navbar-nav">
<li class="nav-item active" materialDesign>
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item" materialDesign>
<a class="nav-link" href="#">Features</a>
</li>
<li class="nav-item" materialDesign>
<a class="nav-link" href="#">Pricing</a>
</li>
<li class="nav-item" materialDesign>
<a class="nav-link" href="#">About</a>
</li>
</ul>
</div>
</nav>
<h1 class="heading">navbar</h1>
<nav>
<ul class="pagination" style="display: inline-block;">
<li>
<a href="#1" materialDesign>
<span aria-hidden="true">«</span>
<span class="sr-only">Previous</span>
</a>
</li>
<li><a href="#2" materialDesign>1</a></li>
<li><a href="#3" materialDesign>2</a></li>
<li><a href="#4" materialDesign>3</a></li>
<li><a href="#5" materialDesign>4</a></li>
<li><a href="#6" materialDesign>5</a></li>
<li>
<a href="#7" materialDesign>
<span aria-hidden="true">»</span>
<span class="sr-only">Next</span>
</a>
</li>
</ul>
<ul class="pager" style="display: inline-block;vertical-align: top;">
<li><a href="#1" materialDesign>Previous</a></li>
<li><a href="#1" materialDesign>Next</a></li>
</ul>
</nav>
<h1 class="heading">list-group</h1>
<ul class="list-group" style="width: 400px;">
<li class="list-group-item" materialDesign>Cras justo odio</li>
<li class="list-group-item" materialDesign>Dapibus ac facilisis in</li>
<li class="list-group-item" materialDesign>Morbi leo risus</li>
<li class="list-group-item" materialDesign>Porta ac consectetur ac</li>
<li class="list-group-item" materialDesign>Vestibulum at eros</li>
</ul>
<h1 class="heading">modal</h1>
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal" materialDesign>
Launch demo modal
</button>
<div class="modal fade" id="myModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" materialDesign>
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Modal title</h4>
</div>
<div class="modal-body">
<p>One fine body…</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal" materialDesign>Close</button>
<button type="button" class="btn btn-primary" materialDesign>Save changes</button>
</div>
</div>
</div>
</div>
<div class="modal" style="display: block;position: static;">
<div class="modal-dialog" role="document">
<div class="modal-content modal-sm">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" materialDesign>
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Modal title</h4>
</div>
<div class="modal-body">
<p>One fine body…</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal" materialDesign>Close</button>
<button type="button" class="btn btn-primary" materialDesign>Save changes</button>
</div>
</div>
</div>
</div>
<div class="modal" style="display: block;position: static;">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" materialDesign>
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Modal title</h4>
</div>
<div class="modal-body">
<p>One fine body…</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal" materialDesign>Close</button>
<button type="button" class="btn btn-primary" materialDesign>Save changes</button>
</div>
</div>
</div>
</div>
<div class="modal-content modal-lg">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" materialDesign>
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Modal title</h4>
</div>
<div class="modal-body">
<p>One fine body…</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal" materialDesign>Close</button>
<button type="button" class="btn btn-primary" materialDesign>Save changes</button>
</div>
</div>
<h1 class="heading">Tooltip<small class="text-muted" style="font-size: 14px;margin-left: 20px;">bs4中需要导入tether.js</small></h1>
<button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Tooltip on top" materialDesign>
Tooltip on top
</button>
<button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="right" title="Tooltip on right" materialDesign>
Tooltip on right
</button>
<button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom" materialDesign>
Tooltip on bottom
</button>
<button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="left" title="Tooltip on left" materialDesign>
Tooltip on left
</button>
<h1 class="heading">Popover </h1>
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." materialDesign>
Popover on top
</button>
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." materialDesign>
Popover on right
</button>
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Vivamus
sagittis lacus vel augue laoreet rutrum faucibus." materialDesign>
Popover on bottom
</button>
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." materialDesign>
Popover on left
</button>
<h1 class="heading">collapse</h1>
<div>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" materialDesign>
Button with data-target
</button>
</div>
<div class="collapse" id="collapseExample">
<div class="card card-block">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
</div>
</div>
<div class="text-center" style="padding:100px 50px;">
space
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/tether.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
$('[data-toggle="tooltip"]').tooltip();
$('[data-toggle="popover"]').popover({
trigger: 'click '
})
</script>
</body>
</html>