This repository was archived by the owner on Mar 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocu.html
More file actions
328 lines (278 loc) · 11.1 KB
/
docu.html
File metadata and controls
328 lines (278 loc) · 11.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Documentation | Qwaderton Component Library</title>
<link rel="stylesheet" href="src/styles/styles.css">
</head>
<body>
<!-- Header Section -->
<header>
<div class="container">
<div id="qtk_sidebar_switcher">
</div>
<div class="logo">
<a href="index.html">
<img src="https://qwaderton.github.io/src/img/logo-icon.svg" alt="Project Logo" />
</a>
</div>
<div id="qtk_burger"><span></span></div>
<!-- <div id="docu-menu"></div> // To remove -->
<nav id="qtk_menu">
<a href="#overview">Overview</a>
<a href="#components">Components</a>
<a href="#customization">Customization</a>
<a href="#resources">Resources</a>
</nav>
</div>
</header>
<!-- Aside: Documentation Menu -->
<aside id="qtk_aside">
<nav>
<ul>
<li><strong>Getting Started</strong></li>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#installation">Installation</a></li>
<li><a href="#setup">Setup Guide</a></li>
<li><strong>Core Concepts</strong></li>
<li><a href="#typography">Typography</a></li>
<li><a href="#grid-system">Grid System</a></li>
<li><a href="#colors">Color Palette</a></li>
<li><a href="#spacing">Spacing & Layout</a></li>
<li><strong>Components</strong></li>
<li><a href="#buttons">Buttons</a></li>
<li><a href="#cards">Cards</a></li>
<li><a href="#modals">Modals</a></li>
<li><a href="#navigation">Navigation</a></li>
<li><a href="#forms">Forms</a></li>
<li><strong>Customization</strong></li>
<li><a href="#variables">CSS Variables</a></li>
<li><a href="#theming">Theming</a></li>
</ul>
</nav>
</aside>
<!-- Main Content Section -->
<main class="container layout">
<section id="overview">
<h1>Welcome to the Qwaderton Component Library Documentation</h1>
<p>Select a topic in the sidebar so that nothing happens, as it is not functional at the moment.</p>
</section>
<!-- Text Input Elements -->
<section id="form-elements">
<h2>Form Elements</h2>
<form action="#" method="post">
<label for="button">Button:</label><br>
<button class="button">Button</button>
<button class="button primary">Primary Button</button>
<!-- <button class="button secondary">Secondary Button</button> -->
<button class="button danger">Danger Button</button>
<br>
<button class="button outline">Button Outline</button>
<button class="button primary outline">Primary Button Outline</button>
<!-- <button class="button secondary outline" outline>Secondary Button Outline</button> -->
<button class="button danger outline">Danger Button Outline</button>
<label for="color">Color selection:</label>
<input type="color" id="color" name="color"><br><br>
<label for="date">Date:</label>
<input type="date" id="date" name="date"><br><br>
<label for="datetime-local">Date and time:</label>
<input type="datetime-local" id="datetime-local" name="datetime-local"><br><br>
<label for="email">Email:</label>
<input type="email" placeholder="Email" id="email" name="email"><br><br>
<label for="file">File upload:</label>
<input type="file" id="file" name="file"><br><br>
<input type="hidden" id="hidden" name="hidden" value="hiddenValue">
<label for="image">Button-image:</label>
<input type="image" src="https://via.placeholder.com/100" alt="Image button" width="100"><br><br>
<label for="month">Month:</label>
<input type="month" id="month" name="month"><br><br>
<label for="number">Number:</label>
<input type="number" id="number" name="number" min="1" max="100"><br><br>
<label for="password">Password:</label>
<input type="password" placeholder="Password" id="password" name="password"><br><br>
<label for="range">Slider:</label>
<input type="range" id="range" name="range" min="1" max="100"><br><br>
<input type="reset" value="Reset"><br><br>
<label for="search">Search:</label>
<input type="search" id="search" name="search"><br><br>
<input type="submit" value="Send"><br><br>
<label for="tel">Phone:</label>
<input type="tel" id="tel" name="tel"><br><br>
<label for="text">Text:</label>
<input type="text" placeholder="Text" id="tesxt" name="text"><br><br>
<label for="time">Time:</label>
<input type="time" id="time" name="time"><br><br>
<label for="url">URL:</label>
<input type="url" id="url" name="url"><br><br>
<label for="week">Week:</label>
<input type="week" id="week" name="week"><br><br>
</form>
</section>
<section>
<h2>Textarea</h2>
<textarea name="" id="">textarea</textarea>
</section>
<!-- Button Elements -->
<section id="buttons">
<h2>Default button</h2>
<button class="primary">No classes</button>
<h2>Buttons</h2>
<button class="button">Button</button>
<button class="button primary">Primary Button</button>
<!-- <button class="button secondary">Secondary Button</button> -->
<button class="button danger">Danger Button</button>
<br>
<button class="button outline">Button Outline</button>
<button class="button primary outline">Primary Button Outline</button>
<!-- <button class="button secondary outline" outline>Secondary Button Outline</button> -->
<button class="button danger outline">Danger Button Outline</button>
</section>
<!-- Select and Radio Elements -->
<section id="select-radio">
<h2>Select and Radio Inputs</h2>
<h3>Select Dropdown</h3>
<label for="dropdown">Choose an option:</label>
<select id="dropdown">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
<h3>Radio Buttons</h3>
<label for="radio1">Option 1</label>
<input type="radio" id="radio1" name="options" value="1" />
<label for="radio2">Option 2</label>
<input type="radio" id="radio2" name="options" value="2" />
</section>
<!-- Checkboxes -->
<section id="checkboxes">
<h2>Checkboxes</h2>
<label for="checkbox1">Option 1</label>
<input type="checkbox" id="checkbox1" />
<label for="checkbox2">Option 2</label>
<input type="checkbox" id="checkbox2" />
</section>
<!-- Image and Gallery Elements -->
<section id="gallery">
<h2>Image Gallery</h2>
<div class="gallery">
<img class="small" src="https://lipsum.app/300x200" alt="Placeholder Image 1" />
<img class="small" src="https://lipsum.app/300x200" alt="Placeholder Image 2" />
<img class="small" src="https://lipsum.app/300x200" alt="Placeholder Image 3" />
</div>
</section>
<!-- Table Element -->
<section id="tables">
<h2>Table</h2>
<div class="wrapper">
<table class="table">
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Row 1, Cell 1</td>
<td>Row 1, Cell 2</td>
<td>Row 1, Cell 3</td>
</tr>
<tr>
<td>Row 2, Cell 1</td>
<td>Row 2, Cell 2</td>
<td>Row 2, Cell 3</td>
</tr>
</tbody>
</table>
</div>
</section>
<!-- Card elements -->
<section id="cards">
<h2>Cards</h2>
<h3>Default card</h3>
<article class="card">
<div class="head">
<img src="https://images.unsplash.com/photo-1559666126-84f389727b9a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=3100&h=2200&dpi=2&fit=crop&crop=entropy" alt="Placeholder Image 4" />
</div>
<div class="body">
<h2>Hello world</h2>
<p>This is bubble card</p>
<div class="actions">
<button class="button">
Action
</button>
<button class="button">
Action 2
</button>
</div>
</div>
</article>
</section>
<section>
<h3>Background card</h3>
<article class="card bg inv">
<div class="head">
<img src="https://images.unsplash.com/photo-1551509134-2f9d4ec80a9b?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=3100&h=2200&dpi=2&fit=crop&crop=entropy" alt="Placeholder Image 5" />
</div>
<div class="body">
<h2>Hello world</h2>
<p>This is bubble card</p>
<div class="actions">
<button class="button">
Action
</button>
<button class="button">
Action 2
</button>
</div>
</div>
</article>
</section>
<!-- Code blocks -->
<section class="codeblocks">
<h2>Code blocks</h2>
<h3>Default code block</h3>
<code>
print("Hello world!")
</code>
<h3>Default dark code block</h3>
<code class="dark">
print("Hello world!")
</code>
<h3>Default bubble code block</h3>
<code class="bubble">
print("Hello world!")
</code>
<h3>Default dark bubble code block</h3>
<code class="dark bubble">
print("Hello world!")
</code>
<h3>Modal</h3>
<button
type="button"
class="button"
onclick="modal.showModal()"
>
Open modal
</button>
<dialog id="modal">
<form action="">
<button class="modal-close" type="submit">x</button>
</form>
something
</dialog>
</section>
</main>
<!-- Footer Section -->
<footer class="asided">
<div class="container">
<p>© 2024 <a href="https://qwa.su">Qwaderton Labs</a>. All rights reserved.</p>
<p style="display: flex; justify-content: center;">Built with <a href="https://qwaderton.github.io/Styles"><img src="https://qwaderton.github.io/Styles/src/img/qtk-dark.svg" alt="Qwaderton Component Library" style="height: 25px; border-radius: 0; filter: invert(); object-fit: contain; display: inline-block"></a></p>
</div>
</footer>
<script src="src/scripts/main.js"></script>
</body>
</html>