-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
1183 lines (1011 loc) · 70.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 class="no-js" lang="">
<head>
<link rel="manifest" href="site.webmanifest">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- =========================================
fav & icons for iPhone and iPad
========================================== -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="fluid-icon" type="image/png" href="assets/src/img/icon_/favicon.png">
<link rel="image_src" href="assets/src/img/icon_/" type="image/png" >
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/src/img/icon_/favicon_114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/src/img/icon_/favicon_72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/src/img/icon_/favicon_114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="assets/src/img/icon_/favicon_60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="assets/src/img/icon_/favicon_120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="assets/src/img/icon_/favicon_76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="assets/src/img/icon_/favicon_152x152.png" />
<!-- =========================================
Mobile Configurations
========================================== -->
<meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="GOOGLEBOT" content="index follow" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- =========================================
start of seo
========================================== -->
<meta name="author" content="John Itebu">
<meta name="robots" content="index,follow">
<meta name="distribution" content="global">
<meta name="designer" content="John Itebu">
<meta name="publisher" content="John Itebu">
<meta name="copyright" content="John Itebu">
<meta name="owner" content="John Itebu">
<meta name='language' content='en_GB'>
<meta name="Classification" content="Tool, Software">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="x-dns-prefetch-control" content="off">
<meta name="coverage" content="Worldwide">
<meta name="rating" content="General">
<meta name="revisit-after" content="7 days">
<meta name="target" content="all">
<!--Apple meta tags-->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="mask-icon" href="assets/src/img/icon_/favicon_152x152.png" color="blue">
<!--Apple meta tags-->
<!--Google Plus-->
<link rel="author" href="https://plus.google.com/u/0/113492363467510904943"/>
<link rel="publisher" href="https://plus.google.com/u/0/113492363467510904943"/>
<!--Ms meta tags-->
<meta http-equiv="Page-Enter" content="RevealTrans(Duration=2.0,Transition=2)">
<meta http-equiv="Page-Exit" content="RevealTrans(Duration=3.0,Transition=12)">
<meta name="mssmarttagspreventparsing" content="true">
<meta name="msapplication-window" content="width=800;height=600">
<meta name="msapplication-navbutton-color" content="red">
<meta name="msapplication-TileImage" content="" />
<meta name="msvalidate.01" content="" />
<link rel="me" type="text/html" href="https://www.linkedin.com/in/itebujohn">
<meta name="keywords" content="sass, starterkit, boilerplate, framework, grunt, CSS3, SCSS, themes, templating, ui, Front-end development, Front-end Engineering, Design">
<meta property="og:locale" content="en_GB" />
<meta property="og:site_name" content="ShadesSCSS - A light weight Sass starterkit/boilerplate for front-end designers/developers." />
<meta property="article:publisher" content="https://www.facebook.com/j.ojanti" />
<meta property="article:author" content="https://www.facebook.com/j.ojanti" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@ojanti" />
<meta name="twitter:creator" content="@ojanti" />
<!--Facebook / Object Graph-->
<meta property="og:title" content="ShadesSCSS - A light weight Sass starterkit/boilerplate for front-end designers/developers."/>
<meta property="og:type" content="website"/>
<meta property="og:image" content="assets/src/img/ShadesSCSS_object_graph_img.png"/>
<meta property="og:url" content="https://ojanti.github.io/ShadesSCSS-Documentation/"/>
<meta property="og:description" content="ShadesSCSS is a light weight, very easy to use Sass boilerplate. All you have to do is set basic values for configuration and compile to create a new theme. ShadesSCSS doesnt get in your way. It gives you just enough to get going and leaves you to go crazy with your designs 🕺"/>
<!--Twitter-->
<meta name="twitter:url" content="https://ojanti.github.io/ShadesSCSS-Documentation/">
<meta name="twitter:title" content="ShadesSCSS - A light weight Sass starterkit/boilerplate for front-end designers/developers.">
<meta name="twitter:description" content="ShadesSCSS is a light weight, very easy to use Sass boilerplate. All you have to do is set basic values for configuration and compile to create a new theme. ShadesSCSS doesnt get in your way. It gives you just enough to get going and leaves you to go crazy with your designs 🕺">
<meta name="twitter:image" content="assets/src/img/ShadesSCSS_object_graph_img.png">
<meta name="twitter:image:src" content="assets/src/img/ShadesSCSS_object_graph_img.png" />
<title> ShadesSCSS - A light weight Sass starterkit/boilerplate for front-end designers/developers. </title>
<meta name="subject" content="ShadesSCSS- A light weight Sass starterkit/boilerplate for front-end designers/developers.">
<meta name="description" content="ShadesSCSS is a light weight, very easy to use Sass boilerplate. All you have to do is set basic values for configuration and compile to create a new theme. ShadesSCSS doesnt get in your way. It gives you just enough to get going and leaves you to go crazy with your designs 🕺">
<meta name="url" content="https://ojanti.github.io/ShadesSCSS-Documentation/">
<link rel="canonical" href="https://ojanti.github.io/ShadesSCSS-Documentation/">
<meta name="pagename" content="ShadesSCSS - A light weight Sass starterkit/boilerplate for front-end designers/developers. ">
<link rel="bookmark" title="ShadesSCSS - A light weight Sass starterkit/boilerplate for front-end designers/developers." href="https://ojanti.github.io/ShadesSCSS-Documentation/">
<link href="https://fonts.googleapis.com/css?family=Kalam:400,700" rel="stylesheet"> <!-- Heading font -->
<link href="https://fonts.googleapis.com/css?family=Quicksand:300,400,600,700" rel="stylesheet"> <!-- body font -->
<link rel="stylesheet" href="assets/src/css/doc_theme.min.css">
<link rel="stylesheet" href="assets/src/css/vendor.min.css">
<!-- Share buttons-->
<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=5a1b0d9a63750b0012e6ba18&product=sticky-share-buttons"></script>
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<header class="jumbotron_head home vertical-center row no-margin-bottom padding-20 ">
<div class="_content text-center shades_con">
<h1 class="text"> ShadesSCSS </h1>
<div class="sub_head margin-bottom-20 text">
A light weight Sass boilerplate for creating & customizing themes quickly.
</div>
<div class="margin-bottom-20">
<a class="github-button" href="https://github.com/ojanti" aria-label="Follow @ojanti on GitHub" data-size="large">Follow @ojanti</a>
<a class="github-button" href="https://github.com/ojanti/_ShadesSCSS" data-icon="octicon-star" data-size="large" aria-label="Star ojanti/_ShadesSCSS on GitHub">Star ShadesSCSS</a>
<a href="https://twitter.com/ojanti?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-size="large" data-show-count="false">Follow @ojanti</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
<div class="shades shadesImg_bigDevice">
<div class="shdHead">
<div class="shdEye" id="shdEye1">
<div class="iris"></div>
</div>
<div class="shdEye" id="shdEye2">
<div class="iris"></div>
</div>
</div>
</div>
<img src="assets/src/img/sunglasses_mobile.png" class="shadesImg_mobile responsive-image padding-left-20 padding-right-20" alt="ShadesSCSS Logo">
</div>
</header><!-- /header -->
<div class="content_body home">
<div class="aboutShds row full_block">
<div class="col s12 m12 l12 desc bg_light_grey">
<div class="medium-container">
<div class="padding-15 padding-top-30 padding-bottom-30 no-margin text-center text-md">
ShadesSCSS is a light weight, very easy to use Sass boilerplate. All you have to do is set basic values for configuration and compile to create a new theme. ShadesSCSS doesnt get in your way. It gives you just enough to get going and leaves you to go crazy with your designs 🕺
<div class="margin-top-20">
<a href="https://github.com/Ojanti/_ShadesSCSS" class="button large" target="_blank"> View on Github </a>
</div>
</div>
</div>
</div>
<div class="col s12 m12 l12">
<div class="flow text-center medium-container">
<h1 class="senior">All you need</h1>
<div class="col l6 m6 s12 ">
<div class="_inner box_box_shadow_1 padding-20 padding-bottom-30 padding-top-25 req_sass">
<img src="assets/src/img/sass_logo.png" class="responsive-image padding-10" alt="Sass logo">
<div class="_head padding-top-10 padding-bottom-10">Sass</div>
<p>
Shades is built primarily with Sass. Sass helps extend CSS by making available, useful programming concepts that helps build scalable, modular CSS designs.
</p>
<div><a href="http://sass-lang.com/guide" class="padding-15" target="_blank"> Learn more </a></div>
</div>
</div>
<div class="col l6 m6 s12 ">
<div class="_inner box_box_shadow_1 padding-20 padding-bottom-30 padding-top-25 req_grunt">
<img src="assets/src/img/grunt_logo.png" class="responsive-image padding-10" alt="Grunt JS Logo" height="270">
<div class="_head padding-top-10 padding-bottom-10">Grunt</div>
<p>
Grunt is a Javascript based task runner and an essential part of Shades. Its used to carry out several pre-processing and post-processing tasks on important files.
</p>
<div><a href="https://gruntjs.com/getting-started" class="padding-15" target="_blank"> Learn more </a></div>
</div>
</div>
</div>
</div>
</div>
<div style="" class="shdsDocumentation row full_block margin-top-40">
<div class="medium-container">
<h1 class="text-center senior">Documentation</h1>
<div class="row">
<aside class="sidebar docNav col m4 l3 padding-20 bg_light_grey no_decor_link" id="sidebar">
<div class="list_block">
<div class="_head">Get Started</div>
<ul>
<li> <a href="#setup" class="active">Setup</a> </li>
<li> <a href="#themeSetup">New themes</a> </li>
</ul>
</div>
<div class="list_block">
<div class="_head">Elements</div>
<ul>
<li> <a href="#grids">Grids & Layout</a> </li>
<li> <a href="#typography">Typography</a> </li>
<li> <a href="#lists">Lists</a> </li>
<li> <a href="#buttons">Buttons</a> </li>
<li> <a href="#form">Forms</a> </li>
<li> <a href="#tables">Tables</a> </li>
<li> <a href="#helpers">Helpers</a> </li>
</ul>
</div>
<div class="list_block">
<div class="_head">Configuration</div>
<ul>
<li> <a href="#variables">Variables</a> </li>
</ul>
</div>
</aside>
<article class="_content col m8 l9 s12 padding-30 no-padding-top">
<!--SETUP-->
<div class="_section docStep stepSetup" id="setup">
<h4>First Steps</h4>
<p> If you have no interest in setting up and configuring shades, you may just include the default Shades css and use as is. Its light weight (approximately 42kb), has a lot to get you going and at thesame time doesnt get in your way.
<pre>
<code class="language-html"><link rel="stylesheet" href="assets/src/css/boilerplate.min.css"></code>
</pre>
<p>
Or you can use the unminified version. As stated above you would need to make use of Sass and Grunt to use this package efficiently.
<br>If you aleady have Sass installed proceed, else please head over to the <a href="http://sass-lang.com/install" target="_blank">official guide and install Sass</a> on your system.</p>
<p>If you already have Node installed, go ahead to clone the project<p>
<pre><code class="language-markup">git clone https://github.com/Ojanti/_ShadesSCSS.git</code></pre>
<p>Install the dev dependencies by running</p>
<pre><code class="language-markup">npm install</code></pre>
<p>If you haven't used <a href="http://gruntjs.com/" target="_blank">Grunt</a> before, be sure to check out the <a href="http://gruntjs.com/getting-started" target="_blank">Getting Started</a> guide, as it explains how to work with a <a href="http://gruntjs.com/sample-gruntfile" target="_blank">Gruntfile</a> as well as install and use additonal Grunt plugins. <br>
You will find the project's grunt.js file in the root with these preconfigured tasks</p>
<ul>
<li><a href="https://github.com/gruntjs/grunt-contrib-concat" target="_blank">concat</a> - Which concatenate files.</li>
<li><a href="https://github.com/gruntjs/grunt-contrib-concat" target="_blank">uglify</a> - Minify JS files</li>
<li><a href="https://github.com/gruntjs/grunt-contrib-sass" target="_blank">sass</a> - Compile Sass to CSS</li>
<li><a href="https://github.com/nDmitry/grunt-postcss" target="_blank">postcss</a> - Apply several post-processors to CSS. In this case, <strong>autoprefixer</strong> and <strong>pixrem</strong>.</li>
<li><a href="https://github.com/gruntjs/grunt-contrib-cssmin" target="_blank">cssmin</a> - Compress CSS files</li>
</ul>
<p>Run</p>
<pre><code class="language-markup">grunt</code></pre>
</div>
<!--CREATING NEW THEMES-->
<div class="_section docStep stepNewTheme" id="themeSetup">
<h2>Creating new themes</h2>
<p>
Below you find the directoy structure
</p>
<pre class=" language-markup"><code class=" directory-markup language-markup">
|
+---assets
+---build
| \---css
| +---themes
| | | boilerplate.scss
| | |
| | +---base
| | | _global_variables.scss
| | | _mixins.scss
| | | _normalize.scss
| | | _reset.scss
| | |
| | \---components
| | _buttons.scss
| | _forms.scss
| | _grid.scss
| | _helpers.scss
| | _scaffolding.scss
| | _tables.scss
| |
| \---vendor
|
\---src
\---css
boilerplate.css ─┐
boilerplate.css.map |--> // Generated from boilerplate.scss
boilerplate.min.css ─┘
vendor.min.css --> // Merged and minified all files in the vendor folder
</code></pre>
<p>
To create a new theme, all you have to do is ;
</p>
<ol>
<li>Make a copy of boilerplate.scss in the <span><code>assets/build/css/themes</code></span> themes folder and rename to your desired theme name e.g theme1.scss</li>
<li>Easily initialise your design preferences in the <a href="#variables" class="smoothScrollLink">theme variables ↓</a></li>
<li>Add your customised, project specific css/sass code below the variables(or as a partial if you wish).</li>
<li>Run <br>
<pre><code class="language-markup">grunt</code></pre>
</li>
</ol>
<p>
Your theme file (theme1.css) will be generated in the <span><code>assets/src/css</code></span> folder along with the minified version and source map. You can repeat this step for as many themes as you want to build. <br>
All you have to do is take power with the <a href="#variables" class="smoothScrollLink">theme variables ↓</a> config and create multiple themes with similar look but different color schemes or multiple themes with components that look entirely different.
<br>
Shades makes it easy
</p>
</div>
<div class="_section docStep stepGrids" id="grids">
<h2>Grids & Layout</h2>
<h4 class=" _sub_heads">Container</h4>
<p>Shades has 5 major container sizes</p>
<pre><code class="language-html"><div class="x-small-container">Extra Small</div>
<div class="small-container">Small</div>
<div class="medium-container">Medium</div>
<div class="container">Large</div>
<div class="full-container">Full Width</div></code></pre>
<div class="responsive-table">
<table>
<thead>
<tr>
<th width="20%">Extra Small</th>
<th width="20%">Small</th>
<th width="20%">Medium</th>
<th width="20%">Large</th>
<th width="20%">Full</th>
</tr>
</thead>
<tbody>
<tr>
<td>600px</td>
<td>768px</td>
<td>1000px</td>
<td>1200px</td>
<td>100%</td>
</tr>
</tbody>
</table>
</div>
<h4 class=" _sub_heads">Grids</h4>
<p>
Shades operates a 12 column grid system. <br>
If you do not want to use all 12 column individually, you can group the columns together to create wider columns:
</p>
<div class="full-container">
<div class="row test_grid">
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
</div>
<div class="row test_grid">
<div class="col m8"> 8 </div>
<div class="col m4"> 4 </div>
</div>
<div class="row test_grid">
<div class="col m4"> 4 </div>
<div class="col m4"> 4 </div>
<div class="col m4"> 4 </div>
</div>
<div class="row test_grid">
<div class="col m6"> 6 </div>
<div class="col m6"> 6 </div>
</div>
</div>
<pre><code class="language-html"><div class="full-container">
<div class="row">
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
<div class="col m1"> 1 </div>
</div>
<div class="row">
<div class="col m8"> 8 </div>
<div class="col m4"> 4 </div>
</div>
<div class="row">
<div class="col m4"> 4 </div>
<div class="col m4"> 4 </div>
<div class="col m4"> 4 </div>
</div>
<div class="row">
<div class="col m6"> 6 </div>
<div class="col m6"> 6 </div>
</div>
</div></code></pre>
<p>So, to create the layout you want, create a container (<code class="language-markup"><div
class="container"></code>). Next, create a row (<code class="language-markup"><div
class="row"></code>). To specify the desired number of columns, use class (tags with appropriate
<code class="language-markup">.col</code> ) in combination with the device size and number of column(s) e.g <code class="language-markup">.m4</code>. <br>
Note that the number of column(s) <code class="language-markup">m<u>4</u></code> should always add up to 12 for each row. </p>
<p>Supported Device Sizes are;</p>
<ul>
<li><code class="language-markup">s</code> (for phones - screens less than 768px wide)</li>
<li><code class="language-markup">m</code> (for tablets - screens equal to or greater than 768px wide)</li>
<li><code class="language-markup">l</code> (for small laptops - screens equal to or greater than 992px wide)</li>
<li><code class="language-markup">xl</code> (for laptops and desktops - screens equal to or greater than 1200px wide)</li>
</ul>
<div class="full-container">
<div class="row test_grid">
<div class="col s12 m6 l6"> .col .s12 .m6 .l6</div>
<div class="col s12 m6 l6"> .col .s12 .m6 .l6</div>
</div>
<div class="row test_grid">
<div class="col s12 m6 l3 xl3"> .col .s12 .m6 .l3 .xl3</div>
<div class="col s12 m6 l3 xl3"> .col .s12 .m6 .l3 .xl3</div>
<div class="col s12 m6 l3 xl3"> .col .s12 .m6 .l3 .xl3</div>
<div class="col s12 m6 l3 xl3"> .col .s12 .m6 .l3 .xl3</div>
</div>
</div>
<h4 class=" _sub_heads">Offsetting columns</h4>
<p>Move columns to the right using <code class="language-markup">.offset-#*</code> classes. These
classes increase the left margin of a column by * columns on # device option:</p>
<div class="full-container">
<div class="row test_grid">
<div class="col m4">.col .m4</div>
<div class="col m4 offset-m4">.col .m4 .offset-m4</div>
</div>
</div>
</div>
<div class="_section docStep stepTypography" id="typography">
<h2>Typography</h2>
<p>Root font size is set to <code>1rem</code> on the <code>html</code> element, so font sizes are generally set to cascade from the root. A grunt postcss task - <a href="https://www.npmjs.com/package/pixrem" target="_blank">pixrem</a> generates pixel fallbacks for rem units</p>
<p>Headings all have the same line-height and margins. I know this is the point where i list a bunch of header text and blockquotes to make the page look cooler but im not gonna do that.</p>
<div id="text-helpers">
<h4 class=" _sub_heads">Some Useful text helpers</h4>
<div class="responsive-table">
<table>
<thead>
<tr>
<th width="30%">Class</th>
<th width="70%">What it does</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>.text-left</code></td>
<td><div class="wid text-left"> aligns text to the left </div></td>
</tr>
<tr>
<td><code>.text-right</code></td>
<td><div class="wid text-right"> aligns text to the right </div></td>
</tr>
<tr>
<td><code>.text-center</code></td>
<td><div class="wid text-center"> aligns text to the center </div></td>
</tr>
<tr>
<td><code>.text-justify</code></td>
<td><div class="wid text-justify"> justifies text within its container like this - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </div></td>
</tr>
<tr>
<td><code>.text-light</code></td>
<td><div class="wid text-light"> Sets text's font weight to light - 300 </div></td>
</tr>
<tr>
<td><code>.text-normal</code></td>
<td><div class="wid text-normal"> Sets text's font weight to normal - 400</div></td>
</tr>
<tr>
<td><code>.text-heavy</code></td>
<td><div class="wid text-heavy"> Sets text's font weight to heavy - 600</div></td>
</tr>
<tr>
<td><code>.text-italic</code></td>
<td><div class="wid text-italic"> Sets text's font style to italic</div></td>
</tr>
<tr>
<td><code>.text-line-through</code></td>
<td><div class="wid text-line-through"> Adds text decoration line through to text</div></td>
</tr>
<tr>
<td><code>.text-uppercase</code></td>
<td><div class="wid "> Sets text casing to <span class="text-uppercase">UPPERCASE</span></div></td>
</tr>
<tr>
<td><code>.text-lowercase</code></td>
<td><div class="wid "> SETS TEXT CASING TO <span class="text-lowercase">lowercase</span></div></td>
</tr>
<tr>
<td><code>.text-primary</code></td>
<td><div class="wid text-primary"> Sets text's color to your themes primary color</div></td>
</tr>
<tr>
<td><code>.text-body</code></td>
<td><div class="wid text-body"> Sets text's color to your themes default body color</div></td>
</tr>
<tr>
<td><code>.text-gray</code></td>
<td><div class="wid text-gray"> Sets text's color to your themes chosen shade of gray. Useful for reducing text importance</div></td>
</tr>
<tr>
<td><code>.text-success</code></td>
<td><div class="wid text-success"> Sets text's color to your themes chosen success color</div></td>
</tr>
<tr>
<td><code>.text-error</code></td>
<td><div class="wid text-error"> Sets text's color to your themes chosen error color</div></td>
</tr>
<tr>
<td><code>.text-warning</code></td>
<td><div class="wid text-warning"> Sets text's color to your themes chosen warning color</div></td>
</tr>
<tr>
<td><code>.text-white</code></td>
<td><div class="wid text-white" style="background:#333;"> Sets text's color to white</div></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="_section docStep stepLists" id="lists">
<h2>Lists</h2>
<p>Really!!! You expect me to show you what lists look like? FOH 🙄</p>
</div>
<div class="_section docStep stepButtons" id="buttons">
<h2>Buttons</h2>
<div class="margin-bottom-20">
<p>Button elements, links with a <code>button</code> class, and input elements should all render exactly the same.</p>
<pre><code class="language-html"><button>Button</button>
<input type="submit" value="Submit">
<input type="button" value="Input">
<a class="button">Link</a></code></pre>
<button>Button</button>
<input type="submit" value="Submit">
<input type="button" value="Input">
<a class="button">Link</a>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Secondary Buttons</h4>
<p>Adding an <code>secondary-button</code> class will display a secondary color.</p>
<pre><code class="language-html"><button class="secondary-button">Button</button></code></pre>
<button class="secondary-button">Button</button>
<input type="submit" value="Submit" class="secondary-button">
<input type="button" value="Input" class="secondary-button">
<a class="button secondary-button">Link</a>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Muted Buttons</h4>
<p>Adding a <code>muted-button</code> class will create ghost/outline buttons.</p>
<pre><code class="language-html"><button class="muted-button">Button</button></code></pre>
<button class="muted-button">Button</button>
<input type="submit" value="Submit" class="muted-button">
<input type="button" value="Input" class="muted-button">
<a class="muted-button button">Link</a>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Link Styled Buttons</h4>
<p>Adding a <code>link-button</code> class to an existing main button or secondary button to create link styled buttons.</p>
<pre><code class="language-html"><button class="link-button">Button</button></code></pre>
<button class="link-button">Button</button>
<input type="submit" class="link-button" value="Submit">
<input type="button" value="Input" class="secondary-button link-button">
<a class="button secondary-button link-button" >Link</a>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Inverted Buttons</h4>
<p>Adding a <code>inverted</code> class to an existing main button or secondary button to create an inverted styled buttons.</p>
<pre><code class="language-html"><button class="inverted">Button</button></code></pre>
<button class="inverted">Button</button>
<input type="submit" class="inverted" value="Submit">
<input type="button" value="Input" class="secondary-button inverted">
<a class="button secondary-button inverted" >Link</a>
<p>In <strong>_buttons.scss</strong>, you can create new button styles by using the new button style mixin <code>new-button-style ($button-color, $border-color, $background, $states-button-color, $states-border-color, $states-background) </code>.
All $states-* variables refer to the various states of the button (:hover, :active, :focus)</p>
<pre><code class="language-scss">&.inverted{
@include new-button-style ($button-background, $button-background, none, white, $button-background, $button-background);
}</code></pre>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads"> Button Sizes</h4>
<p>You can specify diffrent button sizes by adding the related class</p>
<pre><code class="language-html"><button class="small">Small</button>
<button>Button</button>
<button class="large">Large</button>
<button class="huge">Huge</button></code></pre>
<button class="small">Small</button>
<button class="">Normal</button>
<button class="large">Large</button>
<button class="huge">Huge</button>
<p>In <strong>_buttons.scss</strong>, you can create new button sizes by using the new button size mixin <code>new-button-size ($font-size, $padding) </code>.</p>
<pre><code class="language-scss">&.tiny{
@include new-button-size (0.73rem, 0.4rem 0.4rem)
}</code></pre>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Disabled Buttons</h4>
<p>Adding a <code>disabled</code> attribute will fade the buttons.</p>
<pre><code class="language-html"><button disabled >Button</button></code></pre>
<button disabled="" ">Button</button>
<input type="submit" value="Submit" disabled="" >
<input type="button" value="Input" disabled="" >
<a class="button" disabled>Link</a>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Round Buttons</h4>
<p>Adding a <code>round-button</code> class will create rounded buttons.</p>
<pre><code class="language-html"><button class="round-button">Button</button></code></pre>
<button class="round-button">Button</button>
<input type="submit" value="Submit" class="round-button">
<input type="button" value="Input" class="round-button">
<a class="round-button button">Link</a>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Square Buttons</h4>
<p>Adding a <code>square-button</code> class will create square buttons.</p>
<pre><code class="language-html"><button class="square-button">Button</button></code></pre>
<button class="square-button">Button</button>
<input type="submit" value="Submit" class="square-button">
<input type="button" value="Input" class="square-button">
<a class="square-button button">Link</a>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Full Width Buttons</h4>
<p>Adding a <code>full-button</code> class will create full-width, block level buttons. Button styles can be combined.</p>
<pre><code class="language-html"><button class="full-button">Button</button></code></pre>
<button class="full-button round-button">Button</button>
</div>
</div>
<div class="_section docStep stepForm" id="form">
<h2>Forms</h2>
<p>Forms have full-width. Labels, selects, inputs, & textareas are block styled.</p>
<pre><code class="language-html"><form>
<label for="full-name">Name</label>
<input type="text" id="full-name" placeholder="Full name">
<label for="email">Email</label>
<input type="email" id="email" placeholder="Email address">
<label for="disabled-field">Disabled</label>
<input type="text" id="disabled-field" value="You cant edit this" disabled>
<label for="error-field">Error Field</label>
<input type="text" id="error-field" class="has-error" placeholder="Correct your input">
<label for="country-code">Select Country</label>
<select name="country-code" id="country-code">
<option>Algeria</option>
<option>American Samoa</option>
<option>Andorra</option>
<option>Angola</option>
</select>
<label class="radio">
<input id="gender-male" name="gender" value="" type="radio">
Male
</label>
<label class="radio">
<input id="gender-female" name="gender" value="" type="radio">
Female
</label>
<label for="address">Address</label>
<textarea id="address"></textarea>
<label class="checkbox">
<input type="checkbox"> Remember me
</label>
<input type="button" value="Submit">
</form></code></pre>
<form>
<label for="full-name">Name</label>
<input type="text" id="full-name" placeholder="Full name">
<label for="email">Email</label>
<input type="email" id="email" placeholder="Email address">
<label for="disabled-field">Disabled</label>
<input type="text" id="disabled-field" value="You cant edit this" disabled>
<label for="error-field">Error Field</label>
<input type="text" id="error-field" class="has-error" placeholder="Correct your input">
<label for="country-code">Select Country</label>
<select name="country-code" id="country-code">
<option>Algeria</option>
<option>American Samoa</option>
<option>Andorra</option>
<option>Angola</option>
</select>
<label class="radio">
<input id="gender-male" name="gender" value="" type="radio">
Male
</label>
<label class="radio">
<input id="gender-female" name="gender" value="" type="radio">
Female
</label>
<label for="address">Address</label>
<textarea id="address"></textarea>
<label class="checkbox">
<input type="checkbox"> Remember me
</label>
<input type="button" value="Submit">
</form>
</div>
<div class="_section docStep stepButtons" id="tables">
<h2>Tables</h2>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Regular Table</h4>
<pre><code class="language-html"><table>
<thead>
<tr>
<th>Name</th>
<th>Status</th>
<th>Age</th>
<th>Gender</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td>
<td>Approved</td>
<td>22</td>
<td>Male</td>
<td>None</td>
</tr>
<tr>
<td>Jamie</td>
<td>Approved</td>
<td>32</td>
<td>Male</td>
<td>Requires call</td>
</tr>
<tr>
<td>Jill</td>
<td>Denied</td>
<td>22</td>
<td>Female</td>
<td>None</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>3 People</th>
<th>2 Approved</th>
<th></th>
<th></th>
<th></th>
</tr>
</tfoot>
</table></code></pre>
<div class="responsive-table">
<table>
<thead>
<tr>
<th>Name</th>
<th>Status</th>
<th>Age</th>
<th>Gender</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td>
<td>Approved</td>
<td>22</td>
<td>Male</td>
<td>None</td>
</tr>
<tr>
<td>Jamie</td>
<td>Approved</td>
<td>32</td>
<td>Male</td>
<td>Requires call</td>
</tr>
<tr>
<td>Jill</td>
<td>Denied</td>
<td>22</td>
<td>Female</td>
<td>None</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>3 People</th>
<th>2 Approved</th>
<th></th>
<th></th>
<th></th>
</tr>
</tfoot>
</table>
</div>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Striped Table</h4>
<p>Add a <code>striped-table</code> class for alternating row background colors.</p>
<pre><code class="language-html"><table class="striped-table">
<!-- Content here -->
</table></code></pre>
<div class="responsive-table">
<table class="striped-table">
<thead>
<tr><th>Name</th>
<th>Status</th>
<th>Age</th>
<th>Gender</th>
<th>Notes</th>
</tr></thead>
<tbody>
<tr>
<td>John</td>
<td>Approved</td>
<td>22</td>
<td>Male</td>
<td>None</td>
</tr>
<tr>
<td>Jamie</td>
<td>Approved</td>
<td>32</td>
<td>Male</td>
<td>Requires call</td>
</tr>
<tr>
<td>Jill</td>
<td>Denied</td>
<td>22</td>
<td>Female</td>
<td>None</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="_section docStep stepHelpers" id="helpers">
<h2>Helpers</h2>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Padding</h4>
<p> Shades has a robust set of padding helpers that would overide any previous padding.
</p>
<ul>
<li>
The general syntax is <code>padding-[amount]</code> for including the padding of the amount sepecified on all sides of the element. Or <code>padding-[side]-[amount]</code> for including the padding of the amount sepecified on just the side specifed on the element e.g<br>
<code>.padding-20</code> or <code>.padding-right-20</code>
</li>
<li>
You can remove padding from either all sides of an element by adding <code>.no-padding</code> or from one side by adding <code>no-padding-[side]</code> e.g <code>.no-padding-right</code>
</li>
<li>
When specifying a side to effect a padding, use any of the following <code>top</code>, <code>right</code>,<code>bottom</code>, <code>left</code>
</li>
<li>
When specifying a padding amount to effect a padding, use any integer of multiples of 5, ranging from 5 to 100 (5 -> 100) e.g <code>.padding-20</code>, <code>.padding-35</code>, <code>.padding-right-75</code>
</li>
</ul>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Margin</h4>
<p> All information regarding padding above apply to margin also.
</p>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Typography</h4>
<p> See the full list of supported text helpers in the <a href="#text-helpers" class="smoothScrollLink">typography section above ↑</a>.
</p>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Vertical Centering</h4>
<p>You can vertically center an element with the <code>vertical-center</code> class. This can be used to vertically center both elements and text as shown below. It makes use of Flexbox so be sure to check for <a href="http://caniuse.com/#search=flexbox" target="_blank">compatibilty issues</a>.
</p>
<pre><code class="language-html"><div class="vertical-center demo_v_center">
<div class="vertical-center">Vertically centered</div>
</div></code></pre>
<div class="vertical-center demo_v_center" >
<div class="vertical-center">Vertically centered</div>
</div>
</div>
<div class="margin-bottom-20">
<h4 class=" _sub_heads">Images</h4>
<div class="row">
<div class="col m6 s12">
<p>Add a <code>.circle-image</code> class for circlar images.</p>
<pre><code class="language-html"><img src="#" class="circle-image" alt="circlar Image"></code></pre>
<img src="https://placehold.it/300x300" class="circle-image responsive-image" alt="Example of circlar-image CSS class">
</div>
<div class="col m6 s12">