-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
1511 lines (1477 loc) · 79.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
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>
<title>Sierra: The smallest and lightest SCSS library</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="ico.ico">
<!-- Sierra library CSS stylesheets -->
<link rel="stylesheet" type="text/css" media="all" href="css/styles.min.css">
<link rel="stylesheet" type="text/css" media="all" href="css/prism.css">
<!-- DEMO Font -->
<link rel="stylesheet" href='https://fonts.googleapis.com/css?family=Lato:400,700,300' type='text/css'>
</head>
<body>
<main>
<header class="header js-header">
<div class="header-inner container">
<a href="#" class="header-logo text-dark">
<img class="header-logoImage" src="img/sierra.svg" alt="Sierra logo" width="40"/>
<span class="hide-small">Sierra</span>
</a>
<ul class="header-nav">
<li class="header-navItem"><a class="text-dark" href="#install">Get started</a></li>
<li class="header-navItem"><a class="text-dark" href="#components">Components</a></li>
<li class="header-navItem"><a class="text-dark" href="#utilities">Utilities</a></li>
<li class="header-navItem"><a class="text-dark" href="#download">Download</a></li>
<li class="header-navItem header-github"><a href="https://github.com/sierra-library/sierra/"><img src="img/gh.svg" class="header-githubImage" alt="Github" width="30"/></a></li>
</ul>
</div>
</header>
<div class="container">
<section class="mb-big">
<div class="text-center">
<img class="main-logo mb-medium" src="img/sierra.svg" alt="Sierra logo" />
<div>
<h1 class="text-huge text-withSubtitle">Sierra SCSS Library</h1>
<h2 class="text-big text-gray">The smallest and lightest SCSS library</h2>
<p id="js-header-waypoint" class="m-none">
<a class="button button--primary button--mobileFull" href="#install">Get started</a> or <a class="button button--outlined button--mobileFull" href="https://github.com/sierra-library/sierra/archive/master.zip">Download</a>
</p>
</div>
</div>
</section>
</div>
<!-- Full size -->
<div class="bg-dark">
<div class="container">
<div class="row text-center">
<div class="col-12 col-sm-4">
<div class="section">
<img width="118" src="img/lightweight.png" alt="Lightweight" /> <br>
<h2 class="text-withSubtitle text-big text-white">Lightweight <br>
<span class="text-medium text-gray">37 kB (8.9 kB gzipped).</span></h2>
</div>
</div>
<div class="col-12 col-sm-4">
<div class="section">
<img width="118" src="img/customizable.png" alt="Customizable" /> <br>
<h2 class="text-withSubtitle text-big text-white">Customizable<br>
<span class="text-medium text-gray">Fonts, colors, sizes...</span>
</h2>
</div>
</div>
<div class="col-12 col-sm-4">
<div class="section">
<h2 class="text-withSubtitle text-big text-white">
<img width="118" src="img/opensource.png" alt="Open Source" /> <br>
Open Source <br>
<span class="text-medium text-gray">To nerds, by nerds.</span>
</h2>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<a class="anchor" name="install"></a>
<!-- <div class="row">
<div class="col-sm-12 col-md-3">
<div id="js-sidebar" class="sidebar pb-big section">
<div class="">
<h3 class="text-medium text-gray">Get tarted</h3>
<ul class="mb-big">
<li><a href="#badges">Quick install</a></li>
<li><a href="#">Download</a></li>
<li><a href="#">Theme customization</a></li>
</ul>
<h3 class="text-medium text-gray">Components</h3>
<ul class="mb-big">
<li><a href="#badges">Badges</a></li>
<li><a href="#">Buttons</a></li>
<li><a href="#">Forms</a></li>
<li><a href="#">Forms collapsed</a></li>
<li><a href="#">Loaders</a></li>
<li><a href="#">Notifications</a></li>
<li><a href="#">Pagination</a></li>
<li><a href="#">Tables</a></li>
<li><a href="#">Tabs</a></li>
<li><a href="#">Tags</a></li>
</ul>
<h3 class="text-medium text-gray">Utilities</h3>
<ul>
<li><a href="#">Aligners</a></li>
<li><a href="#">Borders</a></li>
<li><a href="#">Colors</a></li>
<li><a href="#">Containers</a></li>
<li><a href="#">Full width box</a></li>
<li><a href="#">Opacity</a></li>
<li><a href="#">Typography</a></li>
</ul>
</div>
</div>
</div>
<div class="col-sm-12 col-md-9"> -->
<!-- Install -->
<div class="section">
<h2 class="text-huge">Quick install</h2>
<h3 class="text-medium">1.- Get the files via NPM</h3>
<pre><code class="language-js">npm install sierra-library --save-dev</code></pre>
<h3 class="text-medium">2.- Import the library from your SCSS files</h3>
<pre><code class="language-js">@import 'sierra-library/lib/index';</code></pre>
<h3 class="text-medium">3.- Ready to compile!</h3>
<p>Need help about that? take a look at our <a href="https://sierra-library.github.io/examples/example1/index.html">example page</a> and <a href="https://github.com/sierra-library/sierra-library.github.io/tree/master/examples/example1">its code</a>. </p>
<a class="anchor" name="download"></a>
</div>
<!-- Download -->
<div class="section">
<h2 class="text-huge">Download</h2>
<p>Download ready-to-use <a href="http://sierra-library.github.io/css/styles.css">compiled CSS</a> or <a href="http://sierra-library.github.io/css/styles.min.css">minified CSS</a> files, and include it in your HTML file:
</p>
<pre><code class="language-js"><link rel="stylesheet" type="text/css" media="all" href="css/styles.min.css"></code></pre>
<p class="mb-none">Otherwise you can compile Sierra Library with your own tools by downloading our <a href="https://github.com/sierra-library/sierra/archive/master.zip">source SCSS</a> files.</p>
</div>
<!-- Customization -->
<div class="section">
<h2 class="text-huge">Theme customization</h3>
<p>If you want to customize Sierra library's theme settings, including fonts, margins, paddings and/or colors, create your own custom-settings file and add it just before importing Sierra files:</p>
<pre><code class="language-js">@import 'custom-settings';
@import 'sierra-library/lib/index';</code></pre>
<p>This <a href="https://github.com/sierra-library/sierra-library.github.io/blob/master/examples/example1/scss/custom-settings.scss">custom-settings.scss</a> file should contain all those SCSS variables you want to overwrite. Check all settings you can customize in the <a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss">settings library file</a>.</p>
<p>However, we recommend to duplicate all variables in order to make sure your styles are not being compromised in eventual library updates.</p>
<p><strong>Having troubles?</strong> take a look at this theme customization examples:</p>
<div class="examples">
<div class="mb-big example1">
<a href="https://sierra-library.github.io/examples/example1/index.html">
<img src="img/example1.jpg" alt="example1" width="200"> <br>
</a>
<a href="https://sierra-library.github.io/examples/example1/index.html">View page
</a>
<span class="text-gray">or</span>
<a href="https://github.com/sierra-library/sierra-library.github.io/tree/master/examples/example1">view code</a>
</div>
<div class="mb-big example2">
<a href="https://sierra-library.github.io/examples/example2/index.html">
<img src="img/example2.jpg" alt="example2" width="200"> <br>
</a>
<a href="https://sierra-library.github.io/examples/example2/index.html">
View page
</a>
<span class="text-gray">or</span>
<a href="https://github.com/sierra-library/sierra-library.github.io/tree/master/examples/example2">view code</a>
</div>
</div>
<a class="anchor" name="components"></a>
</div>
<!-- Components -->
<div class="">
<section>
<!-- Badges -->
<section class="">
<h2 id="onents" class="text-huge">Components</h3>
<h2 class="text-big">Badges</h2>
<h3 class="text-medium text-gray">Colors</h3>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom">
<ul>
<li class="badge">
default
</li>
<li class="badge badge--primary">
primary
</li>
<li class="badge badge--secondary">
secondary
</li>
<li class="badge badge--dark">
dark
</li>
<li class="badge badge--success">
success
</li>
<li class="badge badge--warning">
warning
</li>
<li class="badge badge--error">
error
</li>
</ul>
</div>
<div class="">
<pre><code class="language-markup"><ul>
<li class="badge">default</li>
<li class="badge badge--primary">primary</li>
<li class="badge badge--secondary">secondary</li>
<li class="badge badge--dark">dark</li>
<li class="badge badge--success">success</li>
<li class="badge badge--warning">warning</li>
<li class="badge badge--error">error</li>
</ul></code></pre>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L155">Badges color settings</a></p>
<h3 class="text-medium text-gray">Sizes</h3>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom">
<ul class="">
<li class="badge badge--small">
small badge
</li>
<li class="badge">
default badge
</li>
<li class="badge badge--big">
big badge
</li>
</ul>
</div>
<div class="">
<pre><code class="language-markup"><ul>
<li class="badge badge--small">small badge</li>
<li class="badge">default badge</li>
<li class="badge badge--big">big badge</li>
</ul></code></pre>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L146">Badges settings</a></p>
</section>
<!-- Buttons -->
<section class="section">
<h2 class="text-big">Buttons</h2>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom text-center">
<button class="button button--primary m-none">Button</button>
</div>
<div class="">
<pre><code class="language-markup"><button class="button button--primary">Button</button></code></pre>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L165">Buttons settings</a></p>
<!-- Button colors -->
<h2 class="text-medium text-gray">Button colors</h2>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<button class="button button--small button--primary">primary</button>
<button class="button button--small button--secondary">secondary</button>
<button class="button button--small button--green">green</button>
<button class="button button--small button--red">red</button>
<button class="button button--small button--outlined">outlined</button>
<button class="button button--small button--transparent">transparent</button>
</div>
<div class="">
<pre><code class="language-markup"><button class="button button--small button--primary">primary</button>
<button class="button button--small button--secondary">secondary</button>
<button class="button button--small button--green">green</button>
<button class="button button--small button--red">red</button>
<button class="button button--small button--outlined">outlined</button>
<button class="button button--small button--transparent">transparent</button></code></pre>
</div>
</div>
<!-- Button Mobile full -->
<h2 class="text-medium text-gray">Mobile full size</h2>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom text-center">
<button class="button button--primary button--mobileFull m-none">primary</button>
</div>
<div class="">
<pre><code class="language-markup"><button class="button button--primary button--mobileFull">Button</button></code></pre>
</div>
</div>
<!-- Button sizes -->
<h2 class="text-medium text-gray">Button sizes</h2>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<button class="button button--big">Button big</button>
<button class="button button--medium">Button default</button>
<button class="button button--small">Button small</button>
</div>
<div class="">
<pre><code class="language-markup"><button class="button button--big">Button big</button>
<button class="button">Button default</button>
<button class="button button--small">Button small</button></code></pre>
</div>
</div>
</section>
<!-- Forms -->
<section class="section">
<h2 class="text-big">Forms</h2>
<h3 class="text-medium text-gray">Input</h3>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom">
<label class="label" for="test10">Input</label>
<div class="input input-fullWidth">
<input id="test10" placeholder="Input" type="text" />
</div>
</div>
<div class="">
<pre><code class="language-markup"><label class="label" for="test10">Input</label>
<div class="input input-fullWidth">
<input id="test10" placeholder="Input" type="text" />
</div></pre></code>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L187">Forms settings</a></p>
<h3 class="text-medium text-gray">Inputs with icon</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<label class="label" for="test10">Input</label>
<div class="input input-withIcon input-fullWidth">
<input id="test1" placeholder="Your name" type="text" />
<svg class="input-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><path d="M257,474.1c-62.5,0-125,0-187.5,0c-17.9,0-29.6-11.2-29.9-29c-0.2-12.7-0.3-25.3,0.2-38c0.6-15,7.9-26.5,20.9-33.6 c42.7-23.3,85.6-46.1,128.3-69.3c3.1-1.7,5-0.1,7.3,1.1c36.5,19.1,73.7,20.7,111.7,4.8c1.1-0.4,2.3-0.7,3.2-1.5 c7.9-6.7,15-4,23.2,0.5c38.3,21.1,76.9,41.8,115.5,62.4c16.7,8.9,24.9,22.3,24.6,41.2c-0.2,10.7,0,21.3,0,32 c-0.1,17.7-11.9,29.4-29.5,29.4C382.3,474.1,319.6,474.1,257,474.1z"/><path d="M253.9,295.2c-35.2-1.2-64.4-18.6-85.9-49.5C132.8,195,137,123,177.3,76.8c43.8-50.1,116.4-49.8,159.8,0.6 c46.1,53.6,43.2,138.2-6.7,186.8C310,284.1,285.6,294.8,253.9,295.2z"/></g></svg>
</div>
</div>
<div class="">
<pre><code class="language-markup"><label class="label" for="test10">Input</label>
<div class="input input-withIcon input-fullWidth">
<input id="test1" placeholder="Your name" type="text" />
<svg class="input-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><g><path d="M257,474.1c-62.5,0-125,0-187.5,0c-17.9,0-29.6-11.2-29.9-29c-0.2-12.7-0.3-25.3,0.2-38c0.6-15,7.9-26.5,20.9-33.6 c42.7-23.3,85.6-46.1,128.3-69.3c3.1-1.7,5-0.1,7.3,1.1c36.5,19.1,73.7,20.7,111.7,4.8c1.1-0.4,2.3-0.7,3.2-1.5 c7.9-6.7,15-4,23.2,0.5c38.3,21.1,76.9,41.8,115.5,62.4c16.7,8.9,24.9,22.3,24.6,41.2c-0.2,10.7,0,21.3,0,32 c-0.1,17.7-11.9,29.4-29.5,29.4C382.3,474.1,319.6,474.1,257,474.1z"/><path d="M253.9,295.2c-35.2-1.2-64.4-18.6-85.9-49.5C132.8,195,137,123,177.3,76.8c43.8-50.1,116.4-49.8,159.8,0.6 c46.1,53.6,43.2,138.2-6.7,186.8C310,284.1,285.6,294.8,253.9,295.2z"/></g></svg>
</div></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Input with error</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<label class="label" for="test10">Input</label>
<div class="input input-fullWidth has-error">
<input id="test10" placeholder="Input" type="text" />
</div>
<p class="text-error text-small">Error message</p>
</div>
<div class="">
<pre><code class="language-markup"><label class="label" for="test10">Input</label>
<div class="input input-fullWidth">
<input id="test10" placeholder="Input" type="text" />
</div>
<p class="text-error text-small">Error message</p></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Select</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<label class="label" for="country-code">Select</label>
<div class="select select-fullWidth">
<select name="country-code" id="country-code">
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
</select>
</div>
</div>
<div class="">
<pre><code class="language-markup"><label class="label" for="country-code">Select</label>
<div class="select select-fullWidth">
<select>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
</select>
</div></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Select with error</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<label class="label" for="country-code">Select</label>
<div class="select select-fullWidth has-error">
<select name="country-code" id="country-code">
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
</select>
</div>
<p class="text-error text-small">Error message</p>
</div>
<div class="">
<pre><code class="language-markup"><label class="label" for="country-code">Select</label>
<div class="select select-fullWidth has-error">
<select>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
</select>
</div>
<p class="text-error text-small">Error message</p></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Textarea</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<label class="label" for="message">Textarea</label>
<div class="textarea textarea-fullWidth">
<textarea id="message"></textarea>
</div>
</div>
<div class="">
<pre><code class="language-markup"><label class="label" for="message">Textarea</label>
<div class="textarea textarea-fullWidth">
<textarea id="message"></textarea>
</div></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Textarea with error</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<label class="label" for="message">Textarea</label>
<div class="textarea textarea-fullWidth has-error">
<textarea id="message"></textarea>
</div>
<p class="text-error text-small">Error message</p>
</div>
<div class="">
<pre><code class="language-markup"><label class="label" for="message">Textarea</label>
<div class="textarea textarea-fullWidth has-error">
<textarea id="message"></textarea>
</div>
<p class="text-error text-small">Error message</p></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Radio buttons</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<div class="radio">
<input id="radio1" name="radio" type="radio" value=""/>
<label for="radio1" >Radio button 1</label>
</div>
<div class="radio">
<input id="radio2" name="radio" type="radio" value=""/>
<label for="radio2" >Radio button 2</label>
</div>
<div class="radio">
<input id="radio3" name="radio" type="radio" value=""/>
<label for="radio3" >Radio button 3</label>
</div>
</div>
<div class="">
<pre><code class="language-markup"><div class="radio">
<input id="radio1" name="radio" type="radio" value=""/>
<label for="radio1" >Radio button 1</label>
</div>
<div class="radio">
<input id="radio2" name="radio" type="radio" value=""/>
<label for="radio2" >Radio button 2</label>
</div>
<div class="radio">
<input id="radio3" name="radio" type="radio" value=""/>
<label for="radio3" >Radio button 3</label>
</div></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Checkboxes</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<div class="checkbox">
<input id="one" name="#" type="checkbox" value=""/>
<label for="one">Checkbox 1</label>
</div>
<div class="checkbox">
<input id="two" name="#" type="checkbox" value=""/>
<label for="two">Checkbox 2</label>
</div>
<div class="checkbox">
<input id="three" name="#" type="checkbox" value=""/>
<label for="three">Checkbox 3</label>
</div>
</div>
<div class="">
<pre><code class="language-markup"><div class="checkbox">
<input id="one" name="#" type="checkbox" value=""/>
<label for="one">Checkbox 1</label>
</div>
<div class="checkbox">
<input id="two" name="#" type="checkbox" value=""/>
<label for="two">Checkbox 2</label>
</div>
<div class="checkbox">
<input id="three" name="#" type="checkbox" value=""/>
<label for="three">Checkbox 3</label>
</div></pre></code>
</div>
</div>
</section>
<!-- Collapsed forms -->
<section class="section">
<h2 class="text-big">Forms collapsed</h2>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom">
<div class="formCollapsed m-none">
<div class="input formCollapsed-item formCollapsed-itemPrimary">
<input id="test8" placeholder="Search" type="text" />
</div>
<button class="formCollapsed-item button button-primary">
Search
</button>
</div>
</div>
<div class="">
<pre><code class="language-markup m-none"><div class="formCollapsed">
<div class="input formCollapsed-item formCollapsed-itemPrimary">
<input id="test8" placeholder="Search" type="text" />
</div>
<button class="formCollapsed-item button button-primary">
Search
</button>
</div></pre></code>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L187">Forms settings</a></p>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<div class="formCollapsed m-none">
<div class="input formCollapsed-item formCollapsed-itemPrimary">
<input id="test7" placeholder="Search" type="text" />
</div>
<div class="select formCollapsed-item">
<select name="country-code" id="country-code">
<option>One</option>
<option>Two</option>
<option>Three</option>
<option>Four</option>
</select>
</div>
<button class="formCollapsed-item button button-primary">
Search
</button>
</div>
</div>
<div class="">
<pre><code class="language-markup"><div class="formCollapsed">
<div class="input formCollapsed-item formCollapsed-itemPrimary">
<input id="test7" placeholder="Search" type="text" />
</div>
<div class="select formCollapsed-item">
<select name="country-code" id="country-code">
<option>One</option>
<option>Two</option>
<option>Three</option>
<option>Four</option>
</select>
</div>
<button class="formCollapsed-item button button-primary">
Search
</button>
</div></pre></code>
</div>
</div>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<div class="formCollapsed m-none">
<div class="select formCollapsed-item formCollapsed-itemPrimary">
<select name="country-code" id="country-code">
<option>Vincent</option>
<option>Jules</option>
<option>Mia </option>
<option>Butch</option>
<option>Winston </option>
</select>
</div>
<div class="select formCollapsed-item formCollapsed-itemPrimary">
<select name="country-code" id="country-code">
<option>Mr. White</option>
<option>Mr. Orange</option>
<option>Mr. Pink</option>
<option>Mr. Blonde</option>
<option>Nice Guy</option>
<option>Mr. Brown</option>
<option>Marvin</option>
<option>Holdaway</option>
<option>Mr. Blue</option>
</select>
</div>
<div class="select formCollapsed-item formCollapsed-itemPrimary">
<select name="country-code" id="country-code">
<option>Shaw </option>
<option>Kelly</option>
<option>Doyle </option>
<option>Lt. William</option>
<option>Singleton</option>
<option>Billie</option>
</select>
</div>
</div>
</div>
<div class="">
<pre><code class="language-markup"><div class="formCollapsed">
<div class="select formCollapsed-item formCollapsed-itemPrimary">
<select name="country-code" id="country-code">
<option>Vincent</option>
<option>Jules</option>
<option>Mia </option>
<option>Butch</option>
</select>
</div>
<div class="select formCollapsed-item formCollapsed-itemPrimary">
<select name="country-code" id="country-code">
<option>Mr. White</option>
<option>Mr. Orange</option>
<option>Mr. Pink</option>
<option>Mr. Blonde</option>
</select>
</div>
<div class="select formCollapsed-item formCollapsed-itemPrimary">
<select name="country-code" id="country-code">
<option>Shaw </option>
<option>Kelly</option>
<option>Doyle </option>
<option>Lt. William</option>
</select>
</div>
</div></pre></code>
</div>
</div>
</section>
<!-- Loaders -->
<section class="section">
<h2 class="text-big">Loaders</h2>
<h3 class="text-medium">Loading bar</h3>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom text-center">
<div style="position:relative;" class="loadingBar"></div>
</div>
<div class="">
<pre><code class="language-markup"><!-- By default it's fixed at the top of the page -->
<div class="loadingBar" style="display: none;"></div>
</code></pre>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L203">Loading bar settings</a></p>
<h3 class="text-medium">Loading spinner</h3>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom text-center">
<br>
<div class='loadingSpinner' style="position:relative;">
<span class='loadingSpinner-inner'></span>
<span class='loadingSpinner-inner'></span>
<span class='loadingSpinner-inner'></span>
<span class='loadingSpinner-inner'></span>
</div>
</div>
<div class="">
<pre><code class="language-markup"><!-- By default it's located at the center of the page -->
<div class='loadingSpinner' style="display: none;">
<span class='loadingSpinner-inner'></span>
<span class='loadingSpinner-inner'></span>
<span class='loadingSpinner-inner'></span>
<span class='loadingSpinner-inner'></span>
</div>
</code></pre>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L208">Loading spinner settings</a></p>
</section>
<!-- Notifications -->
<section class="section">
<h2 class="text-big">Notifications</h2>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom">
<div class="notification notification--success"><p>Success message</p></div>
<div class="notification notification--info"><p>Info message</p></div>
<div class="notification notification--warning"><p>Warning message</p></div>
<div class="notification notification--error"><p>Error message</p></div>
</div>
<div class="">
<pre><code class="language-markup"><div class="notification notification--success"><p>Success message</p></div>
<div class="notification notification--info"><p>Info message</p></div>
<div class="notification notification--warning"><p>Warning message</p></div>
<div class="notification notification--error"><p>Error message</p></div>
</code></pre>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L214">Notifications settings</a></p>
</section>
<!-- Pagination -->
<section class="section">
<h2 class="text-big">Pagination</h2>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom">
<ul class="paginator">
<li class="paginator-item">
<a href="javascript:void(0)" class="paginator-itemLink"> < Prev </a>
</li>
<li class="paginator-item">
<a href="javascript:void(0)" class="paginator-itemLink">1</a>
</li>
<li class="paginator-item">
<a href="javascript:void(0)" class="paginator-itemLink is-active">2</a>
</li>
<li class="paginator-item">
<a href="javascript:void(0)" class="paginator-itemLink">Next >
</a>
</li>
</ul>
</div>
<div class="">
<pre><code class="language-markup"><ul class="paginator">
<li class="paginator-item">
<a href="#" class="paginator-itemLink">Prev</a>
</li>
<li class="paginator-item">
<a href="#" class="paginator-itemLink">1</a>
</li>
<li class="paginator-item">
<a href="#" class="paginator-itemLink is-active">2</a>
</li>
<li class="paginator-item">
<a href="#" class="paginator-itemLink">Next</a>
</li>
</ul></code></pre>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L220">Pagination settings</a></p>
</section>
<!-- Tables -->
<section class="section">
<h2 class="text-big">Tables</h2>
<h3 class="text-medium text-gray">Standard</h3>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom">
<table class="table">
<thead>
<tr class="text-small text-left">
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lemon</td>
<td>Orange</td>
<td>Kiwi</td>
</tr>
<tr>
<td>Sugar</td>
<td>Salt</td>
<td>Pepper</td>
</tr>
<tr>
<td>Fork</td>
<td>Knife</td>
<td>Spoon</td>
</tr>
<tr>
<td>Cup</td>
<td>Glass</td>
<td>Pitcher</td>
</tr>
</tbody>
</table>
</div>
<div class="">
<pre><code class="language-markup"><table class="table">
<thead>
<tr class="text-small text-left">
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lemon</td>
<td>Orange</td>
<td>Kiwi</td>
</tr>
<tr>
<td>Sugar</td>
<td>Salt</td>
<td>Pepper</td>
</tr>
<tr>
<td>Fork</td>
<td>Knife</td>
<td>Spoon</td>
</tr>
<tr>
<td>Cup</td>
<td>Glass</td>
<td>Pitcher</td>
</tr>
</tbody>
</table></pre></code>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L229">Table settings</a></p>
<h3 class="text-medium text-gray">Responsive</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<table class="table table--responsive">
<tr class="text-small">
<th>First column</th>
<th>Second column</th>
<th>Third column</th>
</tr>
<tr>
<td data-th="First column">Blue</td>
<td data-th="Second column">One</td>
<td data-th="Third column">My life fades</td>
</tr>
<tr>
<td data-th="First column">Green</td>
<td data-th="Second column">Two</td>
<td data-th="Third column">When the world was powered by the black fuel... and the desert sprouted great cities of pipe and steel. </td>
</tr>
<tr>
<td data-th="First column">Yellow</td>
<td data-th="Second column">Three</td>
<td data-th="Third column">A whirlwind of looting, a firestorm of fear. Men began to feed on men. A whirlwind of looting, a firestorm of fear. Men began to feed on men. </td>
</tr>
</table>
</div>
<div class="">
<pre><code class="language-markup"><table class="table table--responsive">
<thead>
<tr class="text-small">
<th>First column</th>
<th>Second column</th>
<th>Third column</th>
</tr>
</thead>
<tbody>
<tr>
<td data-th="First column">Blue</td>
<td data-th="Second column">One</td>
<td data-th="Third column">My life fades</td>
</tr>
<tr>
<td data-th="First column">Green</td>
<td data-th="Second column">Two</td>
<td data-th="Third column">When the world was powered by the black fuel... and the desert sprouted great cities of pipe and steel. </td>
</tr>
<tr>
<td data-th="First column">Yellow</td>
<td data-th="Second column">Three</td>
<td data-th="Third column">A whirlwind of looting, a firestorm of fear. Men began to feed on men. A whirlwind of looting, a firestorm of fear. Men began to feed on men. </td>
</tr>
</tbody>
</table></pre></code>
</div>
</div>
</section>
<!-- Tabs -->
<section class="section">
<h2 class="text-big">Tabs</h2>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom">
<div class="tabs">
<a href="#" class="tabs-item js-tab">Tab 1</a>
<a href="#" class="tabs-item is-selected js-tab">Tab 2</a>
<a href="#" class="tabs-item js-tab">Tab 3</a>
</div>
</div>
<div class="">
<pre><code class="language-markup"><div class="tabs">
<a href="#" class="tabs-item">Tab 1</a>
<a href="#" class="tabs-item is-selected">Tab 2</a>
<a href="#" class="tabs-item">Tab 3</a>
</div>
</code></pre>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L242">Tabs settings</a></p>
</section>
<!-- Tags -->
<section class="section">
<h2 class="text-big">Tags</h2>
<div class="example-code border rounded-corners mb-small">
<div class="p-big border-bottom">
<ul>
<li class="tag">
<a href="javascript:void(0)">fantasy</a>
</li>
<li class="tag">
<a href="javascript:void(0)">fiction</a>
</li>
<li class="tag">
<a href="javascript:void(0)">contemporary</a>
</li>
<li class="tag">
<a href="javascript:void(0)">horror</a>
</li>
</ul>
</div>
<div class="">
<pre><code class="language-markup"><ul>
<li class="tag">
<a href="#">fantasy</a>
</li>
<li class="tag">
<a href="#">fiction</a>
</li>
<li class="tag">
<a href="#">contemporary</a>
</li>
<li class="tag">
<a href="#">horror</a>
</li>
</ul>
</code></pre>
</div>
</div>
<p class="text-small text-gray mb-big"><a href="https://github.com/sierra-library/sierra/blob/master/src/_settings.scss#L253">Tags settings</a></p>
<a class="anchor" name="utilities"></a>
</section>
<!-- Aligners -->
<section class="section">
<h2 class="text-huge">Utilities</h3>
<h2 class="text-big">Aligners</h2>
<h3 class="text-medium text-gray">Space between</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<div class="aligner aligner--spaceBetween">
<div><img src="img/img4.jpg" alt="Image 4" width="50"/></div>
<div><img src="img/img2.jpg" alt="Image 2" width="50"/></div>
</div>
</div>
<div class="">
<pre><code class="language-markup"><div class="aligner aligner--spaceBetween">
<div><img src="img/img4.jpg" width="50"/></div>
<div><img src="img/img2.jpg" width="50"/></div>
</div></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Space around</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<div class="aligner aligner--spaceAround">
<div><img src="img/img2.jpg" alt="Image 4" width="50"/></div>
<div><img src="img/img3.jpg" alt="Image 3" width="50"/></div>
</div>
</div>
<div class="">
<pre><code class="language-markup"><div class="aligner aligner--spaceAround">
<div><img src="img/img2.jpg" width="50"/></div>
<div><img src="img/img1.jpg" width="50"/></div>
</div></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Content start</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<div class="aligner aligner--contentStart">
<div><img src="img/img6.jpg" alt="Image 4" width="50"/></div>
</div>
</div>
<div class="">
<pre><code class="language-markup"><div class="aligner aligner--contentStart">
<div><img src="img/img6.jpg" width="50"/></div>
</div></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Content end</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<div class="aligner aligner--contentEnd">
<div><img src="img/img2.jpg" alt="Image 2" width="50"/></div>
</div>
</div>
<div class="">
<pre><code class="language-markup"><div class="aligner aligner--contentEnd">
<div><img src="img/img2.jpg" width="50"/></div>
</div></pre></code>
</div>
</div>
<h3 class="text-medium text-gray">Center vertical</h3>
<div class="example-code border rounded-corners mb-big">
<div class="p-big border-bottom">
<div class="aligner aligner--centerVertical" style="height: 100px;">
<div><img src="img/img3.jpg" alt="Image 4" width="50"/></div>
</div>
</div>
<div class="">
<pre><code class="language-markup"><div class="aligner aligner--centerVertical">
<div><img src="img/img3.jpg" width="50"/></div>