This repository has been archived by the owner on Apr 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
other-inputs.html
405 lines (275 loc) · 13.6 KB
/
other-inputs.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
<!doctype html>
<html>
<head>
<title>Material Design</title>
<link rel="shortcut icon" type="image/png" href="assets/img/icon.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#1a73e8">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="description" content="Material '18 - Other Inputs">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="assets/css/material.min.css" />
<link rel="stylesheet" href="assets/css/waves.min.css" />
<script src="assets/js/waves.min.js"></script>
<script src="assets/js/material.min.js"></script>
</head>
<body>
<nav>
<a id="menuTrigger" class="waves-effect waves-blue menu-trigger"><i class="material-icons menu">menu</i><i class="material-icons close">close</i></a>
<h1><img src="assets/img/icon.png" /> Material '18</h1>
</nav>
<div id="sidenav" class="sidenav waves-white">
<a href="index.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">home</i></span><span>Home</span></a>
<a href="setup.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">build</i></span><span>Setup the library</span></a>
<a href="buttons.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">dashboard</i></span><span>Buttons</span></a>
<a href="text-inputs.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">text_format</i></span><span>Text inputs</span></a>
<a href="other-inputs.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">adjust</i></span><span>Other inputs</span></a>
<a href="modals.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">computer</i></span><span>Modals</span></a>
<a href="headers.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">vertical_align_top</i></span><span>Headers</span></a>
<a href="toasts.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">info</i></span><span>Toasts</span></a>
<a href="icons.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">extension</i></span><span>Icons</span></a>
<a href="loaders.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">cached</i></span><span>Loaders</span></a>
<a href="cards.html" class="waves-effect waves-light-blue"><span class="sidenav-icon"><i class="material-icons">check_box_outline_blank</i></span><span>Cards</span></a>
</div>
<div id="main" class="main">
<h1 class="title">Other inputs</h1>
<p class="subtitle">There are other inputs used to collect data from people, for example file inputs, date pickers, dropdowns or checkboxes.</p>
<h1>Checkboxes</h1>
<label class="checkbox-field">
<input type="checkbox" id="checkbox" />
<span class="checkbox"></span>
Checkbox
</label>
<textarea class="code" style="height: 70px" readonly><label class="checkbox-field">
<input type="checkbox" id="checkbox" />
<span class="checkbox"></span>
Checkbox
</label></textarea>
<label class="checkbox-field">
<input type="checkbox" id="checkbox" disabled />
<span class="checkbox"></span>
Disabled checkbox
</label>
<textarea class="code" style="height: 70px" readonly><label class="checkbox-field">
<input type="checkbox" id="checkbox" disabled />
<span class="checkbox"></span>
Disabled checkbox
</label></textarea>
<label class="checkbox-field success">
<input type="checkbox" id="successCheckbox" />
<span class="checkbox"></span>
Success checkbox
</label>
<textarea class="code" style="height: 70px" readonly><label class="checkbox-field success">
<input type="checkbox" id="successCheckbox" />
<span class="checkbox"></span>
Success checkbox
</label></textarea>
<label class="checkbox-field warning">
<input type="checkbox" id="warningCheckbox" />
<span class="checkbox"></span>
Warning checkbox
</label>
<textarea class="code" style="height: 70px" readonly><label class="checkbox-field warning">
<input type="checkbox" id="warningCheckbox" />
<span class="checkbox"></span>
Warning checkbox
</label></textarea>
<label class="checkbox-field error">
<input type="checkbox" id="errorCheckbox" />
<span class="checkbox"></span>
Error checkbox
</label>
<textarea class="code" style="height: 70px" readonly><label class="checkbox-field error">
<input type="checkbox" id="errorCheckbox" />
<span class="checkbox"></span>
Error checkbox
</label></textarea>
<h1>Dropdowns</h1>
<select id="select" select-title="Select title">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
</select>
<textarea class="code" style="height: 70px" readonly><select id="select" select-title="Select title">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
</select></textarea>
<h1>Radio buttons</h1>
<form action="#">
<p>
<label>
<input name="group1" type="radio" checked />
<span>Normal</span>
</label>
</p>
<p>
<label>
<input name="group1" type="radio" disabled />
<span>Disabled</span>
</label>
</p>
<p>
<label>
<input name="group1" type="radio" class="success" />
<span>Success</span>
</label>
</p>
<p>
<label>
<input name="group1" type="radio" class="warning" />
<span>Warning</span>
</label>
</p>
<p>
<label>
<input name="group1" type="radio" class="error" />
<span>Error</span>
</label>
</p>
</form>
<textarea class="code" style="height: 200px" readonly><label>
<input name="group1" type="radio" checked />
<span>Normal</span>
</label>
<label>
<input name="group1" type="radio" disabled />
<span>Disabled</span>
</label>
<label>
<input name="group1" type="radio" class="success" />
<span>Success</span>
</label>
<label>
<input name="group1" type="radio" class="warning" />
<span>Warning</span>
</label>
<label>
<input name="group1" type="radio" class="error" />
<span>Error</span>
</label></textarea>
<h1>Sliders</h1>
<div class="range-control">
<input type="range" min="0" max="100" step="1" value="0" data-thumbwidth="20">
<output name="rangeVal"><span>0</span></output>
</div>
<textarea class="code" style="height: 70px" readonly><div class="range-control">
<input type="range" min="0" max="100" step="1" value="0" data-thumbwidth="20">
<output name="rangeVal"><span>0</span></output>
</div></textarea>
<div class="range-control">
<input type="range" min="0" max="100" step="1" value="0" data-thumbwidth="20" disabled>
<output name="rangeVal"><span>0</span></output>
</div>
<textarea class="code" style="height: 70px" readonly><div class="range-control">
<input type="range" min="0" max="100" step="1" value="0" data-thumbwidth="20" disabled>
<output name="rangeVal"><span>0</span></output>
</div></textarea>
<div class="range-control success">
<input type="range" min="0" max="100" step="1" value="0" data-thumbwidth="20">
<output name="rangeVal"><span>0</span></output>
</div>
<textarea class="code" style="height: 70px" readonly><div class="range-control success">
<input type="range" min="0" max="100" step="1" value="0" data-thumbwidth="20">
<output name="rangeVal"><span>0</span></output>
</div></textarea>
<div class="range-control warning">
<input type="range" min="0" max="100" step="1" value="0" data-thumbwidth="20">
<output name="rangeVal"><span>0</span></output>
</div>
<textarea class="code" style="height: 70px" readonly><div class="range-control warning">
<input type="range" min="0" max="100" step="1" value="0" data-thumbwidth="20">
<output name="rangeVal"><span>0</span></output>
</div></textarea>
<div class="range-control error">
<input type="range" min="0" max="100" step="1" value="0" data-thumbwidth="20">
<output name="rangeVal"><span>0</span></output>
</div>
<textarea class="code" style="height: 70px" readonly><div class="range-control error">
<input type="range" min="0" max="100" step="1" value="0" data-thumbwidth="20">
<output name="rangeVal"><span>0</span></output>
</div></textarea>
<h1>Date pickers</h1>
<div class="input-field">
<label for="dateInput" class="field-label">Normal datepicker</label>
<input type="date" id="dateInput" class="field-input">
</div>
<textarea class="code" style="height: 70px" readonly><div class="input-field">
<label for="inputId" class="field-label">Normal datepicker</label>
<input type="date" id="inputId" class="field-input">
</div></textarea>
<div class="input-field success">
<label for="successInput" class="field-label">Success datepicker</label>
<input type="date" id="successInput" class="field-input">
</div>
<textarea class="code" style="height: 70px" readonly><div class="input-field success">
<label for="successInput" class="field-label">Success datepicker</label>
<input type="date" id="successInput" class="field-input">
</div></textarea>
<div class="input-field warning">
<label for="warningInput" class="field-label">Warning datepicker</label>
<input type="date" id="warningInput" class="field-input">
</div>
<textarea class="code" style="height: 70px" readonly><div class="input-field warning">
<label for="warningInput" class="field-label">Warning datepicker</label>
<input type="date" id="warningInput" class="field-input">
</div></textarea>
<div class="input-field error">
<label for="errorInput" class="field-label">Error datepicker</label>
<input type="date" id="errorInput" class="field-input">
</div>
<textarea class="code" style="height: 70px" readonly><div class="input-field error">
<label for="errorInput" class="field-label">Error datepicker</label>
<input type="date" id="errorInput" class="field-input">
</div></textarea>
<h1>File input</h1>
<input type="file" theme="waves-effect waves-light-blue button" displayText="Flat file input" />
<textarea class="code" readonly><input type="file" theme="waves-effect waves-light-blue button" displayText="Flat file input" /></textarea>
<input type="file" theme="waves-effect waves-light-blue button shadowed" displayText="Shadowed file input" />
<textarea class="code" readonly><input type="file" theme="waves-effect waves-light-blue button shadowed" displayText="Shadowed file input" /></textarea>
<input type="file" theme="waves-effect button primary" displayText="Primary file input" />
<textarea class="code" readonly><input type="file" theme="waves-effect button primary" displayText="Primary file input" /></textarea>
<input type="file" theme="waves-effect button success" displayText="Success file input" />
<textarea class="code" readonly><input type="file" theme="waves-effect button success" displayText="Success file input" /></textarea>
<input type="file" theme="waves-effect button warning" displayText="Warning file input" />
<textarea class="code" readonly><input type="file" theme="waves-effect button primary warning" displayText="Warning file input" /></textarea>
<input type="file" theme="waves-effect button error" displayText="Error file input" />
<textarea class="code" readonly><input type="file" theme="waves-effect button error" displayText="Error file input" /></textarea>
<footer>
<h1 class="title">Material '18</h1>
<h1>A library for the Material Design 2018 edition</h1>
<iframe src="https://ghbtns.com/github-btn.html?user=MartonDev&repo=Material-Design-18&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
<h1 class="author">Made with ♥ by <a href="https://martondev.github.io" target="_blank">Marton</a></h1>
</footer>
</div>
</body>
</html>