zurb-foundation 4.2.3 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/CONTRIBUTING.md +1 -1
  2. data/Gemfile.lock +1 -1
  3. data/README.md +8 -0
  4. data/docs/CHANGELOG.md +17 -0
  5. data/docs/README.md +3 -1
  6. data/docs/_sidebar-components.html.erb +2 -1
  7. data/docs/_sidebar.html.erb +2 -1
  8. data/docs/compile.rb +8 -1
  9. data/docs/components/abide.html.erb +371 -0
  10. data/docs/components/alert-boxes.html.erb +12 -9
  11. data/docs/components/block-grid.html.erb +1 -1
  12. data/docs/components/breadcrumbs.html.erb +7 -5
  13. data/docs/components/button-groups.html.erb +4 -2
  14. data/docs/components/buttons.html.erb +13 -9
  15. data/docs/components/clearing.html.erb +2 -0
  16. data/docs/components/dropdown-buttons.html.erb +59 -55
  17. data/docs/components/dropdown.html.erb +34 -32
  18. data/docs/components/flex-video.html.erb +4 -2
  19. data/docs/components/forms.html.erb +16 -15
  20. data/docs/components/global.html.erb +27 -4
  21. data/docs/components/grid.html.erb +21 -3
  22. data/docs/components/inline-lists.html.erb +8 -3
  23. data/docs/components/joyride.html.erb +5 -3
  24. data/docs/components/keystrokes.html.erb +4 -2
  25. data/docs/components/kitchen-sink.html.erb +15 -40
  26. data/docs/components/labels.html.erb +4 -2
  27. data/docs/components/magellan.html.erb +4 -2
  28. data/docs/components/orbit.html.erb +39 -27
  29. data/docs/components/pagination.html.erb +10 -8
  30. data/docs/components/panels.html.erb +7 -3
  31. data/docs/components/pricing-tables.html.erb +12 -10
  32. data/docs/components/progress-bars.html.erb +6 -4
  33. data/docs/components/reveal.html.erb +7 -28
  34. data/docs/components/section.html.erb +15 -13
  35. data/docs/components/side-nav.html.erb +5 -3
  36. data/docs/components/split-buttons.html.erb +45 -43
  37. data/docs/components/sub-nav.html.erb +7 -5
  38. data/docs/components/switch.html.erb +3 -1
  39. data/docs/components/tables.html.erb +8 -6
  40. data/docs/components/thumbnails.html.erb +2 -0
  41. data/docs/components/tooltips.html.erb +6 -4
  42. data/docs/components/top-bar.html.erb +9 -8
  43. data/docs/components/type.html.erb +20 -18
  44. data/docs/config.ru +2 -1
  45. data/docs/css/_footer.scss +420 -0
  46. data/docs/css/_offcanvas.scss +140 -0
  47. data/docs/css/docs.scss +10 -1
  48. data/docs/fonts/ProximaNova-Reg-webfont.eot +0 -0
  49. data/docs/fonts/ProximaNova-Reg-webfont.svg +244 -0
  50. data/docs/fonts/ProximaNova-Reg-webfont.ttf +0 -0
  51. data/docs/fonts/ProximaNova-Reg-webfont.woff +0 -0
  52. data/docs/fonts/proximanovacond-bold-webfont.eot +0 -0
  53. data/docs/fonts/proximanovacond-bold-webfont.svg +247 -0
  54. data/docs/fonts/proximanovacond-bold-webfont.ttf +0 -0
  55. data/docs/fonts/proximanovacond-bold-webfont.woff +0 -0
  56. data/docs/img/demos/orbit/demo1.jpg +0 -0
  57. data/docs/img/demos/orbit/demo2.jpg +0 -0
  58. data/docs/img/demos/orbit/demo3.jpg +0 -0
  59. data/docs/img/icons/footer-icons.png +0 -0
  60. data/docs/img/icons/footer-top-icons.png +0 -0
  61. data/docs/img/icons/social.png +0 -0
  62. data/docs/img/offcanvas/footer-icons.png +0 -0
  63. data/docs/img/offcanvas/menu-wht.png +0 -0
  64. data/docs/img/offcanvas/search.png +0 -0
  65. data/docs/img/offcanvas/zurb-logo.png +0 -0
  66. data/docs/img/offcanvas/zurb-wht.png +0 -0
  67. data/docs/js/docs.js +1 -0
  68. data/docs/js/jquery.offcanvas.js +28 -0
  69. data/docs/layout.html.erb +226 -42
  70. data/docs/media-queries.html.erb +3 -3
  71. data/docs/sass.html.erb +142 -142
  72. data/docs/support.html.erb +1 -1
  73. data/js/foundation/foundation.abide.js +194 -0
  74. data/js/foundation/foundation.dropdown.js +8 -9
  75. data/js/foundation/foundation.forms.js +11 -3
  76. data/js/foundation/foundation.interchange.js +25 -16
  77. data/js/foundation/foundation.joyride.js +9 -3
  78. data/js/foundation/foundation.js +2 -3
  79. data/js/foundation/foundation.magellan.js +3 -2
  80. data/js/foundation/foundation.orbit.js +359 -344
  81. data/js/foundation/foundation.reveal.js +1 -1
  82. data/js/foundation/foundation.section.js +290 -311
  83. data/js/foundation/foundation.tooltips.js +2 -2
  84. data/js/foundation/foundation.topbar.js +20 -23
  85. data/js/foundation/index.js +1 -0
  86. data/js/vendor/jquery.js +103 -121
  87. data/lib/foundation/generators/templates/application.html.slim +15 -8
  88. data/lib/foundation/version.rb +1 -1
  89. data/scss/foundation.scss +2 -5
  90. data/scss/foundation/_variables.scss +326 -295
  91. data/scss/foundation/components/_alert-boxes.scss +10 -10
  92. data/scss/foundation/components/_block-grid.scss +1 -1
  93. data/scss/foundation/components/_breadcrumbs.scss +8 -8
  94. data/scss/foundation/components/_button-groups.scss +2 -2
  95. data/scss/foundation/components/_buttons.scss +18 -18
  96. data/scss/foundation/components/_custom-forms.scss +20 -14
  97. data/scss/foundation/components/_dropdown-buttons.scss +9 -9
  98. data/scss/foundation/components/_dropdown.scss +4 -4
  99. data/scss/foundation/components/_flex-video.scss +3 -3
  100. data/scss/foundation/components/_forms.scss +54 -24
  101. data/scss/foundation/components/_global.scss +28 -5
  102. data/scss/foundation/components/_grid-5.scss +214 -0
  103. data/scss/foundation/components/_grid.scss +3 -3
  104. data/scss/foundation/components/_inline-lists.scss +3 -3
  105. data/scss/foundation/components/_joyride.scss +6 -6
  106. data/scss/foundation/components/_keystrokes.scss +3 -3
  107. data/scss/foundation/components/_labels.scss +3 -3
  108. data/scss/foundation/components/_orbit.scss +34 -9
  109. data/scss/foundation/components/_pagination.scss +8 -6
  110. data/scss/foundation/components/_panels.scss +3 -3
  111. data/scss/foundation/components/_pricing-tables.scss +10 -10
  112. data/scss/foundation/components/_progress-bars.scss +3 -3
  113. data/scss/foundation/components/_reveal.scss +7 -7
  114. data/scss/foundation/components/_section.scss +252 -214
  115. data/scss/foundation/components/_side-nav.scss +3 -3
  116. data/scss/foundation/components/_split-buttons.scss +7 -7
  117. data/scss/foundation/components/_sub-nav.scss +7 -7
  118. data/scss/foundation/components/_switch.scss +4 -4
  119. data/scss/foundation/components/_tables.scss +6 -6
  120. data/scss/foundation/components/_tooltips.scss +4 -4
  121. data/scss/foundation/components/_top-bar.scss +14 -10
  122. data/scss/foundation/components/_type.scss +23 -23
  123. data/templates/project/index.html +4 -4
  124. data/templates/project/scss/app.scss +8 -0
  125. metadata +29 -4
Binary file
@@ -1,3 +1,4 @@
1
1
  /*
2
2
  =require foundation
3
+ =require jquery.offcanvas
3
4
  */
@@ -0,0 +1,28 @@
1
+ $(document).on('page:change', function() {
2
+ $('#topMenu').css('margin-top', $('#topMenu').height() * -1);
3
+ });
4
+
5
+ $(document).on('click', '#sidebarButton', function(e) {
6
+ e.preventDefault();
7
+ $('body').toggleClass('active');
8
+ });
9
+
10
+ $(document).on('click', '#menuButton', function(e) {
11
+ e.preventDefault();
12
+ $('body').toggleClass('active-menu');
13
+ });
14
+
15
+ $(document).on('click', '#switchPanels dd', function(e) {
16
+ e.preventDefault();
17
+ var switchToPanel = $(this).children('a').attr('href'),
18
+ switchToIndex = $(switchToPanel).index();
19
+ $(this).toggleClass('active').siblings().removeClass('active');
20
+ $(switchToPanel).parent().css("left", (switchToIndex * (-100) + '%'));
21
+ });
22
+
23
+ $(document).on('click', '#nav li a', function() {
24
+ e.preventDefault();
25
+ var href = $(this).attr('href'),
26
+ $target = $(href);
27
+ $('html, body').animate({scrollTop : $target.offset().top}, 300);
28
+ });
@@ -18,9 +18,8 @@
18
18
  <link rel="stylesheet" href="<%= asset_path %>/docs.css" />
19
19
  <script src="<%= asset_path %>/vendor/custom.modernizr.js"></script>
20
20
  </head>
21
- <body class="antialiased">
22
-
23
- <nav class="top-bar">
21
+ <body class="antialiased off-canvas hide-extras">
22
+ <nav class="top-bar hide-for-small">
24
23
  <ul class="title-area">
25
24
  <!-- Title Area -->
26
25
  <li class="name">
@@ -50,52 +49,236 @@
50
49
  </ul>
51
50
  </section>
52
51
  </nav>
53
-
54
- <% @page_title = "4 Documentation" %>
55
- <div class="row">
56
- <div class="large-12 columns">
57
- <h1 class="docs header"><a href="http://foundation.zurb.com/docs/">Foundation <%= @page_title %></a></h1>
58
- <h6 class="docs subheader"><a href="http://foundation.zurb.com/old-docs/f3">Want F3 Docs?</a></h6>
59
- <hr>
60
- </div>
61
- </div>
62
-
63
- <%= yield %>
64
-
65
- <footer class="row full-width">
66
- <div class="large-5 columns">
67
- <h6><strong>Made by ZURB</strong></h6>
68
- <p>Foundation is made by <a href="http://www.zurb.com/">ZURB</a>, a product design company in Campbell, California. We've put more than 14 years of experience building web products, services and websites into this framework. <a href="http://foundation.zurb.com/about.php">Foundation Info and Goodies &rarr;</a></p>
69
- </div>
70
-
71
- <div class="large-3 columns">
72
- <h6><strong>Using Foundation?</strong></h6>
73
- <p>Let us know how you're using Foundation and we might feature you as an example! <a href="mailto:foundation@zurb.com?subject=I'm%20using%20Foundation">Get in touch &rarr;</a></p>
74
- </div>
75
-
76
- <div class="large-4 columns">
77
- <h6><strong>Need some help?</strong></h6>
78
- <p>For answers or help visit the <a href="http://foundation.zurb.com/docs/support.html">Support page</a>.</p>
52
+ <section class="main">
53
+
54
+
55
+ <header class="show-for-small">
56
+ <a class='sidebar-button show-for-small' id="sidebarButton" href="#sidebar" ><img src="<%= asset_path %>/offcanvas/menu-wht.png"><h4>Foundation</h4></a>
57
+ </header>
58
+
59
+ <% @page_title = "4 Documentation" %>
60
+ <div class="row">
61
+ <div class="large-12 columns">
62
+ <h1 class="docs header"><a href="http://foundation.zurb.com/docs/">Foundation <%= @page_title %></a></h1>
63
+ <h6 class="docs subheader"><a href="http://foundation.zurb.com/old-docs/f3">Want F3 Docs?</a></h6>
64
+ <hr>
65
+ </div>
79
66
  </div>
80
- </footer>
81
-
82
- <div id="copyright">
83
- <div class="row full-width">
67
+
68
+ <%= yield %>
69
+ <br>
70
+ <div class="zurb-footer-top bg-blue">
71
+ <div class="row property">
84
72
  <div class="large-4 columns">
85
- <p>Site content &copy; <%= Time.now.year %> ZURB, inc.</p>
73
+ <div class="property-info">
74
+ <h3><a href="http://foundation.zurb.com/">Foundation</a></h3>
75
+ <p>Foundation is made by <a href="http://www.zurb.com/">ZURB</a>, a product design company in Campbell, California. We've put more than 15 years of experience building web products, services and websites into this framework.</p>
76
+ </div>
86
77
  </div>
78
+
87
79
  <div class="large-8 columns">
88
- <ul class="inline-list right">
89
- <li><a href="http://foundation.zurb.com">Home</a></li>
90
- <li><a href="http://foundation.zurb.com/download.php">Download</a></li>
91
- <li><a href="http://foundation.zurb.com/docs">Docs</a></li>
92
- <li><a href="http://foundation.zurb.com/docs/changelog.html">Changelog</a></li>
93
- <li><a href="http://foundation.zurb.com/about.php">About</a></li>
94
- <li><a href="http://feeds.feedburner.com/zurb/blog">Subscribe to the ZURBlog</a></li>
95
- </ul>
80
+ <div class="row collapse">
81
+ <div class="large-4 columns">
82
+ <div class="learn-links">
83
+ <h4 class="hide-for-small">Want More?</h4>
84
+ <ul>
85
+ <li><a href="http://zurb.com/expo/foundation-intro">Foundation Training</a></li>
86
+ <li><a href="http://zurb.com/expo/custom">Responsive</a></li>
87
+ <li><a href="http://zurb.com/services/our-work">Our Work</a></li>
88
+ <li><a href="http://zurb.com/apps">ZURB Apps</a></li>
89
+ </ul>
90
+ </div>
91
+ </div>
92
+ <div class="large-4 columns">
93
+ <div class="support-links">
94
+ <h4 class="hide-for-small">Talk to us</h4>
95
+ <p>Call us at <strong>(408) 341-0600</strong></p>
96
+ <p>Not a big talker? Email us at <a href="mailto:foundation@zurb.com">foundation@zurb.com</a></p>
97
+ </div>
98
+ </div>
99
+ <div class="large-4 columns">
100
+ <div class="connect-links">
101
+ <h4 class="hide-for-small">Stay in touch</h4>
102
+ <p>Keep up with the latest on Foundation. Find us on Github.</p>
103
+ <a href="https://github.com/zurb/foundation" target="_blank" class="small button">Stay Connected</a>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ <div class="row global">
110
+ <div class="large-3 small-6 columns">
111
+ <a href="http://zurb.com/services" class="footer-link-block services">
112
+ <span class="title">Services</span>
113
+ <span>Helping more than 200 startups succeed since 1998.</span>
114
+ </a>
115
+ </div>
116
+ <div class="large-3 small-6 columns">
117
+ <a href="http://foundation.zurb.com/" class="footer-link-block foundation">
118
+ <span class="title">Foundation</span>
119
+ <span>The most advanced front-end framework in the world.</span>
120
+ </a>
96
121
  </div>
122
+ <div class="large-3 small-6 columns">
123
+ <a href="http://zurb.com/apps" class="footer-link-block apps">
124
+ <span class="title">Products</span>
125
+ <span>Prototype, iterate and collect feedback on your products.</span>
126
+ </a>
127
+ </div>
128
+ <div class="large-3 small-6 columns">
129
+ <a href="http://zurb.com/expo" class="footer-link-block expo">
130
+ <span class="title">Expo</span>
131
+ <span>Ideas, thoughts and design resources shared with you.</span>
132
+ </a>
133
+ </div>
97
134
  </div>
98
135
  </div>
136
+ <div class="zurb-footer-bottom">
137
+ <div class="row">
138
+ <div class="large-4 push-8 columns">
139
+ <ul class="home-social">
140
+ <li><a href="http://www.twitter.com/ZURB" class="twitter"></a></li>
141
+ <li><a href="http://www.facebook.com/ZURB" class="facebook"></a></li>
142
+ <li><a href="http://zurb.com/contact" class="mail"></a></li>
143
+ </ul>
144
+ </div>
145
+ <div class="large-8 pull-4 columns">
146
+ <a href="http://www.zurb.com" class="zurb-logo regular"></a>
147
+ <ul class="zurb-links">
148
+ <li><a href="http://zurb.com/about">About</a></li>
149
+ <li><a href="http://zurb.com/blog">Blog</a></li>
150
+ <li><a href="http://zurb.com/news">News<span class="show-for-medium-up"> &amp; Events</span></a></li>
151
+ <li><a href="http://zurb.com/contact">Contact</a></li>
152
+ <li><a href="http://zurb.com/sitemap">Sitemap</a></li>
153
+ </ul>
154
+ <p class="copyright">&copy; 1998&ndash;<%= Time.now.year %> ZURB, Inc. All rights reserved.</p>
155
+ </div>
156
+ </div>
157
+ </div>
158
+ <div class="joyride-modal-bg"></div>
159
+ </section>
160
+
161
+
162
+ <section id="sidebar" role="complementary">
163
+
164
+ <!-- For Future Use
165
+ <div id="passport">
166
+ <a id="user" href="#">
167
+ <h5>Firstname LastName</h5><br>
168
+ <p>sign out</p>
169
+ </a>
170
+ <a id="ava" href="#">
171
+ <div class="avatar"><img src="placehold.it/75x75"></div>
172
+ </a>
173
+ </div>
174
+ -->
175
+
176
+ <!-- This is the apps main navigation -->
177
+ <div class="main-menu">
178
+ <h6>Foundation</h6>
179
+ <nav id="sideMenu" role="navigation">
180
+ <ul id="sideMainNav" class="nav-bar">
181
+ <li class="show-for-small">
182
+ <a href="index.php">Home</a>
183
+ </li>
184
+ <li>
185
+ <a href="http://foundation.zurb.com/grid.php">Features</a>
186
+ </li>
187
+ <li>
188
+ <a href="http://foundation.zurb.com/templates.php">Add-ons</a>
189
+ </li>
190
+ <li>
191
+ <a href="http://foundation.zurb.com/case-jacquelinewest.php">Case Studies</a>
192
+ </li>
193
+ <li>
194
+ <a href="http://foundation.zurb.com/docs/">Docs</a>
195
+ </li>
196
+ <li>
197
+ <a href="http://foundation.zurb.com/training.php">Training</a>
198
+ </li>
199
+ </ul>
200
+ </nav>
201
+ </div>
202
+
203
+ <hr>
204
+
205
+ <!-- These links will vary depending on what app it is -->
206
+ <div class="more-goodness">
207
+ <h6>More ZURB Goodness</h6>
208
+ <nav role="navigation">
209
+ <ul id="sideMainNav" class="nav-bar goodness">
210
+ <li><a href="http://zurb.com/expo/foundation-intro">Foundation Training</a></li>
211
+ <li><a href="http://zurb.com/services/our-work">Our Work</a></li>
212
+ <li><a href="http://zurb.com/apps">ZURB Apps</a></li>
213
+ </ul>
214
+ </nav>
215
+ </div>
216
+
217
+ <hr>
218
+
219
+ <!-- These links will be the same across all of our proprties & apps -->
220
+ <div class="zurb-links">
221
+ <ul class="top">
222
+ <li class="logo"><a href="http://zurb.com"><img src="<%= asset_path %>/offcanvas/zurb-logo.png"></a></li>
223
+ <li><a href="http://zurb.com/about">About</a></li>
224
+ <li><a href="http://zurb.com/blog">Blog</a></li>
225
+ <li><a href="http://zurb.com/contact">Contact</a></li>
226
+ </ul>
227
+ <ul class="pillars">
228
+ <li>
229
+ <a href="http://www.zurb.com/services" class="footer-link-block services">
230
+ <span class="title">Studios</span>
231
+ <span>Helping startups win since '98.</span>
232
+ </a>
233
+ </li>
234
+ <li>
235
+ <a href="http://foundation.zurb.com/" class="footer-link-block foundation">
236
+ <span class="title">Foundation</span>
237
+ <span>World's most advanced responsive framework.</span>
238
+ </a>
239
+ </li>
240
+ <li>
241
+ <a href="http://zurb.com/apps" class="footer-link-block apps">
242
+ <span class="title">ZURB Apps</span>
243
+ <span>Tools to rapidly prototype and iterate.</span>
244
+ </a>
245
+ </li>
246
+ <li>
247
+ <a href="http://zurb.com/expo" class="footer-link-block expo">
248
+ <span class="title">Expo</span>
249
+ <span>Online training for smarter product design.</span>
250
+ </a>
251
+ </li>
252
+ </ul>
253
+ </div>
254
+
255
+ </section>
256
+
257
+ <!-- Reveal Modals begin -->
258
+ <div id="firstModal" class="reveal-modal">
259
+ <h2>This is a modal.</h2>
260
+ <p>Reveal makes these very easy to summon and dismiss. The close button is simply an anchor with a unicode character icon and a class of <code>close-reveal-modal</code>. Clicking anywhere outside the modal will also dismiss it.</p>
261
+ <p>Finally, if your modal summons another Reveal modal, the plugin will handle that for you gracefully.</p>
262
+ <p><a href="#" data-reveal-id="secondModal" class="secondary button">Second Modal...</a></p>
263
+ <a class="close-reveal-modal">&#215;</a>
264
+ </div>
265
+
266
+ <div id="secondModal" class="reveal-modal">
267
+ <h2>This is a second modal.</h2>
268
+ <p>See? It just slides into place after the other first modal. Very handy when you need subsequent dialogs, or when a modal option impacts or requires another decision.</p>
269
+ <a class="close-reveal-modal">&#215;</a>
270
+ </div>
271
+
272
+ <div id="videoModal" class="reveal-modal large">
273
+ <h2>This modal has video</h2>
274
+ <div class="flex-video">
275
+ <iframe width="800" height="315" src="http://www.youtube.com/embed/IkOQw96cfyE" frameborder="0" allowfullscreen></iframe>
276
+ </div>
277
+
278
+ <a class="close-reveal-modal">&#215;</a>
279
+ </div>
280
+ <!-- Reveal Modals end -->
281
+
99
282
 
100
283
  <script>
101
284
 
@@ -118,6 +301,7 @@
118
301
  + ('__proto__' in {} ? 'zepto' : 'jquery')
119
302
  + '.js"><\/script>');
120
303
  </script>
304
+
121
305
  <script src="<%= asset_path %>/docs.js"></script>
122
306
  <script>
123
307
  $(document)
@@ -42,9 +42,9 @@
42
42
 
43
43
  <%= code_example '
44
44
  /* Available Variables */
45
- $small-screen: emCalc(768px);
46
- $medium-screen: emCalc(1280px);
47
- $large-screen: emCalc(1440px);
45
+ $small-screen: emCalc(768);
46
+ $medium-screen: emCalc(1280);
47
+ $large-screen: emCalc(1440);
48
48
 
49
49
  $screen: "only screen";
50
50
  $small: "only screen and (min-width:"#{$small-screen}")";
@@ -247,7 +247,7 @@ $base-line-height: 150%;
247
247
  /* set the value of $em-base to $base-font-size ($em-base: $base-font-size;) */
248
248
  $em-base: 16px !default;
249
249
 
250
- /* Working in ems is annoying. Think in pixels by using this handy function, emCalc(#px) */
250
+ /* Working in ems is annoying. Think in pixels by using this handy function, emCalc(#) */
251
251
  @function emCalc($pxWidth) {
252
252
  @return $pxWidth / $em-base * 1em;
253
253
  }
@@ -344,8 +344,8 @@ $cursor-help-value: "help";
344
344
  /* Grid Variables */
345
345
 
346
346
 
347
- $row-width: emCalc(1000px);
348
- $column-gutter: emCalc(30px);
347
+ $row-width: emCalc(1000);
348
+ $column-gutter: emCalc(30);
349
349
  $total-columns: 12;
350
350
 
351
351
 
@@ -355,7 +355,7 @@ $total-columns: 12;
355
355
  /* Maximum number of block grid elements per row */
356
356
 
357
357
  $block-grid-elements: 12;
358
- $block-grid-default-spacing: emCalc(20px);
358
+ $block-grid-default-spacing: emCalc(20);
359
359
 
360
360
  /* Enables media queries for block-grid classes. Set to false if writing semantic HTML. */
361
361
 
@@ -378,11 +378,11 @@ $header-text-rendering: optimizeLegibility;
378
378
 
379
379
  /* Heading font sizes */
380
380
 
381
- $h1-font-size: emCalc(44px);
382
- $h2-font-size: emCalc(37px);
383
- $h3-font-size: emCalc(27px);
384
- $h4-font-size: emCalc(23px);
385
- $h5-font-size: emCalc(18px);
381
+ $h1-font-size: emCalc(44);
382
+ $h2-font-size: emCalc(37);
383
+ $h3-font-size: emCalc(27);
384
+ $h4-font-size: emCalc(23);
385
+ $h5-font-size: emCalc(18);
386
386
  $h6-font-size: 1em;
387
387
 
388
388
  /* Subheaders */
@@ -404,8 +404,8 @@ $paragraph-font-family: inherit;
404
404
  $paragraph-font-weight: normal;
405
405
  $paragraph-font-size: 1em;
406
406
  $paragraph-line-height: 1.6;
407
- $paragraph-margin-bottom: emCalc(20px);
408
- $paragraph-aside-font-size: emCalc(14px);
407
+ $paragraph-margin-bottom: emCalc(20);
408
+ $paragraph-aside-font-size: emCalc(14);
409
409
  $paragraph-aside-line-height: 1.35;
410
410
  $paragraph-aside-font-style: italic;
411
411
 
@@ -426,23 +426,23 @@ $anchor-font-color-hover: darken($primary-color, 5%);
426
426
  $hr-border-width: 1px;
427
427
  $hr-border-style: solid;
428
428
  $hr-border-color: #ddd;
429
- $hr-margin: emCalc(20px);
429
+ $hr-margin: emCalc(20);
430
430
 
431
431
  /* Lists */
432
432
 
433
433
  $list-style-position: outside;
434
- $list-side-margin: emCalc(20px);
435
- $list-nested-margin: emCalc(20px);
434
+ $list-side-margin: emCalc(20);
435
+ $list-nested-margin: emCalc(20);
436
436
  $definition-list-header-weight: bold;
437
437
  $definition-list-header-margin-bottom: .3em;
438
- $definition-list-margin-bottom: emCalc(12px);
438
+ $definition-list-margin-bottom: emCalc(12);
439
439
 
440
440
  /* Blockquotes */
441
441
 
442
442
  $blockquote-font-color: lighten($header-font-color, 30%);
443
- $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px);
443
+ $blockquote-padding: emCalc(9, 20, 0, 19);
444
444
  $blockquote-border: 1px solid #ddd;
445
- $blockquote-cite-font-size: emCalc(13px);
445
+ $blockquote-cite-font-size: emCalc(13);
446
446
  $blockquote-cite-font-color: lighten($header-font-color, 20%);
447
447
  $blockquote-cite-link-color: $blockquote-cite-font-color;
448
448
 
@@ -452,8 +452,8 @@ $acronym-underline: 1px dotted #ddd;
452
452
 
453
453
  /* Padding and margin */
454
454
 
455
- $microformat-padding: emCalc(10px) emCalc(12px);
456
- $microformat-margin: 0 0 emCalc(20px) 0;
455
+ $microformat-padding: emCalc(10, 12);
456
+ $microformat-margin: emCalc(0, 0, 20, 0);
457
457
 
458
458
  /* Border styles */
459
459
 
@@ -464,7 +464,7 @@ $microformat-border-color: #ddd;
464
464
  /* Full name font styles */
465
465
 
466
466
  $microformat-fullname-font-weight: bold;
467
- $microformat-fullname-font-size: emCalc(15px);
467
+ $microformat-fullname-font-size: emCalc(15);
468
468
 
469
469
  /* Summary font styles */
470
470
 
@@ -472,7 +472,7 @@ $microformat-summary-font-weight: bold;
472
472
 
473
473
  /* <abbr> padding */
474
474
 
475
- $microformat-abbr-padding: 0 emCalc(1px);
475
+ $microformat-abbr-padding: emCalc(0, 1);
476
476
 
477
477
  /* <abbr> font styles */
478
478
 
@@ -485,18 +485,18 @@ $microformat-abbr-font-decoration: none;
485
485
 
486
486
  /* Base for lots of form spacing and positioning styles */
487
487
 
488
- $form-spacing: emCalc(16px);
488
+ $form-spacing: emCalc(16);
489
489
 
490
490
  /* Labels */
491
491
 
492
492
  $form-label-pointer: pointer;
493
- $form-label-font-size: emCalc(14px);
493
+ $form-label-font-size: emCalc(14);
494
494
  $form-label-font-weight: 500;
495
495
  $form-label-font-color: lighten(#000, 30%);
496
- $form-label-bottom-margin: emCalc(3px);
496
+ $form-label-bottom-margin: emCalc(3);
497
497
  $input-font-family: inherit;
498
498
  $input-font-color: rgba(0,0,0,0.75);
499
- $input-font-size: emCalc(14px);
499
+ $input-font-size: emCalc(14);
500
500
  $input-bg-color: #fff;
501
501
  $input-focus-bg-color: darken(#fff, 2%);
502
502
  $input-border-color: darken(#fff, 20%);
@@ -512,14 +512,14 @@ $input-include-glowing-effect: true;
512
512
  $fieldset-border-style: solid;
513
513
  $fieldset-border-width: 1px;
514
514
  $fieldset-border-color: #ddd;
515
- $fieldset-padding: emCalc(20px);
516
- $fieldset-margin: emCalc(18px) 0;
515
+ $fieldset-padding: emCalc(20);
516
+ $fieldset-margin: emCalc(18, 0);
517
517
 
518
518
  /* Legends */
519
519
 
520
520
  $legend-bg: #fff;
521
521
  $legend-font-weight: bold;
522
- $legend-padding: 0 emCalc(3px);
522
+ $legend-padding: emCalc(0, 3);
523
523
 
524
524
  /* Prefix and postfix input elements */
525
525
 
@@ -533,9 +533,9 @@ $input-prefix-font-color-alt: #fff;
533
533
 
534
534
  /* Error states for inputs and labels */
535
535
 
536
- $input-error-message-padding: emCalc(6px) emCalc(4px);
537
- $input-error-message-top: -($form-spacing) - emCalc(5px);
538
- $input-error-message-font-size: emCalc(12px);
536
+ $input-error-message-padding: emCalc(6, 4);
537
+ $input-error-message-top: -($form-spacing) - emCalc(5);
538
+ $input-error-message-font-size: emCalc(12);
539
539
  $input-error-message-font-weight: bold;
540
540
  $input-error-message-font-color: #fff;
541
541
  $input-error-message-font-color-alt: #333;
@@ -551,25 +551,25 @@ $glowing-effect-color: $input-focus-border-color;
551
551
 
552
552
  /* Padding for buttons. */
553
553
 
554
- $button-tny: emCalc(7px);
555
- $button-sml: emCalc(9px);
556
- $button-med: emCalc(12px);
557
- $button-lrg: emCalc(16px);
554
+ $button-tny: emCalc(7);
555
+ $button-sml: emCalc(9);
556
+ $button-med: emCalc(12);
557
+ $button-lrg: emCalc(16);
558
558
 
559
559
  /* Display property. */
560
560
 
561
561
  $button-display: inline-block;
562
- $button-margin-bottom: emCalc(20px);
562
+ $button-margin-bottom: emCalc(20);
563
563
 
564
564
  /* Button text styles. */
565
565
 
566
566
  $button-font-family: inherit;
567
567
  $button-font-color: #fff;
568
568
  $button-font-color-alt: #333;
569
- $button-font-med: emCalc(16px);
570
- $button-font-tny: emCalc(11px);
571
- $button-font-sml: emCalc(13px);
572
- $button-font-lrg: emCalc(20px);
569
+ $button-font-med: emCalc(16);
570
+ $button-font-tny: emCalc(11);
571
+ $button-font-sml: emCalc(13);
572
+ $button-font-lrg: emCalc(20);
573
573
  $button-font-weight: bold;
574
574
  $button-font-align: center;
575
575
 
@@ -597,7 +597,7 @@ $button-disabled-opacity: 0.6;
597
597
 
598
598
  /* Sets the margin for the right side by default, and the left margin if right-to-left direction is used */
599
599
 
600
- $button-bar-margin-opposite: emCalc(10px);
600
+ $button-bar-margin-opposite: emCalc(10);
601
601
 
602
602
 
603
603
  /* Dropdown Button Variables */
@@ -613,28 +613,28 @@ $dropdown-button-pip-color-alt: #333;
613
613
  $dropdown-button-padding-tny: $button-tny * 5;
614
614
  $dropdown-button-pip-size-tny: $button-tny;
615
615
  $dropdown-button-pip-right-tny: $button-tny * 2;
616
- $dropdown-button-pip-top-tny: -$button-tny / 2 + emCalc(1px);
616
+ $dropdown-button-pip-top-tny: -$button-tny / 2 + emCalc(1);
617
617
 
618
618
  /* Small dropdown buttons */
619
619
 
620
620
  $dropdown-button-padding-sml: $button-sml * 5;
621
621
  $dropdown-button-pip-size-sml: $button-sml;
622
622
  $dropdown-button-pip-right-sml: $button-sml * 2;
623
- $dropdown-button-pip-top-sml: -$button-sml / 2 + emCalc(1px);
623
+ $dropdown-button-pip-top-sml: -$button-sml / 2 + emCalc(1);
624
624
 
625
625
  /* Medium dropdown buttons */
626
626
 
627
- $dropdown-button-padding-med: $button-med * 4 + emCalc(3px);
628
- $dropdown-button-pip-size-med: $button-med - emCalc(3px);
627
+ $dropdown-button-padding-med: $button-med * 4 + emCalc(3);
628
+ $dropdown-button-pip-size-med: $button-med - emCalc(3);
629
629
  $dropdown-button-pip-right-med: $button-med * 2;
630
- $dropdown-button-pip-top-med: -$button-med / 2 + emCalc(2px);
630
+ $dropdown-button-pip-top-med: -$button-med / 2 + emCalc(2);
631
631
 
632
632
  /* Large dropdown buttons */
633
633
 
634
634
  $dropdown-button-padding-lrg: $button-lrg * 4;
635
- $dropdown-button-pip-size-lrg: $button-lrg - emCalc(6px);
636
- $dropdown-button-pip-right-lrg: $button-lrg + emCalc(12px);
637
- $dropdown-button-pip-top-lrg: -$button-lrg / 2 + emCalc(3px);
635
+ $dropdown-button-pip-size-lrg: $button-lrg - emCalc(6);
636
+ $dropdown-button-pip-right-lrg: $button-lrg + emCalc(12);
637
+ $dropdown-button-pip-top-lrg: -$button-lrg / 2 + emCalc(3);
638
638
 
639
639
 
640
640
  /* Split Button Variables */
@@ -653,7 +653,7 @@ $split-button-padding-tny: $button-tny * 9;
653
653
  $split-button-span-width-tny: $button-tny * 6.5;
654
654
  $split-button-pip-size-tny: $button-tny;
655
655
  $split-button-pip-top-tny: $button-tny * 2;
656
- $split-button-pip-left-tny: emCalc(-5px);
656
+ $split-button-pip-left-tny: emCalc(-5);
657
657
 
658
658
  /* Small split buttons */
659
659
 
@@ -661,23 +661,23 @@ $split-button-padding-sml: $button-sml * 7;
661
661
  $split-button-span-width-sml: $button-sml * 5;
662
662
  $split-button-pip-size-sml: $button-sml;
663
663
  $split-button-pip-top-sml: $button-sml * 1.5;
664
- $split-button-pip-left-sml: emCalc(-9px);
664
+ $split-button-pip-left-sml: emCalc(-9);
665
665
 
666
666
  /* Medium split buttons */
667
667
 
668
668
  $split-button-padding-med: $button-med * 6.4;
669
669
  $split-button-span-width-med: $button-med * 4;
670
- $split-button-pip-size-med: $button-med - emCalc(3px);
670
+ $split-button-pip-size-med: $button-med - emCalc(3);
671
671
  $split-button-pip-top-med: $button-med * 1.5;
672
- $split-button-pip-left-med: emCalc(-9px);
672
+ $split-button-pip-left-med: emCalc(-9);
673
673
 
674
674
  /* Large split buttons */
675
675
 
676
676
  $split-button-padding-lrg: $button-lrg * 6;
677
677
  $split-button-span-width-lrg: $button-lrg * 3.75;
678
- $split-button-pip-size-lrg: $button-lrg - emCalc(6px);
679
- $split-button-pip-top-lrg: $button-lrg + emCalc(5px);
680
- $split-button-pip-left-lrg: emCalc(-9px);
678
+ $split-button-pip-size-lrg: $button-lrg - emCalc(6);
679
+ $split-button-pip-top-lrg: $button-lrg + emCalc(5);
680
+ $split-button-pip-left-lrg: emCalc(-9);
681
681
 
682
682
 
683
683
  /* Alert Variables */
@@ -685,15 +685,15 @@ $split-button-pip-left-lrg: emCalc(-9px);
685
685
 
686
686
  /* Alert padding */
687
687
 
688
- $alert-padding-top: emCalc(11px);
688
+ $alert-padding-top: emCalc(11);
689
689
  $alert-padding-default-float: $alert-padding-top;
690
- $alert-padding-opposite-direction: $alert-padding-top + emCalc(10px);
691
- $alert-padding-bottom: $alert-padding-top + emCalc(1px);
690
+ $alert-padding-opposite-direction: $alert-padding-top + emCalc(10);
691
+ $alert-padding-bottom: $alert-padding-top + emCalc(1);
692
692
 
693
693
  /* Text style */
694
694
 
695
695
  $alert-font-weight: bold;
696
- $alert-font-size: emCalc(14px);
696
+ $alert-font-size: emCalc(14);
697
697
  $alert-font-color: #fff;
698
698
  $alert-font-color-alt: darken($secondary-color, 60%);
699
699
 
@@ -706,13 +706,13 @@ $alert-function-factor: 10%;
706
706
  $alert-border-style: solid;
707
707
  $alert-border-width: 1px;
708
708
  $alert-border-color: darken($primary-color, $alert-function-factor);
709
- $alert-bottom-margin: emCalc(20px);
709
+ $alert-bottom-margin: emCalc(20);
710
710
 
711
711
  /* Close Button style */
712
712
 
713
713
  $alert-close-color: #333;
714
- $alert-close-position: emCalc(5px);
715
- $alert-close-font-size: emCalc(22px);
714
+ $alert-close-position: emCalc(5);
715
+ $alert-close-font-size: emCalc(22);
716
716
  $alert-close-opacity: 0.3;
717
717
  $alert-close-opacity-hover: 0.5;
718
718
  $alert-close-padding: 5px 4px 4px;
@@ -730,8 +730,8 @@ $crumb-bg: lighten($secondary-color, 5%);
730
730
 
731
731
  /* Padding around the breadcrumbs. */
732
732
 
733
- $crumb-padding: emCalc(6px) emCalc(14px) emCalc(9px);
734
- $crumb-side-padding: emCalc(12px);
733
+ $crumb-padding: emCalc(6, 14, 9);
734
+ $crumb-side-padding: emCalc(12);
735
735
 
736
736
  /* Border styles. */
737
737
 
@@ -743,7 +743,7 @@ $crumb-radius: $global-radius;
743
743
 
744
744
  /* Various text styles for breadcrumbs. */
745
745
 
746
- $crumb-font-size: emCalc(11px);
746
+ $crumb-font-size: emCalc(11);
747
747
  $crumb-font-color: $primary-color;
748
748
  $crumb-font-color-current: #333;
749
749
  $crumb-font-color-unavailable: #999;
@@ -809,8 +809,8 @@ $custom-select-fade-to-color: #f3f3f3;
809
809
  $custom-select-border-color: #ddd;
810
810
  $custom-select-triangle-color: #aaa;
811
811
  $custom-select-triangle-color-open: #222;
812
- $custom-select-height: emCalc(13px) + ($form-spacing * 1.5);
813
- $custom-select-margin-bottom: emCalc(20px);
812
+ $custom-select-height: emCalc(13) + ($form-spacing * 1.5);
813
+ $custom-select-margin-bottom: emCalc(20);
814
814
  $custom-select-font-color-selected: #141414;
815
815
  $custom-select-disabled-color: #888;
816
816
 
@@ -822,15 +822,15 @@ $custom-dropdown-border-color: darken(#fff, 20%);
822
822
  $custom-dropdown-border-width: 1px;
823
823
  $custom-dropdown-border-style: solid;
824
824
  $custom-dropdown-font-color: #555;
825
- $custom-dropdown-font-size: emCalc(14px);
825
+ $custom-dropdown-font-size: emCalc(14);
826
826
  $custom-dropdown-color-selected: #eeeeee;
827
827
  $custom-dropdown-font-color-selected: #000;
828
828
  $custom-dropdown-shadow: 0 2px 2px 0px rgba(0,0,0,0.1);
829
829
  $custom-dropdown-offset-top: none;
830
- $custom-dropdown-list-padding: emCalc(4px);
831
- $custom-dropdown-left-padding: emCalc(6px);
832
- $custom-dropdown-right-padding: emCalc(38px);
833
- $custom-dropdown-list-item-min-height: emCalc(24px);
830
+ $custom-dropdown-list-padding: emCalc(4);
831
+ $custom-dropdown-left-padding: emCalc(6);
832
+ $custom-dropdown-right-padding: emCalc(38);
833
+ $custom-dropdown-list-item-min-height: emCalc(24);
834
834
 
835
835
 
836
836
  /* Dropdown Variables */
@@ -862,15 +862,15 @@ $f-dropdown-triangle-side-offset: 10px;
862
862
 
863
863
  $f-dropdown-list-style: none;
864
864
  $f-dropdown-font-color: #555;
865
- $f-dropdown-font-size: emCalc(14px);
866
- $f-dropdown-list-padding: emCalc(5px) emCalc(10px);
867
- $f-dropdown-line-height: emCalc(18px);
865
+ $f-dropdown-font-size: emCalc(14);
866
+ $f-dropdown-list-padding: emCalc(5, 10);
867
+ $f-dropdown-line-height: emCalc(18);
868
868
  $f-dropdown-list-hover-bg: #eeeeee;
869
869
  $dropdown-mobile-left: 0;
870
870
 
871
871
  /* When the dropdown has custom content. */
872
872
 
873
- $f-dropdown-content-padding: emCalc(20px);
873
+ $f-dropdown-content-padding: emCalc(20);
874
874
 
875
875
 
876
876
  /* Flex Video Variables */
@@ -878,9 +878,9 @@ $f-dropdown-content-padding: emCalc(20px);
878
878
 
879
879
  /* Video container padding and margins */
880
880
 
881
- $flex-video-padding-top: emCalc(25px);
881
+ $flex-video-padding-top: emCalc(25);
882
882
  $flex-video-padding-bottom: 67.5%;
883
- $flex-video-margin-bottom: emCalc(16px);
883
+ $flex-video-margin-bottom: emCalc(16);
884
884
 
885
885
  /* Widescreen bottom padding */
886
886
 
@@ -892,7 +892,7 @@ $flex-video-widescreen-padding-bottom: 57.25%;
892
892
 
893
893
  /* Margins and padding of the inline list. */
894
894
 
895
- $inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
895
+ $inline-list-margin-bottom: emCalc(17, -22);
896
896
  $inline-list-margin: 0 0;
897
897
  $inline-list-padding: 0;
898
898
 
@@ -916,7 +916,7 @@ $inline-list-children-display: block;
916
916
 
917
917
  $joyride-tip-bg: rgb(0,0,0);
918
918
  $joyride-tip-default-width: 300px;
919
- $joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
919
+ $joyride-tip-padding: emCalc(18, 20, 24);
920
920
  $joyride-tip-border: solid 1px #555;
921
921
  $joyride-tip-radius: 4px;
922
922
  $joyride-tip-position-offset: 22px;
@@ -924,7 +924,7 @@ $joyride-tip-position-offset: 22px;
924
924
  /* Tip font styles */
925
925
 
926
926
  $joyride-tip-font-color: #fff;
927
- $joyride-tip-font-size: emCalc(14px);
927
+ $joyride-tip-font-size: emCalc(14);
928
928
  $joyride-tip-header-weight: bold;
929
929
 
930
930
  /* Changes the nub size */
@@ -954,14 +954,14 @@ $joyride-screenfill: rgba(0,0,0,0.5);
954
954
  /* Text styles. */
955
955
 
956
956
  $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
957
- $keystroke-font-size: emCalc(15px);
957
+ $keystroke-font-size: emCalc(15);
958
958
  $keystroke-font-color: #222;
959
959
  $keystroke-font-color-alt: #fff;
960
960
  $keystroke-function-factor: 7%;
961
961
 
962
962
  /* Keystroke padding. */
963
963
 
964
- $keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
964
+ $keystroke-padding: emCalc(2, 4, 0);
965
965
 
966
966
  /* Background and border styles. */
967
967
 
@@ -977,12 +977,12 @@ $keystroke-radius: $global-radius;
977
977
 
978
978
  /* Style the labels */
979
979
 
980
- $label-padding: emCalc(3px) emCalc(10px) emCalc(4px);
980
+ $label-padding: emCalc(3, 10, 4);
981
981
  $label-radius: $global-radius;
982
982
 
983
983
  /* We use these to style the label text */
984
984
 
985
- $label-font-sizing: emCalc(14px);
985
+ $label-font-sizing: emCalc(14);
986
986
  $label-font-weight: bold;
987
987
  $label-font-color: #333;
988
988
  $label-font-color-alt: #fff;
@@ -1026,7 +1026,7 @@ $orbit-bullet-nav-color-active: #222;
1026
1026
 
1027
1027
  $orbit-slide-number-bg: rgba(0,0,0,0);
1028
1028
  $orbit-slide-number-font-color: #fff;
1029
- $orbit-slide-number-padding: emCalc(5px);
1029
+ $orbit-slide-number-padding: emCalc(5);
1030
1030
 
1031
1031
  /* Graceful Loading Wrapper and preloader */
1032
1032
 
@@ -1039,20 +1039,20 @@ $preloader-class: "preloader" ;
1039
1039
 
1040
1040
  /* Pagination container */
1041
1041
 
1042
- $pagination-height: emCalc(24px);
1043
- $pagination-margin: emCalc(-5px);
1042
+ $pagination-height: emCalc(24);
1043
+ $pagination-margin: emCalc(-5);
1044
1044
 
1045
1045
  /* List-item properties */
1046
1046
 
1047
1047
  $pagination-li-float: $default-float;
1048
- $pagination-li-height: emCalc(24px);
1048
+ $pagination-li-height: emCalc(24);
1049
1049
  $pagination-li-font-color: #222;
1050
- $pagination-li-font-size: emCalc(14px);
1051
- $pagination-li-margin: emCalc(5px);
1050
+ $pagination-li-font-size: emCalc(14);
1051
+ $pagination-li-margin: emCalc(5);
1052
1052
 
1053
1053
  /* Pagination anchor links */
1054
1054
 
1055
- $pagination-link-pad: emCalc(1px) emCalc(7px) emCalc(1px);
1055
+ $pagination-link-pad: emCalc(1, 7, 1);
1056
1056
  $pagination-link-font-color: #999;
1057
1057
  $pagination-link-active-bg: darken(#fff, 10%);
1058
1058
 
@@ -1087,8 +1087,8 @@ $panel-border-color: darken($panel-bg, $panel-function-factor);
1087
1087
 
1088
1088
  /* Inner padding and bottom margin */
1089
1089
 
1090
- $panel-margin-bottom: emCalc(20px);
1091
- $panel-padding: emCalc(20px);
1090
+ $panel-margin-bottom: emCalc(20);
1091
+ $panel-padding: emCalc(20);
1092
1092
 
1093
1093
  /* Font colors */
1094
1094
 
@@ -1105,33 +1105,33 @@ $price-table-border: solid 1px #ddd;
1105
1105
 
1106
1106
  /* Bottom margin of the pricing table */
1107
1107
 
1108
- $price-table-margin-bottom: emCalc(20px);
1108
+ $price-table-margin-bottom: emCalc(20);
1109
1109
 
1110
1110
  /* Control the title styles */
1111
1111
 
1112
1112
  $price-title-bg: #ddd;
1113
- $price-title-padding: emCalc(15px) emCalc(20px);
1113
+ $price-title-padding: emCalc(15, 20);
1114
1114
  $price-title-align: center;
1115
1115
  $price-title-color: #333;
1116
1116
  $price-title-weight: bold;
1117
- $price-title-size: emCalc(16px);
1117
+ $price-title-size: emCalc(16);
1118
1118
 
1119
1119
  /* Control the price styles */
1120
1120
 
1121
1121
  $price-money-bg: #eee;
1122
- $price-money-padding: emCalc(15px) emCalc(20px);
1122
+ $price-money-padding: emCalc(15, 20);
1123
1123
  $price-money-align: center;
1124
1124
  $price-money-color: #333;
1125
1125
  $price-money-weight: normal;
1126
- $price-money-size: emCalc(20px);
1126
+ $price-money-size: emCalc(20);
1127
1127
 
1128
1128
  /* Description styles */
1129
1129
 
1130
1130
  $price-bg: #fff;
1131
1131
  $price-desc-color: #777;
1132
- $price-desc-padding: emCalc(15px);
1132
+ $price-desc-padding: emCalc(15);
1133
1133
  $price-desc-align: center;
1134
- $price-desc-font-size: emCalc(12px);
1134
+ $price-desc-font-size: emCalc(12);
1135
1135
  $price-desc-weight: normal;
1136
1136
  $price-desc-line-height: 1.4;
1137
1137
  $price-desc-bottom-border: dotted 1px #ddd;
@@ -1139,9 +1139,9 @@ $price-desc-bottom-border: dotted 1px #ddd;
1139
1139
  /* List item styles */
1140
1140
 
1141
1141
  $price-item-color: #333;
1142
- $price-item-padding: emCalc(15px);
1142
+ $price-item-padding: emCalc(15);
1143
1143
  $price-item-align: center;
1144
- $price-item-font-size: emCalc(14px);
1144
+ $price-item-font-size: emCalc(14);
1145
1145
  $price-item-weight: normal;
1146
1146
  $price-item-bottom-border: dotted 1px #ddd;
1147
1147
 
@@ -1149,7 +1149,7 @@ $price-item-bottom-border: dotted 1px #ddd;
1149
1149
 
1150
1150
  $price-cta-bg: #f5f5f5;
1151
1151
  $price-cta-align: center;
1152
- $price-cta-padding: emCalc(20px) emCalc(20px) 0;
1152
+ $price-cta-padding: emCalc(20, 20, 0);
1153
1153
 
1154
1154
 
1155
1155
  /* Progress Bar Variables */
@@ -1157,7 +1157,7 @@ $price-cta-padding: emCalc(20px) emCalc(20px) 0;
1157
1157
 
1158
1158
  /* Progress bar height */
1159
1159
 
1160
- $progress-bar-height: emCalc(25px);
1160
+ $progress-bar-height: emCalc(25);
1161
1161
  $progress-bar-color: transparent;
1162
1162
 
1163
1163
  /* Border styles */
@@ -1169,8 +1169,8 @@ $progress-bar-border-radius: $global-radius;
1169
1169
 
1170
1170
  /* Margin & padding */
1171
1171
 
1172
- $progress-bar-pad: emCalc(2px);
1173
- $progress-bar-margin-bottom: emCalc(10px);
1172
+ $progress-bar-pad: emCalc(2);
1173
+ $progress-bar-margin-bottom: emCalc(10);
1174
1174
 
1175
1175
  /* Meter colors */
1176
1176
 
@@ -1193,14 +1193,14 @@ $reveal-overlay-bg-old: #000;
1193
1193
  $reveal-modal-bg: #fff;
1194
1194
  $reveal-position-top: 50px;
1195
1195
  $reveal-default-width: 80%;
1196
- $reveal-modal-padding: emCalc(20px);
1196
+ $reveal-modal-padding: emCalc(20);
1197
1197
  $reveal-box-shadow: 0 0 10px rgba(#000,.4);
1198
1198
 
1199
1199
  /* Reveal close button */
1200
1200
 
1201
- $reveal-close-font-size: emCalc(22px);
1202
- $reveal-close-top: emCalc(8px);
1203
- $reveal-close-side: emCalc(11px);
1201
+ $reveal-close-font-size: emCalc(22);
1202
+ $reveal-close-top: emCalc(8);
1203
+ $reveal-close-side: emCalc(11);
1204
1204
  $reveal-close-color: #aaa;
1205
1205
  $reveal-close-weight: bold;
1206
1206
 
@@ -1219,8 +1219,8 @@ $close-reveal-modal-class: "close-reveal-modal";
1219
1219
 
1220
1220
  /* Padding and hover factor */
1221
1221
 
1222
- $section-title-padding: emCalc(15px);
1223
- $section-content-padding: emCalc(15px);
1222
+ $section-title-padding: emCalc(15);
1223
+ $section-content-padding: emCalc(15);
1224
1224
  $section-function-factor: 10%;
1225
1225
 
1226
1226
  /* Titles */
@@ -1239,14 +1239,14 @@ $section-border-color: #ccc;
1239
1239
 
1240
1240
  /* Font controls */
1241
1241
 
1242
- $section-font-size: emCalc(14px);
1242
+ $section-font-size: emCalc(14);
1243
1243
 
1244
1244
  /* Control the color of the background and some size options */
1245
1245
 
1246
1246
  $section-content-bg: #fff;
1247
- $section-vertical-nav-min-width: emCalc(200px);
1248
- $section-vertical-tabs-title-width: emCalc(200px);
1249
- $section-bottom-margin: emCalc(20px);
1247
+ $section-vertical-nav-min-width: emCalc(200);
1248
+ $section-vertical-tabs-title-width: emCalc(200);
1249
+ $section-bottom-margin: emCalc(20);
1250
1250
 
1251
1251
  $title-selector: ".title";
1252
1252
  $content-selector: ".content";
@@ -1257,19 +1257,19 @@ $content-selector: ".content";
1257
1257
 
1258
1258
  /* Padding */
1259
1259
 
1260
- $side-nav-padding: emCalc(14px) 0;
1260
+ $side-nav-padding: emCalc(14, 0);
1261
1261
 
1262
1262
  /* List styles */
1263
1263
 
1264
1264
  $side-nav-list-type: none;
1265
1265
  $side-nav-list-position: inside;
1266
- $side-nav-list-margin: 0 0 emCalc(7px) 0;
1266
+ $side-nav-list-margin: emCalc(0, 0, 7, 0);
1267
1267
 
1268
1268
  /* Link styles */
1269
1269
 
1270
1270
  $side-nav-link-color: $primary-color;
1271
1271
  $side-nav-link-color-active: lighten(#000, 30%);
1272
- $side-nav-font-size: emCalc(14px);
1272
+ $side-nav-font-size: emCalc(14);
1273
1273
  $side-nav-font-weight: bold;
1274
1274
 
1275
1275
  /* Border styles */
@@ -1284,12 +1284,12 @@ $side-nav-divider-color: darken(#fff, 10%);
1284
1284
 
1285
1285
  /* Margin and padding */
1286
1286
 
1287
- $sub-nav-list-margin: emCalc(-4px) 0 emCalc(18px);
1288
- $sub-nav-list-padding-top: emCalc(4px);
1287
+ $sub-nav-list-margin: emCalc(-4, 0, 18);
1288
+ $sub-nav-list-padding-top: emCalc(4);
1289
1289
 
1290
1290
  /* Definition */
1291
1291
 
1292
- $sub-nav-font-size: emCalc(14px);
1292
+ $sub-nav-font-size: emCalc(14);
1293
1293
  $sub-nav-font-color: #999;
1294
1294
  $sub-nav-font-weight: normal;
1295
1295
  $sub-nav-text-decoration: none;
@@ -1300,7 +1300,7 @@ $sub-nav-border-radius: 1000px;
1300
1300
  $sub-nav-active-font-weight: bold;
1301
1301
  $sub-nav-active-bg: $primary-color;
1302
1302
  $sub-nav-active-color: #fff;
1303
- $sub-nav-active-padding: emCalc(3px) emCalc(9px);
1303
+ $sub-nav-active-padding: emCalc(3, 9);
1304
1304
  $sub-nav-active-cursor: $cursor-default-value;
1305
1305
 
1306
1306
 
@@ -1320,7 +1320,7 @@ $switch-height-tny: 22px;
1320
1320
  $switch-height-sml: 28px;
1321
1321
  $switch-height-med: 36px;
1322
1322
  $switch-height-lrg: 44px;
1323
- $switch-bottom-margin: emCalc(20px);
1323
+ $switch-bottom-margin: emCalc(20);
1324
1324
 
1325
1325
  /* Font sizes for our classes. */
1326
1326
 
@@ -1363,22 +1363,22 @@ $table-border-color: #ddd;
1363
1363
  /* Table head styles */
1364
1364
 
1365
1365
  $table-head-bg: #f5f5f5;
1366
- $table-head-font-size: emCalc(14px);
1366
+ $table-head-font-size: emCalc(14);
1367
1367
  $table-head-font-color: #222;
1368
1368
  $table-head-font-weight: bold;
1369
- $table-head-padding: emCalc(8px) emCalc(10px) emCalc(10px);
1369
+ $table-head-padding: emCalc(8, 10, 10);
1370
1370
 
1371
1371
  /* Row padding and font styles */
1372
1372
 
1373
- $table-row-padding: emCalc(9px) emCalc(10px);
1374
- $table-row-font-size: emCalc(14px);
1373
+ $table-row-padding: emCalc(9, 10);
1374
+ $table-row-font-size: emCalc(14);
1375
1375
  $table-row-font-color: #222;
1376
- $table-line-height: emCalc(18px);
1376
+ $table-line-height: emCalc(18);
1377
1377
 
1378
1378
  /* Display and margin of tables */
1379
1379
 
1380
1380
  $table-display: table-cell;
1381
- $table-margin-bottom: emCalc(20px);
1381
+ $table-margin-bottom: emCalc(20);
1382
1382
 
1383
1383
 
1384
1384
  /* Image Thumbnail Variables */
@@ -1408,16 +1408,16 @@ $has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%);
1408
1408
  $has-tip-font-color-hover: $primary-color;
1409
1409
  $has-tip-cursor-type: help;
1410
1410
 
1411
- $tooltip-padding: emCalc(8px);
1411
+ $tooltip-padding: emCalc(8);
1412
1412
  $tooltip-bg: #000;
1413
- $tooltip-font-size: emCalc(15px);
1413
+ $tooltip-font-size: emCalc(15);
1414
1414
  $tooltip-font-weight: bold;
1415
1415
  $tooltip-font-color: #fff;
1416
1416
  $tooltip-line-height: 1.3;
1417
- $tooltip-close-font-size: emCalc(10px);
1417
+ $tooltip-close-font-size: emCalc(10);
1418
1418
  $tooltip-close-font-weight: normal;
1419
1419
  $tooltip-close-font-color: #888;
1420
- $tooltip-font-size-sml: emCalc(14px);
1420
+ $tooltip-font-size-sml: emCalc(14);
1421
1421
  $tooltip-radius: $global-radius;
1422
1422
  $tooltip-pip-size: 5px;
1423
1423
 
@@ -1432,7 +1432,7 @@ $topbar-bg: #111 !default;
1432
1432
  /* Height and margin */
1433
1433
 
1434
1434
  $topbar-height: 45px;
1435
- $topbar-margin-bottom: emCalc(30px);
1435
+ $topbar-margin-bottom: emCalc(30);
1436
1436
 
1437
1437
  /* Control Input height for top bar */
1438
1438
 
@@ -1441,7 +1441,7 @@ $topbar-input-height: 2.45em;
1441
1441
  /* Controlling the styles for the title in the top bar */
1442
1442
 
1443
1443
  $topbar-title-weight: bold;
1444
- $topbar-title-font-size: emCalc(17px);
1444
+ $topbar-title-font-size: emCalc(17);
1445
1445
 
1446
1446
  /* Style the top bar dropdown elements */
1447
1447
 
@@ -1458,7 +1458,7 @@ $topbar-link-color: #fff;
1458
1458
  $topbar-link-color-hover: #fff;
1459
1459
  $topbar-link-color-active: #fff;
1460
1460
  $topbar-link-weight: bold;
1461
- $topbar-link-font-size: emCalc(13px);
1461
+ $topbar-link-font-size: emCalc(13);
1462
1462
  $topbar-link-hover-lightness: -30%; Darken by 30%
1463
1463
  $topbar-link-bg-hover: darken($topbar-bg, 3%);
1464
1464
  $topbar-link-bg-active: darken($topbar-bg, 3%);
@@ -1466,12 +1466,12 @@ $topbar-link-bg-active: darken($topbar-bg, 3%);
1466
1466
  $topbar-dropdown-label-color: #555;
1467
1467
  $topbar-dropdown-label-text-transform: uppercase;
1468
1468
  $topbar-dropdown-label-font-weight: bold;
1469
- $topbar-dropdown-label-font-size: emCalc(10px);
1469
+ $topbar-dropdown-label-font-size: emCalc(10);
1470
1470
 
1471
1471
  /* Top menu icon styles */
1472
1472
 
1473
1473
  $topbar-menu-link-transform: uppercase;
1474
- $topbar-menu-link-font-size: emCalc(13px);
1474
+ $topbar-menu-link-font-size: emCalc(13);
1475
1475
  $topbar-menu-link-weight: bold;
1476
1476
  $topbar-menu-link-color: #fff;
1477
1477
  $topbar-menu-icon-color: #fff;
@@ -1481,7 +1481,7 @@ $topbar-menu-icon-color-toggled: #888;
1481
1481
  /* Transitions and breakpoint styles */
1482
1482
 
1483
1483
  $topbar-transition-speed: 300ms;
1484
- $topbar-breakpoint: emCalc(940px);
1484
+ $topbar-breakpoint: emCalc(940);
1485
1485
  $topbar-media-query: "only screen and (min-width: #{$topbar-breakpoint})";
1486
1486
 
1487
1487
  /* Divider Styles */