This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 186
/
styleSheet.html
281 lines (273 loc) · 8.76 KB
/
styleSheet.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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<title>OpenBazaar Stylesheet</title>
<link rel="stylesheet" href="node_modules/ionicons/css/ionicons.min.css">
<link rel="stylesheet" href="./.tmp/styles/main.css">
<style>
body {
overflow: auto;
}
main {
padding: 20px;
}
section {
background: #fff;
margin-bottom: 30px;
padding: 20px;
border: 1px solid hsl(0,0%,89%)
}
</style>
</head>
<body class="clrT">
<header class="borderStacked clrBr">
<nav class="bar clrP">
<div class="flexRow">
<div>
<div class="flexVCent">
<!-- insert window buttons-->
</div>
</div>
<div>
<div class="flexVCent">
<a class="iconBtn ion-chevron-left"></a>
<a class="iconBtn ion-chevron-right"></a>
<a class="iconBtn ion-refresh"></a>
</div>
</div>
<div class="rowDivV clrBrBackground"></div>
<div class="flexVCent">
<span class="iconBtn">
<i class="ion-search"></i>
</span>
</div>
<div class="flexExpand">
<div class="flexVCent">
<input class="flexExpand" type="text">
</div>
</div>
<div class="rowDivV clrBrBackground"></div>
<div>
<div class="flexVCent">
<a class="iconBtn ion-android-notifications"></a>
<a class="discSm border clrBr" style="background-image: url('imgs/defaultAvatar.png')"></a>
</div>
</div>
</div>
</nav>
<nav class="bar clrP"></nav>
</header>
<main>
<section>
<div>
<h1>Typography (this is a H1)</h1>
<div>
<h2>H2</h2>
<h3>H3</h3>
<h4>H4</h4>
<h5>H5</h5>
<h6>H6</h6>
<hr>
<p>This is a paragraph in the primary text color. <a>This is a link.</a> It's full of words, and should only be used for words. This is a paragraph. It's full of words, and should only be used for words. This is a paragraph. It's full of words, and should only be used for words. This is a paragraph. It's full of words, and should only be used for words. </p>
<p class="clrT2">This is a paragraph in text color 2. <a>This is a link.</a>It's full of words, and should only be used for words. This is a paragraph. It's full of words, and should only be used for words. This is a paragraph. It's full of words, and should only be used for words. This is a paragraph. It's full of words, and should only be used for words. </p>
<p class="clrT3">This is a paragraph in text color 3. <a>This is a link.</a>It's full of words, and should only be used for words. This is a paragraph. It's full of words, and should only be used for words. This is a paragraph. It's full of words, and should only be used for words. This is a paragraph. It's full of words, and should only be used for words. </p>
<p><span class="note">This is a note.</span></p>
<p>If a paragraph is the last element in a container, it does not have a bottom margin.</p>
</div>
</div>
</section>
<section>
<div>
<h1>Containers</h1>
<p></p>
<div>
<h2>Basic Containers</h2>
<p>Containers wrap other elements, to provide structure or decoration.</p>
<div>
<div class="box pad row clrS">
This is a box with standard padding and vertical spacing and the secondary background color.
</div>
<div class="box border padSm rowLg clrP clrBr">
This is a box with a border. small padding and big vertical spacing and the primary background color.
</div>
<div class="box border borderStacked padKids row clrP clrBr">
<div class="box">
borderStacked element 1
</div>
<div class="box">
borderStacked element 2
</div>
<div class="box">
borderStacked element 3
</div>
</div>
</div>
</div>
</div>
</section>
<section>
<div>
<h1>Grid</h1>
<p>The grid doesn't have gutters. To add gutters, use a padding class on the column.</p>
<div class="txCtr">
<h2>Basic Grid</h2>
<div class="flexRow row">
<div class="col12 border clrBr pad">12</div>
</div>
<div class="flexRow row">
<div class="col1 border clrBr pad">1</div>
<div class="col11 border clrBr pad">11</div>
</div>
<div class="flexRow row">
<div class="col2 border clrBr pad">2</div>
<div class="col10 border clrBr pad">10</div>
</div>
<div class="flexRow row">
<div class="col3 border clrBr pad">3</div>
<div class="col9 border clrBr pad">9</div>
</div>
<div class="flexRow flexFlushSides row">
<div class="col3 padSm">
<div class="box border clrBr pad">
An example of gutters (3)
</div>
</div>
<div class="col4 padSm">
<div class="box border clrBr pad">
An example of gutters (4)
</div>
</div>
<div class="col5 padSm">
<div class="box border clrBr pad">
An example of gutters (9)
</div>
</div>
</div>
<div class="flexRow row">
<div class="col4 border clrBr pad">4</div>
<div class="col8 border clrBr pad">
<div class="flexRow padSm">
<div class="col6 pad clrBr border">
Nested column 6
</div>
<div class="col6 pad clrBr border">
Nested column 6
</div>
</div>
</div>
</div>
<div class="flexCol padSm border clrBr flexFlushSides">
<div class="col12 rowSm">
<div class="box border clrBr pad">
Vertical Column 12
</div>
</div>
<div class="col12 rowSm">
<div class="box border clrBr pad">
Vertical Column 12
</div>
</div>
<div class="col12 rowSm">
<div class="box border clrBr pad">
Vertical Column 12
</div>
</div>
<div class="col12 rowSm">
<div class="box border clrBr pad">
Vertical Column 12
</div>
</div>
<div class="col12 rowSm">
<div class="flexVCent border clrBr padSm gutterH">
<div>Vertically centered flex wrapper with gutter.</div>
<button>A Button</button>
<div class="box clrS padSm">Element</div>
</div>
</div>
<div class="col12 rowSm">
<div class="flexHCent border clrBr padSm gutterH flexNoGrow">
<div class="box clrS padSm">Horizontally centered flex wrapper with flexNoGrow.</div>
<div class="box clrS padSm">Element</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section>
<div>
<h1>Buttons</h1>
<p></p>
<div class="rowMd">
<h2>Basic Buttons</h2>
<div class="box pad clrS">
<a class="btn clrP clrBr row">A Basic Button</a>
<div class="btnStrip row">
<a class="btn clrP clrBr">Row Button</a>
<a class="btn clrP clrBr">Row Button</a>
<a class="btn clrP clrBr">Row Button</a>
</div>
</div>
</div>
<div class="rowMd">
<h2>Flex Buttons</h2>
<div class="box clrSh3">
<div class="flexRow flexBtnWrapper">
<a class="flexExpand btnFlx clrP">Flex Button 1</a>
<a class="flexExpand btnFlx clrP">Flex Button 2</a>
<a class="flexExpand btnFlx clrP">Flex Button 3</a>
</div>
</div>
</div>
</div>
</section>
<section>
<div>
<h1>Forms</h1>
<p></p>
<div>
<h2>Form Fields</h2>
</div>
<div>
<h2>Form Controls</h2>
</div>
</div>
</section>
<section>
<div>
<h1>Modals</h1>
<p></p>
<div>
<h2>Basic Modals</h2>
<dialog>Modal</dialog>
</div>
<div>
<h2>Special Use Modals</h2>
<dialog>Modal</dialog>
</div>
</div>
</section>
<section>
<div>
<h1>Lists</h1>
<p></p>
<div>
<h2>Basic Lists</h2>
<p>Lists with a single piece of content per list item.</p>
</div>
<div>
<h2>Action Lists</h2>
<p>Lists where each list item is a control, such as navigation lists or a list of options.</p>
</div>
<div>
<h2>Content Lists</h2>
<p>These lists have multiple sub-elements in them.</p>
</div>
</div>
</section>
</main>
<footer>
</footer>
</body>
</html>