-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1263 lines (1263 loc) · 51.7 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
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
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="src/img/favicon.png"/>
<link rel="shortcut icon" type="image/png" href="src/img/favicon.png"/>
<title>yacssfw</title>
<link rel="stylesheet" href="src/less/pages/index-template.css">
<link rel="stylesheet" href="src/less/main.css">
</head>
<body>
<header class="Header">
<div class="Header__Description">
<div class="Alert Alert--success">Class .Header with 100vh height</div>
</div>
<div class="Header__Logo">
<h1>YACSSFW</h1>
<p class="txt--italic txt--white">v.0.0</p>
<p>Yet Another CSS FrameWork</p>
<a class="Link Link--success"
href="https://github.com/siatwe/yacssfw" target="_blank">Download
from github</a>
</div>
</header>
<section class="Layout">
<h2 class="content">Simple flex grid layout</h2>
<div class="Capsule">
<p>.Flex > 3x .Col, this cols will always auto sizing without
screen width limitation</p>
<div class="Flex">
<div class="Col">.Col</div>
<div class="Col">.Col</div>
<div class="Col">.Col</div>
</div>
<p>.Flex .Flex--lg > 3x .Col, this cols will only displayed flex
if the screen is in large width (1200px or above). Beneath that
measurement they are displayed block with full width.</p>
<div class="Flex Flex--lg">
<div class="Col">.Col</div>
<div class="Col">.Col</div>
<div class="Col">.Col</div>
</div>
<p>Same with .Flex--md (990px -> 1100px)</p>
<div class="Flex Flex--md">
<div class="Col">.Col</div>
<div class="Col">.Col</div>
<div class="Col">.Col</div>
</div>
<p>Same with .Flex--sm (790px -> 989px)</p>
<div class="Flex Flex--sm">
<div class="Col">.Col</div>
<div class="Col">.Col</div>
<div class="Col">.Col</div>
</div>
<p>Same with .Flex--xs (<= 779px)</p>
<div class="Flex Flex--xs">
<div class="Col">.Col</div>
<div class="Col">.Col</div>
<div class="Col">.Col</div>
</div>
<p>Combined: .Flex--lg .Flex--md .Flex--sm</p>
<div class="Flex Flex--lg Flex--md Flex--sm">
<div class="Col">.Col</div>
<div class="Col">.Col</div>
<div class="Col">.Col</div>
</div>
<p>.Flex--lg .Flex--md with 1x .Col--big (double width) 1x
Col--small (half width)</p>
<div class="Flex Flex--lg Flex--md">
<div class="Col Col--big">.Col</div>
<div class="Col Col--small">.Col</div>
</div>
<p>.Flex--lg .Flex--md .Flex--sm with 2x .Col--big (double width) 3x
Col--small (half width)</p>
<div class="Flex Flex--sm Flex--md Flex--lg">
<div class="Col Col--big">.Col</div>
<div class="Col Col--big">.Col</div>
<div class="Col Col--small">.Col</div>
<div class="Col Col--small">.Col</div>
<div class="Col Col--small">.Col</div>
</div>
</div>
</section>
<section>
<div class="Capsule">
<h2 class="content">Typography</h2>
<h1>h1.YACSSFW Heading</h1>
<h2>h2.YACSSFW Heading</h2>
<h3>h3.YACSSFW Heading</h3>
<h4>h4.YACSSFW Heading</h4>
<h5>h5.YACSSFW Heading</h5>
<h6>h6.YACSSFW Heading</h6>
<br>
<br>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Praesent fringilla sollicitudin venenatis. Nunc eget elit
consequat, mattis ex lobortis, vestibulum mauris. Aenean
accumsan elementum leo. Nunc vestibulum, odio eu efficitur
porta, libero justo pellentesque risus, quis facilisis ipsum
urna vel risus. Duis laoreet feugiat scelerisque. Sed lacinia
quis nunc sit amet sagittis. In varius et lacus in pulvinar.
Pellentesque sed rhoncus arcu, non vestibulum libero. Aenean
quis orci nec sem malesuada elementum. Curabitur vehicula et
ligula vel aliquet. Nullam sodales a tellus in fermentum.
</p>
<p class="txt--bold">
Duis laoreet feugiat scelerisque. Sed lacinia
quis nunc sit amet sagittis. In varius et lacus in pulvinar.
Pellentesque sed rhoncus arcu, non vestibulum libero. Aenean
quis orci nec sem malesuada elementum. Curabitur vehicula et
ligula vel aliquet. Nullam sodales a tellus in fermentum.
</p>
<p>
Maecenas lectus libero, tincidunt at suscipit et, elementum in
mauris. Fusce aliquet odio tortor, non consectetur dolor porta
eu. Aenean pulvinar ante turpis, non volutpat risus euismod nec.
Cras vitae imperdiet lectus. Sed non urna id metus aliquet
porttitor. Suspendisse ut semper augue. In ut mollis nunc.
</p>
<p class="txt--bold">
Duis laoreet feugiat scelerisque. Sed lacinia
quis nunc sit amet sagittis. In varius et lacus in pulvinar.
Pellentesque sed rhoncus arcu, non vestibulum libero. Aenean
quis orci nec sem malesuada elementum. Curabitur vehicula et
ligula vel aliquet. Nullam sodales a tellus in fermentum.
</p>
<p>
Pellentesque venenatis venenatis ex, quis sagittis magna viverra
quis. Quisque at auctor mi. Class aptent taciti sociosqu ad
litora torquent per conubia nostra, per inceptos himenaeos.
Pellentesque efficitur augue quis quam laoreet suscipit. Aenean
tristique dui dignissim elit dictum convallis. Aliquam finibus
libero in luctus aliquam. Nullam congue ligula pulvinar,
vehicula sem nec, interdum mi. Integer efficitur risus vel porta
dapibus. Quisque molestie purus sit amet ante suscipit, a
pulvinar orci aliquet. Nunc ultrices placerat blandit. Phasellus
felis nunc, aliquam nec risus ut, venenatis facilisis tortor.
</p>
<p class="txt--bold">
Duis laoreet feugiat scelerisque. Sed lacinia
quis nunc sit amet sagittis. In varius et lacus in pulvinar.
Pellentesque sed rhoncus arcu, non vestibulum libero. Aenean
quis orci nec sem malesuada elementum. Curabitur vehicula et
ligula vel aliquet. Nullam sodales a tellus in fermentum.
</p>
<ul>
<li>Lorem ipsum</li>
<li>Dolor sit amet</li>
<li>Consectetur
<ul>
<li>Quis sagittis</li>
<li>Tortor facilisis</li>
<li>Nunc ultrices placerat blandit</li>
<li>Integer</li>
<li>Aliquam finibus
<ul>
<li>Class aptent taciti sociosqu</li>
<li>Pellentesque efficitur augue</li>
<li>Suspendisse ut semper augue</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</section>
<section>
<div class="Capsule">
<h2 class="content">Quotes</h2>
<table class="Table">
<tr>
<th>Class</th>
<th>Output</th>
</tr>
<tr>
<td>.Quote</td>
<td>
<div class="Quote">Lorem ipsum dolor sit amet</div>
</td>
</tr>
<tr>
<td>.Quote__Footer</td>
<td>
<div class="Quote__Footer">James Franklin</div>
</td>
</tr>
<tr>
<td>.Quote .Quote--info</td>
<td>
<div class="Quote Quote--info">Lorem ipsum dolor sit
amet
<div class="Quote__Footer">James Franklin</div>
</div>
</td>
</tr>
<tr>
<td>.Quote .Quote--success</td>
<td>
<div class="Quote Quote--success">Lorem ipsum dolor sit
amet
<div class="Quote__Footer">James Franklin</div>
</div>
</td>
</tr>
<tr>
<td>.Quote .Quote--warning</td>
<td>
<div class="Quote Quote--warning">Lorem ipsum dolor sit
amet
<div class="Quote__Footer">James Franklin</div>
</div>
</td>
</tr>
<tr>
<td>.Quote .Quote--error</td>
<td>
<div class="Quote Quote--error">Lorem ipsum dolor sit
amet
<div class="Quote__Footer">James Franklin</div>
</div>
</td>
</tr>
</table>
<div class="Quote">
Nulla vel risus eu metus gravida molestie nec sed ante. Praesent
scelerisque dapibus ante eget varius.
Suspendisse maximus, felis id viverra varius, quam mi porttitor
lacus, quis vestibulum nisl libero ut metus.
<span class="Quote__Footer">Julius Caesar</span>
</div>
<div class="Quote Quote--info">
Nulla vel risus eu metus gravida molestie nec sed ante. Praesent
scelerisque dapibus ante eget varius.
Suspendisse maximus, felis id viverra varius, quam mi porttitor
lacus, quis vestibulum nisl libero ut metus.
<span class="Quote__Footer">Julius Caesar</span>
</div>
<div class="Quote Quote--success">
Nulla vel risus eu metus gravida molestie nec sed ante. Praesent
scelerisque dapibus ante eget varius.
Suspendisse maximus, felis id viverra varius, quam mi porttitor
lacus, quis vestibulum nisl libero ut metus.
<span class="Quote__Footer">Julius Caesar</span>
</div>
<div class="Quote Quote--warning">
Nulla vel risus eu metus gravida molestie nec sed ante. Praesent
scelerisque dapibus ante eget varius.
Suspendisse maximus, felis id viverra varius, quam mi porttitor
lacus, quis vestibulum nisl libero ut metus.
<span class="Quote__Footer">Julius Caesar</span>
</div>
<div class="Quote Quote--error">
Nulla vel risus eu metus gravida molestie nec sed ante. Praesent
scelerisque dapibus ante eget varius.
Suspendisse maximus, felis id viverra varius, quam mi porttitor
lacus, quis vestibulum nisl libero ut metus.
<span class="Quote__Footer">Julius Caesar</span>
</div>
<h3>Quotes inside flex grid.</h3>
<div class="Flex">
<div class="Col Col--big">
<div class="Quote Quote--error">
Nulla vel risus eu metus gravida molestie nec sed ante.
Praesent
scelerisque dapibus ante eget varius.
Suspendisse maximus, felis id viverra varius, quam mi
porttitor
lacus, quis vestibulum nisl libero ut metus.
<span class="Quote__Footer">Julius Caesar</span>
</div>
</div>
<div class="Col">
<div class="Quote Quote--error">
Nulla vel risus eu metus gravida molestie nec sed ante.
Praesent
scelerisque dapibus ante eget varius.
Suspendisse maximus, felis id viverra varius, quam mi
porttitor
lacus, quis vestibulum nisl libero ut metus.
<span class="Quote__Footer">Julius Caesar</span>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="Capsule">
<h2 class="content">Links</h2>
<table class="Table">
<tr>
<th>Class</th>
<th>Output</th>
</tr>
<tr>
<td>.Link</td>
<td><a href="" class="Link">Normal link</a></td>
</tr>
<tr>
<td>.Link .Link--info</td>
<td><a href="" class="Link Link--info">Info link</a></td>
</tr>
<tr>
<td>.Link .Link--success</td>
<td><a href="" class="Link Link--success">Success link</a>
</td>
</tr>
<tr>
<td>.Link .Link--warning</td>
<td><a href="" class="Link Link--warning">Warning link</a>
</td>
</tr>
<tr>
<td>.Link .Link--error</td>
<td><a href="" class="Link Link--error">Error link</a></td>
</tr>
</table>
<p>Lorem ipsum dolor sit amet, <a class="Link"
href="">consectetur</a>
adipiscing elit. <a
class="Link Link--info"
href="">Praesent lacus
risus</a>,
scelerisque ut
lorem a, tincidunt
cursus est. Nam sagittis maximus rhoncus. Maecenas non sapien et
lorem blandit eleifend eget ut sem. Nulla
sit
amet congue mauris. Vivamus non ante <a
class="Link Link--success"
href="">elementum</a>,
convallis eros
eget,
volutpat
lorem.
Phasellus vel <a class="Link Link--warning" href="">arcu</a> nec
turpis pellentesque condimentum. Duis scelerisque <a
class="Link Link--error" href="">erat</a> non nisl
maximus
faucibus.</p>
<p>Lorem ipsum dolor sit amet, <a class="Link"
href="">consectetur</a>
adipiscing elit. <a
class="Link Link--info"
href="">Praesent lacus
risus</a>,
scelerisque ut
lorem a, tincidunt
cursus est. Nam sagittis maximus rhoncus. Maecenas non sapien et
lorem blandit eleifend eget ut sem. Nulla
sit
amet congue mauris. Vivamus non ante <a
class="Link Link--success"
href="">elementum</a>,
convallis eros
eget,
volutpat
lorem.
Phasellus vel <a class="Link Link--warning" href="">arcu</a> nec
turpis pellentesque condimentum. Duis scelerisque <a
class="Link Link--error" href="">erat</a> non nisl
maximus
faucibus.</p>
<p>Lorem ipsum dolor sit amet, <a class="Link"
href="">consectetur</a>
adipiscing elit. <a
class="Link Link--info"
href="">Praesent lacus
risus</a>,
scelerisque ut
lorem a, tincidunt
cursus est. Nam sagittis maximus rhoncus. Maecenas non sapien et
lorem blandit eleifend eget ut sem. Nulla
sit
amet congue mauris. Vivamus non ante <a
class="Link Link--success"
href="">elementum</a>,
convallis eros
eget,
volutpat
lorem.
Phasellus vel <a class="Link Link--warning" href="">arcu</a> nec
turpis pellentesque condimentum. Duis scelerisque <a
class="Link Link--error" href="">erat</a> non nisl
maximus
faucibus.</p>
<p>Lorem ipsum dolor sit amet, <a class="Link"
href="">consectetur</a>
adipiscing elit. <a
class="Link Link--info"
href="">Praesent lacus
risus</a>,
scelerisque ut
lorem a, tincidunt
cursus est. Nam sagittis maximus rhoncus. Maecenas non sapien et
lorem blandit eleifend eget ut sem. Nulla
sit
amet congue mauris. Vivamus non ante <a
class="Link Link--success"
href="">elementum</a>,
convallis eros
eget,
volutpat
lorem.
Phasellus vel <a class="Link Link--warning" href="">arcu</a> nec
turpis pellentesque condimentum. Duis scelerisque <a
class="Link Link--error" href="">erat</a> non nisl
maximus
faucibus.</p>
<p>Lorem ipsum dolor sit amet, <a class="Link"
href="">consectetur</a>
adipiscing elit. <a
class="Link Link--info"
href="">Praesent lacus
risus</a>,
scelerisque ut
lorem a, tincidunt
cursus est. Nam sagittis maximus rhoncus. Maecenas non sapien et
lorem blandit eleifend eget ut sem. Nulla
sit
amet congue mauris. Vivamus non ante <a
class="Link Link--success"
href="">elementum</a>,
convallis eros
eget,
volutpat
lorem.
Phasellus vel <a class="Link Link--warning" href="">arcu</a> nec
turpis pellentesque condimentum. Duis scelerisque <a
class="Link Link--error" href="">erat</a> non nisl
maximus
faucibus.</p>
<p>Lorem ipsum dolor sit amet, <a class="Link"
href="">consectetur</a>
adipiscing elit. <a
class="Link Link--info"
href="">Praesent lacus
risus</a>,
scelerisque ut
lorem a, tincidunt
cursus est. Nam sagittis maximus rhoncus. Maecenas non sapien et
lorem blandit eleifend eget ut sem. Nulla
sit
amet congue mauris. Vivamus non ante <a
class="Link Link--success"
href="">elementum</a>,
convallis eros
eget,
volutpat
lorem.
Phasellus vel <a class="Link Link--warning" href="">arcu</a> nec
turpis pellentesque condimentum. Duis scelerisque <a
class="Link Link--error" href="">erat</a> non nisl
maximus
faucibus.</p>
<p>Lorem ipsum dolor sit amet, <a class="Link"
href="">consectetur</a>
adipiscing elit. <a
class="Link Link--info"
href="">Praesent lacus
risus</a>,
scelerisque ut
lorem a, tincidunt
cursus est. Nam sagittis maximus rhoncus. Maecenas non sapien et
lorem blandit eleifend eget ut sem. Nulla
sit
amet congue mauris. Vivamus non ante <a
class="Link Link--success"
href="">elementum</a>,
convallis eros
eget,
volutpat
lorem.
Phasellus vel <a class="Link Link--warning" href="">arcu</a> nec
turpis pellentesque condimentum. Duis scelerisque <a
class="Link Link--error" href="">erat</a> non nisl
maximus
faucibus.</p>
<p>Lorem ipsum dolor sit amet, <a class="Link"
href="">consectetur</a>
adipiscing elit. <a
class="Link Link--info"
href="">Praesent lacus
risus</a>,
scelerisque ut
lorem a, tincidunt
cursus est. Nam sagittis maximus rhoncus. Maecenas non sapien et
lorem blandit eleifend eget ut sem. Nulla
sit
amet congue mauris. Vivamus non ante <a
class="Link Link--success"
href="">elementum</a>,
convallis eros
eget,
volutpat
lorem.
Phasellus vel <a class="Link Link--warning" href="">arcu</a> nec
turpis pellentesque condimentum. Duis scelerisque <a
class="Link Link--error" href="">erat</a> non nisl
maximus
faucibus.</p>
</div>
</section>
<section>
<div class="Capsule">
<h2 class="content">Alerts</h2>
<table class="Table">
<tr>
<th>Class</th>
<th>Output</th>
</tr>
<tr>
<td>.Alert .Alert--light</td>
<td>
<div class="Alert Alert--light">Light alert</div>
</td>
</tr>
<tr>
<td>.Alert .Alert--info</td>
<td>
<div class="Alert Alert--info">Info alert</div>
</td>
</tr>
<tr>
<td>.Alert .Alert--success</td>
<td>
<div class="Alert Alert--success">Success alert</div>
</td>
</tr>
<tr>
<td>.Alert .Alert--warning</td>
<td>
<div class="Alert Alert--warning">Warning alert</div>
</td>
</tr>
<tr>
<td>.Alert .Alert--error</td>
<td>
<div class="Alert Alert--error">Error alert</div>
</td>
</tr>
</table>
<div class="Alert">Light alert</div>
<div class="Alert Alert--info">Info alert</div>
<div class="Alert Alert--success">Success alert</div>
<div class="Alert Alert--warning">Warning alert</div>
<div class="Alert Alert--error">Error alert</div>
</div>
</section>
<section>
<div class="Capsule">
<h2 class="content">Buttons</h2>
<table class="Table">
<tr>
<th>Class</th>
<th>Output</th>
<th>Disabled</th>
</tr>
<tr>
<td>.Button</td>
<td>
<button class="Button">Button</button>
</td>
<td>
<button class="Button Button" disabled>Button</button>
</td>
</tr>
<tr>
<td>.Button .Button--info</td>
<td>
<button class="Button Button--info">Info button</button>
</td>
<td>
<button class="Button Button--info" disabled>Info button
</button>
</td>
</tr>
<tr>
<td>.Button .Button--success</td>
<td>
<button class="Button Button--success">Success button
</button>
</td>
<td>
<button class="Button Button--success" disabled>Success
button
</button>
</td>
</tr>
<tr>
<td>.Button .Button--warning</td>
<td>
<button class="Button Button--warning">Warning button
</button>
</td>
<td>
<button class="Button Button--warning" disabled>Warning
button
</button>
</td>
</tr>
<tr>
<td>.Button .Button--error</td>
<td>
<button class="Button Button--error">Error button
</button>
</td>
<td>
<button class="Button Button--error" disabled>Error
button
</button>
</td>
</tr>
</table>
<h3>Buttons inside a .Grid</h3>
<div class="Flex Flex--lg Flex--md">
<div class="Col">
<button class="Button">Button</button>
</div>
<div class="Col">
<button class="Button Button--info">Info button</button>
</div>
<div class="Col">
<button class="Button Button--success">Success button
</button>
</div>
<div class="Col">
<button class="Button Button--warning">Warning button
</button>
</div>
<div class="Col">
<button class="Button Button--error">Error button</button>
</div>
</div>
<h3>Buttons with .width--100 helper</h3>
<button class="Button width--100">Button</button>
<button class="Button Button--info width--100">Info button</button>
<button class="Button Button--success width--100">Success button
</button>
<button class="Button Button--warning width--100">Warning button
</button>
<button class="Button Button--error width--100">Error button
</button>
</div>
</section>
<section>
<div class="Capsule">
<h2 class="content">Keys</h2>
<table class="Table">
<tr>
<th>Class</th>
<th>Output</th>
</tr>
<tr>
<td>.Key</td>
<td>
<span class="Key">A</span>
<span class="Key">B</span>
<span class="Key">C</span>
</td>
</tr>
<tr>
<td>.Key__Secondary in .Key</td>
<td>
<span class="Key">A<span
class="Key__Secondary">a</span></span>
<span class="Key">B<span
class="Key__Secondary">b</span></span>
<span class="Key">C<span
class="Key__Secondary">c</span></span>
</td>
</tr>
<tr>
<td>.Key__Teritary in .Key</td>
<td>
<span class="Key">A<span
class="Key__Tertiary">a</span></span>
<span class="Key">B<span
class="Key__Tertiary">b</span></span>
<span class="Key">C<span
class="Key__Tertiary">c</span></span>
</td>
</tr>
<tr>
<td>.Key__Secondary + .Key__Teritary in .Key</td>
<td>
<span class="Key">A<span
class="Key__Secondary">+</span><span
class="Key__Tertiary">a</span></span>
<span class="Key">B<span
class="Key__Secondary">+</span><span
class="Key__Tertiary">b</span></span>
<span class="Key">C<span
class="Key__Secondary">+</span><span
class="Key__Tertiary">c</span></span>
</td>
</tr>
<tr>
<td>.Key .Key--active</td>
<td>
<span class="Key Key--active">A<span class="Key__Secondary">+</span><span
class="Key__Tertiary">a</span></span>
<span class="Key Key--active">B<span
class="Key__Secondary">+</span><span
class="Key__Tertiary">b</span></span>
<span class="Key Key--active">C<span
class="Key__Secondary">+</span><span
class="Key__Tertiary">c</span></span>
</td>
</tr>
<tr>
<td>.Key .Key--info</td>
<td>
<span class="Key Key--info">A<span
class="Key__Secondary">a</span></span>
<span class="Key Key--info">B<span
class="Key__Secondary">b</span></span>
<span class="Key Key--info">C<span
class="Key__Secondary">c</span></span>
</td>
</tr>
<tr>
<td>.Key .Key--success</td>
<td>
<span class="Key Key--success">A<span
class="Key__Secondary">a</span></span>
<span class="Key Key--success">B<span
class="Key__Secondary">b</span></span>
<span class="Key Key--success">C<span
class="Key__Secondary">c</span></span>
</td>
</tr>
<tr>
<td>.Key .Key--warning</td>
<td>
<span class="Key Key--warning">A<span
class="Key__Secondary">a</span></span>
<span class="Key Key--warning">B<span
class="Key__Secondary">b</span></span>
<span class="Key Key--warning">C<span
class="Key__Secondary">c</span></span>
</td>
</tr>
<tr>
<td>.Key .Key--error</td>
<td>
<span class="Key Key--error">A<span
class="Key__Secondary">a</span></span>
<span class="Key Key--error">B<span
class="Key__Secondary">b</span></span>
<span class="Key Key--error">C<span
class="Key__Secondary">c</span></span>
</td>
</tr>
</table>
<h3>Without active keys</h3>
<div class="keyboard">
<span class="Key">q</span>
<span class="Key">w</span>
<span class="Key">e</span>
<span class="Key">r</span>
<span class="Key">t</span>
<span class="Key">z</span>
<span class="Key">u</span>
<span class="Key">i</span>
<span class="Key">o</span>
<span class="Key">p</span>
<span class="Key">ü</span>
<span class="Key">+<span class="Key__Secondary">*</span><span
class="Key__Tertiary">~</span></span>
<br>
<span class="Key">a</span>
<span class="Key">s</span>
<span class="Key">d</span>
<span class="Key Key--grip">f</span>
<span class="Key">g</span>
<span class="Key">h</span>
<span class="Key Key--grip">j</span>
<span class="Key">k</span>
<span class="Key">l</span>
<span class="Key">ö</span>
<span class="Key">ä</span>
<span class="Key">#<span class="Key__Secondary">'</span></span>
<br>
<span class="Key"><<span class="Key__Secondary">></span><span
class="Key__Tertiary">|</span></span>
<span class="Key">y</span>
<span class="Key">x</span>
<span class="Key">c</span>
<span class="Key">v</span>
<span class="Key">b</span>
<span class="Key">n</span>
<span class="Key">m</span>
<span class="Key">,<span class="Key__Secondary">;</span></span>
<span class="Key">.<span class="Key__Secondary">:</span></span>
<span class="Key">-</span>
<span class="Key">shift</span>
<br>
</div>
<div class="keyboard">
<h3>With active keys</h3>
<span class="Key">q</span>
<span class="Key">w</span>
<span class="Key">e</span>
<span class="Key">r</span>
<span class="Key">t</span>
<span class="Key">z</span>
<span class="Key">u</span>
<span class="Key">i</span>
<span class="Key">o</span>
<span class="Key">p</span>
<span class="Key">ü</span>
<span class="Key">+<span class="Key__Secondary">*</span><span
class="Key__Tertiary">~</span></span>
<br>
<span class="Key">a</span>
<span class="Key">s</span>
<span class="Key">d</span>
<span class="Key Key--grip">f</span>
<span class="Key">g</span>
<span class="Key">h</span>
<span class="Key Key--grip">j</span>
<span class="Key Key--active">k</span>
<span class="Key">l</span>
<span class="Key">ö</span>
<span class="Key">ä</span>
<span class="Key">#<span class="Key__Secondary">'</span></span>
<br>
<span class="Key"><<span class="Key__Secondary">></span><span
class="Key__Tertiary">|</span></span>
<span class="Key">y</span>
<span class="Key">x</span>
<span class="Key">c</span>
<span class="Key">v</span>
<span class="Key">b</span>
<span class="Key">n</span>
<span class="Key">m</span>
<span class="Key">,<span class="Key__Secondary">;</span></span>
<span class="Key">.<span class="Key__Secondary">:</span></span>
<span class="Key">-</span>
<span class="Key Key--active">shift</span>
<br>
</div>
<div class="keyboard">
<h3>Keys with colors</h3>
<span class="Key">q</span>
<span class="Key">w</span>
<span class="Key Key--success">e</span>
<span class="Key">r</span>
<span class="Key">t</span>
<span class="Key">z</span>
<span class="Key Key--error">u</span>
<span class="Key">i</span>
<span class="Key">o</span>
<span class="Key">p</span>
<span class="Key">ü</span>
<span class="Key">+<span class="Key__Secondary">*</span><span
class="Key__Tertiary">~</span></span>
<br>
<span class="Key">a</span>
<span class="Key">s</span>
<span class="Key">d</span>
<span class="Key Key--grip">f</span>
<span class="Key">g</span>
<span class="Key">h</span>
<span class="Key Key--grip">j</span>
<span class="Key">k</span>
<span class="Key">l</span>
<span class="Key">ö</span>
<span class="Key">ä</span>
<span class="Key">#<span class="Key__Secondary">'</span></span>
<br>
<span class="Key"><<span class="Key__Secondary">></span><span
class="Key__Tertiary">|</span></span>
<span class="Key Key--info">y</span>
<span class="Key">x</span>
<span class="Key">c</span>
<span class="Key">v</span>
<span class="Key">b</span>
<span class="Key Key--warning">n</span>
<span class="Key">m</span>
<span class="Key">,<span class="Key__Secondary">;</span></span>
<span class="Key">.<span class="Key__Secondary">:</span></span>
<span class="Key">-</span>
<span class="Key">shift</span>
<br>
</div>
</div>
</section>
<section>
<h2 class="content">Forms</h2>
<div class="Capsule">
<form>
<div class="Flex Flex--lg">
<div class="Col">
<input type="text" name="firstname"
value="First Name">
</div>
<div class="Col">
<input type="text" name="firstname"
value="Last Name">
</div>
</div>
<div class="Flex Flex--lg">
<div class="Col">
<input type="text" name="firstname"
value="Street">
</div>
<div class="Col">
<input type="text" name="firstname"
value="City">
</div>
</div>
<div class="Flex">
<div class="Col">
<textarea name="message"></textarea>
</div>
</div>
<div class="Flex">
<div class="Col">
<input type="radio" name="gender" value="male" checked>
Male
</div>
<div class="Col">
<input type="radio" name="gender" value="female"> Female
</div>
<div class="Col">
<input type="radio" name="gender" value="other"> Other
</div>
</div>
<div class="Flex">
<div class="Col">
<input type="checkbox" name="vehicle1"
value="Bike">Yes, I want to receive 100 spam
mails - per day! Awwwwww yeah!
</div>
</div>
<input type="submit" value="Contact us"
class="Button Button--success width--100">
</form>
</div>
</section>
<section>
<h2 class="content">Dropdowns</h2>
<div class="Capsule">
<div class="Flex Flex--lg Flex--md">
<div class="Col">
<div class="Dropdown width--100">
<button class="Button width--100">Dropdown</button>
<ul class="Dropdown__Content">
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
</ul>
</div>
</div>
<div class="Col">
<div class="Dropdown Dropdown--info width--100">
<button class="Button width--100">Dropup</button>
<ul class="Dropdown__Content">
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
</ul>
</div>
</div>
<div class="Col">
<div class="Dropdown Dropdown--success width--100">
<button class="Button width--100">Dropup</button>
<ul class="Dropdown__Content">
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
</ul>
</div>
</div>
<div class="Col">
<div class="Dropdown Dropdown--warning width--100">
<button class="Button width--100">Dropup</button>
<ul class="Dropdown__Content">
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
<li><a href="">Secondary</a></li>
</ul>
</div>
</div>
<div class="Col">
<div class="Dropdown Dropdown--error width--100">
<button class="Button width--100">Dropup</button>