forked from jesucarr/FEM-CSS-Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo-white.html
425 lines (391 loc) · 13 KB
/
demo-white.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
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>FEM CSS Framework : Grey box demo</title>
<link href="css/reset.css" media="all" rel="stylesheet" type="text/css" />
<link href="css/grid.css" media="all" rel="stylesheet" type="text/css" />
<link href="css/text.css" media="all" rel="stylesheet" type="text/css" />
<link href="css/menu.css" media="all" rel="stylesheet" type="text/css" />
<link href="css/table.css" media="all" rel="stylesheet" type="text/css" />
<link href="css/form.css" media="all" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="grid-centered">
<div class="box-12-expand background">
<div class="box-12">
<div class="box">
<h2>
FEM CSS Framework
</h2>
<p>The base is a 12 columns grid. The total width is 960. The columns have 10px margin in each side, so it makes 20px gutter between columns.</p>
<p>We can remove that margin or expand or contract the box to play with that gutter.</p>
<p>The idea is to wrap each group of boxes inside another, so they won't mix with the next floated boxes and also we can decorate with borders or backgrounds</p>
</div>
</div>
<div class="box-12">
<ul class="menu-horizontal" >
<li>
<a href="#a">Menu 1</a>
</li>
<li class="current">
<a href="#">Menu 2</a>
</li>
<li>
<a href="#">Menu 3</a>
</li>
<li>
<a href="#">Menu 4</a>
</li>
</ul>
</div>
<div class="box-12-expand">
<div class="box-8-expand">
<div class="box-8-expand-right content ">
<div class="box">
<p>This box takes 8 columns and is expanded to the right to remove the gutter. It uses class="box-8-expand-right"</p>
<h1>Header 1</h1>
<p>Text sample, <a href="#">link</a>, etc.</p>
<h2>Header 2</h2>
<p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
<h3>Header 3</h3>
<p>Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem.</p>
<h4>Header 4</h4>
<p>Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum.</p>
<pre>
Code line 1
Code line 2
Code tabbed
</pre>
<h5>Header 5</h5>
<p>Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum.</p>
<hr />
<h6>Header 3</h6>
<p>Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem.</p>
<h1>Header 1</h1>
<h2>Header 2</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<blockquote>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
<cite>Julio Cesar</cite>
</blockquote>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<div class="box-3 right">
<blockquote>
Lorem ipsum dolor sit amet.
<cite>Julio Cesar</cite>
</blockquote>
</div>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
</div>
</div>
<div class="box-8">
<div class="box">
<h2>Tables</h2>
<table summary="This is the summary of the table">
<caption>Example table</caption>
<colgroup>
<col class="col-a" />
<col class="col-b" />
<col class="col-c" />
</colgroup>
<thead>
<tr>
<th colspan="3" class="table-head">Table heading</th>
</tr>
<tr>
<th>Column 1</th>
<th>Column 2</th>
<th class="number">Column 3</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Subtotal</th>
<td></td>
<th class="number">$100.00</th>
</tr>
</tfoot>
<tbody>
<tr class="odd">
<th>Lorem ipsum</th>
<td>Dolor sit</td>
<td class="number">100.00</td>
</tr>
<tr>
<th>Dolor sit</th>
<td>Nostrud exerci</td>
<td class="number">2000.00</td>
</tr>
<tr class="odd">
<th>Nostrud exerci</th>
<td>Lorem ipsum</td>
<td class="number">30.00</td>
</tr>
<tr>
<th>Lorem ipsum</th>
<td>Dolor sit</td>
<td class="number">400.00</td>
</tr>
<tr class="odd">
<th>Dolor sit</th>
<td>Nostrud exerci</td>
<td class="number">50.00</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="box-8">
<div class="box">
<h2>Forms</h2>
<form action="">
<div class="inline">
<h3>Inline fields</h3>
<div class="field">
<label for="text1">Text: </label>
<input type="text" id="text1" name="text1" value="" size="30" />
</div>
<div class="field">
<label for="password1">Password: </label>
<input type="password" id="password1" name="password1" size="30" />
</div>
<div class="buttons">
<button type="submit">Send</button>
</div>
</div>
<h3>Block fields</h3>
<div class="field">
<label for="text2">Text: </label>
<input type="text" id="text2" name="text2" value="" size="30" />
</div>
<div class="field">
<label for="password2">Password: </label>
<input type="password" id="password2" name="password2" size="30" />
</div>
<div class="field">
<label for="textarea1">Textarea: </label>
<textarea id="textarea1" name="textarea1" rows="5" cols="30"></textarea>
</div>
<div class="field">
<label for="select1">Option select: </label>
<select id="select1" name="select1">
<option value="">Select Option...</option>
<option value="option1">Option 1 </option>
<option value="option2">Option 2 </option>
<option value="option3">Option 3 </option>
</select>
</div>
<div class="field">
<label for="select2">Option select multiple: </label>
<select id="select2" name="select2" multiple="multiple">
<option value="option1">Option 1 </option>
<option value="option2">Option 2 </option>
<option value="option3">Option 3 </option>
</select>
</div>
<div class="field">
Option checkbox:
<div class="options">
<label for="checkbox1">Checkbox 1: </label>
<input type="checkbox" id="checkbox1" name="checkbox1" value="1" />
</div>
<div class="options">
<label for="checkbox2">Checkbox 2: </label>
<input type="checkbox" id="checkbox2" name="checkbox2" value="2" />
</div>
</div>
<div class="field">
Option Radio:
<div class="options">
<label for="radio1">Radio 1: </label>
<input type="radio" id="radio1" name="radio1" value="1" />
</div>
<div class="options">
<label for="radio2">Radio 2: </label>
<input type="radio" id="radio2" name="radio1" value="2" />
</div>
</div>
<div class="buttons">
<button type="submit" class="positive">Positive</button>
<button type="submit">Button</button>
<a href="#">Link</a>
<button type="submit" class="negative"><img src="img/cross.png" alt="" />Negative</button>
</div>
<h3>Inline Button</h3>
<div class="inline">
<div class="field">
<label for="text3">Inline Button: </label>
<input type="text" id="text3" name="text3" value="" />
<div class="buttons">
<button type="submit">Send</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="box-4-expand">
<div class="box-4-expand-left ">
<div class="box">
<p>This box takes 4 columns and is expanded to the left to remove the gutter. It uses class="box-4-expand-left"</p>
</div>
</div>
<div class="box-4-expand">
<div class="box-2">
<div class="box">
<p>we can use half gutter margin. Also as this 2 boxes of 2 columns are wrapped in a box of 4 columns, this one can be as hight as we want and won't mix with the next ones.</p>
</div>
</div>
<div class="box-2">
<div class="box">
<p>again half gutter margin</p>
</div>
</div>
</div>
<div class="box-4-expand">
<div class="box-2-contract-left">
<div class="box">
<p>or we can use full gutter margin. For that it is contracted to the left using class="box-2-contract-left"</p>
</div>
</div>
<div class="box-2-contract-right">
<div class="box">
<p>again full gutter margin</p>
</div>
</div>
</div>
<div class="box-4-expand">
<div class="box-4">
<div class="box border">
<p>we can use border like here and still respect the grid dimensions.</p>
</div>
</div>
</div>
<div class="box-4">
<div class="box">
<h2>Lists</h2>
<h3>Unordered list</h3>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<ul>
<li>
Lorem
<ul>
<li>
Lorem
</li>
<li>Ipsum</li>
<li>Dolor</li>
<li>Sit</li>
<li>Amet</li>
</ul>
</li>
<li>Ipsum</li>
<li>Dolor</li>
<li>Sit</li>
<li>Amet</li>
</ul>
<h3>Ordered list</h3>
<ol>
<li>Lorem</li>
<li>Ipsum</li>
<li>Dolor</li>
<li>Sit</li>
<li>Amet</li>
</ol>
</div>
</div>
<div class="box-4">
<div class="box">
<ul class="menu-vertical">
<li>
<a href="#">Menu 1</a>
<ul>
<li>
<a href="#">Submenu 1</a>
</li>
<li class="current">
<a href="#">Submenu 2</a>
</li>
<li>
<a href="#">Submenu 3</a>
</li>
<li>
<a href="#">Submenu 4</a>
</li>
<li>
<a href="#">Submenu 5</a>
</li>
</ul>
</li>
<li>
<a href="#">Menu 2</a>
<ul>
<li>
<a href="#">Submenu 1</a>
</li>
<li>
<a href="#">Submenu 2</a>
</li>
<li>
<a href="#">Submenu 3</a>
</li>
<li>
<a href="#">Submenu 4</a>
</li>
<li>
<a href="#">Submenu 5</a>
</li>
</ul>
</li>
<li>
<a href="#">Menu 3</a>
<ul>
<li>
<a href="#">Submenu 1</a>
</li>
<li>
<a href="#">Submenu 2</a>
</li>
<li>
<a href="#">Submenu 3</a>
</li>
<li>
<a href="#">Submenu 4</a>
</li>
<li>
<a href="#">Submenu 5</a>
</li>
</ul>
</li>
<li>
<a href="#">Menu 4</a>
<ul>
<li>
<a href="#">Submenu 1</a>
</li>
<li>
<a href="#">Submenu 2</a>
</li>
<li>
<a href="#">Submenu 3</a>
</li>
<li>
<a href="#">Submenu 4</a>
</li>
<li>
<a href="#">Submenu 5</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>