This repository has been archived by the owner on Oct 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
315 lines (314 loc) · 15.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
<!DOCTYPE html>
<html class="body-not-full-width">
<head>
<title>EpiclyCSS Documentation</title>
<meta name="viewport"content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="Epic-CSS-1.0.css">
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700|Roboto:300,400,500,700&display=swap" rel="stylesheet">
<!-- https://fonts.google.com/?selection.family=Roboto+Condensed:300,400,700|Roboto:300,400,500,700 -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<nav class="primary_dark">
<div class="container __fills">
<div>
<a href="#" class="m-r2"><i class="material-icons primary_dark">menu</i></a>Epic CSS Documentation
</div>
</div>
</nav>
<main>
<section data-secname="Guide to Use this Documentation">
<p>You can normally Styling your Element with CSS we've served by Giving Class to that's Element</p>
<p><b>But</b> you can Styling your CSS using Variable we've Served Flexibly</p>
</section>
<section data-secname="Color Theming">
<div class="container">
<div class="card hoverable"><h6>Primary Background</h6></div>
<div class="card" style="background-color: var(--primary-content); color: var(--primary-bg);"><h6>Primary Content</h6></div>
<div class="card primary_light"><h6>Primary Light</h6></div>
<div class="card primary_dark"><h6>Primary Dark</h6></div>
</div>
<div class="container">
<div class="card secondary"><h6>Secondary Background</h6></div>
<div class="card" style="background-color: var(--secondary-content);"><h6>Secondary Content</h6></div>
<div class="card secondary_light"><h6>Secondary Light</h6></div>
<div class="card secondary_dark"><h6>Secondary Dark</h6></div>
</div>
<div class="container">
<div class="card tertiary"><h6>Tertiary Background</h6></div>
<div class="card" style="background-color: var(--tertiary-content);"><h6>Tertiary Content</h6></div>
<div class="card tertiary_light"><h6>Tertiary Light</h6></div>
<div class="card tertiary_dark"><h6>Tertiary Dark</h6></div>
</div>
<div class="container">
<div class="card quartenary"><h6>Quartenary Background</h6></div>
<div class="card" style="background-color: var(--quartenary-content); color: var(--primary-bg);"><h6>Quartenary Content</h6></div>
<div class="card quartenary_light"><h6>Quartenary Light</h6></div>
<div class="card quartenary_dark"><h6>Quartenary Dark</h6></div>
</div>
</section>
<section data-secname="Grid Systems">
<div class="container __col">
<div class="container">
<div class="card">Child</div><div class="card">Child</div><div class="card">Child</div><div class="card">Child</div><div class="card">Child</div><div class="card">Child</div><div class="card">Child</div>
</div>
<div class="code">
<div class="row"><div class="container">...</div></div>
</div>
<p class="note"><i>By Default if you not define the container, childs will be aligned as row</i></p>
<p>To make Vertical Align, Just add <i>__col</i> class</p>
<div class="code">
<div class="row"><div class="container __col">...</div></div>
</div>
<h5>The Example below shows the align according to the Main Axis</h5>
<div class="container">
<div class="container __col card secondary">
<h4>Default</h4>
<div class="container __col secondary_light shadow" style="height: calc(80vh - 2.8rem);"><div class="card __blank primary shadow d2"></div><div class="card __blank primary shadow d2"></div><div class="card __blank primary shadow d2"></div></div>
</div>
<div class="container __col card secondary">
<h4>__Start</h4>
<div class="container __col __start secondary_light shadow" style="height: calc(80vh - 2.8rem);"><div class="card __blank primary shadow d2"></div><div class="card __blank primary shadow d2"></div><div class="card __blank primary shadow d2"></div></div>
</div>
<div class="container __col card secondary">
<h4>__End</h4>
<div class="container __col __end secondary_light shadow" style="height: calc(80vh - 2.8rem);"><div class="card __blank primary shadow d2"></div><div class="card __blank primary shadow d2"></div><div class="card __blank primary shadow d2"></div></div>
</div>
<div class="container __col card secondary">
<h4>__Fills</h4>
<div class="container __col __fills secondary_light shadow" style="height: calc(80vh - 2.8rem);"><div class="card __blank primary shadow d2"></div><div class="card __blank primary shadow d2"></div><div class="card __blank primary shadow d2"></div></div>
</div>
</div>
<div class="code">
<div class="row"><div class="container">...</div></div>
<div class="row"><div class="container __start">...</div></div>
<div class="row"><div class="container __end">...</div></div>
<div class="row"><div class="container __fills">...</div></div>
</div>
<h5>The Example below shows the align according to the Perpendicular Main Axis</h5>
<div class="container __col">
<div class="container">
<div class="container __col card secondary">
<h4>Default</h4>
<div class="container secondary_light shadow" style="height: calc(30vh - 2.8rem);"><div class="card primary shadow d2">Hi, i'm the true</div><div class="card primary shadow d2">Hi, i'm the true</div><div class="card __Pcenter primary shadow d2">Hi, i was Aligned to Center</div></div>
</div>
<div class="container __col card secondary">
<h4>__Pcenter</h4>
<div class="container __Pcenter secondary_light shadow" style="height: calc(30vh - 2.8rem);"><div class="card primary shadow d2">Hi, i'm the true</div><div class="card __Pfills primary shadow d2">Hi, i'm was Aligned to Strecth</div><div class="card primary shadow d2">Hi, i'm the true</div></div>
</div>
</div>
<div class="container">
<div class="container __col card secondary">
<h4>__Pend</h4>
<div class="container __Pend secondary_light shadow" style="height: calc(30vh - 2.8rem);"><div class="card __Pstart primary shadow d2">Hi, i was Aligned to the First</div><div class="card primary shadow d2">Hi, i'm the true</div><div class="card primary shadow d2">Hi, i'm the true</div></div>
</div>
<div class="container __col card secondary">
<h4>__Pstart</h4>
<div class="container __Pstart secondary_light shadow" style="height: calc(30vh - 2.8rem);"><div class="card primary shadow d2">Hi, i'm the true</div><div class="card __Pend primary shadow d2">Hi, i was Aligned to the First</div><div class="card primary shadow d2">Hi, i'm the true</div></div>
</div>
</div>
</div>
<div class="code">
<div class="row"><div class="container">...</div></div>
<div class="row"><div class="container __Pstart">...</div></div>
<div class="row"><div class="container __Pend">...</div></div>
<div class="row"><div class="container __Pcenter">...</div></div>
</div>
<span class="note">But you can make one of them or more to Aligned to Different align than others</span>
<div class="code">
<div class="row"><div class="container"></div>
<div class="row">  <div class="__pstart">...Child...</div></div>
<div class="row"></div></div>
<div class="row"><div class="container"></div>
<div class="row">  div class="__Pend">...Child...</div></div>
<div class="row"></div></div>
<div class="row"><div class="container"></div>
<div class="row">  div class="__Pcenter">...Child...</div></div>
<div class="row"></div></div>
<div class="row"><div class="container"></div>
<div class="row">  div class="__Pfills">...Child...</div></div>
<div class="row"></div></div>
</div>
</div>
</section>
<section data-secname="Margin and Padding">
<div class="container __col">
<h2 class="left-bordered">Margin</h2>
<div class="container">
<div class="card quartenary"><h6>m1</h6><div class="card m1 tertiary">content</div></div>
<div class="card quartenary"><h6>m2</h6><div class="card m2 tertiary">content</div></div>
<div class="card quartenary"><h6>m3</h6><div class="card m3 tertiary">content</div></div>
<div class="card quartenary"><h6>m4</h6><div class="card m4 tertiary">content</div></div>
<div class="card quartenary"><h6>m5</h6><div class="card m5 tertiary">content</div></div>
</div>
<div class="container">
<div class="card quartenary"><h6>m-t3</h6><div class="card m-t3 tertiary">content</div></div>
<div class="card quartenary"><h6>m-r3</h6><div class="card m-r3 tertiary">content</div></div>
<div class="card quartenary"><h6>m-b3</h6><div class="card m-b3 tertiary">content</div></div>
<div class="card quartenary"><h6>m-l3</h6><div class="card m-l3 tertiary">content</div></div>
<div class="card quartenary"><h6>m-t3 m-r3</h6><div class="card m-t3 m-r3 tertiary">content</div></div>
</div>
<h2 class="left-bordered">Padding</h2>
<div class="container">
<div class="card p1 quartenary"><h6>p1</h6></div>
<div class="card p2 quartenary"><h6>p2</h6></div>
<div class="card p3 quartenary"><h6>p3</h6></div>
<div class="card p4 quartenary"><h6>p4</h6></div>
<div class="card p5 quartenary"><h6>p5</h6></div>
</div>
<div class="container">
<div class="card p-t3 quartenary"><h6>p-t3</h6></div>
<div class="card p-r3 quartenary"><h6>p-r3</h6></div>
<div class="card p-b3 quartenary"><h6>p-b3</h6></div>
<div class="card p-l3 quartenary"><h6>p-l3</h6></div>
<div class="card p-t3 p-r3 quartenary"><h6>p-t3 p-r3</h6></div>
</div>
</div>
</section>
<section data-secname="Shadow Systems">
<div class="container">
<div class="card shadow"><b>Default Shadow</b></div>
<div class="card shadow d1"><b>Depth 1</b></div>
<div class="card shadow d2"><b>Depth 2</b></div>
<div class="card shadow d3"><b>Depth 2</b></div>
<div class="card shadow d4"><b>Depth 3</b></div>
</div>
<p>You can copy this shadow to your CSS by using variables</p>
<p><b>Shadow + Depth Num</b></p>
<div class="container __col">
<h3 class="left-bordered">Class Code</h3>
<div class="code">
<div class="row"><div class="shadow">...</div></div>
<div class="row"><div class="shadow d1">...</div></div>
<div class="row">...</div>
</div>
<h3 class="left-bordered">Styling with CSS Code</h3>
<div class="code">
<div class="row">[element selector] {</div>
<div class="row">  box-shadow: var(--shadow-d);</div>
<div class="row">}</div>
<div class="row">[element selector] {</div>
<div class="row">  box-shadow: var(--shadow-d1);</div>
<div class="row">}</div>
<div class="row">...</div>
</div>
</div>
</section>
<section data-secname="Typography">
<div class="container __col">
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<h1 class="left-bordered">Heading with Left Border</h1>
<div class="code">
<div class="row"><h1 class="left-bordered">...</h1></div>
</div>
<span class="note">Not only Heading, you can add Left Border to any elements</span>
<h3 class="left-bordered">Paragraph</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<div class="code">
<div class="row"><p>...</p></div>
</div>
<h3 class="left-bordered">Note</h3>
<span class="note">The Quick Brown Fox Jumps Over The Lazy Dog</span>
<div class="code">
<div class="row"><span class="note">...</span></div>
</div>
<span>Add <i>Note</i> Class to add this Style</span>
</div>
</section>
<section data-secname="Table Layout">
<div class="card __Pfills">
<table class="editable">
<caption>Example</caption>
<thead>
<tr>
<th>Foo</th><th>Bar</th><th>Baz</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lorem</td><td>Ipsum</td><td>Dolor</td>
</tr>
<tr>
<td>Lorem</td><td>Ipsum</td><td>Dolor</td>
</tr>
<tr>
<td>Lorem</td><td>Ipsum</td><td>Dolor</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Sum</td><td>Count</td><td>Avg</td>
</tr>
</tfoot>
</table>
</div>
<div class="code">
<div class="row"><table></div>
<div class="row">  <caption>Table Caption</caption></div>
<div class="row">  <thead></div>
<div class="row">    <tr></div>
<div class="row">      <th>Heading</th><th>Heading</th><th>Heading</th></div>
<div class="row">    </tr></div>
<div class="row">  </thead></div>
<div class="row">  <tbody></div>
<div class="row">    <tr></div>
<div class="row">      <td>Row Content</td><td>Row Content</td><td>Row Content</td></div>
<div class="row">    </tr></div>
<div class="row">    <tr></div>
<div class="row">      <td>Row Content</td><td>Row Content</td><td>Row Content</td></div>
<div class="row">    </tr></div>
<div class="row">  </tbody></div>
<div class="row">  <tfoot></div>
<div class="row">    <tr></div>
<div class="row">      <td>Footer Content</td><td>Footer Content</td><td>Footer Content</td></div>
<div class="row">    </tr></div>
<div class="row">  </tfoot></div>
<div class="row"></table></div>
</div>
</section>
<section data-secname="Tooltip">
<a class="btn shadow d1" data-tooltip="Lorem Ipsum"><h5>This is Tooltipped</h5></a>
<p>Simple, just give the Element <i>'data-tooltip'</i> attribute. <b>the Value is the Tooltip text</b></p>
<div class="code">
<div class="row"><div data-tooltip='[value]'>Lorem Ipsum<div></div>
</div>
<p><b>Not just div</b>, you can add Tooltip to many Elements, like the Element Above</p>
</section>
<section data-secname="Z-Indexing">
<h3>NAV = 2</h3>
<h3>TOOLTIP = 99</h3>
</section>
<ul class="tblEdit-dialog">
<li>Edit</li>
<li>Remove</li>
</ul>
</main>
</body>
<script type="text/javascript" src="Epic-JS-1.0.js"></script>
<script>
var tbl = new tblEdit(document.querySelector('table'));
(function () {
toolTips();
})();
</script>
</html>