-
Notifications
You must be signed in to change notification settings - Fork 0
/
sass.html
2005 lines (1682 loc) · 157 KB
/
sass.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>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- For third-generation iPad with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="img/favicons/apple-touch-icon-144x144-precomposed.png">
<!-- For iPhone with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/favicons/apple-touch-icon-114x114-precomposed.png">
<!-- For first- and second-generation iPad: -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/favicons/apple-touch-icon-72x72-precomposed.png">
<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
<link rel="apple-touch-icon-precomposed" href="img/favicons/apple-touch-icon-precomposed.png">
<link rel="icon" href="img/favicons/favicon.ico" type="image/x-icon">
<title>Foundation Docs: Sass</title>
<link rel="stylesheet" href="/assets/normalize.css" />
<link rel="stylesheet" href="/assets/docs.css" />
<script src="/assets/vendor/custom.modernizr.js"></script>
</head>
<body class="antialiased off-canvas hide-extras">
<nav class="top-bar hide-for-small">
<ul class="title-area">
<!-- Title Area -->
<li class="name">
<h1><a href="/">Foundation</a></h1>
</li>
<!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
</ul>
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul class="right">
<li class="divider"></li>
<li><a href="/grid.php">Features</a></li>
<li class="divider"></li>
<li><a href="/templates.php">Add-ons</a></li>
<li class="divider"></li>
<li><a href="/case-jacquelinewest.php">Case Studies</a></li>
<li class="divider"></li>
<li><a href="/docs/">Docs</a></li>
<li class="divider"></li>
<li><a href="/training.php">Training</a></li>
<li class="divider"></li>
<li class="has-form">
<a href="http://foundation.zurb.com/docs" class="button">Getting Started</a>
</li>
</ul>
</section>
</nav>
<section class="main">
<header class="show-for-small">
<a class='sidebar-button show-for-small' id="sidebarButton" href="#sidebar" ><img src="/assets/offcanvas/menu-wht.png" alt="ZURB Menu"><h4>Foundation</h4></a>
</header>
<div class="row">
<div class="large-12 columns">
<h1 class="docs header"><a href="http://foundation.zurb.com/docs/">Foundation 4 Documentation</a></h1>
<h6 class="docs subheader"><a href="http://foundation.zurb.com/old-docs/f3">Want F3 Docs?</a></h6>
<hr>
</div>
</div>
<div class="row">
<div class="large-9 push-3 columns">
<h2>Using the Sass Version of Foundation</h2>
<h4 class="subheader">Start using Foundation the way you want, with more control than ever before. We've made it really easy to install using Compass so you'll need a little bit of knowledge before you get going. Visit the <a href="http://compass-style.org">Compass</a> and <a href="http://sass-lang.com">Sass</a> sites to learn the basics if you don't already know them.</h4>
<h4>Recommended Installation</h4>
<p>To create your first project using our Compass extension, you'll need to have the <kbd>zurb-foundation</kbd> gem installed. This will install Foundation and all necessary dependencies. Here's the command that will do this for you:</p>
<p class="btm-marg keystroke">[sudo] gem install zurb-foundation</p>
<br>
<em style="font-size: 12px;">Note: Make sure ZURB isn't all caps.</em>
<br><br>
<div class="row">
<div class="large-6 columns">
<h5>Upgrading Your Gem</h5>
<p>To upgrade your gem to the latest public release, just paste this snippet into your command line:</p>
<p class="keystroke">[sudo] gem update zurb-foundation</p>
</div>
<div class="large-6 columns">
<h5>Release Candidates</h5>
<p>Stay on top of the latest before official releases by installing release candidates with this command:</p>
<p class="btm-marg keystroke">[sudo] gem install zurb-foundation --pre</p>
</div>
</div>
<br>
<hr>
<a name="create-compass"></a>
<h2>Creating your first project</h2>
<h5 class="subheader">Compass makes it really easy to start a new project. Since you've installed the Foundation gem by now, you just need to install Compass to get going.</h5>
<p>Follow these two steps to get going:</p>
<ol style="margin-left: 20px;">
<li><span class="keystroke">[sudo] gem install compass</span></li>
<li><span class="keystroke">cd path/to/where-you-want-your-project</span></li>
<li>run <span class="keystroke">compass create <project-name> -r zurb-foundation --using foundation</span></li>
</ol>
<hr>
<h3>Using Sass Standalone</h3>
<p>With Foundation 4, we've removed all dependencies from the framework. This means you can use Foundation with Sass alone and add Compass, Bourbon, or whatever on top of it. To help get going using only Sass, you'll just need to download the <a href="https://github.com/zurb/foundation/tree/scss-standalone">files from Github</a> and put them into your project directory. From there you just need to <code>@import</code> the parts of Foundation you need.</p>
<a class="small button secondary" href="https://github.com/zurb/foundation/tree/scss-standalone">Sass Standalone Branch on Github</a>
<p>To import all of Foundation:</p>
<div class='css'><div class='highlight'><pre class="">
<span class="k">@import</span> <span class="s">"/path/to/foundation";</span>
</pre></div></div>
<p>If you want to override the built in variables, you can find them on each component page or grab the <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_variables.scss">entire list from Github</a>. From there, you'll need to link your settings file above your Foundation import, like so:</p>
<div class='css'><div class='highlight'><pre class="">
<span class="k">@import</span> <span class="s">"/path/to/settings";</span>
<span class="k">@import</span> <span class="s">"/path/to/foundation";</span>
</pre></div></div>
<p>If you want to pick and choose which pieces of Foundation you want, the pieces you need are:</p>
<div class='css'><div class='highlight'><pre class="">
<span class="cm">/* Each individual part that can be added in */
</span><span class="k">@import</span> <span class="s">"foundation/components/global";</span>
<span class="k">@import</span> <span class="s">"foundation/components/grid";</span>
<span class="k">@import</span> <span class="s">"foundation/components/visibility";</span>
<span class="k">@import</span> <span class="s">"foundation/components/block-grid";</span>
<span class="k">@import</span> <span class="s">"foundation/components/type";</span>
<span class="k">@import</span> <span class="s">"foundation/components/buttons";</span>
<span class="k">@import</span> <span class="s">"foundation/components/forms";</span>
<span class="k">@import</span> <span class="s">"foundation/components/custom-forms";</span>
<span class="k">@import</span> <span class="s">"foundation/components/button-groups";</span>
<span class="k">@import</span> <span class="s">"foundation/components/dropdown-buttons";</span>
<span class="k">@import</span> <span class="s">"foundation/components/split-buttons";</span>
<span class="k">@import</span> <span class="s">"foundation/components/flex-video";</span>
<span class="k">@import</span> <span class="s">"foundation/components/section";</span>
<span class="k">@import</span> <span class="s">"foundation/components/top-bar";</span>
<span class="k">@import</span> <span class="s">"foundation/components/orbit";</span>
<span class="k">@import</span> <span class="s">"foundation/components/reveal";</span>
<span class="k">@import</span> <span class="s">"foundation/components/joyride";</span>
<span class="k">@import</span> <span class="s">"foundation/components/clearing";</span>
<span class="k">@import</span> <span class="s">"foundation/components/alert-boxes";</span>
<span class="k">@import</span> <span class="s">"foundation/components/breadcrumbs";</span>
<span class="k">@import</span> <span class="s">"foundation/components/keystrokes";</span>
<span class="k">@import</span> <span class="s">"foundation/components/labels";</span>
<span class="k">@import</span> <span class="s">"foundation/components/inline-lists";</span>
<span class="k">@import</span> <span class="s">"foundation/components/pagination";</span>
<span class="k">@import</span> <span class="s">"foundation/components/panels";</span>
<span class="k">@import</span> <span class="s">"foundation/components/pricing-tables";</span>
<span class="k">@import</span> <span class="s">"foundation/components/progress-bars";</span>
<span class="k">@import</span> <span class="s">"foundation/components/side-nav";</span>
<span class="k">@import</span> <span class="s">"foundation/components/sub-nav";</span>
<span class="k">@import</span> <span class="s">"foundation/components/switch";</span>
<span class="k">@import</span> <span class="s">"foundation/components/magellan";</span>
<span class="k">@import</span> <span class="s">"foundation/components/tables";</span>
<span class="k">@import</span> <span class="s">"foundation/components/thumbs";</span>
<span class="k">@import</span> <span class="s">"foundation/components/tooltips";</span>
<span class="k">@import</span> <span class="s">"foundation/components/dropdown";</span>
</pre></div></div>
<hr>
<div class="row">
<div class="large-12 columns">
<h3>Compiling Your Scss with Compass</h3>
<p>To compile your Scss into CSS you run a simple command that will watch for saves and compile each time you save an Scss file. From the directory of your <kbd>config.rb</kbd> file, the command is:</p>
<p class="btm-marg keystroke">compass watch</p>
<br>
<p>If you are in a different directory you can use the same command, but navigate to where your <kbd>config.rb</kbd> file is. The command looks like:</p>
<p class="btm-marg keystroke">compass watch path/to/project</p>
</div>
</div>
<hr>
<div class="row">
<div class="large-12 columns">
<h3>Compiling Your Scss with Sass</h3>
<p class="btm-marg keystroke">sass --watch your/scss/directory:your/css/directory</p>
<br>
<p>You can watch individual files or the entire directory, we usually watch the entire directory when using Sass standalone.</p>
</div>
</div>
<hr>
<a name="compass-existing"></a>
<h3>Working with Existing projects</h3>
<h5 class="subheader">There are a couple situations to cover here. You might be adding Foundation to an existing project that wasn't build with Foundation or you might be upgrading Foundation for an already created Foundation Compass project.</h5>
<h5>Adding Foundation to existing Compass projects</h5>
<p>If you've created a project using Compass, but didn't require the Foundation gem, you'll need to install it separately. When you do this you'll get all the necessary files on top of the ones you already have. If something is a duplicate, Compass will ignore it. The steps you'll take to properly install Foundation are:</p>
<ol style="margin-left: 20px;">
<li>run <span class="keystroke">gem install zurb-foundation</span></li>
<li>Add <span class="keystroke">require "zurb-foundation"</span> to your config.rb file</li>
<li><span class="keystroke">cd path/to/your-project</span></li>
<li>run <span class="keystroke">compass install foundation</span></li>
</ol>
<h5>Adding Foundation to existing Rails projects</h5>
<ol>
<li>Add <span class="keystroke">gem 'zurb-foundation'</span> to your Gemfile <b>under the <span class="keystroke">assets</span> group</b></li>
<li>run <span class="keystroke">bundle install</span></li>
<li>run <span class="keystroke">rails g foundation:install</span></li>
</ol>
<h5>Upgrading Foundation Compass projects</h5>
<p><strong>Javascript Updates:</strong> If you already added Foundation to your Compass project or created the project using Foundation in the first place and just want to copy over any updated javascripts/image assets to your project, use the provided <kbd>foundation/upgrade</kbd> pattern below:</p>
<ol style="margin-left: 20px;">
<li><span class="keystroke">cd /path/to/your-project</span></li>
<li>run <span class="keystroke">compass install -r zurb-foundation foundation/upgrade --force</span></li>
</ol>
<p><strong>Settings file updates:</strong> You can also upgrade Foundation as a whole, which will override the existing Foundation styles and your settings file. So if you've made changes to your settings file and want to make sure your project is on the latest version of Foundation, make sure you backup your settings file before you begin. Alternatively, you can copy/paste the settings from our file and <strong>@import</strong> your own so they don't get erased.</p>
<p>We also recommend creating a <code>foundation-overrides.scss</code> file that you can use for your own specific styles. This will ensure that your styles don't get obliterated upon updating. <strong>We do not recommend directly editing the Foundation files if you plan to upgrade.</strong> To update you project, use the following steps:</p>
<ol style="margin-left: 20px;">
<li>Make sure you've updated your system version of the gem or upgrading won't work.</li>
<li><span class="keystroke">cd /path/to/your-project</span></li>
<li>run <span class="keystroke">compass install -r zurb-foundation foundation</span></li>
</ol>
<hr>
<a name="project-git"></a>
<h3>Creating a project from Git</h3>
<h5 class="subheader">Sometimes you want to checkout what we've got even before we decide to deploy a release candidate. For these situations, you can install using Bundler.</h5>
<p>There are a few different ways to do this, but here's what we recommend:</p>
<ol style="margin-left: 20px;">
<li>Setup a folder for your project (i.e. <kbd>mkdir ~/awesomeapp</kbd>)
<li>Create a file called <code>Gemfile</code> in the folder you just created with this content: <br>
<div class='ruby'><div class='highlight'><pre class="">
<span class="n">source</span> <span class="s2">"https://rubygems.org"</span>
<span class="n">gem</span> <span class="s2">"zurb-foundation"</span><span class="p">,</span> <span class="ss">:git</span> <span class="o">=></span> <span class="s2">"git@github.com:zurb/foundation.git"</span>
<span class="n">gem</span> <span class="s2">"compass"</span>
</pre></div></div>
</li>
<li>Change into your application directory (<kbd>cd ~/awesomeapp</kbd>) then create a new compass project using the following command:</li>
<div class='bash'><div class='highlight'><pre class="">
bundle <span class="nb">exec </span>compass create . -r zurb-foundation --using foundation
</pre></div></div>
<li>When you're working on your project, run: <kbd>bundle exec compass watch</kbd></li>
</ol>
<hr>
<a name="multiple-versions"></a>
<h3>Running multiple versions</h3>
<h5 class="subheader">If you're planning on running multiple, potentially incompatible versions of Foundation you can isolate them using Bundler as well.</h5>
<p>There are a few different ways to do this, but here's what we recommend:</p>
<ol style="margin-left: 20px;">
<li>Setup a folder for your project (i.e. <kbd>mkdir ~/awesomeapp</kbd>)
<li>Create a file called <code>Gemfile</code> in the folder you just created with this content: <br>
<div class='ruby'><div class='highlight'><pre class="">
<span class="n">source</span> <span class="s2">"https://rubygems.org"</span>
<span class="c1"># Replace 4.0.3 with the version of Foundation you want to use</span>
<span class="n">gem</span> <span class="s2">"zurb-foundation"</span><span class="p">,</span> <span class="s2">"4.0.3"</span>
<span class="n">gem</span> <span class="s2">"compass"</span>
</pre></div></div>
</li>
<li>Change into your application directory (<kbd>cd ~/awesomeapp</kbd>) then create a new compass project using the following command:</li>
<div class='bash'><div class='highlight'><pre class="">
bundle <span class="nb">exec </span>compass create . -r zurb-foundation --using foundation
</pre></div></div>
<li>When you're working on your project, run: <kbd>bundle exec compass watch</kbd></li>
</ol>
<p>Zach Shnackel recently wrote a good article that goes into a bit more detail on this subject: <a rel="nofollow" href="http://zslabs.com/articles/versioned-dependencies-with-compass">http://zslabs.com/articles/versioned-dependencies-with-compass</a></p>
<hr>
<a name="codekit"></a>
<h3>Compiling with CodeKit</h3>
<p>Previous version of Foundation were a bit harder to compile with codekit because of the structure of the Foundation files. We just went through a round of testing with a default project directory, created with the gem. Here are the instructions to follow to get CodeKit working properly:</p>
<ul>
<li>Create a project: <kbd>compass create <em>project-name</em> -r zurb-foundation --using foundation</kbd></li>
<li>Open CodeKit and drag that project folder into the side panel or add it with the "+" button.</li>
<li>Compile away!</li>
</ul>
<p><em>This works with the default version of Sass and Compass that CodeKit comes with. Since Compass isn't a dependency for Foundation any longer, if you want to use it, make sure you have it installed and @imported at the top of your main .scss file.</em></p>
<hr>
<h3>Foundation Global Settings and Mixins</h3>
<p>We've included a global settings file that holds variables and mixins that are used throughout the entirety of Foundation. Here's a look at that file:</p>
<div class='css'><div class='highlight'><pre class="">
<span class="cm">/* Foundation Variables */
</span>
<span class="cm">/* The default font-size is set to 100% of the browser style sheet (usually 16px) */
/* for compatibility with browser-based text zoom or user-set defaults. */
</span><span class="nv">$base-font-size</span><span class="p">:</span> <span class="m">100%</span> <span class="o">!</span><span class="nb">default</span><span class="err">;</span>
<span class="err">$</span><span class="nt">base-line-height</span> <span class="nt">is</span> <span class="nt">24px</span> <span class="nt">while</span> <span class="err">$</span><span class="nt">base-font-size</span> <span class="nt">is</span> <span class="nt">16px</span>
<span class="nv">$base-line-height</span><span class="p">:</span> <span class="m">150%</span><span class="err">;</span>
<span class="cm">/* This is the default html and body font-size for the base em value. */
</span>
<span class="cm">/* Since the typical default browser font-size is 16px, that makes the calculation for grid size. */
/* If you want your base font-size to be a different size and not have it effect grid size too, */
/* set the value of $em-base to $base-font-size ($em-base: $base-font-size;) */
</span><span class="nv">$em-base</span><span class="p">:</span> <span class="m">16px</span> <span class="o">!</span><span class="nb">default</span><span class="err">;</span>
<span class="cm">/* It strips the unit of measure and returns it */
</span><span class="k">@function</span> <span class="nt">strip-unit</span><span class="o">(</span><span class="err">$</span><span class="nt">num</span><span class="o">)</span> <span class="err">{</span>
<span class="k">@return</span> <span class="err">$</span><span class="nt">num</span> <span class="o">/</span> <span class="o">(</span><span class="err">$</span><span class="nt">num</span> <span class="o">*</span> <span class="nt">0</span> <span class="o">+</span> <span class="nt">1</span><span class="o">);</span>
<span class="err">}</span>
<span class="cm">/* New Syntax, allows to optionally calculate on a different base value to counter compounding effect of em's. */
/* Call with 1, 2, 3 or 4 parameters, 'px' is not required but supported */
/* em-calc(10 20 30px 40); */
/* Space delimited, if you want to delimit using comma's, wrap it in another pair of brackets */
/* em-calc((10, 20, 30, 40px)); */
/* Optionally call with a different base (eg: 8px) to calculate em. */
/* em-calc(16px 32px 48px, 8px); */
/* If you require to comma separate your list */
/* em-calc((16px, 32px, 48), 8px); */
</span>
<span class="k">@function</span> <span class="nt">convert-to-em</span><span class="o">(</span><span class="err">$</span><span class="nt">value</span><span class="o">,</span> <span class="err">$</span><span class="nt">base-value</span><span class="nd">:</span> <span class="err">$</span><span class="nt">em-base</span><span class="o">)</span> <span class="err">{</span>
<span class="nv">$value</span><span class="p">:</span> <span class="nf">strip-unit</span><span class="p">(</span><span class="nv">$value</span><span class="p">)</span> <span class="o">/</span> <span class="nf">strip-unit</span><span class="p">(</span><span class="nv">$base-value</span><span class="p">)</span> <span class="o">*</span> <span class="m">1em</span><span class="err">;</span>
<span class="k">@if</span> <span class="p">(</span><span class="nv">$value</span> <span class="o">==</span> <span class="m">0em</span><span class="p">)</span> <span class="err">{</span> <span class="nv">$value</span><span class="o">:</span> <span class="m">0</span><span class="err">;</span> <span class="err">}</span> <span class="o">/*</span> <span class="n">Turn</span> <span class="m">0em</span> <span class="n">into</span> <span class="m">0</span> <span class="o">*/</span>
<span class="k">@return</span> <span class="err">$</span><span class="nt">value</span><span class="o">;</span>
<span class="err">}</span>
<span class="k">@function</span> <span class="nt">em-calc</span><span class="o">(</span><span class="err">$</span><span class="nt">values</span><span class="o">,</span> <span class="err">$</span><span class="nt">base-value</span><span class="nd">:</span> <span class="err">$</span><span class="nt">em-base</span><span class="o">)</span> <span class="err">{</span>
<span class="nv">$max</span><span class="p">:</span> <span class="nf">length</span><span class="p">(</span><span class="nv">$values</span><span class="p">)</span><span class="err">;</span>
<span class="k">@if</span> <span class="nv">$max</span> <span class="o">==</span> <span class="m">1</span> <span class="err">{</span> <span class="o">@</span><span class="n">return</span> <span class="nf">convert-to-em</span><span class="p">(</span><span class="nf">nth</span><span class="p">(</span><span class="nv">$values</span><span class="o">,</span> <span class="m">1</span><span class="p">)</span><span class="o">,</span> <span class="nv">$base-value</span><span class="p">)</span><span class="err">;</span> <span class="err">}</span>
<span class="nv">$emValues</span><span class="p">:</span> <span class="p">()</span><span class="err">;</span>
<span class="k">@for</span> <span class="nv">$i</span> <span class="ow">from</span> <span class="m">1</span> <span class="ow">through</span> <span class="nv">$max</span> <span class="err">{</span>
<span class="nv">$emValues</span><span class="p">:</span> <span class="nf">append</span><span class="p">(</span><span class="nv">$emValues</span><span class="o">,</span> <span class="nf">convert-to-em</span><span class="p">(</span><span class="nf">nth</span><span class="p">(</span><span class="nv">$values</span><span class="o">,</span> <span class="nv">$i</span><span class="p">)</span><span class="o">,</span> <span class="nv">$base-value</span><span class="p">))</span><span class="err">;</span>
<span class="err">}</span>
<span class="k">@return</span> <span class="err">$</span><span class="nt">emValues</span><span class="o">;</span>
<span class="err">}</span>
<span class="cm">/* Support for the old syntax */
</span>
<span class="k">@function</span> <span class="nt">emCalc</span><span class="o">(</span><span class="err">$</span><span class="nt">values</span><span class="o">)</span><span class="err">{</span>
<span class="k">@return</span> <span class="nt">em-calc</span><span class="o">(</span><span class="err">$</span><span class="nt">values</span><span class="o">);</span>
<span class="err">}</span>
<span class="cm">/* Maybe you want to create rems with pixels */
/* $rem-base: 0.625 !default; /*Set the value corresponding to body font size. In this case, you should set as: body {font-size: 62.5%;} */
/* @function remCalc($pxWidth) { */
/* @return $pxWidth / $rem-base * 1rem; */
/* }
</span>
<span class="cm">/* Change whether or not you include browser prefixes */
</span><span class="nv">$experimental</span><span class="p">:</span> <span class="n">true</span> <span class="o">!</span><span class="nb">default</span><span class="err">;</span>
<span class="cm">/* Various global styles */
</span>
<span class="nv">$default-float</span><span class="p">:</span> <span class="nb">left</span><span class="err">;</span>
<span class="nv">$body-bg</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$body-font-color</span><span class="p">:</span> <span class="mh">#222</span><span class="err">;</span>
<span class="nv">$body-font-family</span><span class="p">:</span> <span class="s2">"Helvetica Neue"</span><span class="o">,</span> <span class="s2">"Helvetica"</span><span class="o">,</span> <span class="n">Helvetica</span><span class="o">,</span> <span class="n">Arial</span><span class="o">,</span> <span class="nb">sans-serif</span><span class="err">;</span>
<span class="nv">$body-font-weight</span><span class="p">:</span> <span class="nb">normal</span><span class="err">;</span>
<span class="nv">$body-font-style</span><span class="p">:</span> <span class="nb">normal</span><span class="err">;</span>
<span class="cm">/* Font-smoothing */
</span>
<span class="nv">$font-smoothing</span><span class="p">:</span> <span class="n">antialiased</span><span class="err">;</span>
<span class="cm">/* Text direction settings */
</span>
<span class="nv">$text-direction</span><span class="p">:</span> <span class="nb">ltr</span><span class="err">;</span>
<span class="cm">/* Colors */
</span>
<span class="nv">$primary-color</span><span class="p">:</span> <span class="mh">#2ba6cb</span><span class="err">;</span>
<span class="nv">$secondary-color</span><span class="p">:</span> <span class="mh">#e9e9e9</span><span class="err">;</span>
<span class="nv">$alert-color</span><span class="p">:</span> <span class="mh">#c60f13</span><span class="err">;</span>
<span class="nv">$success-color</span><span class="p">:</span> <span class="mh">#5da423</span><span class="err">;</span>
<span class="cm">/* Make sure border radius matches unless we want it different. */
</span>
<span class="nv">$global-radius</span><span class="p">:</span> <span class="m">3px</span><span class="err">;</span>
<span class="nv">$global-rounded</span><span class="p">:</span> <span class="m">1000px</span><span class="err">;</span>
<span class="cm">/* Inset shadow shiny edges and depressions. */
</span>
<span class="nv">$shiny-edge-size</span><span class="p">:</span> <span class="m">0</span> <span class="m">1px</span> <span class="m">0</span><span class="err">;</span>
<span class="nv">$shiny-edge-color</span><span class="p">:</span> <span class="nf">rgba</span><span class="p">(</span><span class="mh">#fff</span><span class="o">,</span> <span class="mi">.5</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$shiny-edge-active-color</span><span class="p">:</span> <span class="nf">rgba</span><span class="p">(</span><span class="mh">#000</span><span class="o">,</span> <span class="mi">.2</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Control whether or not CSS classes come through in the CSS files. */
</span>
<span class="nv">$include-html-classes</span><span class="p">:</span> <span class="n">true</span><span class="err">;</span>
<span class="nv">$include-print-styles</span><span class="p">:</span> <span class="n">true</span><span class="err">;</span>
<span class="nv">$include-html-global-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-type-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-grid-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-visibility-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-button-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-form-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-custom-form-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-media-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-section-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-orbit-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-reveal-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-joyride-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-clearing-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-alert-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-nav-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-top-bar-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-label-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-panel-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-pricing-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-progress-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-magellan-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="nv">$include-html-tooltip-classes</span><span class="p">:</span> <span class="nv">$include-html-classes</span><span class="err">;</span>
<span class="cm">/* Media Queries */
</span>
<span class="nv">$small-screen</span><span class="p">:</span> <span class="m">768px</span><span class="err">;</span>
<span class="nv">$medium-screen</span><span class="p">:</span> <span class="m">1280px</span><span class="err">;</span>
<span class="nv">$large-screen</span><span class="p">:</span> <span class="m">1440px</span><span class="err">;</span>
<span class="nv">$screen</span><span class="p">:</span> <span class="s2">"only screen"</span><span class="err">;</span>
<span class="nv">$small</span><span class="p">:</span> <span class="s2">"only screen and (min-width: </span><span class="si">#{</span><span class="nv">$small-screen</span><span class="si">}</span><span class="s2">)"</span><span class="err">;</span>
<span class="nv">$medium</span><span class="p">:</span> <span class="s2">"only screen and (min-width: </span><span class="si">#{</span><span class="nv">$medium-screen</span><span class="si">}</span><span class="s2">)"</span><span class="err">;</span>
<span class="nv">$large</span><span class="p">:</span> <span class="s2">"only screen and (min-width: </span><span class="si">#{</span><span class="nv">$large-screen</span><span class="si">}</span><span class="s2">)"</span><span class="err">;</span>
<span class="nv">$landscape</span><span class="p">:</span> <span class="s2">"only screen and (orientation: landscape)"</span><span class="err">;</span>
<span class="nv">$portrait</span><span class="p">:</span> <span class="s2">"only screen and (orientation: portrait)"</span><span class="err">;</span>
<span class="cm">/* Cursors */
</span>
<span class="cm">/* Custom use example -> $cursor-default-value: url(http://cursors-site.net/path/to/custom/cursor/default.cur),progress; */
</span>
<span class="nv">$cursor-crosshair-value</span><span class="p">:</span> <span class="s2">"crosshair"</span><span class="err">;</span>
<span class="nv">$cursor-default-value</span><span class="p">:</span> <span class="s2">"default"</span><span class="err">;</span>
<span class="nv">$cursor-pointer-value</span><span class="p">:</span> <span class="s2">"pointer"</span><span class="err">;</span>
<span class="nv">$cursor-help-value</span><span class="p">:</span> <span class="s2">"help"</span><span class="err">;</span>
<span class="cm">/* Grid Variables */
</span>
<span class="nv">$row-width</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">1000</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$column-gutter</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">30</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$total-columns</span><span class="p">:</span> <span class="m">12</span><span class="err">;</span>
<span class="cm">/* Block Grid Variables */
</span>
<span class="cm">/* Maximum number of block grid elements per row */
</span>
<span class="nv">$block-grid-elements</span><span class="p">:</span> <span class="m">12</span><span class="err">;</span>
<span class="nv">$block-grid-default-spacing</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">20</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Enables media queries for block-grid classes. Set to false if writing semantic HTML. */
</span>
<span class="nv">$block-grid-media-queries</span><span class="p">:</span> <span class="n">true</span><span class="err">;</span>
<span class="cm">/* Typography Variables */
</span>
<span class="cm">/* Heading font styles */
</span>
<span class="nv">$header-font-family</span><span class="p">:</span> <span class="s2">"Helvetica Neue"</span><span class="o">,</span> <span class="s2">"Helvetica"</span><span class="o">,</span> <span class="n">Helvetica</span><span class="o">,</span> <span class="n">Arial</span><span class="o">,</span> <span class="nb">sans-serif</span><span class="err">;</span>
<span class="nv">$header-font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="err">;</span>
<span class="nv">$header-font-style</span><span class="p">:</span> <span class="nb">normal</span><span class="err">;</span>
<span class="nv">$header-font-color</span><span class="p">:</span> <span class="mh">#222</span><span class="err">;</span>
<span class="nv">$header-line-height</span><span class="p">:</span> <span class="m">1</span><span class="mi">.4</span><span class="err">;</span>
<span class="nv">$header-top-margin</span><span class="p">:</span> <span class="mi">.2em</span><span class="err">;</span>
<span class="nv">$header-bottom-margin</span><span class="p">:</span> <span class="mi">.5em</span><span class="err">;</span>
<span class="nv">$header-text-rendering</span><span class="p">:</span> <span class="n">optimizeLegibility</span><span class="err">;</span>
<span class="cm">/* Heading font sizes */
</span>
<span class="nv">$h1-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">44</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$h2-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">37</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$h3-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">27</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$h4-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">23</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$h5-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">18</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$h6-font-size</span><span class="p">:</span> <span class="m">1em</span><span class="err">;</span>
<span class="cm">/* Subheaders */
</span>
<span class="nv">$subheader-line-height</span><span class="p">:</span> <span class="m">1</span><span class="mi">.4</span><span class="err">;</span>
<span class="nv">$subheader-font-color</span><span class="p">:</span> <span class="nf">lighten</span><span class="p">(</span><span class="nv">$header-font-color</span><span class="o">,</span> <span class="m">30%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$subheader-font-weight</span><span class="p">:</span> <span class="m">300</span><span class="err">;</span>
<span class="nv">$subheader-top-margin</span><span class="p">:</span> <span class="mi">.2em</span><span class="err">;</span>
<span class="nv">$subheader-bottom-margin</span><span class="p">:</span> <span class="mi">.5em</span><span class="err">;</span>
<span class="cm">/* <small> styling */
</span>
<span class="nv">$small-font-size</span><span class="p">:</span> <span class="m">60%</span><span class="err">;</span>
<span class="nv">$small-font-color</span><span class="p">:</span> <span class="nf">lighten</span><span class="p">(</span><span class="nv">$header-font-color</span><span class="o">,</span> <span class="m">30%</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Paragraphs */
</span>
<span class="nv">$paragraph-font-family</span><span class="p">:</span> <span class="nb">inherit</span><span class="err">;</span>
<span class="nv">$paragraph-font-weight</span><span class="p">:</span> <span class="nb">normal</span><span class="err">;</span>
<span class="nv">$paragraph-font-size</span><span class="p">:</span> <span class="m">1em</span><span class="err">;</span>
<span class="nv">$paragraph-line-height</span><span class="p">:</span> <span class="m">1</span><span class="mi">.6</span><span class="err">;</span>
<span class="nv">$paragraph-margin-bottom</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">20</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$paragraph-aside-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">14</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$paragraph-aside-line-height</span><span class="p">:</span> <span class="m">1</span><span class="mi">.35</span><span class="err">;</span>
<span class="nv">$paragraph-aside-font-style</span><span class="p">:</span> <span class="nb">italic</span><span class="err">;</span>
<span class="cm">/* <code> tags */
</span>
<span class="nv">$code-color</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="nv">$alert-color</span><span class="o">,</span> <span class="m">15%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$code-font-family</span><span class="p">:</span> <span class="n">Consolas</span><span class="o">,</span> <span class="s2">"Liberation Mono"</span><span class="o">,</span> <span class="n">Courier</span><span class="o">,</span> <span class="nb">monospace</span><span class="err">;</span>
<span class="nv">$code-font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="err">;</span>
<span class="cm">/* Anchors */
</span>
<span class="nv">$anchor-text-decoration</span><span class="p">:</span> <span class="nb">none</span><span class="err">;</span>
<span class="nv">$anchor-font-color</span><span class="p">:</span> <span class="nv">$primary-color</span><span class="err">;</span>
<span class="nv">$anchor-font-color-hover</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="nv">$primary-color</span><span class="o">,</span> <span class="m">5%</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* <hr> element */
</span>
<span class="nv">$hr-border-width</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$hr-border-style</span><span class="p">:</span> <span class="nb">solid</span><span class="err">;</span>
<span class="nv">$hr-border-color</span><span class="p">:</span> <span class="mh">#ddd</span><span class="err">;</span>
<span class="nv">$hr-margin</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">20</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Lists */
</span>
<span class="nv">$list-style-position</span><span class="p">:</span> <span class="nb">outside</span><span class="err">;</span>
<span class="nv">$list-side-margin</span><span class="p">:</span> <span class="m">0</span><span class="err">;</span>
<span class="nv">$list-nested-margin</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">20</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$definition-list-header-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="err">;</span>
<span class="nv">$definition-list-header-margin-bottom</span><span class="p">:</span> <span class="mi">.3em</span><span class="err">;</span>
<span class="nv">$definition-list-margin-bottom</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">12</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Blockquotes */
</span>
<span class="nv">$blockquote-font-color</span><span class="p">:</span> <span class="nf">lighten</span><span class="p">(</span><span class="nv">$header-font-color</span><span class="o">,</span> <span class="m">30%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$blockquote-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">9</span><span class="o">,</span> <span class="m">20</span><span class="o">,</span> <span class="m">0</span><span class="o">,</span> <span class="m">19</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$blockquote-border</span><span class="p">:</span> <span class="m">1px</span> <span class="nb">solid</span> <span class="mh">#ddd</span><span class="err">;</span>
<span class="nv">$blockquote-cite-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">13</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$blockquote-cite-font-color</span><span class="p">:</span> <span class="nf">lighten</span><span class="p">(</span><span class="nv">$header-font-color</span><span class="o">,</span> <span class="m">20%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$blockquote-cite-link-color</span><span class="p">:</span> <span class="nv">$blockquote-cite-font-color</span><span class="err">;</span>
<span class="cm">/* Acronym */
</span>
<span class="nv">$acronym-underline</span><span class="p">:</span> <span class="m">1px</span> <span class="nb">dotted</span> <span class="mh">#ddd</span><span class="err">;</span>
<span class="cm">/* Padding and margin */
</span>
<span class="nv">$microformat-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">10</span><span class="o">,</span> <span class="m">12</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$microformat-margin</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">0</span><span class="o">,</span> <span class="m">0</span><span class="o">,</span> <span class="m">20</span><span class="o">,</span> <span class="m">0</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Border styles */
</span>
<span class="nv">$microformat-border-width</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$microformat-border-style</span><span class="p">:</span> <span class="nb">solid</span><span class="err">;</span>
<span class="nv">$microformat-border-color</span><span class="p">:</span> <span class="mh">#ddd</span><span class="err">;</span>
<span class="cm">/* Full name font styles */
</span>
<span class="nv">$microformat-fullname-font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="err">;</span>
<span class="nv">$microformat-fullname-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">15</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Summary font styles */
</span>
<span class="nv">$microformat-summary-font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="err">;</span>
<span class="cm">/* <abbr> padding */
</span>
<span class="nv">$microformat-abbr-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">0</span><span class="o">,</span> <span class="m">1</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* <abbr> font styles */
</span>
<span class="nv">$microformat-abbr-font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="err">;</span>
<span class="nv">$microformat-abbr-font-decoration</span><span class="p">:</span> <span class="nb">none</span><span class="err">;</span>
<span class="cm">/* Form Variables */
</span>
<span class="cm">/* Base for lots of form spacing and positioning styles */
</span>
<span class="nv">$form-spacing</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">16</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Labels */
</span>
<span class="nv">$form-label-pointer</span><span class="p">:</span> <span class="nb">pointer</span><span class="err">;</span>
<span class="nv">$form-label-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">14</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$form-label-font-weight</span><span class="p">:</span> <span class="m">500</span><span class="err">;</span>
<span class="nv">$form-label-font-color</span><span class="p">:</span> <span class="nf">lighten</span><span class="p">(</span><span class="mh">#000</span><span class="o">,</span> <span class="m">30%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$form-label-bottom-margin</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">3</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-font-family</span><span class="p">:</span> <span class="nb">inherit</span><span class="err">;</span>
<span class="nv">$input-font-color</span><span class="p">:</span> <span class="nf">rgba</span><span class="p">(</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="mi">.75</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">14</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-bg-color</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$input-focus-bg-color</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="mh">#fff</span><span class="o">,</span> <span class="m">2%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-border-color</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="mh">#fff</span><span class="o">,</span> <span class="m">20%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-focus-border-color</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="mh">#fff</span><span class="o">,</span> <span class="m">40%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-border-style</span><span class="p">:</span> <span class="nb">solid</span><span class="err">;</span>
<span class="nv">$input-border-width</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$input-disabled-bg</span><span class="p">:</span> <span class="mh">#ddd</span><span class="err">;</span>
<span class="nv">$input-box-shadow</span><span class="p">:</span> <span class="nb">inset</span> <span class="m">0</span> <span class="m">1px</span> <span class="m">2px</span> <span class="nf">rgba</span><span class="p">(</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="mi">.1</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-include-glowing-effect</span><span class="p">:</span> <span class="n">true</span><span class="err">;</span>
<span class="cm">/* Fieldset border and spacing. */
</span>
<span class="nv">$fieldset-border-style</span><span class="p">:</span> <span class="nb">solid</span><span class="err">;</span>
<span class="nv">$fieldset-border-width</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$fieldset-border-color</span><span class="p">:</span> <span class="mh">#ddd</span><span class="err">;</span>
<span class="nv">$fieldset-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">20</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$fieldset-margin</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">18</span><span class="o">,</span> <span class="m">0</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Legends */
</span>
<span class="nv">$legend-bg</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$legend-font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="err">;</span>
<span class="nv">$legend-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">0</span><span class="o">,</span> <span class="m">3</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Prefix and postfix input elements */
</span>
<span class="nv">$input-prefix-bg</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="mh">#fff</span><span class="o">,</span> <span class="m">5%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-prefix-border-color</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="mh">#fff</span><span class="o">,</span> <span class="m">20%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-prefix-border-size</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$input-prefix-border-type</span><span class="p">:</span> <span class="nb">solid</span><span class="err">;</span>
<span class="nv">$input-prefix-overflow</span><span class="p">:</span> <span class="nb">hidden</span><span class="err">;</span>
<span class="nv">$input-prefix-font-color</span><span class="p">:</span> <span class="mh">#333</span><span class="err">;</span>
<span class="nv">$input-prefix-font-color-alt</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="cm">/* Error states for inputs and labels */
</span>
<span class="nv">$input-error-message-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">6</span><span class="o">,</span> <span class="m">4</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-error-message-top</span><span class="p">:</span> <span class="nf">-</span><span class="p">(</span><span class="nv">$form-spacing</span><span class="p">)</span> <span class="o">-</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">5</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-error-message-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">12</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$input-error-message-font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="err">;</span>
<span class="nv">$input-error-message-font-color</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$input-error-message-font-color-alt</span><span class="p">:</span> <span class="mh">#333</span><span class="err">;</span>
<span class="cm">/* Glowing effect of inputs when focused */
</span>
<span class="nv">$glowing-effect-fade-time</span><span class="p">:</span> <span class="m">0</span><span class="mi">.45s</span><span class="err">;</span>
<span class="nv">$glowing-effect-color</span><span class="p">:</span> <span class="nv">$input-focus-border-color</span><span class="err">;</span>
<span class="cm">/* Button Variables */
</span>
<span class="cm">/* Padding for buttons. */
</span>
<span class="nv">$button-tny</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">7</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$button-sml</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">9</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$button-med</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">12</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$button-lrg</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">16</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Display property. */
</span>
<span class="nv">$button-display</span><span class="p">:</span> <span class="n">inline-block</span><span class="err">;</span>
<span class="nv">$button-margin-bottom</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">20</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Button text styles. */
</span>
<span class="nv">$button-font-family</span><span class="p">:</span> <span class="nb">inherit</span><span class="err">;</span>
<span class="nv">$button-font-color</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$button-font-color-alt</span><span class="p">:</span> <span class="mh">#333</span><span class="err">;</span>
<span class="nv">$button-font-med</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">16</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$button-font-tny</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">11</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$button-font-sml</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">13</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$button-font-lrg</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">20</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$button-font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="err">;</span>
<span class="nv">$button-font-align</span><span class="p">:</span> <span class="nb">center</span><span class="err">;</span>
<span class="cm">/* Various hover effects. */
</span>
<span class="nv">$button-function-factor</span><span class="p">:</span> <span class="m">10%</span><span class="err">;</span>
<span class="cm">/* Button border styles. */
</span>
<span class="nv">$button-border-width</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$button-border-style</span><span class="p">:</span> <span class="nb">solid</span><span class="err">;</span>
<span class="nv">$button-border-color</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="nv">$primary-color</span><span class="o">,</span> <span class="nv">$button-function-factor</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Radius used throughout the core. */
</span>
<span class="nv">$button-radius</span><span class="p">:</span> <span class="nv">$global-radius</span><span class="err">;</span>
<span class="cm">/* Opacity for disabled buttons. */
</span>
<span class="nv">$button-disabled-opacity</span><span class="p">:</span> <span class="m">0</span><span class="mi">.6</span><span class="err">;</span>
<span class="cm">/* Button Groups */
</span>
<span class="cm">/* Sets the margin for the right side by default, and the left margin if right-to-left direction is used */
</span>
<span class="nv">$button-bar-margin-opposite</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">10</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Dropdown Button Variables */
</span>
<span class="cm">/* Color of the pip in dropdown buttons */
</span>
<span class="nv">$dropdown-button-pip-color</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-color-alt</span><span class="p">:</span> <span class="mh">#333</span><span class="err">;</span>
<span class="cm">/* Tiny dropdown buttons */
</span>
<span class="nv">$dropdown-button-padding-tny</span><span class="p">:</span> <span class="nv">$button-tny</span> <span class="o">*</span> <span class="m">5</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-size-tny</span><span class="p">:</span> <span class="nv">$button-tny</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-right-tny</span><span class="p">:</span> <span class="nv">$button-tny</span> <span class="o">*</span> <span class="m">2</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-top-tny</span><span class="p">:</span> <span class="o">-</span><span class="nv">$button-tny</span> <span class="o">/</span> <span class="m">2</span> <span class="o">+</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">1</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Small dropdown buttons */
</span>
<span class="nv">$dropdown-button-padding-sml</span><span class="p">:</span> <span class="nv">$button-sml</span> <span class="o">*</span> <span class="m">5</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-size-sml</span><span class="p">:</span> <span class="nv">$button-sml</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-right-sml</span><span class="p">:</span> <span class="nv">$button-sml</span> <span class="o">*</span> <span class="m">2</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-top-sml</span><span class="p">:</span> <span class="o">-</span><span class="nv">$button-sml</span> <span class="o">/</span> <span class="m">2</span> <span class="o">+</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">1</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Medium dropdown buttons */
</span>
<span class="nv">$dropdown-button-padding-med</span><span class="p">:</span> <span class="nv">$button-med</span> <span class="o">*</span> <span class="m">4</span> <span class="o">+</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">3</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-size-med</span><span class="p">:</span> <span class="nv">$button-med</span> <span class="o">-</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">3</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-right-med</span><span class="p">:</span> <span class="nv">$button-med</span> <span class="o">*</span> <span class="m">2</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-top-med</span><span class="p">:</span> <span class="o">-</span><span class="nv">$button-med</span> <span class="o">/</span> <span class="m">2</span> <span class="o">+</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">2</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Large dropdown buttons */
</span>
<span class="nv">$dropdown-button-padding-lrg</span><span class="p">:</span> <span class="nv">$button-lrg</span> <span class="o">*</span> <span class="m">4</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-size-lrg</span><span class="p">:</span> <span class="nv">$button-lrg</span> <span class="o">-</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">6</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-right-lrg</span><span class="p">:</span> <span class="nv">$button-lrg</span> <span class="o">+</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">12</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$dropdown-button-pip-top-lrg</span><span class="p">:</span> <span class="o">-</span><span class="nv">$button-lrg</span> <span class="o">/</span> <span class="m">2</span> <span class="o">+</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">3</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Split Button Variables */
</span>
<span class="cm">/* Shared styles for Split Buttons */
</span>
<span class="nv">$split-button-function-factor</span><span class="p">:</span> <span class="m">15%</span><span class="err">;</span>
<span class="nv">$split-button-pip-color</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$split-button-pip-color-alt</span><span class="p">:</span> <span class="mh">#333</span><span class="err">;</span>
<span class="nv">$split-button-active-bg-tint</span><span class="p">:</span> <span class="nf">rgba</span><span class="p">(</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="mi">.1</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Tiny split buttons */
</span>
<span class="nv">$split-button-padding-tny</span><span class="p">:</span> <span class="nv">$button-tny</span> <span class="o">*</span> <span class="m">9</span><span class="err">;</span>
<span class="nv">$split-button-span-width-tny</span><span class="p">:</span> <span class="nv">$button-tny</span> <span class="o">*</span> <span class="m">6</span><span class="mi">.5</span><span class="err">;</span>
<span class="nv">$split-button-pip-size-tny</span><span class="p">:</span> <span class="nv">$button-tny</span><span class="err">;</span>
<span class="nv">$split-button-pip-top-tny</span><span class="p">:</span> <span class="nv">$button-tny</span> <span class="o">*</span> <span class="m">2</span><span class="err">;</span>
<span class="nv">$split-button-pip-left-tny</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">-5</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Small split buttons */
</span>
<span class="nv">$split-button-padding-sml</span><span class="p">:</span> <span class="nv">$button-sml</span> <span class="o">*</span> <span class="m">7</span><span class="err">;</span>
<span class="nv">$split-button-span-width-sml</span><span class="p">:</span> <span class="nv">$button-sml</span> <span class="o">*</span> <span class="m">5</span><span class="err">;</span>
<span class="nv">$split-button-pip-size-sml</span><span class="p">:</span> <span class="nv">$button-sml</span><span class="err">;</span>
<span class="nv">$split-button-pip-top-sml</span><span class="p">:</span> <span class="nv">$button-sml</span> <span class="o">*</span> <span class="m">1</span><span class="mi">.5</span><span class="err">;</span>
<span class="nv">$split-button-pip-left-sml</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">-9</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Medium split buttons */
</span>
<span class="nv">$split-button-padding-med</span><span class="p">:</span> <span class="nv">$button-med</span> <span class="o">*</span> <span class="m">6</span><span class="mi">.4</span><span class="err">;</span>
<span class="nv">$split-button-span-width-med</span><span class="p">:</span> <span class="nv">$button-med</span> <span class="o">*</span> <span class="m">4</span><span class="err">;</span>
<span class="nv">$split-button-pip-size-med</span><span class="p">:</span> <span class="nv">$button-med</span> <span class="o">-</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">3</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$split-button-pip-top-med</span><span class="p">:</span> <span class="nv">$button-med</span> <span class="o">*</span> <span class="m">1</span><span class="mi">.5</span><span class="err">;</span>
<span class="nv">$split-button-pip-left-med</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">-9</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Large split buttons */
</span>
<span class="nv">$split-button-padding-lrg</span><span class="p">:</span> <span class="nv">$button-lrg</span> <span class="o">*</span> <span class="m">6</span><span class="err">;</span>
<span class="nv">$split-button-span-width-lrg</span><span class="p">:</span> <span class="nv">$button-lrg</span> <span class="o">*</span> <span class="m">3</span><span class="mi">.75</span><span class="err">;</span>
<span class="nv">$split-button-pip-size-lrg</span><span class="p">:</span> <span class="nv">$button-lrg</span> <span class="o">-</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">6</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$split-button-pip-top-lrg</span><span class="p">:</span> <span class="nv">$button-lrg</span> <span class="o">+</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">5</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$split-button-pip-left-lrg</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">-9</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Alert Variables */
</span>
<span class="cm">/* Alert padding */
</span>
<span class="nv">$alert-padding-top</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">11</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$alert-padding-default-float</span><span class="p">:</span> <span class="nv">$alert-padding-top</span><span class="err">;</span>
<span class="nv">$alert-padding-opposite-direction</span><span class="p">:</span> <span class="nv">$alert-padding-top</span> <span class="o">+</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">10</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$alert-padding-bottom</span><span class="p">:</span> <span class="nv">$alert-padding-top</span> <span class="o">+</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">1</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Text style */
</span>
<span class="nv">$alert-font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="err">;</span>
<span class="nv">$alert-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">14</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$alert-font-color</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$alert-font-color-alt</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="nv">$secondary-color</span><span class="o">,</span> <span class="m">60%</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Hover effect */
</span>
<span class="nv">$alert-function-factor</span><span class="p">:</span> <span class="m">10%</span><span class="err">;</span>
<span class="cm">/* Border Styles */
</span>
<span class="nv">$alert-border-style</span><span class="p">:</span> <span class="nb">solid</span><span class="err">;</span>
<span class="nv">$alert-border-width</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$alert-border-color</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="nv">$primary-color</span><span class="o">,</span> <span class="nv">$alert-function-factor</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$alert-bottom-margin</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">20</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Close Button style */
</span>
<span class="nv">$alert-close-color</span><span class="p">:</span> <span class="mh">#333</span><span class="err">;</span>
<span class="nv">$alert-close-position</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">5</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$alert-close-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">22</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$alert-close-opacity</span><span class="p">:</span> <span class="m">0</span><span class="mi">.3</span><span class="err">;</span>
<span class="nv">$alert-close-opacity-hover</span><span class="p">:</span> <span class="m">0</span><span class="mi">.5</span><span class="err">;</span>
<span class="nv">$alert-close-padding</span><span class="p">:</span> <span class="m">5px</span> <span class="m">4px</span> <span class="m">4px</span><span class="err">;</span>
<span class="cm">/* Border radius */
</span>
<span class="nv">$alert-radius</span><span class="p">:</span> <span class="nv">$global-radius</span><span class="err">;</span>
<span class="cm">/* Breadcrumb Variables */
</span>
<span class="cm">/* Background color for the breadcrumb container. */
</span>
<span class="nv">$crumb-bg</span><span class="p">:</span> <span class="nf">lighten</span><span class="p">(</span><span class="nv">$secondary-color</span><span class="o">,</span> <span class="m">5%</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Padding around the breadcrumbs. */
</span>
<span class="nv">$crumb-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">6</span><span class="o">,</span> <span class="m">14</span><span class="o">,</span> <span class="m">9</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$crumb-side-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">12</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Border styles. */
</span>
<span class="nv">$crumb-function-factor</span><span class="p">:</span> <span class="m">10%</span><span class="err">;</span>
<span class="nv">$crumb-border-size</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$crumb-border-style</span><span class="p">:</span> <span class="nb">solid</span><span class="err">;</span>
<span class="nv">$crumb-border-color</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="nv">$crumb-bg</span><span class="o">,</span> <span class="nv">$crumb-function-factor</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$crumb-radius</span><span class="p">:</span> <span class="nv">$global-radius</span><span class="err">;</span>
<span class="cm">/* Various text styles for breadcrumbs. */
</span>
<span class="nv">$crumb-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">11</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$crumb-font-color</span><span class="p">:</span> <span class="nv">$primary-color</span><span class="err">;</span>
<span class="nv">$crumb-font-color-current</span><span class="p">:</span> <span class="mh">#333</span><span class="err">;</span>
<span class="nv">$crumb-font-color-unavailable</span><span class="p">:</span> <span class="mh">#999</span><span class="err">;</span>
<span class="nv">$crumb-font-transform</span><span class="p">:</span> <span class="nb">uppercase</span><span class="err">;</span>
<span class="nv">$crumb-link-decor</span><span class="p">:</span> <span class="nb">underline</span><span class="err">;</span>
<span class="cm">/* Slash between breadcrumbs */
</span>
<span class="nv">$crumb-slash-color</span><span class="p">:</span> <span class="mh">#aaa</span><span class="err">;</span>
<span class="nv">$crumb-slash</span><span class="p">:</span> <span class="s2">"/"</span><span class="err">;</span>
<span class="cm">/* Clearing Variables */
</span>
<span class="cm">/* Background colors for parts of Clearing. */
</span>
<span class="nv">$clearing-bg</span><span class="p">:</span> <span class="mh">#111</span><span class="err">;</span>
<span class="nv">$clearing-caption-bg</span><span class="p">:</span> <span class="nv">$clearing-bg</span><span class="err">;</span>
<span class="nv">$clearing-carousel-bg</span><span class="p">:</span> <span class="mh">#111</span><span class="err">;</span>
<span class="nv">$clearing-img-bg</span><span class="p">:</span> <span class="nv">$clearing-bg</span><span class="err">;</span>
<span class="cm">/* Close button */
</span>
<span class="nv">$clearing-close-color</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$clearing-close-size</span><span class="p">:</span> <span class="m">40px</span><span class="err">;</span>
<span class="cm">/* Style the arrows */
</span>
<span class="nv">$clearing-arrow-size</span><span class="p">:</span> <span class="m">16px</span><span class="err">;</span>
<span class="nv">$clearing-arrow-color</span><span class="p">:</span> <span class="nv">$clearing-close-color</span><span class="err">;</span>
<span class="cm">/* Style captions */
</span>
<span class="nv">$clearing-caption-font-color</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$clearing-caption-padding</span><span class="p">:</span> <span class="m">10px</span> <span class="m">30px</span><span class="err">;</span>
<span class="cm">/* Make the image and carousel height and style */
</span>
<span class="nv">$clearing-active-img-height</span><span class="p">:</span> <span class="m">75%</span><span class="err">;</span>
<span class="nv">$clearing-carousel-height</span><span class="p">:</span> <span class="m">150px</span><span class="err">;</span>
<span class="nv">$clearing-carousel-thumb-width</span><span class="p">:</span> <span class="m">175px</span><span class="err">;</span>
<span class="nv">$clearing-carousel-thumb-active-border</span><span class="p">:</span> <span class="m">4px</span> <span class="nb">solid</span> <span class="nf">rgb</span><span class="p">(</span><span class="m">255</span><span class="o">,</span><span class="m">255</span><span class="o">,</span><span class="m">255</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Custom Form Variables */
</span>
<span class="cm">/* Basic form styles input styles */
</span>
<span class="nv">$custom-form-border-color</span><span class="p">:</span> <span class="mh">#ccc</span><span class="err">;</span>
<span class="nv">$custom-form-border-size</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$custom-form-bg</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$custom-form-bg-disabled</span><span class="p">:</span> <span class="mh">#ddd</span><span class="err">;</span>
<span class="nv">$custom-form-input-size</span><span class="p">:</span> <span class="m">16px</span><span class="err">;</span>
<span class="nv">$custom-form-check-color</span><span class="p">:</span> <span class="mh">#222</span><span class="err">;</span>
<span class="nv">$custom-form-check-size</span><span class="p">:</span> <span class="m">14px</span><span class="err">;</span>
<span class="nv">$custom-form-radio-size</span><span class="p">:</span> <span class="m">8px</span><span class="err">;</span>
<span class="nv">$custom-form-checkbox-radius</span><span class="p">:</span> <span class="m">0</span><span class="err">;</span>
<span class="cm">/* Custom select form element. */
</span>
<span class="nv">$custom-select-bg</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$custom-select-fade-to-color</span><span class="p">:</span> <span class="mh">#f3f3f3</span><span class="err">;</span>
<span class="nv">$custom-select-border-color</span><span class="p">:</span> <span class="mh">#ddd</span><span class="err">;</span>
<span class="nv">$custom-select-triangle-color</span><span class="p">:</span> <span class="mh">#aaa</span><span class="err">;</span>
<span class="nv">$custom-select-triangle-color-open</span><span class="p">:</span> <span class="mh">#222</span><span class="err">;</span>
<span class="nv">$custom-select-height</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">13</span><span class="p">)</span> <span class="o">+</span> <span class="p">(</span><span class="nv">$form-spacing</span> <span class="o">*</span> <span class="m">1</span><span class="mi">.5</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$custom-select-margin-bottom</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">20</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$custom-select-font-color-selected</span><span class="p">:</span> <span class="mh">#141414</span><span class="err">;</span>
<span class="nv">$custom-select-disabled-color</span><span class="p">:</span> <span class="mh">#888</span><span class="err">;</span>
<span class="cm">/* Custom select dropdown element. */
</span>
<span class="nv">$custom-dropdown-height</span><span class="p">:</span> <span class="m">200px</span><span class="err">;</span>
<span class="nv">$custom-dropdown-bg</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$custom-dropdown-border-color</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="mh">#fff</span><span class="o">,</span> <span class="m">20%</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$custom-dropdown-border-width</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$custom-dropdown-border-style</span><span class="p">:</span> <span class="nb">solid</span><span class="err">;</span>
<span class="nv">$custom-dropdown-font-color</span><span class="p">:</span> <span class="mh">#555</span><span class="err">;</span>
<span class="nv">$custom-dropdown-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">14</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$custom-dropdown-color-selected</span><span class="p">:</span> <span class="mh">#eeeeee</span><span class="err">;</span>
<span class="nv">$custom-dropdown-font-color-selected</span><span class="p">:</span> <span class="mh">#000</span><span class="err">;</span>
<span class="nv">$custom-dropdown-shadow</span><span class="p">:</span> <span class="m">0</span> <span class="m">2px</span> <span class="m">2px</span> <span class="m">0</span> <span class="nf">rgba</span><span class="p">(</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="o">,</span><span class="m">0</span><span class="mi">.1</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$custom-dropdown-offset-top</span><span class="p">:</span> <span class="nb">none</span><span class="err">;</span>
<span class="nv">$custom-dropdown-list-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">4</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$custom-dropdown-left-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">6</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$custom-dropdown-right-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">38</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$custom-dropdown-list-item-min-height</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">24</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Dropdown Variables */
</span>
<span class="cm">/* Height and width styles. */
</span>
<span class="nv">$f-dropdown-max-width</span><span class="p">:</span> <span class="m">200px</span><span class="err">;</span>
<span class="nv">$f-dropdown-height</span><span class="p">:</span> <span class="nb">auto</span><span class="err">;</span>
<span class="nv">$f-dropdown-max-height</span><span class="p">:</span> <span class="nb">none</span><span class="err">;</span>
<span class="nv">$f-dropdown-margin-top</span><span class="p">:</span> <span class="m">2px</span><span class="err">;</span>
<span class="cm">/* Background color */
</span>
<span class="nv">$f-dropdown-bg</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="cm">/* Border styles for dropdowns. */
</span>
<span class="nv">$f-dropdown-border-style</span><span class="p">:</span> <span class="nb">solid</span><span class="err">;</span>
<span class="nv">$f-dropdown-border-width</span><span class="p">:</span> <span class="m">1px</span><span class="err">;</span>
<span class="nv">$f-dropdown-border-color</span><span class="p">:</span> <span class="nf">darken</span><span class="p">(</span><span class="mh">#fff</span><span class="o">,</span> <span class="m">20%</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Triangle pip. */
</span>
<span class="nv">$f-dropdown-triangle-size</span><span class="p">:</span> <span class="m">6px</span><span class="err">;</span>
<span class="nv">$f-dropdown-triangle-color</span><span class="p">:</span> <span class="mh">#fff</span><span class="err">;</span>
<span class="nv">$f-dropdown-triangle-side-offset</span><span class="p">:</span> <span class="m">10px</span><span class="err">;</span>
<span class="cm">/* List elements. */
</span>
<span class="nv">$f-dropdown-list-style</span><span class="p">:</span> <span class="nb">none</span><span class="err">;</span>
<span class="nv">$f-dropdown-font-color</span><span class="p">:</span> <span class="mh">#555</span><span class="err">;</span>
<span class="nv">$f-dropdown-font-size</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">14</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$f-dropdown-list-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">5</span><span class="o">,</span> <span class="m">10</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$f-dropdown-line-height</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">18</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$f-dropdown-list-hover-bg</span><span class="p">:</span> <span class="mh">#eeeeee</span><span class="err">;</span>
<span class="nv">$dropdown-mobile-left</span><span class="p">:</span> <span class="m">0</span><span class="err">;</span>
<span class="cm">/* When the dropdown has custom content. */
</span>
<span class="nv">$f-dropdown-content-padding</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">20</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Flex Video Variables */
</span>
<span class="cm">/* Video container padding and margins */
</span>
<span class="nv">$flex-video-padding-top</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">25</span><span class="p">)</span><span class="err">;</span>
<span class="nv">$flex-video-padding-bottom</span><span class="p">:</span> <span class="m">67</span><span class="mi">.5%</span><span class="err">;</span>
<span class="nv">$flex-video-margin-bottom</span><span class="p">:</span> <span class="nf">em-calc</span><span class="p">(</span><span class="m">16</span><span class="p">)</span><span class="err">;</span>
<span class="cm">/* Widescreen bottom padding */
</span>
<span class="nv">$flex-video-widescreen-padding-bottom</span><span class="p">:</span> <span class="m">57</span><span class="mi">.25%</span><span class="err">;</span>
<span class="cm">/* Inline List Variables */
</span>
<span class="cm">/* Margins and padding of the inline list. */
</span>