-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
474 lines (473 loc) · 19.7 KB
/
index.html
File metadata and controls
474 lines (473 loc) · 19.7 KB
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
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>eCSSentric Demo</title>
<link rel="stylesheet" href="ecssentric.config.css">
<link rel="stylesheet" href="ecssentric.reset.css">
<link rel="stylesheet" href="ecssentric.layout.css">
<link rel="stylesheet" href="ecssentric.typography.css">
<link rel="stylesheet" href="ecssentric.buttons.css">
<link rel="stylesheet" href="ecssentric.forms.css">
<link rel="stylesheet" href="ecssentric.grid.css">
<link rel="stylesheet" href="ecssentric.messages.css">
<link rel="stylesheet" href="ecssentric.tables.css">
<link rel="stylesheet" href="ecssentric.scrollbars.css">
</head>
<body id="top">
<header class="header">
<nav class="nav">
<a class="button transparent" href="#top">
<svg class="logo" fill="#000000" stroke="#000000" width="4em" height="4em" version="1.1" viewBox="144 144 512 512" xmlns="http://www.w3.org/2000/svg">
<g id="IconSvg_bgCarrier" stroke-width="0"></g>
<g id="IconSvg_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#CCCCCC"></g>
<g id="IconSvg_iconCarrier">
<path xmlns="http://www.w3.org/2000/svg" d="m541.36 419.91c0 32.488-10.895 62.473-29.211 86.508l-17.715-54.523 46.902-34.074c0.007813 0.69531 0.023438 1.3906 0.023438 2.0898m-143 143c-16.156 0-31.691-2.6953-46.188-7.6562l47.836-34.754 46.758 33.973c-15.125 5.457-31.422 8.4375-48.406 8.4375m-143-143c0-1.4883 0.03125-2.9688 0.078125-4.4453l50.145 36.43-18.68 57.496c-19.719-24.516-31.543-55.641-31.543-89.48m105.45-137.99-19.16 58.965h-62.41c18.938-28.449 47.781-49.762 81.57-58.965m156.68 58.965h-59.117l-18.82-57.926c32.223 9.7109 59.684 30.5 77.938 57.926m99.34 0h-76.219c-22.531-40.391-61.758-70.242-108.29-80.16l-22.918-70.539c-1.4805-4.5508-5.4375-6.8281-9.3945-6.8281s-7.918 2.2773-9.3945 6.8281l-22.691 69.832c-48.066 9.1289-88.707 39.461-111.8 80.867h-72.93c-9.5664 0-13.547 12.246-5.8047 17.871l59.23 43.035c-0.66016 5.9492-1.0117 11.996-1.0117 18.117 0 43.043 16.801 82.23 44.184 111.37l-23.172 71.32c-2.2539 6.9336 3.2539 12.977 9.4258 12.977 1.9297 0 3.9297-0.59375 5.7734-1.9336l61.387-44.602c19.965 8.7578 42.004 13.629 65.16 13.629 23.953 0 46.711-5.1992 67.207-14.531l62.633 45.504c1.8477 1.3398 3.8438 1.9336 5.7734 1.9336 6.1719 0 11.684-6.043 9.4297-12.977l-24.031-73.965c25.938-28.84 41.75-66.969 41.75-108.72 0-5.3633-0.26953-10.664-0.77734-15.898l62.285-45.254c7.7422-5.625 3.7656-17.871-5.8047-17.871" fill-rule="evenodd"/>
</g>
</svg>
eCSSentric</a>
<a class="button" href="#cards">Cards</a>
<a class="button" href="#messages">Messages</a>
<a class="button" href="#tables">Tables</a>
<a class="button" href="#grid">Grid</a>
<a class="button" href="#forms">Forms</a>
<a class="button" href="#buttons">Buttons</a>
<a class="button" href="#footer">Footer</a>
<a class="button transparent" target="_blank" rel="noopener noreferrer" href="https://github.com/quakkels/eCSSentric" style="margin-left:auto">Source Code</a>
</nav>
</header>
<main>
<section class="region" id="cards">
<div class="row">
<div class="card">
<div class="frame">
<img src="imgs/bullseye.svg">
<h2>Independent Style</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse tempor, ante ac pellentesque tristique, sapien nisl molestie dolor, mollis fringilla elit augue eget neque. Integer ac fringilla ligula. Cras sit amet nisi rhoncus, malesuada est.
</p>
</div>
</div>
<div class="card">
<div class="frame transparent">
<img src="imgs/mountain.svg">
<h2><a href="#" class="stretched-link">No Build</a> Required</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque volutpat eu purus et suscipit. Quisque dignissim nunc et ante venenatis porta. Sed nisl lorem, sollicitudin.
</p>
</div>
</div>
<div class="card">
<div class="frame">
<img src="imgs/running.svg">
<h2>Completely Customizable</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi urna nibh, sodales id sodales vel, vestibulum id massa. Vivamus luctus augue vitae fermentum ultricies. Vivamus nec cursus nisl, sit amet.
</p>
</div>
</div>
</div>
<div class="row">
<div class="card">
<div class="frame transparent">
<h2>Independent Style</h2>
<p>
This is all inside a paragraph tag. Lots of text describing what this is about.
</p>
</div>
</div>
<div class="card">
<div class="frame" style="padding:0">
<div class="gutter">
<h2>No Build</h2>
<p>
This is all inside a paragraph tag. Lots of text describing what this is about.
</p>
</div>
<p>
<button type="button" class="box-button">This is a button tag that fills the space</button>
</p>
<a class="button box-button">This is an anchor tag as a button that fills the space</a>
</div>
</div>
<div class="card">
<div class="frame transparent">
<h2>Completely Customizable</h2>
<p>
This is all inside a paragraph tag. Lots of text describing what this is about.
</p>
</div>
</div>
</div>
</section>
<section class="region" style="background: var(--bg-accent);" id="messages">
<div style="width:70vw;" class="gutter center-self">
<h2>Messages</h2>
<p>Informational and warning messages:</p>
<div class="info">
<div class="gutter">
<p>
This is an informational block.
</p>
<ul>
<li>eCSSentric is not a framework, nor is it a library.</li>in
<li>These styles don't depend on JavaScript.</li>
</ul>
</div>
</div>
<div class="warn">
<div class="gutter">
<p>
This is a warning block.
</p>
<ul>
<li>Lookout</li>
<li>Watch it!</li>
</ul>
</div>
</div>
<p>Error messages:</p>
<div class="error">
<ul>
<li>Email address is required.</li>
<li>Please enter a valid phone number.</li>
<li>Please enter a DOB <em>after</em> 1900AD.</li>
<li>Narwals aren't real and don't try to tell me otherwise.</li>
</ul>
</div>
</div>
<div class="grid-container with-three-columns gutter">
<ul class="info">
<li><strong>First list item</strong> with an informational message.</li>
<li><strong>List item number two</strong> with another informational message.</li>
<li><strong>Third</strong> with info.</li>
</ul>
<ul class="warn">
<li><strong>First list item</strong> with a warning message.</li>
<li><strong>List item number two</strong> with another warning message.</li>
<li><strong>Third</strong> with warning.</li>
</ul>
<ul class="error">
<li><strong>First list item</strong> with an error message.</li>
<li><strong>List item number two</strong> with another error message.</li>
<li><strong>Third</strong> with error.</li>
</ul>
</div>
</section>
<section class="region" id="tables">
<div class="gutter">
<h2>Tables</h2>
<div class="table">
<table>
<caption>This table is wide, and must be scrollable in narrow displays.</caption>
<tr>
<th>Header One</th>
<th>Header Two</th>
<th>Header Three</th>
<th>Header Four is a Long Header</th>
<th>Header Five</th>
<th>Header Six</th>
<th>Header Seven</th>
<th>Header Eight</th>
<th>Header Nine 9 Nine</th>
<th>Header Ten 10 Header Ten</th>
<th>Header Eleven</th>
<th>Header Twelve Header 12</th>
<th>Header Thirteen Header 13</th>
</tr>
<tr>
<td>Table cell with contents.</td>
<td>A table cell with more contents.</td>
<td>Table cell with contents.</td>
<td>A table cell with more contents.</td>
<td>Table cell with contents.</td>
<td>A table cell with more contents.</td>
<td>Table cell with contents.</td>
<td>Table cell with contents.</td>
<td>Table cell with contents.</td>
<td>Table cell with contents.</td>
<td>Table cell with contents. Table cell with contents. Table cell with contents.</td>
<td>Table cell with contents. Table cell with contents. Table cell with contents.</td>
<td>Table cell with contents.</td>
</tr>
<tr>
<td>Table cell with contents.</td>
<td>A table cell with more contents.</td>
<td>Table cell with contents.</td>
<td>A table cell with more contents.</td>
<td>Table cell with contents.</td>
<td>A table cell with more contents.</td>
<td>Table cell with contents.</td>
<td>Table cell with contents.</td>
<td>Table cell with contents.</td>
<td>Table cell with contents.</td>
<td>Table cell with contents. Table cell with contents. Table cell with contents.</td>
<td>Table cell with contents. Table cell with contents. Table cell with contents.</td>
<td>Table cell with contents.</td>
</tr>
</table>
</div>
<table>
<caption>Table Caption</caption>
<thead>
<tr>
<th scope="col">thead th</th>
<th scope="col">thead th</th>
<th scope="col">thead th</th>
</tr>
</thead>
<tbody>
<tr>
<td>tbody td</td>
<td>tbody td</td>
<td>tbody td</td>
</tr>
<tr>
<td>tbody td</td>
<td>tbody td</td>
<td>tbody td</td>
</tr>
<tr>
<td>tbody td</td>
<td>tbody td</td>
<td>tbody td</td>
</tr>
</tbody>
</table>
<h2>Table with side headings</h2>
<table>
<caption>Table Caption</caption>
<thead>
<tr>
<th scope="col">thead th</th>
<th scope="col">thead th</th>
<th scope="col" class="right">thead th</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">tbody th</th>
<td>tbody td</td>
<td class="right">tbody td</td>
</tr>
<tr>
<th scope="row">tbody th</th>
<td>tbody td</td>
<td class="right">tbody td</td>
</tr>
</tbody>
<tfoot>
<tr>
<th scope="row">Footer th</th>
<td colspan="2" class="right">Total</td>
</tr>
</tfoot>
</table>
</div>
</section>
<section class="region" style="background: var(--bg-accent);" id="grid">
<h2 class="gutter">Two Column Grid</h2>
<div class="grid-container with-two-columns gutter">
<div style="background: var(--bg-content);">Column one.</div>
<div style="background: var(--bg-content);">Column two.<br>Second line.</div>
<div style="background: var(--bg-content);" class="as-two-columns">Column one.</div>
</div>
<h2 class="gutter">Three Column Grid</h2>
<div class="grid-container with-three-columns gutter">
<div style="background: var(--bg-content);">Column one.</div>
<div style="background: var(--bg-content);" class="as-two-columns">Column two.</div>
<div style="background: var(--bg-content);" class="as-two-columns">Column one.</div>
<div style="background: var(--bg-content);">Column one.</div>
</div>
<h2 class="gutter">Four Column Grid</h2>
<div class="grid-container with-four-columns gutter">
<div style="background: var(--bg-content);">Column one.</div>
<div style="background: var(--bg-content);" class="as-three-columns">Column two.</div>
<div style="background: var(--bg-content);" class="as-two-columns">Column one.</div>
<div style="background: var(--bg-content);" class="as-two-columns">Column two.</div>
<div style="background: var(--bg-content);" class="as-three-columns">Column one.</div>
<div style="background: var(--bg-content);">Column two.</div>
</div>
<h2 class="gutter">Five Column Grid</h2>
<div class="grid-container with-five-columns gutter">
<div style="background: var(--bg-content);">Column one.</div>
<div style="background: var(--bg-content);" class="as-four-columns">Column two.</div>
<div style="background: var(--bg-content);" class="as-two-columns">Column one.</div>
<div style="background: var(--bg-content);" class="as-three-columns">Column two.</div>
<div style="background: var(--bg-content);" class="as-three-columns">Column one.</div>
<div style="background: var(--bg-content);" class="as-two-columns">Column two.</div>
<div style="background: var(--bg-content);" class="as-four-columns">Column one.</div>
<div style="background: var(--bg-content);">Column two.</div>
</div>
<h2 class="gutter">Six Column Grid</h2>
<div class="grid-container with-six-columns gutter">
<div style="background: var(--bg-content);">Column one.</div>
<div style="background: var(--bg-content);" class="as-five-columns">Column two.</div>
<div style="background: var(--bg-content);" class="as-two-columns">Column one.</div>
<div style="background: var(--bg-content);" class="as-four-columns">Column two.</div>
<div style="background: var(--bg-content);" class="as-three-columns">Column one.</div>
<div style="background: var(--bg-content);" class="as-three-columns">Column two.</div>
<div style="background: var(--bg-content);" class="as-four-columns">Column one.</div>
<div style="background: var(--bg-content);" class="as-two-columns">Column two.</div>
<div style="background: var(--bg-content);" class="as-five-columns">Column one.</div>
<div style="background: var(--bg-content);">Column two.</div>
</div>
</section>
<section class="region" id="forms">
<div style="width:60vw;" class="gutter center-self">
<h2>Forms</h2>
<form>
<div class="grid-container with-two-columns">
<p>
<label for="email">Email Address</label>
<input type="email" name="email" id="email" placeholder="Email">
</p>
<p>
<label for="email">Required Email Address</label>
<input required type="email" name="email" id="email" placeholder="Email">
</p>
</div>
<div class="grid-container">
<p>
<label for="email">Disabled Email</label>
<input disabled type="email" name="email" id="email" placeholder="Email">
</p>
</div>
<div class="grid-container with-two-columns">
<p>
<label for="password">Password</label>
<input type="password" name="password" id="password" placeholder="Password">
</p>
<p>
<label for="password">Disabled Password</label>
<input disabled type="password" name="password" id="password" placeholder="Password">
</p>
<div>
Pick one option
</div>
<div>
<label class="input-button"><input type="radio" name="option" value="1"> Option One</label>
<label class="input-button"><input type="radio" name="option" value="2"> Option Two</label>
<label class="input-button"><input type="radio" name="option" value="3"> Option Three</label>
<label class="input-button"><input type="radio" name="option" value="4"> Option Four</label>
<label class="input-button"><input type="radio" name="option" value="5"> Option Five</label>
<label class="input-button"><input disabled type="radio" name="option" value="6"> Disabled Option Six</label>
</div>
<div>
Pick all that apply
</div>
<div>
<label class="input-button"><input type="checkbox" name="checkbox" value="1"> Selection One</label>
<label class="input-button"><input type="checkbox" name="checkbox" value="2"> Selection Two</label>
<label class="input-button"><input type="checkbox" name="checkbox" value="3"> Selection Three</label>
<label class="input-button"><input disabled type="checkbox" name="checkbox" value="4"> Disabled Four checked</label>
<label class="input-button"><input disabled type="checkbox" name="checkbox" value="5" checked> Disabled Five</label>
</div>
<div>
Pick on option
</div>
<div>
<select name="dropdown">
<option value="val1">Value 1</option>
<option disabled value="val2">Value 2</option>
<option value="val3">Value 3</option>
</select>
<select disabled name="disableddropdown">
<option value="val1">Disabled Value 1</option>
<option value="val2">Disabled Value 2</option>
<option value="val3">Disabled Value 3</option>
</select>
</div>
<div>
Please describe something
</div>
<div>
<textarea name="description"></textarea>
</div>
<div></div>
<div>
<textarea disabled name="description">Disabled</textarea>
</div>
<div class="is-two-columns">
<button type="submit">Submit</button>
<button type="reset" class="transparent">Clear</button>
</div>
</div>
<form>
</div>
</section>
<section class="region" style="background: var(--bg-accent);" id="buttons">
<div class="gutter">
<h2>Buttons using <button></h2>
<p>
<button type="button">Primary Button</button>
<button type="button" class="secondary">Secondary Button</button>
<button type="button" class="info">Info Button</button>
<button type="button" class="warn">Warn Button</button>
<button type="button" class="danger">Danger Button</button>
<button type="button" class="transparent">Transparent Button</button>
</p>
<p>
<button type="button" class="loading">Primary Button</button>
<button type="button" class="secondary loading">Secondary Button</button>
<button type="button" class="info loading">Info Button</button>
<button type="button" class="warn loading">Warn Button</button>
<button type="button" class="danger loading">Danger Button</button>
<button type="button" class="transparent loading">Transparent Button</button>
</p>
<h2>Buttons using <a></h2>
<p>
<a class="button">Primary Anchor</a>
<a class="button secondary">Secondary Anchor</a>
<a class="button info">Info Anchor</a>
<a class="button warn">Warn Anchor</a>
<a class="button danger">Danger Anchor</a>
<a class="button transparent">Transparent Anchor</a>
</p>
<p>
<a class="button loading">Primary Anchor</a>
<a class="button secondary loading">Secondary Anchor</a>
<a class="button info loading">Info Anchor</a>
<a class="button warn loading">Warn Anchor</a>
<a class="button danger loading">Danger Anchor</a>
<a class="button transparent loading">Transparent Anchor</a>
</p>
<h2>Call To Action Buttons using <div> and the button class</h2>
<div class="grid-container with-two-columns">
<div>
<div class="wrapper-button-calltoaction center-self">
<button type="button">Button</button>
</div>
</div>
<div>
<div class="wrapper-button-calltoaction center-self">
<a class="button">Anchor</a>
</div>
</div>
<div>
<div class="wrapper-button-calltoaction silver center-self">
<button type="button">Button</button>
</div>
</div>
<div>
<div class="wrapper-button-calltoaction silver center-self">
<a class="button">Anchor</a>
</div>
</div>
</div>
</div>
</section>
</main>
<footer class="footer" id="footer">
<div class="row">
<div class="card">
<div class="frame transparent">
<h3>eCSSentric</h3>
<p>eCSSentric is free software to be duplicated and changed for both personal and commercial use.</p>
</div>
</div>
</div>
</footer>
</body>
</html>