zurb-foundation 4.1.6 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. data/CONTRIBUTING.md +5 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +7 -0
  4. data/docs/CHANGELOG.md +27 -0
  5. data/docs/Gemfile +2 -0
  6. data/docs/Gemfile.lock +10 -0
  7. data/docs/_sidebar-components.html.erb +1 -0
  8. data/docs/_sidebar.html.erb +1 -0
  9. data/docs/components/alert-boxes.html.erb +8 -3
  10. data/docs/components/block-grid.html.erb +3 -3
  11. data/docs/components/breadcrumbs.html.erb +2 -2
  12. data/docs/components/button-groups.html.erb +2 -2
  13. data/docs/components/buttons.html.erb +3 -3
  14. data/docs/components/clearing.html.erb +7 -6
  15. data/docs/components/custom-forms.html.erb +1 -0
  16. data/docs/components/dropdown-buttons.html.erb +3 -3
  17. data/docs/components/dropdown.html.erb +20 -4
  18. data/docs/components/flex-video.html.erb +3 -3
  19. data/docs/components/forms.html.erb +5 -5
  20. data/docs/components/global.html.erb +235 -3
  21. data/docs/components/grid.html.erb +2 -2
  22. data/docs/components/inline-lists.html.erb +3 -3
  23. data/docs/components/interchange.html.erb +127 -0
  24. data/docs/components/keystrokes.html.erb +3 -3
  25. data/docs/components/kitchen-sink.html.erb +2 -2
  26. data/docs/components/labels.html.erb +3 -3
  27. data/docs/components/orbit.html.erb +120 -8
  28. data/docs/components/pagination.html.erb +5 -5
  29. data/docs/components/panels.html.erb +3 -3
  30. data/docs/components/pricing-tables.html.erb +3 -3
  31. data/docs/components/progress-bars.html.erb +3 -3
  32. data/docs/components/reveal.html.erb +126 -7
  33. data/docs/components/section.html.erb +43 -1
  34. data/docs/components/side-nav.html.erb +3 -3
  35. data/docs/components/split-buttons.html.erb +3 -3
  36. data/docs/components/sub-nav.html.erb +4 -4
  37. data/docs/components/switch.html.erb +3 -3
  38. data/docs/components/tables.html.erb +1 -1
  39. data/docs/components/thumbnails.html.erb +2 -2
  40. data/docs/components/tooltips.html.erb +34 -1
  41. data/docs/components/top-bar.html.erb +109 -30
  42. data/docs/components/type.html.erb +2 -1
  43. data/docs/components/visibility.html.erb +8 -8
  44. data/docs/css/normalize.scss +2 -2
  45. data/docs/css/qunit.css +1 -1
  46. data/docs/img/demos/demo1.jpg +0 -0
  47. data/docs/img/demos/demo2.jpg +0 -0
  48. data/docs/img/demos/demo3.jpg +0 -0
  49. data/docs/img/demos/demo4.jpg +0 -0
  50. data/docs/img/demos/demo5.jpg +0 -0
  51. data/docs/img/demos/interchange/default.jpg +0 -0
  52. data/docs/img/demos/interchange/large.jpg +0 -0
  53. data/docs/img/demos/interchange/med.jpg +0 -0
  54. data/docs/img/demos/interchange/small.jpg +0 -0
  55. data/docs/img/demos/interchange/smallest.jpg +0 -0
  56. data/docs/index.html.erb +14 -5
  57. data/docs/javascript.html.erb +2 -4
  58. data/docs/layout.html.erb +1 -1
  59. data/docs/rails.html.erb +4 -1
  60. data/docs/sass.html.erb +1274 -1023
  61. data/js/foundation/foundation.alerts.js +3 -1
  62. data/js/foundation/foundation.clearing.js +1 -1
  63. data/js/foundation/foundation.dropdown.js +25 -6
  64. data/js/foundation/foundation.forms.js +14 -12
  65. data/js/foundation/foundation.interchange.js +265 -0
  66. data/js/foundation/foundation.joyride.js +16 -3
  67. data/js/foundation/foundation.js +53 -7
  68. data/js/foundation/foundation.magellan.js +5 -3
  69. data/js/foundation/foundation.orbit.js +19 -2
  70. data/js/foundation/foundation.reveal.js +64 -11
  71. data/js/foundation/foundation.section.js +26 -17
  72. data/js/foundation/foundation.tooltips.js +16 -8
  73. data/js/foundation/foundation.topbar.js +98 -46
  74. data/js/foundation/index.js +1 -0
  75. data/lib/foundation/generators/install_generator.rb +2 -2
  76. data/lib/foundation/version.rb +1 -1
  77. data/scss/foundation/_variables.scss +134 -71
  78. data/scss/foundation/components/_alert-boxes.scss +20 -20
  79. data/scss/foundation/components/_block-grid.scss +7 -4
  80. data/scss/foundation/components/_breadcrumbs.scss +3 -3
  81. data/scss/foundation/components/_buttons.scss +5 -3
  82. data/scss/foundation/components/_clearing.scss +12 -6
  83. data/scss/foundation/components/_custom-forms.scss +17 -10
  84. data/scss/foundation/components/_dropdown.scss +6 -6
  85. data/scss/foundation/components/_forms.scss +5 -3
  86. data/scss/foundation/components/_global.scss +63 -30
  87. data/scss/foundation/components/_grid.scss +10 -9
  88. data/scss/foundation/components/_joyride.scss +22 -20
  89. data/scss/foundation/components/_keystrokes.scss +1 -1
  90. data/scss/foundation/components/_orbit.scss +108 -30
  91. data/scss/foundation/components/_reveal.scss +12 -8
  92. data/scss/foundation/components/_section.scss +38 -3
  93. data/scss/foundation/components/_switch.scss +18 -12
  94. data/scss/foundation/components/_thumbs.scss +10 -3
  95. data/scss/foundation/components/_tooltips.scss +11 -11
  96. data/scss/foundation/components/_top-bar.scss +102 -64
  97. data/scss/foundation/components/_type.scss +54 -47
  98. data/templates/project/manifest.rb +1 -0
  99. metadata +11 -4
@@ -76,7 +76,7 @@
76
76
  <div class="large-12 columns">
77
77
 
78
78
  <h3>Build With HTML Classes</h3>
79
- <p>The top bar is a pretty complex piece of magical UI goodness, which makes it really difficult to create a mixin from it. We rely on many presentational classes to accomplish the styles and there's a lot happening in the JS.</p>
79
+ <p>The top bar is a pretty complex piece of magical UI goodness, which makes it really difficult to create a mixin from it. We rely on many presentational classes to accomplish the styles and there's a lot happening in the JS. The top bar is hoverable by default but can be changed to a click event by adding a simple <code>data-option="is_hover:false"</code> to the <code>&lt;nav&gt;</code> element. <a href="#clickable">See an example below</a>.</p>
80
80
 
81
81
  <h5>Basic Needs</h5>
82
82
  <p>The top bar has four main elements, three of which are needed for proper functionality: <code>ul.title-area</code>, a <code>ul class="right/left</code> element enclosed in a <code>section class="top-bar-section"</code>, and the <code>li.toggle-topbar</code> element that will expand the menu in the mobile layout. You can leave out the li class="name" as long as you include the .toggle-topbar element.</p>
@@ -91,7 +91,7 @@
91
91
  <p>To make this navigation nice and flexible, we've included patterns for elements like buttons, inputs and dividers. To create dividers between your navigation, just add an empty <code>li.divider</code> and you'll get some separation. You can use a small Foundation button in the nav, just include <code>has-form</code> as a class for its parent li. You can include two different input types: search and text. To use these, add a class of search to the parent li.</p>
92
92
 
93
93
  <h5>Sticky Top Bar</h5>
94
- <p>You may also wrap your top bar in <code>div class="contain-to-grid sticky"</code> and put it anywhere within your markup. When the navigation hits the top of the browser, it will act like the fixed top bar and stick to the top as users continue to scroll.</p>
94
+ <p>You may also wrap your top bar in <code>div class="contain-to-grid sticky"</code> and put it anywhere within your markup. When the navigation hits the top of the browser, it will act like the fixed top bar and stick to the top as users continue to scroll. <strong>Note:</strong> If you are using Scss, you can control the default <code>sticky</code> class by adjusting the <code>$topbar-sticky-class</code> variable. <strong>Make sure the JS variable for <code>stickyClass</code> matches whatever class you use in the variable.</strong></p>
95
95
 
96
96
  <%= code_example '
97
97
  <nav class="top-bar">
@@ -206,51 +206,128 @@
206
206
  </section>
207
207
  </nav>', :html %>
208
208
 
209
+ <a name="clickable"></a>
210
+ <h4>Clickable Topbar</h4>
211
+ <p>You can now make the top bar clickable by adding a data-attribute to the nav element. Here's an example:</p>
212
+ <nav class="top-bar" data-options="is_hover:false">
213
+ <ul class="title-area">
214
+ <!-- Title Area -->
215
+ <li class="name">
216
+ <h1><a href="#">Clickable Top Bar</a></h1>
217
+ </li>
218
+ <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
219
+ <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
220
+ </ul>
221
+
222
+ <section class="top-bar-section">
223
+
224
+ <!-- Right Nav Section -->
225
+ <ul class="right">
226
+ <li class="divider hide-for-small"></li>
227
+ <li class="has-dropdown"><a href="#">Main Item 1</a>
228
+
229
+ <ul class="dropdown">
230
+ <li><label>Dropdown Level 1 Label</label></li>
231
+ <li class="has-dropdown"><a href="#" class="">Dropdown Level 1a</a>
232
+
233
+ <ul class="dropdown">
234
+ <li><a href="#">Dropdown Level 2a</a></li>
235
+ <li><a href="#">Dropdown Level 2b</a></li>
236
+ <li class="has-dropdown"><a href="#">Dropdown Level 2c</a>
237
+
238
+ <ul class="dropdown">
239
+ <li><a href="#">Dropdown Level 3a</a></li>
240
+ <li><a href="#">Dropdown Level 3b</a></li>
241
+ <li><a href="#">Dropdown Level 3c</a></li>
242
+ </ul>
243
+ </li>
244
+ <li><a href="#">Dropdown Level 2d</a></li>
245
+ <li><a href="#">Dropdown Level 2e</a></li>
246
+ <li><a href="#">Dropdown Level 2f</a></li>
247
+ </ul>
248
+ </li>
249
+ <li><a href="#">Dropdown Level 1b</a></li>
250
+ <li><a href="#">Dropdown Level 1c</a></li>
251
+ <li class="divider"></li>
252
+ <li><label>Dropdown Level 1 Label</label></li>
253
+ <li><a href="#">Dropdown Level 1d</a></li>
254
+ <li><a href="#">Dropdown Level 1e</a></li>
255
+ <li><a href="#">Dropdown Level 1f</a></li>
256
+ <li class="divider"></li>
257
+ <li><a href="#">See all &rarr;</a></li>
258
+ </ul>
259
+ </li>
260
+ </ul>
261
+ </section>
262
+ </nav>
263
+
264
+ <%= code_example '
265
+ <nav class="top-bar" data-options="is_hover:false">', :html %>
266
+ <hr>
267
+
209
268
  <h4>Available SCSS Variables</h4>
210
269
  <p>We do include SCSS variable to help you control some of the styles for the top bar. Overall the styles are written mobile first, so they are much easier to override than the previous iteration of the top bar.</p>
211
270
 
212
271
  <%= code_example '
213
272
  /* Background color for the top bar */
214
- $topbar-bg: #111;
273
+ $topbar-bg: #111;
215
274
 
216
275
  /* Height and margin */
217
- $topbar-height: 45px;
218
- $topbar-margin-bottom: emCalc(30px);
276
+ $topbar-height: 45px;
277
+ $topbar-margin-bottom: emCalc(30px);
219
278
 
220
279
  /* Control Input height for top bar */
221
- $topbar-input-height: 2.45em;
280
+ $topbar-input-height: 2.45em;
222
281
 
223
282
  /* Controlling the styles for the title in the top bar */
224
- $topbar-title-weight: bold;
225
- $topbar-title-font-size: emCalc(17px);
226
-
227
- /* Set the link colors and styles for top-level nav */
228
- $topbar-link-color: #fff;
229
- $topbar-link-weight: bold;
230
- $topbar-link-font-size: emCalc(13px);
283
+ $topbar-title-weight: bold;
284
+ $topbar-title-font-size: emCalc(17px);
231
285
 
232
286
  /* Style the top bar dropdown elements */
233
- $topbar-dropdown-bg: #333;
234
- $topbar-dropdown-link-color: #fff;
235
- $topbar-dropdown-toggle-size: 5px;
236
- $topbar-dropdown-toggle-color: #fff;
237
- $topbar-dropdown-toggle-alpha: 0.5;
238
- $dropdown-label-color: #555;
287
+ $topbar-dropdown-bg: #222;
288
+ $topbar-dropdown-link-color: #fff;
289
+ $topbar-dropdown-link-bg: lighten($topbar-bg, 5%);
290
+ $topbar-dropdown-toggle-size: 5px;
291
+ $topbar-dropdown-toggle-color: #fff;
292
+ $topbar-dropdown-toggle-alpha: 0.5;
293
+
294
+ /* Set the link colors and styles for top-level nav */
295
+ $topbar-link-color: #fff;
296
+ $topbar-link-color-hover: #fff;
297
+ $topbar-link-color-active: #fff;
298
+ $topbar-link-weight: bold;
299
+ $topbar-link-font-size: emCalc(13px);
300
+ $topbar-link-hover-lightness: -30%; /* Darken by 30% */
301
+ $topbar-link-bg-hover: darken($topbar-bg, 3%);
302
+ $topbar-link-bg-active: darken($topbar-bg, 3%);
303
+
304
+ $topbar-dropdown-label-color: #555;
305
+ $topbar-dropdown-label-text-transform: uppercase;
306
+ $topbar-dropdown-label-font-weight: bold;
307
+ $topbar-dropdown-label-font-size: emCalc(10px);
239
308
 
240
309
  /* Top menu icon styles */
241
- $topbar-menu-link-transform: uppercase;
242
- $topbar-menu-link-font-size: emCalc(13px);
243
- $topbar-menu-link-weight: bold;
244
- $topbar-menu-link-color: #fff;
245
- $topbar-menu-icon-color: #fff;
246
- $topbar-menu-link-color-toggled: #888;
247
- $topbar-menu-icon-color-toggled: #888;
310
+ $topbar-menu-link-transform: uppercase;
311
+ $topbar-menu-link-font-size: emCalc(13px);
312
+ $topbar-menu-link-weight: bold;
313
+ $topbar-menu-link-color: #fff;
314
+ $topbar-menu-icon-color: #fff;
315
+ $topbar-menu-link-color-toggled: #888;
316
+ $topbar-menu-icon-color-toggled: #888;
248
317
 
249
318
  /* Transitions and breakpoint styles */
250
- $topbar-transition-speed: 300ms;
251
- $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout', :css %>
319
+ $topbar-transition-speed: 300ms;
320
+ $topbar-breakpoint: emCalc(940px); /* Change to 9999px for always mobile layout */
321
+ $topbar-media-query: "only screen and (min-width:"#{$topbar-breakpoint}")";
322
+
323
+ /* Divider Styles */
324
+ $topbar-divider-border-bottom: solid 1px lighten($topbar-bg, 10%);
325
+ $topbar-divider-border-top: solid 1px darken($topbar-bg, 10%);
326
+
327
+ /* Sticky Class */
328
+ $topbar-sticky-class: ".sticky";', :css %>
252
329
 
253
- <p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_foundation-global.scss</strong>.</p>
330
+ <p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>. It is included in <strong>_variables.scss</strong>.</p>
254
331
 
255
332
  <hr>
256
333
 
@@ -263,7 +340,7 @@ $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout'
263
340
 
264
341
  <h5>Optional JavaScript Configuration</h5>
265
342
 
266
- <p>Top bar options can only be passed in during initialization at this time.</p>
343
+ <p>Top bar now supports <code>data-options</code> configuration.</p>
267
344
 
268
345
  <%= code_example "
269
346
  {
@@ -271,6 +348,8 @@ $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout'
271
348
  stickyClass : 'sticky',
272
349
  custom_back_text: true, // Set this to false and it will pull the top level link name as the back text
273
350
  back_text: 'Back', // Define what you want your custom back text to be if custom_back_text: true
351
+ is_hover: true,
352
+ scrolltop : true, // jump to top when sticky nav menu toggle is clicked
274
353
  init : false
275
354
  }", :js %>
276
355
  </div>
@@ -347,7 +347,8 @@ $hr-margin: emCalc(20px);
347
347
 
348
348
  /* We use these to style lists */
349
349
  $list-style-position: outside;
350
- $list-side-margin: emCalc(18px);
350
+ $list-side-margin: emCalc(20px);
351
+ $list-nested-margin: emCalc(20px);
351
352
  $definition-list-header-weight: bold;
352
353
  $definition-list-header-margin-bottom: .3em;
353
354
  $definition-list-margin-bottom: emCalc(12px);
@@ -61,22 +61,22 @@
61
61
  <%= code_example '
62
62
  /* The show classes */
63
63
  .show-for-small /* Visible up to 768px */
64
- .show-for-medium-down /* Visible from 1280px down */
64
+ .show-for-medium-down /* Visible from 768px down */
65
65
  .show-for-medium /* Visible between 768px and 1280px */
66
- .show-for-medium-up /* Visible from 1280px up */
67
- .show-for-large-down /* Visible from 1440px down */
66
+ .show-for-medium-up /* Visible from 768px up */
67
+ .show-for-large-down /* Visible from 1280px down */
68
68
  .show-for-large /* Visible between 1280px and 1440px */
69
- .show-for-large-up /* Visible from 1440px up */
69
+ .show-for-large-up /* Visible from 1280px up */
70
70
  .show-for-xlarge /* Visible above 1440px only */
71
71
 
72
72
  /* The hide classes */
73
73
  .hide-for-small /* Hidden up to 768px */
74
- .hide-for-medium-down /* Hidden from 1280px down */
74
+ .hide-for-medium-down /* Hidden from 768px down */
75
75
  .hide-for-medium /* Hidden between 768px and 1280px */
76
- .hide-for-medium-up /* Hidden from 1280px up */
77
- .hide-for-large-down /* Hidden from 1440px down */
76
+ .hide-for-medium-up /* Hidden from 768px up */
77
+ .hide-for-large-down /* Hidden from 1280px down */
78
78
  .hide-for-large /* Hidden between 1280px and 1440px */
79
- .hide-for-large-up /* Hidden from 1440px up */
79
+ .hide-for-large-up /* Hidden from 1280px up */
80
80
  .hide-for-xlarge /* Hidden above 1440px only */
81
81
 
82
82
  /* The orientation classes */
@@ -316,7 +316,7 @@ html input[type="button"], /* 1 */
316
316
  input[type="reset"],
317
317
  input[type="submit"] {
318
318
  -webkit-appearance: button; /* 2 */
319
- cursor: pointer; /* 3 */
319
+ cursor: $cursor-pointer-value; /* 3 */
320
320
  }
321
321
 
322
322
  /**
@@ -325,7 +325,7 @@ input[type="submit"] {
325
325
 
326
326
  button[disabled],
327
327
  html input[disabled] {
328
- cursor: default;
328
+ cursor: $cursor-default-value;
329
329
  }
330
330
 
331
331
  /**
@@ -98,7 +98,7 @@
98
98
  }
99
99
 
100
100
  #qunit-tests li strong {
101
- cursor: pointer;
101
+ cursor: $cursor-pointer-value;
102
102
  }
103
103
 
104
104
  #qunit-tests li a {
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -126,6 +126,12 @@
126
126
  <dd>We've made a dropdown plugin that makes it easy to attach a popover dropdown to any element on the page.</dd>
127
127
  </dl>
128
128
  </div>
129
+ <div class="large-4 columns end">
130
+ <dl>
131
+ <dt><h5><a href="components/dropdown.html">Interchange</a></h5></dt>
132
+ <dd>This plugin let's you load up the appropriate size image based on media queries that you define.</dd>
133
+ </dl>
134
+ </div>
129
135
  </div>
130
136
 
131
137
  <hr>
@@ -137,7 +143,7 @@
137
143
  <div class="large-4 columns">
138
144
  <dl>
139
145
  <dt><h5>css</h5></dt>
140
- <dd>Includes <code>foundation.css</code> and <code>foundation.min.css</code> so you can choose which to use. You can add <code>app.css</code> or any other stylesheet to use for custom styles that will sit on top of the Foundation core as overrides.</dd>
146
+ <dd>Includes <code>foundation.css</code> and <code>foundation.min.css</code> so you can choose which to use. You'll also see <code>normalize.css</code>, which we use for resets. Add another stylesheet on top of Foundation to override defaults.</dd>
141
147
  </dl>
142
148
  </div>
143
149
  <div class="large-4 columns">
@@ -181,7 +187,7 @@
181
187
  <h6 class="subheader"><strong>Using the Gem?</strong> You'll see a couple extra pieces in your project upon creation. These are:</h6>
182
188
  <dl>
183
189
  <dt>scss/</dt>
184
- <dd>Your main style folder is named <strong>scss/</strong> and contains <code>app.scss</code> (which has the foundation gem import and commented portions you can pick and choose.) and <code>normalize.scss</code>. Override the Foundation styles within your app.scss file. You can see the compiled CSS in your stylesheets directory after you manually <span class="has-tip top" title="$ compass compile <filename>">compile</span> or <span class="has-tip top" title="$ compass watch <directory>">watch</span>. This directory also includes <code>_settings.scss</code>, which is used to control variables that help easily style Foundation.</dd>
190
+ <dd>Your main style folder is named <strong>scss/</strong> and contains <code>app.scss</code> (which has the foundation gem import and commented portions you can pick and choose). Override the Foundation styles within your <code>app.scss</code> file. You can see the compiled CSS in your stylesheets directory after you manually <span class="has-tip top" title="$ compass compile <filename>">compile</span> or <span class="has-tip top" title="$ compass watch <directory>">watch</span>. This directory also includes <code>_settings.scss</code>, which is used to control variables that help easily style Foundation. You'll also notice that the directory names are slightly different. Compass defaults to "stylesheets", "javascripts", and "image".</dd>
185
191
  <dt></i>config.rb</dt>
186
192
  <dd>This file is used by <a href="http://compass-style.org">Compass</a> to compile your project. Here you can control the output style of your CSS, the structure of your directories and other useful settings.</dd>
187
193
  </dl>
@@ -204,9 +210,11 @@
204
210
  <meta name="viewport" content="width=device-width" />
205
211
  <title>Foundation 4</title>
206
212
 
213
+ <!-- If you are using CSS version, only link these 2 files, you may add app.css to use for your overrides if you like. -->
207
214
  <link rel="stylesheet" href="css/normalize.css" />
208
- <!-- If you are using CSS version, add this -->
209
215
  <link rel="stylesheet" href="css/foundation.css" />
216
+
217
+ <!-- If you are using the gem version, you need this only -->
210
218
  <link rel="stylesheet" href="css/app.css" />
211
219
 
212
220
  <script src="js/vendor/custom.modernizr.js"></script>
@@ -235,8 +243,9 @@
235
243
  <script src="js/foundation/foundation.section.js"></script>
236
244
  <script src="js/foundation/foundation.tooltips.js"></script>
237
245
  <script src="js/foundation/foundation.topbar.js"></script>
246
+ <script src="js/foundation/foundation.interchange.js"></script>
238
247
  <script>
239
- $(document).foundation();
248
+ $(document).foundation();
240
249
  </script>
241
250
  </body>
242
251
  </html>
@@ -259,7 +268,7 @@
259
268
  <dt><h5>CSS &amp; Modernizr</h5></dt>
260
269
  <dd>The default CSS download includes everything you need to get going, including necessary styles and our custom Modernizr script.</dd>
261
270
  <dt>CSS</dt>
262
- <dd>We include <code>foundation.min.css</code> and <code>foundation.css</code>. The difference here is whether or not you want minified code or not (link whichever you want, but not both).</dd>
271
+ <dd>We include <code>foundation.min.css</code> and <code>foundation.css</code> with a default CSS download. The difference here is whether or not you want minified code or not (link whichever you want, but not both).</dd>
263
272
  </dl>
264
273
  </div>
265
274
  <div class="large-4 columns">
@@ -46,13 +46,11 @@
46
46
 
47
47
  <h5>Initialize Foundation</h5>
48
48
  <p>After you have included the Foundation JavaScript, just add a simple call to initialize all plugins on your page.</p>
49
- <p>It is recommended that you initialize on document ready</p>
49
+ <p>It is recommended that you initialize Foundation at the end of the page <code>&lt;body&gt;</code>.</p>
50
50
 
51
51
  <%= code_example '
52
52
  <script>
53
- $(function(){
54
- $(document).foundation();
55
- })
53
+ $(document).foundation();
56
54
  </script>
57
55
  ', :html %>
58
56
 
@@ -116,7 +116,7 @@
116
116
  .foundation()
117
117
  .foundation('joyride', 'start');
118
118
  <% else %>
119
- .foundation();
119
+ .foundation(null, null, null, null, true);
120
120
  <% end %>
121
121
 
122
122
  // For Kitchen Sink Page
@@ -27,6 +27,9 @@ end
27
27
  <div class="panel">
28
28
  <p><strong>NOTE:</strong> Make sure that your restart your server after running <code>bundle install</code>. Otherwise the asset pipeline may not recognize the new Foundation files.</p>
29
29
  </div>
30
+
31
+ <h4>Rails 4.0</h4>
32
+ <p>Rails 4.0 removed the assets group from Gemfile. So make sure to move the zurb-foundation gem out of the assets group, when you're updating your rails app.</p>
30
33
 
31
34
  <h4>Easy Install</h4>
32
35
  <p>Simply run <code>rails g foundation:install</code> to configure your application to use Foundation. That's it!</p>
@@ -73,4 +76,4 @@ javascript_include_tag "vendor/custom.modernizr"
73
76
  <%= render "_sidebar.html.erb" %>
74
77
  </div>
75
78
  </div>
76
- </div>
79
+ </div>
@@ -43,7 +43,9 @@
43
43
  <hr>
44
44
 
45
45
  <h3>Using Sass Standalone</h3>
46
- <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">files from Github</a> (grab the scss/ and js/ directories) and put them into your project directory. From there you just need to <code>@import</code> the parts of Foundation you need.</p>
46
+ <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>
47
+
48
+ <a class="small button secondary" href="https://github.com/zurb/foundation/tree/scss-standalone">Sass Standalone Branch on Github</a>
47
49
 
48
50
  <p>To import all of Foundation:</p>
49
51
  <%= code_example '
@@ -209,1042 +211,1291 @@ bundle exec compass create . -r zurb-foundation --using foundation
209
211
 
210
212
  <hr>
211
213
 
214
+ <a name="codekit"></a>
215
+ <h3>Compiling with CodeKit</h3>
216
+ <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>
217
+
218
+ <ul>
219
+ <li>Create a project: <kbd>compass create <em>project-name</em> -r zurb-foundation --using foundation</kbd></li>
220
+ <li>Open CodeKit and drag that project folder into the side panel or add it with the "+" button.</li>
221
+ <li>Compile away!</li>
222
+ </ul>
223
+
224
+ <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>
225
+
226
+ <hr>
227
+
212
228
  <h3>Foundation Global Settings and Mixins</h3>
213
229
  <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>
214
230
 
215
231
  <%= code_example '
216
- //
217
- // Foundation Variables
218
- //
232
+ /* Foundation Variables */
219
233
 
220
- // The default font-size is set to 100% of the browser style sheet (usually 16px)
221
- // for compatibility with browser-based text zoom or user-set defaults.
234
+ The default font-size is set to 100% of the browser style sheet (usually 16px)
235
+ for compatibility with browser-based text zoom or user-set defaults.
222
236
  $base-font-size: 100% !default;
223
237
 
224
- // This is the default html and body font-size for the base em value.
238
+ $base-line-height is 24px while $base-font-size is 16px
239
+ $base-line-height: 150%;
240
+
241
+ This is the default html and body font-size for the base em value.
225
242
 
226
- // Since the typical default browser font-size is 16px, that makes the calculation for grid size.
227
- // If you want your base font-size to be a different size and not have it effect grid size too,
228
- // set the value of $em-base to $base-font-size ($em-base: $base-font-size;)
243
+ Since the typical default browser font-size is 16px, that makes the calculation for grid size.
244
+ If you want your base font-size to be a different size and not have it effect grid size too,
245
+ set the value of $em-base to $base-font-size ($em-base: $base-font-size;)
229
246
  $em-base: 16px !default;
230
247
 
231
- // Working in ems is annoying. Think in pixels by using this handy function, emCalc(#px)
248
+ Working in ems is annoying. Think in pixels by using this handy function, emCalc(#px)
232
249
  @function emCalc($pxWidth) {
233
250
  @return $pxWidth / $em-base * 1em;
234
251
  }
235
252
 
236
- // We use these to control various global styles
237
- // $body-bg: #fff;
238
- // $body-font-color: #222;
239
- // $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
240
- // $body-font-weight: normal;
241
- // $body-font-style: normal;
242
-
243
- // We use this to control font-smoothing
244
- // $font-smoothing: antialiased;
245
-
246
- // We use these to control text direction settings
247
- // $text-direction: ltr;
248
-
249
- // We use these as default colors throughout
250
- // $primary-color: #2ba6cb;
251
- // $secondary-color: #e9e9e9;
252
- // $alert-color: #c60f13;
253
- // $success-color: #5da423;
254
-
255
- // We use these to make sure border radius matches unless we want it different.
256
- // $global-radius: 3px;
257
- // $global-rounded: 1000px;
258
-
259
- // We use these to control inset shadow shiny edges and depressions.
260
- // $shiny-edge-size: 0 1px 0;
261
- // $shiny-edge-color: rgba(#fff, .5);
262
- // $shiny-edge-active-color: rgba(#000, .2);
263
-
264
- // We use this to control whether or not CSS classes come through in the gem files.
265
- // $include-html-classes: true;
266
- // $include-print-styles: true;
267
- // $include-html-grid-classes: $include-html-classes;
268
- // $include-html-visibility-classes: $include-html-classes;
269
- // $include-html-button-classes: $include-html-classes;
270
- // $include-html-form-classes: $include-html-classes;
271
- // $include-html-custom-form-classes: $include-html-classes;
272
- // $include-html-media-classes: $include-html-classes;
273
- // $include-html-section-classes: $include-html-classes;
274
- // $include-html-reveal-classes: $include-html-classes;
275
- // $include-html-alert-classes: $include-html-classes;
276
- // $include-html-nav-classes: $include-html-classes;
277
- // $include-html-label-classes: $include-html-classes;
278
- // $include-html-panel-classes: $include-html-classes;
279
- // $include-html-pricing-classes: $include-html-classes;
280
- // $include-html-progress-classes: $include-html-classes;
281
- // $include-html-magellan-classes: $include-html-classes;
282
-
283
- // Media Queries
284
- // $small-screen: emCalc(768px);
285
- // $medium-screen: emCalc(1280px);
286
- // $large-screen: emCalc(1440px);
287
-
288
- // $screen: "only screen";
289
- // $small: "only screen and (min-width:"#{$small-screen}")";
290
- // $medium: "only screen and (min-width:"#{$medium-screen}")";
291
- // $large: "only screen and (min-width:"#{$large-screen}")";
292
- // $landscape: "only screen and (orientation: landscape)";
293
- // $portrait: "only screen and (orientation: portrait)";
294
-
295
- //
296
- // Grid Variables
297
- //
298
-
299
- // $row-width: emCalc(1000px);
300
- // $column-gutter: emCalc(30px);
301
- // $total-columns: 12;
302
-
303
- //
304
- // Block Grid Variables
305
- //
306
-
307
- // We use this to control the maximum number of block grid elements per row
308
- // $block-grid-elements: 12;
309
- // $block-grid-default-spacing: 10px;
310
-
311
- // Enables media queries for block-grid classes. Set to false if writing semantic HTML.
312
- // $block-grid-media-queries: true;
313
-
314
- //
315
- // Typography Variables
316
- //
317
-
318
- // We use these to control header font styles
319
- // $header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
320
- // $header-font-weight: bold;
321
- // $header-font-style: normal;
322
- // $header-font-color: #222;
323
- // $header-line-height: 1.4;
324
- // $header-top-margin: .2em;
325
- // $header-bottom-margin: .5em;
326
- // $header-text-rendering: optimizeLegibility;
327
-
328
- // We use these to control header font sizes
329
- // $h1-font-size: emCalc(44px);
330
- // $h2-font-size: emCalc(37px);
331
- // $h3-font-size: emCalc(27px);
332
- // $h4-font-size: emCalc(23px);
333
- // $h5-font-size: emCalc(18px);
334
- // $h6-font-size: 1em;
335
-
336
- // These control how subheaders are styled
337
- // $subheader-line-height: 1.4;
338
- // $subheader-font-color: lighten($header-font-color, 30%);
339
- // $subheader-font-weight: 300;
340
- // $subheader-top-margin: .2em;
341
- // $subheader-bottom-margin: .5em;
342
-
343
- // A general <small> styling
344
- // $small-font-size: 60%;
345
- // $small-font-color: lighten($header-font-color, 30%);
346
-
347
- // We use these to style paragraphs
348
- // $paragraph-font-family: inherit;
349
- // $paragraph-font-weight: normal;
350
- // $paragraph-font-size: 1em;
351
- // $paragraph-line-height: 1.6;
352
- // $paragraph-margin-bottom: emCalc(20px);
353
- // $paragraph-aside-font-size: emCalc(14px);
354
- // $paragraph-aside-line-height: 1.35;
355
- // $paragraph-aside-font-style: italic;
356
-
357
- // We use these to style <code> tags
358
- // $code-color: darken($alert-color, 15%);
359
- // $code-font-family: Consolas, "Liberation Mono", Courier, monospace;
360
- // $code-font-weight: bold;
361
-
362
- // We use these to style anchors
363
- // $anchor-text-decoration: none;
364
- // $anchor-font-color: $primary-color;
365
- // $anchor-font-color-hover: darken($primary-color, 5%);
366
-
367
- // We use these to style the <hr> element
368
- // $hr-border-width: 1px;
369
- // $hr-border-style: solid;
370
- // $hr-border-color: #ddd;
371
- // $hr-margin: emCalc(20px);
372
-
373
- // We use these to style lists
374
- // $list-style-position: outside;
375
- // $list-side-margin: emCalc(18px);
376
- // $definition-list-header-weight: bold;
377
- // $definition-list-header-margin-bottom: .3em;
378
- // $definition-list-margin-bottom: emCalc(12px);
379
-
380
- // We use these to style blockquotes
381
- // $blockquote-font-color: lighten($header-font-color, 30%);
382
- // $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px);
383
- // $blockquote-border: 1px solid #ddd;
384
- // $blockquote-cite-font-size: emCalc(13px);
385
- // $blockquote-cite-font-color: lighten($header-font-color, 20%);
386
- // $blockquote-cite-link-color: $blockquote-cite-font-color;
387
-
388
- // Acronym styles
389
- // $acronym-underline: 1px dotted #ddd;
390
-
391
- // We use these to control padding and margin
392
- // $microformat-padding: emCalc(10px) emCalc(12px);
393
- // $microformat-margin: 0 0 emCalc(20px) 0;
394
-
395
- // We use these to control border styles
396
- // $microformat-border-width: 1px;
397
- // $microformat-border-style: solid;
398
- // $microformat-border-color: #ddd;
399
-
400
- // We use these to control full name font styles
401
- // $microformat-fullname-font-weight: bold;
402
- // $microformat-fullname-font-size: emCalc(15px);
403
-
404
- // We use this to control the summary font styles
405
- // $microformat-summary-font-weight: bold;
406
-
407
- // We use this to control abbr padding
408
- // $microformat-abbr-padding: 0 emCalc(1px);
409
-
410
- // We use this to control abbr font styles
411
- // $microformat-abbr-font-weight: bold;
412
- // $microformat-abbr-font-decoration: none;
413
-
414
- //
415
- // Form Variables
416
- //
417
-
418
- // We use this to set the base for lots of form spacing and positioning styles
419
- // $form-spacing: emCalc(16px);
420
-
421
- // We use these to style the labels in different ways
422
- // $label-pointer: pointer;
423
- // $label-font-size: emCalc(14px);
424
- // $label-font-weight: 500;
425
- // $label-font-color: lighten(#000, 30%);
426
- // $label-bottom-margin: emCalc(3px);
427
- // $input-font-family: inherit;
428
- // $input-font-color: rgba(0,0,0,0.75);
429
- // $input-font-size: emCalc(14px);
430
- // $input-bg-color: #fff;
431
- // $input-focus-bg-color: darken(#fff, 2%);
432
- // $input-border-color: darken(#fff, 20%);
433
- // $input-focus-border-color: darken(#fff, 40%);
434
- // $input-border-style: solid;
435
- // $input-border-width: 1px;
436
- // $input-disabled-bg: #ddd;
437
- // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
438
-
439
- // We use these to style the fieldset border and spacing.
440
- // $fieldset-border-style: solid;
441
- // $fieldset-border-width: 1px;
442
- // $fieldset-border-color: #ddd;
443
- // $fieldset-padding: emCalc(20px);
444
- // $fieldset-margin: emCalc(18px) 0;
445
-
446
- // We use these to style the legends when you use them
447
- // $legend-bg: #fff;
448
- // $legend-font-weight: bold;
449
- // $legend-padding: 0 emCalc(3px);
450
-
451
- // We use these to style the prefix and postfix input elements
452
- // $input-prefix-bg: darken(#fff, 5%);
453
- // $input-prefix-border-color: darken(#fff, 20%);
454
- // $input-prefix-border-size: 1px;
455
- // $input-prefix-border-type: solid;
456
- // $input-prefix-overflow: hidden;
457
- // $input-prefix-font-color: #333;
458
- // $input-prefix-font-color-alt: #fff;
459
-
460
- // We use these to style the error states for inputs and labels
461
- // $input-error-message-padding: emCalc(6px) emCalc(4px);
462
- // $input-error-message-top: -($form-spacing) - emCalc(5px);
463
- // $input-error-message-font-size: emCalc(12px);
464
- // $input-error-message-font-weight: bold;
465
- // $input-error-message-font-color: #fff;
466
- // $input-error-message-font-color-alt: #333;
467
-
468
- // We use these to build padding for buttons.
469
- // $button-med: emCalc(12px);
470
- // $button-tny: emCalc(7px);
471
- // $button-sml: emCalc(9px);
472
- // $button-lrg: emCalc(16px);
473
-
474
- // We use this to control the display property.
475
- // $button-display: inline-block;
476
- // $button-margin-bottom: emCalc(20px);
477
-
478
- // We use these to control button text styles.
479
- // $button-font-family: inherit;
480
- // $button-font-color: #fff;
481
- // $button-font-color-alt: #333;
482
- // $button-font-med: emCalc(16px);
483
- // $button-font-tny: emCalc(11px);
484
- // $button-font-sml: emCalc(13px);
485
- // $button-font-lrg: emCalc(20px);
486
- // $button-font-weight: bold;
487
- // $button-font-align: center;
488
-
489
- // We use these to control various hover effects.
490
- // $button-function-factor: 10%;
491
-
492
- // We use these to control button border styles.
493
- // $button-border-width: 1px;
494
- // $button-border-style: solid;
495
- // $button-border-color: darken($primary-color, $button-function-factor);
496
-
497
- // We use this to set the default radius used throughout the core.
498
- // $button-radius: $global-radius;
499
-
500
- // We use this to set default opacity for disabled buttons.
501
- // $button-disabled-opacity: 0.6;
502
-
503
- //
504
- // Dropdown Button Variables
505
- //
506
-
507
- // We use these to set the color of the pip in dropdown buttons
508
- // $dropdown-button-pip-color: #fff;
509
- // $dropdown-button-pip-color-alt: #333;
510
-
511
- // We use these to style tiny dropdown buttons
512
- // $dropdown-button-padding-tny: $button-tny * 5;
513
- // $dropdown-button-pip-size-tny: $button-tny;
514
- // $dropdown-button-pip-right-tny: $button-tny * 2;
515
- // $dropdown-button-pip-top-tny: -$button-tny / 2 + emCalc(1px);
516
-
517
- // We use these to style small dropdown buttons
518
- // $dropdown-button-padding-sml: $button-sml * 5;
519
- // $dropdown-button-pip-size-sml: $button-sml;
520
- // $dropdown-button-pip-right-sml: $button-sml * 2;
521
- // $dropdown-button-pip-top-sml: -$button-sml / 2 + emCalc(1px);
522
-
523
- // We use these to style medium dropdown buttons
524
- // $dropdown-button-padding-med: $button-med * 4 + emCalc(3px);
525
- // $dropdown-button-pip-size-med: $button-med - emCalc(3px);
526
- // $dropdown-button-pip-right-med: $button-med * 2;
527
- // $dropdown-button-pip-top-med: -$button-med / 2 + emCalc(2px);
528
-
529
- // We use these to style large dropdown buttons
530
- // $dropdown-button-padding-lrg: $button-lrg * 4;
531
- // $dropdown-button-pip-size-lrg: $button-lrg - emCalc(6px);
532
- // $dropdown-button-pip-right-lrg: $button-lrg + emCalc(12px);
533
- // $dropdown-button-pip-top-lrg: -$button-lrg / 2 + emCalc(3px);
534
-
535
- //
536
- // Split Button Variables
537
- //
538
-
539
- // We use these to control different shared styles for split buttons
540
- // $split-button-function-factor: 15%;
541
- // $split-button-pip-color: #fff;
542
- // $split-button-pip-color-alt: #333;
543
- // $split-button-active-bg-tint: rgba(0,0,0,0.1);
544
-
545
- // We use these to control tiny split buttons
546
- // $split-button-padding-tny: $button-tny * 9;
547
- // $split-button-span-width-tny: $button-tny * 6.5;
548
- // $split-button-pip-size-tny: $button-tny;
549
- // $split-button-pip-top-tny: $button-tny * 2;
550
- // $split-button-pip-left-tny: emCalc(-5px);
551
-
552
- // We use these to control small split buttons
553
- // $split-button-padding-sml: $button-sml * 7;
554
- // $split-button-span-width-sml: $button-sml * 5;
555
- // $split-button-pip-size-sml: $button-sml;
556
- // $split-button-pip-top-sml: $button-sml * 1.5;
557
- // $split-button-pip-left-sml: emCalc(-9px);
558
-
559
- // We use these to control medium split buttons
560
- // $split-button-padding-med: $button-med * 6.4;
561
- // $split-button-span-width-med: $button-med * 4;
562
- // $split-button-pip-size-med: $button-med - emCalc(3px);
563
- // $split-button-pip-top-med: $button-med * 1.5;
564
- // $split-button-pip-left-med: emCalc(-9px);
565
-
566
- // We use these to control large split buttons
567
- // $split-button-padding-lrg: $button-lrg * 6;
568
- // $split-button-span-width-lrg: $button-lrg * 3.75;
569
- // $split-button-pip-size-lrg: $button-lrg - emCalc(6px);
570
- // $split-button-pip-top-lrg: $button-lrg + emCalc(5px);
571
- // $split-button-pip-left-lrg: emCalc(-9px);
572
-
573
- //
574
- // Alert Variables
575
- //
576
-
577
- // We use this to control alert padding
578
- // $alert-padding-top: emCalc(11px);
579
- // $alert-padding-left: $alert-padding-top;
580
- // $alert-padding-right: $alert-padding-top + emCalc(10px);
581
- // $alert-padding-bottom: $alert-padding-top + emCalc(1px);
582
-
583
- // We use these to control text style
584
- // $alert-font-weight: bold;
585
- // $alert-font-size: emCalc(14px);
586
- // $alert-font-color: #fff;
587
- // $alert-font-color-alt: darken($secondary-color, 60%);
588
-
589
- // We use this for close hover effect
590
- // $alert-function-factor: 10%;
591
-
592
- // We use these to control border styles
593
- // $alert-border-style: solid;
594
- // $alert-border-width: 1px;
595
- // $alert-border-color: darken($primary-color, $alert-function-factor);
596
- // $alert-bottom-margin: emCalc(20px);
597
-
598
- // We use these to style the close buttons
599
- // $alert-close-color: #333;
600
- // $alert-close-position: emCalc(5px);
601
- // $alert-close-font-size: emCalc(22px);
602
- // $alert-close-opacity: 0.3;
603
- // $alert-close-opacity-hover: 0.5;
604
- // $alert-close-padding: 5px 4px 4px;
605
-
606
- // We use this to control border radius
607
- // $alert-radius: $global-radius;
608
-
609
- //
610
- // Breadcrumb Variables
611
- //
612
-
613
- // We use this to set the background color for the breadcrumb container
614
- // $crumb-bg: lighten($secondary-color, 5%);
615
-
616
- // We use these to set the padding around the breadcrumbs
617
- // $crumb-padding: emCalc(6px) emCalc(14px) emCalc(9px);
618
- // $crumb-side-padding: emCalc(12px);
619
-
620
- // We use these to control border styles
621
- // $crumb-function-factor: 10%;
622
- // $crumb-border-size: 1px;
623
- // $crumb-border-style: solid;
624
- // $crumb-border-color: darken($crumb-bg, $crumb-function-factor);
625
- // $crumb-radius: $global-radius;
626
-
627
- // We use these to set various text styles for breadcrumbs
628
- // $crumb-font-size: emCalc(11px);
629
- // $crumb-font-color: $primary-color;
630
- // $crumb-font-color-current: #333;
631
- // $crumb-font-color-unavailable: #999;
632
- // $crumb-font-transform: uppercase;
633
- // $crumb-link-decor: underline;
634
-
635
- // We use these to control the slash between breadcrumbs
636
- // $crumb-slash-color: #aaa;
637
- // $crumb-slash: "/";
638
-
639
- //
640
- // Clearing Variables
641
- //
642
-
643
- // We use these to set the background colors for parts of Clearing
644
- // $clearing-bg: #111;
645
- // $clearing-caption-bg: $clearing-bg;
646
- // $clearing-carousel-bg: #111;
647
- // $clearing-img-bg: $clearing-bg;
648
-
649
- // We use these to style the close button
650
- // $clearing-close-color: #fff;
651
- // $clearing-close-size: 40px;
652
-
653
- // We use these to style the arrows
654
- // $clearing-arrow-size: 16px;
655
- // $clearing-arrow-color: $clearing-close-color;
656
-
657
- // We use these to style captions
658
- // $clearing-caption-font-color: #fff;
659
- // $clearing-caption-padding: 10px 30px;
660
-
661
- // We use these to make the image and carousel height and style
662
- // $clearing-active-img-height: 75%;
663
- // $clearing-carousel-height: 150px;
664
- // $clearing-carousel-thumb-width: 175px;
665
- // $clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255);
666
-
667
- //
668
- // Custom Form Variables
669
- //
670
-
671
- // We use these to control the basic form styles input styles
672
- // $custom-form-border-color: #ccc;
673
- // $custom-form-bg: #fff;
674
- // $custom-form-bg-disabled: #ddd;
675
- // $custom-form-check-color: #222;
676
-
677
- // We use these to style the custom select form element
678
- // $custom-select-bg: #fff;
679
- // $custom-select-fade-to-color: #f3f3f3;
680
- // $custom-select-border-color: #ddd;
681
- // $custom-select-triangle-color: #aaa;
682
- // $custom-select-triangle-color-open: #222;
683
- // $custom-select-height: emCalc(13px) + ($form-spacing * 1.5);
684
- // $custom-select-margin-bottom: emCalc(20px);
685
- // $custom-select-font-color-selected: #141414;
686
- // $custom-select-disabled-color: #888;
687
-
688
- // We use these to control the style of the custom select dropdown element
689
- // $custom-dropdown-height: 200px;
690
- // $custom-dropdown-bg: #fff;
691
- // $custom-dropdown-border-color: darken(#fff, 20%);
692
- // $custom-dropdown-border-width: 1px;
693
- // $custom-dropdown-border-style: solid;
694
- // $custom-dropdown-font-color: #555;
695
- // $custom-dropdown-font-size: emCalc(14px);
696
- // $custom-dropdown-color-selected: #eeeeee;
697
- // $custom-dropdown-font-color-selected: #000;
698
- // $custom-dropdown-shadow: 0 2px 2px 0px rgba(0,0,0,0.1);
699
- // $custom-dropdown-offset-top: none;
700
- // $custom-dropdown-list-padding: emCalc(4px);
701
- // $custom-dropdown-left-padding: emCalc(6px);
702
- // $custom-dropdown-right-padding: emCalc(38px);
703
- // $custom-dropdown-list-item-min-height: emCalc(24px);
704
-
705
- //
706
- // Dropdown Variables
707
- //
708
-
709
- // We use these to controls height and width styles
710
- // $f-dropdown-max-width: 200px;
711
- // $f-dropdown-height: auto;
712
- // $f-dropdown-max-height: none;
713
- // $f-dropdown-margin-top: 2px;
714
-
715
- // We use this to control the background color
716
- // $f-dropdown-bg: #fff;
717
-
718
- // We use this to set the border styles for dropdowns
719
- // $f-dropdown-border-style: solid;
720
- // $f-dropdown-border-width: 1px;
721
- // $f-dropdown-border-color: darken(#fff, 20%);
722
-
723
- // We use these to style the triangle pip
724
- // $f-dropdown-triangle-size: 6px;
725
- // $f-dropdown-triangle-color: #fff;
726
- // $f-dropdown-triangle-side-offset: 10px;
727
-
728
- // We use these to control styles for the list elements
729
- // $f-dropdown-list-style: none;
730
- // $f-dropdown-font-color: #555;
731
- // $f-dropdown-font-size: emCalc(14px);
732
- // $f-dropdown-list-padding: emCalc(5px) emCalc(10px);
733
- // $f-dropdown-line-height: emCalc(18px);
734
- // $f-dropdown-list-hover-bg: #eeeeee;
735
- // $dropdown-mobile-left: 0;
736
-
737
- // We use this to control the styles for when the dropdown has custom content
738
- // $f-dropdown-content-padding: emCalc(20px);
739
-
740
- //
741
- // Flex Video Variables
742
- //
743
-
744
- // We use these to control video container padding and margins
745
- // $flex-video-padding-top: emCalc(25px);
746
- // $flex-video-padding-bottom: 67.5%;
747
- // $flex-video-margin-bottom: emCalc(16px);
748
-
749
- // We use this to control widescreen bottom padding
750
- // $flex-video-widescreen-padding-bottom: 57.25%;
751
-
752
- //
753
- // Inline List Variables
754
- //
755
-
756
- // We use this to control the margins and padding of the inline list
757
- // $inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
758
- // $inline-list-margin: 0 0;
759
- // $inline-list-padding: 0;
760
-
761
- // We use this to control the overflow of the inline list
762
- // $inline-list-overflow: hidden;
763
-
764
- // We use this to control the list items
765
- // $inline-list-display: block;
766
-
767
- // We use this to control any elments within list items
768
- // $inline-list-children-display: block;
769
-
770
- //
771
- // Joyride Variables
772
- //
773
-
774
- // Controlling default Joyride styles
775
- // $joyride-tip-bg: rgb(0,0,0);
776
- // $joyride-tip-default-width: 300px;
777
- // $joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
778
- // $joyride-tip-border: solid 1px #555;
779
- // $joyride-tip-radius: 4px;
780
- // $joyride-tip-position-offset: 22px;
781
-
782
- // Here, we are setting the tip dont styles
783
- // $joyride-tip-font-color: #fff;
784
- // $joyride-tip-font-size: emCalc(14px);
785
- // $joyride-tip-header-weight: bold;
786
-
787
- // This changes the nub size
788
- // $joyride-tip-nub-size: 14px;
789
-
790
- // This adjusts the styles for the timer when its enabled
791
- // $joyride-tip-timer-width: 50px;
792
- // $joyride-tip-timer-height: 3px;
793
- // $joyride-tip-timer-color: #666;
794
-
795
- // This changes up the styles for the close button
796
- // $joyride-tip-close-color: #777;
797
- // $joyride-tip-close-size: 30px;
798
- // $joyride-tip-close-weight: normal;
799
-
800
- // When Joyride is filling the screen, we use this style for the bg
801
- // $joyride-screenfill: rgba(0,0,0,0.5);
802
-
803
- //
804
- // Keystroke Variables
805
- //
806
-
807
- // We use these to control text styles.
808
- // $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
809
- // $keystroke-font-size: emCalc(15px);
810
- // $keystroke-font-color: #222;
811
- // $keystroke-font-color-alt: #fff;
812
- // $keystroke-function-factor: 7%;
813
-
814
- // We use this to control keystroke padding
815
- // $keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
816
-
817
- // We use these to control background and border styles
818
- // $keystroke-bg: darken(#fff, $keystroke-function-factor);
819
- // $keystroke-border-style: solid;
820
- // $keystroke-border-width: 1px;
821
- // $keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
822
- // $keystroke-radius: $global-radius;
823
-
824
- //
825
- // Label Variables
826
- //
827
-
828
- // We use these to style the labels
829
- // $label-padding: emCalc(3px) emCalc(10px) emCalc(4px);
830
- // $label-radius: $global-radius;
831
-
832
- // We use these to style the label text
833
- // $label-font-sizing: emCalc(14px);
834
- // $label-font-weight: bold;
835
-
836
- //
837
- // Magellan Variables
838
- //
839
-
840
- // We use these to control basic visual styles
841
- // $magellan-bg: #fff;
842
- // $magellan-padding: 10px;
843
-
844
- //
845
- // Orbit Settings
846
- //
847
-
848
- // We use these to control the caption styles
849
- // $orbit-container-bg: #f5f5f5;
850
- // $orbit-caption-bg-old-browser: #000;
851
- // $orbit-caption-bg-old: rgb(0,0,0);
852
- // $orbit-caption-bg: rgba(0,0,0,0.6);
853
- // $orbit-caption-font-color: #fff;
854
-
855
- // We use these to control the left/right nav styles
856
- // $orbit-nav-bg-old: rgb(0,0,0);
857
- // $orbit-nav-bg: rgba(0,0,0,0.6);
858
-
859
- // We use these to control the timer styles
860
- // $orbit-timer-bg-old: rgb(0,0,0);
861
- // $orbit-timer-bg: rgba(0,0,0,0.6);
862
-
863
- // We use these to control the bullet nav styles
864
- // $orbit-bullet-nav-color: #999;
865
- // $orbit-bullet-nav-color-active: #222;
866
-
867
- // We use thes to controls the style of slide numbers
868
- // $orbit-slide-number-bg: rgb(0,0,0);
869
- // $orbit-slide-number-font-color: #fff;
870
- // $orbit-slide-number-padding: emCalc(5px);
871
-
872
- // Margin for when Orbit is stacked on small screens
873
- // $stack-on-small-margin-bottom: emCalc(20px);
874
-
875
- //
876
- // Pagination Variables
877
- //
878
-
879
- // We use these to control the pagination container
880
- // $pagination-height: emCalc(24px);
881
- // $pagination-margin: emCalc(-5px);
882
-
883
- // We use these to set the list-item properties
884
- // $pagination-li-float: $default-float;
885
- // $pagination-li-height: emCalc(24px);
886
- // $pagination-li-font-color: #222;
887
- // $pagination-li-font-size: emCalc(14px);
888
- // $pagination-li-margin: emCalc(5px);
889
-
890
- // We use these for the pagination anchor links
891
- // $pagination-link-pad: emCalc(1px) emCalc(7px) emCalc(1px);
892
- // $pagination-link-font-color: #999;
893
- // $pagination-link-active-bg: darken(#fff, 10%);
894
-
895
- // We use these for disabled anchor links
896
- // $pagination-link-unavailable-cursor: default;
897
- // $pagination-link-unavailable-font-color: #999;
898
- // $pagination-link-unavailable-bg-active: transparent;
899
-
900
- // We use these for currently selected anchor links
901
- // $pagination-link-current-background: $primary-color;
902
- // $pagination-link-current-font-color: #fff;
903
- // $pagination-link-current-font-weight: bold;
904
- // $pagination-link-current-cursor: default;
905
- // $pagination-link-current-active-bg: $primary-color;
906
-
907
- //
908
- // Panel Variables
909
- //
910
-
911
- // We use these to control the background and border styles
912
- // $panel-bg: darken(#fff, 5%);
913
- // $panel-border-style: solid;
914
- // $panel-border-size: 1px;
915
-
916
- // We use this % to control how much we darken things on hover
917
- // $panel-function-factor: 10%;
918
- // $panel-border-color: darken($panel-bg, $panel-function-factor);
919
-
920
- // We use these to set default inner padding and bottom margin
921
- // $panel-margin-bottom: emCalc(20px);
922
- // $panel-padding: emCalc(20px);
923
-
924
- // We use these to set default font colors
925
- // $panel-font-color: #333;
926
- // $panel-font-color-alt: #fff;
927
-
928
- //
929
- // Pricing Table Variables
930
- //
931
-
932
- // We use this to control the border color
933
- // $price-table-border: solid 1px #ddd;
934
-
935
- // We use this to control the bottom margin of the pricing table
936
- // $price-table-margin-bottom: emCalc(20px);
937
-
938
- // We use these to control the title styles
939
- // $price-title-bg: #ddd;
940
- // $price-title-padding: emCalc(15px) emCalc(20px);
941
- // $price-title-align: center;
942
- // $price-title-color: #333;
943
- // $price-title-weight: bold;
944
- // $price-title-size: emCalc(16px);
945
-
946
- // We use these to control the price styles
947
- // $price-money-bg: #eee;
948
- // $price-money-padding: emCalc(15px) emCalc(20px);
949
- // $price-money-align: center;
950
- // $price-money-color: #333;
951
- // $price-money-weight: normal;
952
- // $price-money-size: emCalc(20px);
953
-
954
- // We use these to control the description styles
955
- // $price-bg: #fff;
956
- // $price-desc-color: #777;
957
- // $price-desc-padding: emCalc(15px);
958
- // $price-desc-align: center;
959
- // $price-desc-font-size: emCalc(12px);
960
- // $price-desc-weight: normal;
961
- // $price-desc-line-height: 1.4;
962
- // $price-desc-bottom-border: dotted 1px #ddd;
963
-
964
- // We use these to control the list item styles
965
- // $price-item-color: #333;
966
- // $price-item-padding: emCalc(15px);
967
- // $price-item-align: center;
968
- // $price-item-font-size: emCalc(14px);
969
- // $price-item-weight: normal;
970
- // $price-item-bottom-border: dotted 1px #ddd;
971
-
972
- // We use these to control the CTA area styles
973
- // $price-cta-bg: #f5f5f5;
974
- // $price-cta-align: center;
975
- // $price-cta-padding: emCalc(20px) emCalc(20px) 0;
976
-
977
- //
978
- // Progress Bar Variables
979
- //
980
-
981
- // We use this to se the prog bar height
982
- // $progress-bar-height: emCalc(25px);
983
- // $progress-bar-color: transparent;
984
-
985
- // We use these to control the border styles
986
- // $progress-bar-border-color: darken(#fff, 20%);
987
- // $progress-bar-border-size: 1px;
988
- // $progress-bar-border-style: solid;
989
- // $progress-bar-border-radius: $global-radius;
990
-
991
- // We use these to control the margin & padding
992
- // $progress-bar-pad: emCalc(2px);
993
- // $progress-bar-margin-bottom: emCalc(10px);
994
-
995
- // We use these to set the meter colors
996
- // $progress-meter-color: $primary-color;
997
- // $progress-meter-secondary-color: $secondary-color;
998
- // $progress-meter-success-color: $success-color;
999
- // $progress-meter-alert-color: $alert-color;
1000
-
1001
- //
1002
- // Reveal Variables
1003
- //
1004
-
1005
- // We use these to control the style of the reveal overlay
1006
- // $reveal-overlay-bg: rgba(#000, .45);
1007
- // $reveal-overlay-bg-old: #000;
1008
-
1009
- // We use these to control the style of the modal itself
1010
- // $reveal-modal-bg: #fff;
1011
- // $reveal-position-top: 50px;
1012
- // $reveal-default-width: 80%;
1013
- // $reveal-modal-padding: emCalc(20px);
1014
- // $reveal-box-shadow: 0 0 10px rgba(#000,.4);
1015
-
1016
- // We use these to style the reveal close button
1017
- // $reveal-close-font-size: emCalc(22px);
1018
- // $reveal-close-top: emCalc(8px);
1019
- // $reveal-close-side: emCalc(11px);
1020
- // $reveal-close-color: #aaa;
1021
- // $reveal-close-weight: bold;
1022
-
1023
- // We use these to control the modal border
1024
- // $reveal-border-style: solid;
1025
- // $reveal-border-width: 1px;
1026
- // $reveal-border-color: #666;
1027
-
1028
- //
1029
- // Section Variables
1030
- //
1031
-
1032
- // We use these to set padding and hover factor
1033
- // $section-padding: emCalc(15px);
1034
- // $section-function-factor: 10%;
1035
-
1036
- // These style the titles
1037
- // $section-title-color: #333;
1038
- // $section-title-bg: #efefef;
1039
- // $section-title-bg-active: darken($section-title-bg, $section-function-factor);
1040
- // $section-title-bg-active-tabs: #fff;
1041
-
1042
- // Want to control border size, here ya go!
1043
- // $section-border-size: 1px;
1044
- // $section-border-style: solid;
1045
- // $section-border-color: #ccc;
1046
-
1047
- // Control the color of the background and some size options
1048
- // $section-content-bg: #fff;
1049
- // $section-vertical-nav-min-width: emCalc(200px);
1050
- // $section-bottom-margin: emCalc(20px);
1051
-
1052
- //
1053
- // Side Nav Variables
1054
- //
1055
-
1056
- // We use this to control padding
1057
- // $side-nav-padding: emCalc(14px) 0;
1058
-
1059
- // We use these to control list styles
1060
- // $side-nav-list-type: none;
1061
- // $side-nav-list-position: inside;
1062
- // $side-nav-list-margin: 0 0 emCalc(7px) 0;
1063
-
1064
- // We use these to control link styles
1065
- // $side-nav-link-color: $primary-color;
1066
- // $side-nav-link-color-active: lighten(#000, 30%);
1067
- // $side-nav-font-size: emCalc(14px);
1068
- // $side-nav-font-weight: bold;
1069
-
1070
- // We use these to control border styles
1071
- // $side-nav-divider-size: 1px;
1072
- // $side-nav-divider-style: solid;
1073
- // $side-nav-divider-color: darken(#fff, 10%);
1074
-
1075
- //
1076
- // Sub Nav Variables
1077
- //
1078
-
1079
- // We use these to control margin and padding
1080
- // $sub-nav-list-margin: emCalc(-4px) 0 emCalc(18px);
1081
- // $sub-nav-list-padding-top: emCalc(4px);
1082
-
1083
- // We use this to control the definition
1084
- // $sub-nav-font-size: emCalc(14px);
1085
- // $sub-nav-font-color: #999;
1086
- // $sub-nav-font-weight: normal;
1087
- // $sub-nav-text-decoration: none;
1088
- // $sub-nav-border-radius: 1000px;
1089
-
1090
- // We use these to control the active item styles
1091
- // $sub-nav-active-font-weight: bold;
1092
- // $sub-nav-active-bg: $primary-color;
1093
- // $sub-nav-active-color: #fff;
1094
- // $sub-nav-active-padding: emCalc(3px) emCalc(9px);
1095
- // $sub-nav-active-cursor: default;
1096
-
1097
- //
1098
- // Switch Variables
1099
- //
1100
-
1101
- // Controlling border styles and background colors for the switch container
1102
- // $switch-border-color: darken(#fff, 20%);
1103
- // $switch-border-style: solid;
1104
- // $switch-border-width: 1px;
1105
- // $switch-bg: #fff;
1106
-
1107
- // We use these to control the switch heights for our default classes
1108
- // $switch-height-tny: 22px;
1109
- // $switch-height-sml: 28px;
1110
- // $switch-height-med: 36px;
1111
- // $switch-height-lrg: 44px;
1112
- // $switch-bottom-margin: emCalc(20px);
1113
-
1114
- // We use these to control default font sizes for our classes
1115
- // $switch-font-size-tny: 11px;
1116
- // $switch-font-size-sml: 12px;
1117
- // $switch-font-size-med: 14px;
1118
- // $switch-font-size-lrg: 17px;
1119
- // $switch-label-side-padding: 6px;
1120
-
1121
- // We use these to style the switch-paddle
1122
- // $switch-paddle-bg: #fff;
1123
- // $switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%);
1124
- // $switch-paddle-border-color: darken($switch-paddle-bg, 35%);
1125
- // $switch-paddle-border-width: 1px;
1126
- // $switch-paddle-border-style: solid;
1127
- // $switch-paddle-transition-speed: .1s;
1128
- // $switch-paddle-transition-ease: ease-out;
1129
- // $switch-positive-color: lighten($success-color, 50%);
1130
- // $switch-negative-color: #f5f5f5;
1131
-
1132
- // Outline Style for tabbing through switches
1133
- // $switch-label-outline: 1px dotted #888;
1134
-
1135
- //
1136
- // Table Variables
1137
- //
1138
-
1139
- // These control the background color for the table and even rows
1140
- // $table-bg: #fff;
1141
- // $table-even-row-bg: #f9f9f9;
1142
-
1143
- // These control the table cell border style
1144
- // $table-border-style: solid;
1145
- // $table-border-size: 1px;
1146
- // $table-border-color: #ddd;
1147
-
1148
- // These control the table head styles
1149
- // $table-head-bg: #f5f5f5;
1150
- // $table-head-font-size: emCalc(14px);
1151
- // $table-head-font-color: #222;
1152
- // $table-head-font-weight: bold;
1153
- // $table-head-padding: emCalc(8px) emCalc(10px) emCalc(10px);
1154
-
1155
- // These control the row padding and font styles
1156
- // $table-row-padding: emCalc(9px) emCalc(10px);
1157
- // $table-row-font-size: emCalc(14px);
1158
- // $table-row-font-color: #222;
1159
- // $table-line-height: emCalc(18px);
1160
-
1161
- // These are for controlling the display and margin of tables
1162
- // $table-display: table-cell;
1163
- // $table-margin-bottom: emCalc(20px);
1164
-
1165
- //
1166
- // Image Thumbnail Variables
1167
- //
1168
-
1169
- // We use these to control border styles
1170
- // $thumb-border-style: solid;
1171
- // $thumb-border-width: 4px;
1172
- // $thumb-border-color: #fff;
1173
- // $thumb-box-shadow: 0 0 0 1px rgba(#000,.2);
1174
- // $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
1175
-
1176
- // Radius and transition speed for thumbs
1177
- // $thumb-radius: $global-radius;
1178
- // $thumb-transition-speed: 200ms;
1179
-
1180
- //
1181
- // Tooltip Variables
1182
- //
1183
- // $has-tip-border-bottom: dotted 1px #ccc;
1184
- // $has-tip-font-weight: bold;
1185
- // $has-tip-font-color: #333;
1186
- // $has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%);
1187
- // $has-tip-font-color-hover: $primary-color;
1188
- // $has-tip-cursor-type: help;
1189
-
1190
- // $tooltip-padding: emCalc(8px);
1191
- // $tooltip-bg: #000;
1192
- // $tooltip-font-size: emCalc(15px);
1193
- // $tooltip-font-weight: bold;
1194
- // $tooltip-font-color: #fff;
1195
- // $tooltip-line-height: 1.3;
1196
- // $tooltip-close-font-size: emCalc(10px);
1197
- // $tooltip-close-font-weight: normal;
1198
- // $tooltip-close-font-color: #888;
1199
- // $tooltip-font-size-sml: emCalc(14px);
1200
- // $tooltip-radius: $global-radius;
1201
- // $tooltip-pip-size: 5px;
1202
-
1203
- //
1204
- // Top Bar Variables
1205
- //
1206
-
1207
- // Background color for the top bar
1208
- // $topbar-bg: #111;
1209
-
1210
- // Height and margin
1211
- // $topbar-height: 45px;
1212
- // $topbar-margin-bottom: emCalc(30px);
1213
-
1214
- // Control Input height for top bar
1215
- // $topbar-input-height: 2.45em;
1216
-
1217
- // Controlling the styles for the title in the top bar
1218
- // $topbar-title-weight: bold;
1219
- // $topbar-title-font-size: emCalc(17px);
1220
-
1221
- // Set the link colors and styles for top-level nav
1222
- // $topbar-link-color: #fff;
1223
- // $topbar-link-weight: bold;
1224
- // $topbar-link-font-size: emCalc(13px);
1225
- // $topbar-link-hover-lightness: -30% !default; // Darken by 30%
1226
-
1227
- // Style the top bar dropdown elements
1228
- // $topbar-dropdown-bg: #333;
1229
- // $topbar-dropdown-link-color: #fff;
1230
- // $topbar-dropdown-toggle-size: 5px;
1231
- // $topbar-dropdown-toggle-color: #fff;
1232
- // $topbar-dropdown-toggle-alpha: 0.5;
1233
- // $dropdown-label-color: #555;
1234
-
1235
- // Top menu icon styles
1236
- // $topbar-menu-link-transform: uppercase;
1237
- // $topbar-menu-link-font-size: emCalc(13px);
1238
- // $topbar-menu-link-weight: bold;
1239
- // $topbar-menu-link-color: #fff;
1240
- // $topbar-menu-icon-color: #fff;
1241
- // $topbar-menu-link-color-toggled: #888;
1242
- // $topbar-menu-icon-color-toggled: #888;
1243
-
1244
- // Transitions and breakpoint styles
1245
- // $topbar-transition-speed: 300ms;
1246
- // $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout
1247
- // $topbar-media-query: "only screen and (min-width: "#{$topbar-breakpoint}")";
253
+ Change whether or not you include browser prefixes
254
+ $experimental: true !default;
255
+
256
+ Various global styles
257
+
258
+ $default-float: left;
259
+
260
+ $body-bg: #fff;
261
+ $body-font-color: #222;
262
+ $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
263
+ $body-font-weight: normal;
264
+ $body-font-style: normal;
265
+
266
+ Font-smoothing
267
+
268
+ $font-smoothing: antialiased;
269
+
270
+ Text direction settings
271
+
272
+ $text-direction: ltr;
273
+
274
+ Colors
275
+
276
+ $primary-color: #2ba6cb;
277
+ $secondary-color: #e9e9e9;
278
+ $alert-color: #c60f13;
279
+ $success-color: #5da423;
280
+
281
+ Make sure border radius matches unless we want it different.
282
+
283
+ $global-radius: 3px;
284
+ $global-rounded: 1000px;
285
+
286
+ Inset shadow shiny edges and depressions.
287
+
288
+ $shiny-edge-size: 0 1px 0;
289
+ $shiny-edge-color: rgba(#fff, .5);
290
+ $shiny-edge-active-color: rgba(#000, .2);
291
+
292
+ Control whether or not CSS classes come through in the CSS files.
293
+
294
+ $include-html-classes: true;
295
+ $include-print-styles: true;
296
+ $include-html-global-classes: $include-html-classes;
297
+ $include-html-type-classes: $include-html-classes;
298
+ $include-html-grid-classes: $include-html-classes;
299
+ $include-html-visibility-classes: $include-html-classes;
300
+ $include-html-button-classes: $include-html-classes;
301
+ $include-html-form-classes: $include-html-classes;
302
+ $include-html-custom-form-classes: $include-html-classes;
303
+ $include-html-media-classes: $include-html-classes;
304
+ $include-html-section-classes: $include-html-classes;
305
+ $include-html-orbit-classes: $include-html-classes;
306
+ $include-html-reveal-classes: $include-html-classes;
307
+ $include-html-joyride-classes: $include-html-classes;
308
+ $include-html-clearing-classes: $include-html-classes;
309
+ $include-html-alert-classes: $include-html-classes;
310
+ $include-html-nav-classes: $include-html-classes;
311
+ $include-html-top-bar-classes: $include-html-classes;
312
+ $include-html-label-classes: $include-html-classes;
313
+ $include-html-panel-classes: $include-html-classes;
314
+ $include-html-pricing-classes: $include-html-classes;
315
+ $include-html-progress-classes: $include-html-classes;
316
+ $include-html-magellan-classes: $include-html-classes;
317
+ $include-html-tooltip-classes: $include-html-classes;
318
+
319
+ Media Queries
320
+
321
+ $small-screen: 768px;
322
+ $medium-screen: 1280px;
323
+ $large-screen: 1440px;
324
+
325
+ $screen: "only screen";
326
+ $small: "only screen and (min-width: #{$small-screen})";
327
+ $medium: "only screen and (min-width: #{$medium-screen})";
328
+ $large: "only screen and (min-width: #{$large-screen})";
329
+ $landscape: "only screen and (orientation: landscape)";
330
+ $portrait: "only screen and (orientation: portrait)";
331
+
332
+ Cursors
333
+
334
+ Custom use example -> $cursor-default-value: url(http://cursors-site.net/path/to/custom/cursor/default.cur),progress;
335
+
336
+ $cursor-crosshair-value: "crosshair";
337
+ $cursor-default-value: "default";
338
+ $cursor-pointer-value: "pointer";
339
+ $cursor-help-value: "help";
340
+
341
+
342
+ Grid Variables
343
+
344
+
345
+ $row-width: emCalc(1000px);
346
+ $column-gutter: emCalc(30px);
347
+ $total-columns: 12;
348
+
349
+
350
+ Block Grid Variables
351
+
352
+
353
+ Maximum number of block grid elements per row
354
+
355
+ $block-grid-elements: 12;
356
+ $block-grid-default-spacing: emCalc(20px);
357
+
358
+ Enables media queries for block-grid classes. Set to false if writing semantic HTML.
359
+
360
+ $block-grid-media-queries: true;
361
+
362
+
363
+ Typography Variables
364
+
365
+
366
+ Heading font styles
367
+
368
+ $header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
369
+ $header-font-weight: bold;
370
+ $header-font-style: normal;
371
+ $header-font-color: #222;
372
+ $header-line-height: 1.4;
373
+ $header-top-margin: .2em;
374
+ $header-bottom-margin: .5em;
375
+ $header-text-rendering: optimizeLegibility;
376
+
377
+ Heading font sizes
378
+
379
+ $h1-font-size: emCalc(44px);
380
+ $h2-font-size: emCalc(37px);
381
+ $h3-font-size: emCalc(27px);
382
+ $h4-font-size: emCalc(23px);
383
+ $h5-font-size: emCalc(18px);
384
+ $h6-font-size: 1em;
385
+
386
+ Subheaders
387
+
388
+ $subheader-line-height: 1.4;
389
+ $subheader-font-color: lighten($header-font-color, 30%);
390
+ $subheader-font-weight: 300;
391
+ $subheader-top-margin: .2em;
392
+ $subheader-bottom-margin: .5em;
393
+
394
+ <small> styling
395
+
396
+ $small-font-size: 60%;
397
+ $small-font-color: lighten($header-font-color, 30%);
398
+
399
+ Paragraphs
400
+
401
+ $paragraph-font-family: inherit;
402
+ $paragraph-font-weight: normal;
403
+ $paragraph-font-size: 1em;
404
+ $paragraph-line-height: 1.6;
405
+ $paragraph-margin-bottom: emCalc(20px);
406
+ $paragraph-aside-font-size: emCalc(14px);
407
+ $paragraph-aside-line-height: 1.35;
408
+ $paragraph-aside-font-style: italic;
409
+
410
+ <code> tags
411
+
412
+ $code-color: darken($alert-color, 15%);
413
+ $code-font-family: Consolas, "Liberation Mono", Courier, monospace;
414
+ $code-font-weight: bold;
415
+
416
+ Anchors
417
+
418
+ $anchor-text-decoration: none;
419
+ $anchor-font-color: $primary-color;
420
+ $anchor-font-color-hover: darken($primary-color, 5%);
421
+
422
+ <hr> element
423
+
424
+ $hr-border-width: 1px;
425
+ $hr-border-style: solid;
426
+ $hr-border-color: #ddd;
427
+ $hr-margin: emCalc(20px);
428
+
429
+ Lists
430
+
431
+ $list-style-position: outside;
432
+ $list-side-margin: emCalc(20px);
433
+ $list-nested-margin: emCalc(20px);
434
+ $definition-list-header-weight: bold;
435
+ $definition-list-header-margin-bottom: .3em;
436
+ $definition-list-margin-bottom: emCalc(12px);
437
+
438
+ Blockquotes
439
+
440
+ $blockquote-font-color: lighten($header-font-color, 30%);
441
+ $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px);
442
+ $blockquote-border: 1px solid #ddd;
443
+ $blockquote-cite-font-size: emCalc(13px);
444
+ $blockquote-cite-font-color: lighten($header-font-color, 20%);
445
+ $blockquote-cite-link-color: $blockquote-cite-font-color;
446
+
447
+ Acronym
448
+
449
+ $acronym-underline: 1px dotted #ddd;
450
+
451
+ Padding and margin
452
+
453
+ $microformat-padding: emCalc(10px) emCalc(12px);
454
+ $microformat-margin: 0 0 emCalc(20px) 0;
455
+
456
+ Border styles
457
+
458
+ $microformat-border-width: 1px;
459
+ $microformat-border-style: solid;
460
+ $microformat-border-color: #ddd;
461
+
462
+ Full name font styles
463
+
464
+ $microformat-fullname-font-weight: bold;
465
+ $microformat-fullname-font-size: emCalc(15px);
466
+
467
+ Summary font styles
468
+
469
+ $microformat-summary-font-weight: bold;
470
+
471
+ <abbr> padding
472
+
473
+ $microformat-abbr-padding: 0 emCalc(1px);
474
+
475
+ <abbr> font styles
476
+
477
+ $microformat-abbr-font-weight: bold;
478
+ $microformat-abbr-font-decoration: none;
479
+
480
+
481
+ Form Variables
482
+
483
+
484
+ Base for lots of form spacing and positioning styles
485
+
486
+ $form-spacing: emCalc(16px);
487
+
488
+ Labels
489
+
490
+ $form-label-pointer: pointer;
491
+ $form-label-font-size: emCalc(14px);
492
+ $form-label-font-weight: 500;
493
+ $form-label-font-color: lighten(#000, 30%);
494
+ $form-label-bottom-margin: emCalc(3px);
495
+ $input-font-family: inherit;
496
+ $input-font-color: rgba(0,0,0,0.75);
497
+ $input-font-size: emCalc(14px);
498
+ $input-bg-color: #fff;
499
+ $input-focus-bg-color: darken(#fff, 2%);
500
+ $input-border-color: darken(#fff, 20%);
501
+ $input-focus-border-color: darken(#fff, 40%);
502
+ $input-border-style: solid;
503
+ $input-border-width: 1px;
504
+ $input-disabled-bg: #ddd;
505
+ $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
506
+ $input-include-glowing-effect: true;
507
+
508
+ Fieldset border and spacing.
509
+
510
+ $fieldset-border-style: solid;
511
+ $fieldset-border-width: 1px;
512
+ $fieldset-border-color: #ddd;
513
+ $fieldset-padding: emCalc(20px);
514
+ $fieldset-margin: emCalc(18px) 0;
515
+
516
+ Legends
517
+
518
+ $legend-bg: #fff;
519
+ $legend-font-weight: bold;
520
+ $legend-padding: 0 emCalc(3px);
521
+
522
+ Prefix and postfix input elements
523
+
524
+ $input-prefix-bg: darken(#fff, 5%);
525
+ $input-prefix-border-color: darken(#fff, 20%);
526
+ $input-prefix-border-size: 1px;
527
+ $input-prefix-border-type: solid;
528
+ $input-prefix-overflow: hidden;
529
+ $input-prefix-font-color: #333;
530
+ $input-prefix-font-color-alt: #fff;
531
+
532
+ Error states for inputs and labels
533
+
534
+ $input-error-message-padding: emCalc(6px) emCalc(4px);
535
+ $input-error-message-top: -($form-spacing) - emCalc(5px);
536
+ $input-error-message-font-size: emCalc(12px);
537
+ $input-error-message-font-weight: bold;
538
+ $input-error-message-font-color: #fff;
539
+ $input-error-message-font-color-alt: #333;
540
+
541
+ Glowing effect of inputs when focused
542
+
543
+ $glowing-effect-fade-time: 0.45s;
544
+ $glowing-effect-color: $input-focus-border-color;
545
+
546
+
547
+ Button Variables
548
+
549
+
550
+ Padding for buttons.
551
+
552
+ $button-tny: emCalc(7px);
553
+ $button-sml: emCalc(9px);
554
+ $button-med: emCalc(12px);
555
+ $button-lrg: emCalc(16px);
556
+
557
+ Display property.
558
+
559
+ $button-display: inline-block;
560
+ $button-margin-bottom: emCalc(20px);
561
+
562
+ Button text styles.
563
+
564
+ $button-font-family: inherit;
565
+ $button-font-color: #fff;
566
+ $button-font-color-alt: #333;
567
+ $button-font-med: emCalc(16px);
568
+ $button-font-tny: emCalc(11px);
569
+ $button-font-sml: emCalc(13px);
570
+ $button-font-lrg: emCalc(20px);
571
+ $button-font-weight: bold;
572
+ $button-font-align: center;
573
+
574
+ Various hover effects.
575
+
576
+ $button-function-factor: 10%;
577
+
578
+ Button border styles.
579
+
580
+ $button-border-width: 1px;
581
+ $button-border-style: solid;
582
+ $button-border-color: darken($primary-color, $button-function-factor);
583
+
584
+ Radius used throughout the core.
585
+
586
+ $button-radius: $global-radius;
587
+
588
+ Opacity for disabled buttons.
589
+
590
+ $button-disabled-opacity: 0.6;
591
+
592
+
593
+ Button Groups
594
+
595
+
596
+ Sets the margin for the right side by default, and the left margin if right-to-left direction is used
597
+
598
+ $button-bar-margin-opposite: emCalc(10px);
599
+
600
+
601
+ Dropdown Button Variables
602
+
603
+
604
+ Color of the pip in dropdown buttons
605
+
606
+ $dropdown-button-pip-color: #fff;
607
+ $dropdown-button-pip-color-alt: #333;
608
+
609
+ Tiny dropdown buttons
610
+
611
+ $dropdown-button-padding-tny: $button-tny * 5;
612
+ $dropdown-button-pip-size-tny: $button-tny;
613
+ $dropdown-button-pip-right-tny: $button-tny * 2;
614
+ $dropdown-button-pip-top-tny: -$button-tny / 2 + emCalc(1px);
615
+
616
+ Small dropdown buttons
617
+
618
+ $dropdown-button-padding-sml: $button-sml * 5;
619
+ $dropdown-button-pip-size-sml: $button-sml;
620
+ $dropdown-button-pip-right-sml: $button-sml * 2;
621
+ $dropdown-button-pip-top-sml: -$button-sml / 2 + emCalc(1px);
622
+
623
+ Medium dropdown buttons
624
+
625
+ $dropdown-button-padding-med: $button-med * 4 + emCalc(3px);
626
+ $dropdown-button-pip-size-med: $button-med - emCalc(3px);
627
+ $dropdown-button-pip-right-med: $button-med * 2;
628
+ $dropdown-button-pip-top-med: -$button-med / 2 + emCalc(2px);
629
+
630
+ Large dropdown buttons
631
+
632
+ $dropdown-button-padding-lrg: $button-lrg * 4;
633
+ $dropdown-button-pip-size-lrg: $button-lrg - emCalc(6px);
634
+ $dropdown-button-pip-right-lrg: $button-lrg + emCalc(12px);
635
+ $dropdown-button-pip-top-lrg: -$button-lrg / 2 + emCalc(3px);
636
+
637
+
638
+ Split Button Variables
639
+
640
+
641
+ Shared styles for Split Buttons
642
+
643
+ $split-button-function-factor: 15%;
644
+ $split-button-pip-color: #fff;
645
+ $split-button-pip-color-alt: #333;
646
+ $split-button-active-bg-tint: rgba(0,0,0,0.1);
647
+
648
+ Tiny split buttons
649
+
650
+ $split-button-padding-tny: $button-tny * 9;
651
+ $split-button-span-width-tny: $button-tny * 6.5;
652
+ $split-button-pip-size-tny: $button-tny;
653
+ $split-button-pip-top-tny: $button-tny * 2;
654
+ $split-button-pip-left-tny: emCalc(-5px);
655
+
656
+ Small split buttons
657
+
658
+ $split-button-padding-sml: $button-sml * 7;
659
+ $split-button-span-width-sml: $button-sml * 5;
660
+ $split-button-pip-size-sml: $button-sml;
661
+ $split-button-pip-top-sml: $button-sml * 1.5;
662
+ $split-button-pip-left-sml: emCalc(-9px);
663
+
664
+ Medium split buttons
665
+
666
+ $split-button-padding-med: $button-med * 6.4;
667
+ $split-button-span-width-med: $button-med * 4;
668
+ $split-button-pip-size-med: $button-med - emCalc(3px);
669
+ $split-button-pip-top-med: $button-med * 1.5;
670
+ $split-button-pip-left-med: emCalc(-9px);
671
+
672
+ Large split buttons
673
+
674
+ $split-button-padding-lrg: $button-lrg * 6;
675
+ $split-button-span-width-lrg: $button-lrg * 3.75;
676
+ $split-button-pip-size-lrg: $button-lrg - emCalc(6px);
677
+ $split-button-pip-top-lrg: $button-lrg + emCalc(5px);
678
+ $split-button-pip-left-lrg: emCalc(-9px);
679
+
680
+
681
+ Alert Variables
682
+
683
+
684
+ Alert padding
685
+
686
+ $alert-padding-top: emCalc(11px);
687
+ $alert-padding-default-float: $alert-padding-top;
688
+ $alert-padding-opposite-direction: $alert-padding-top + emCalc(10px);
689
+ $alert-padding-bottom: $alert-padding-top + emCalc(1px);
690
+
691
+ Text style
692
+
693
+ $alert-font-weight: bold;
694
+ $alert-font-size: emCalc(14px);
695
+ $alert-font-color: #fff;
696
+ $alert-font-color-alt: darken($secondary-color, 60%);
697
+
698
+ Hover effect
699
+
700
+ $alert-function-factor: 10%;
701
+
702
+ Border Styles
703
+
704
+ $alert-border-style: solid;
705
+ $alert-border-width: 1px;
706
+ $alert-border-color: darken($primary-color, $alert-function-factor);
707
+ $alert-bottom-margin: emCalc(20px);
708
+
709
+ Close Button style
710
+
711
+ $alert-close-color: #333;
712
+ $alert-close-position: emCalc(5px);
713
+ $alert-close-font-size: emCalc(22px);
714
+ $alert-close-opacity: 0.3;
715
+ $alert-close-opacity-hover: 0.5;
716
+ $alert-close-padding: 5px 4px 4px;
717
+
718
+ Border radius
719
+
720
+ $alert-radius: $global-radius;
721
+
722
+
723
+
724
+ Breadcrumb Variables
725
+
726
+
727
+ Background color for the breadcrumb container.
728
+
729
+ $crumb-bg: lighten($secondary-color, 5%);
730
+
731
+ Padding around the breadcrumbs.
732
+
733
+ $crumb-padding: emCalc(6px) emCalc(14px) emCalc(9px);
734
+ $crumb-side-padding: emCalc(12px);
735
+
736
+ Border styles.
737
+
738
+ $crumb-function-factor: 10%;
739
+ $crumb-border-size: 1px;
740
+ $crumb-border-style: solid;
741
+ $crumb-border-color: darken($crumb-bg, $crumb-function-factor);
742
+ $crumb-radius: $global-radius;
743
+
744
+ Various text styles for breadcrumbs.
745
+
746
+ $crumb-font-size: emCalc(11px);
747
+ $crumb-font-color: $primary-color;
748
+ $crumb-font-color-current: #333;
749
+ $crumb-font-color-unavailable: #999;
750
+ $crumb-font-transform: uppercase;
751
+ $crumb-link-decor: underline;
752
+
753
+ Slash between breadcrumbs
754
+
755
+ $crumb-slash-color: #aaa;
756
+ $crumb-slash: "/";
757
+
758
+
759
+ Clearing Variables
760
+
761
+
762
+ Background colors for parts of Clearing.
763
+
764
+ $clearing-bg: #111;
765
+ $clearing-caption-bg: $clearing-bg;
766
+ $clearing-carousel-bg: #111;
767
+ $clearing-img-bg: $clearing-bg;
768
+
769
+ Close button
770
+
771
+ $clearing-close-color: #fff;
772
+ $clearing-close-size: 40px;
773
+
774
+ Style the arrows
775
+
776
+ $clearing-arrow-size: 16px;
777
+ $clearing-arrow-color: $clearing-close-color;
778
+
779
+ Style captions
780
+
781
+ $clearing-caption-font-color: #fff;
782
+ $clearing-caption-padding: 10px 30px;
783
+
784
+ Make the image and carousel height and style
785
+
786
+ $clearing-active-img-height: 75%;
787
+ $clearing-carousel-height: 150px;
788
+ $clearing-carousel-thumb-width: 175px;
789
+ $clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255);
790
+
791
+
792
+ Custom Form Variables
793
+
794
+
795
+ Basic form styles input styles
796
+
797
+ $custom-form-border-color: #ccc;
798
+ $custom-form-border-size: 1px;
799
+ $custom-form-bg: #fff;
800
+ $custom-form-bg-disabled: #ddd;
801
+ $custom-form-input-size: 16px;
802
+ $custom-form-check-color: #222;
803
+ $custom-form-check-size: 14px;
804
+ $custom-form-radio-size: 8px;
805
+ $custom-form-checkbox-radius: 0px;
806
+
807
+ Custom select form element.
808
+
809
+ $custom-select-bg: #fff;
810
+ $custom-select-fade-to-color: #f3f3f3;
811
+ $custom-select-border-color: #ddd;
812
+ $custom-select-triangle-color: #aaa;
813
+ $custom-select-triangle-color-open: #222;
814
+ $custom-select-height: emCalc(13px) + ($form-spacing * 1.5);
815
+ $custom-select-margin-bottom: emCalc(20px);
816
+ $custom-select-font-color-selected: #141414;
817
+ $custom-select-disabled-color: #888;
818
+
819
+ Custom select dropdown element.
820
+
821
+ $custom-dropdown-height: 200px;
822
+ $custom-dropdown-bg: #fff;
823
+ $custom-dropdown-border-color: darken(#fff, 20%);
824
+ $custom-dropdown-border-width: 1px;
825
+ $custom-dropdown-border-style: solid;
826
+ $custom-dropdown-font-color: #555;
827
+ $custom-dropdown-font-size: emCalc(14px);
828
+ $custom-dropdown-color-selected: #eeeeee;
829
+ $custom-dropdown-font-color-selected: #000;
830
+ $custom-dropdown-shadow: 0 2px 2px 0px rgba(0,0,0,0.1);
831
+ $custom-dropdown-offset-top: none;
832
+ $custom-dropdown-list-padding: emCalc(4px);
833
+ $custom-dropdown-left-padding: emCalc(6px);
834
+ $custom-dropdown-right-padding: emCalc(38px);
835
+ $custom-dropdown-list-item-min-height: emCalc(24px);
836
+
837
+
838
+ Dropdown Variables
839
+
840
+
841
+ Height and width styles.
842
+
843
+ $f-dropdown-max-width: 200px;
844
+ $f-dropdown-height: auto;
845
+ $f-dropdown-max-height: none;
846
+ $f-dropdown-margin-top: 2px;
847
+
848
+ Background color
849
+
850
+ $f-dropdown-bg: #fff;
851
+
852
+ Border styles for dropdowns.
853
+
854
+ $f-dropdown-border-style: solid;
855
+ $f-dropdown-border-width: 1px;
856
+ $f-dropdown-border-color: darken(#fff, 20%);
857
+
858
+ Triangle pip.
859
+
860
+ $f-dropdown-triangle-size: 6px;
861
+ $f-dropdown-triangle-color: #fff;
862
+ $f-dropdown-triangle-side-offset: 10px;
863
+
864
+ List elements.
865
+
866
+ $f-dropdown-list-style: none;
867
+ $f-dropdown-font-color: #555;
868
+ $f-dropdown-font-size: emCalc(14px);
869
+ $f-dropdown-list-padding: emCalc(5px) emCalc(10px);
870
+ $f-dropdown-line-height: emCalc(18px);
871
+ $f-dropdown-list-hover-bg: #eeeeee;
872
+ $dropdown-mobile-left: 0;
873
+
874
+ When the dropdown has custom content.
875
+
876
+ $f-dropdown-content-padding: emCalc(20px);
877
+
878
+
879
+ Flex Video Variables
880
+
881
+
882
+ Video container padding and margins
883
+
884
+ $flex-video-padding-top: emCalc(25px);
885
+ $flex-video-padding-bottom: 67.5%;
886
+ $flex-video-margin-bottom: emCalc(16px);
887
+
888
+ Widescreen bottom padding
889
+
890
+ $flex-video-widescreen-padding-bottom: 57.25%;
891
+
892
+
893
+ Inline List Variables
894
+
895
+
896
+ Margins and padding of the inline list.
897
+
898
+ $inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
899
+ $inline-list-margin: 0 0;
900
+ $inline-list-padding: 0;
901
+
902
+ Overflow of the inline list.
903
+
904
+ $inline-list-overflow: hidden;
905
+
906
+ List items
907
+
908
+ $inline-list-display: block;
909
+
910
+ Elments within list items
911
+
912
+ $inline-list-children-display: block;
913
+
914
+
915
+ Joyride Variables
916
+
917
+
918
+ Joyride styles
919
+
920
+ $joyride-tip-bg: rgb(0,0,0);
921
+ $joyride-tip-default-width: 300px;
922
+ $joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
923
+ $joyride-tip-border: solid 1px #555;
924
+ $joyride-tip-radius: 4px;
925
+ $joyride-tip-position-offset: 22px;
926
+
927
+ Tip font styles
928
+
929
+ $joyride-tip-font-color: #fff;
930
+ $joyride-tip-font-size: emCalc(14px);
931
+ $joyride-tip-header-weight: bold;
932
+
933
+ Changes the nub size
934
+
935
+ $joyride-tip-nub-size: 14px;
936
+
937
+ Adjusts the styles for the timer when its enabled
938
+
939
+ $joyride-tip-timer-width: 50px;
940
+ $joyride-tip-timer-height: 3px;
941
+ $joyride-tip-timer-color: #666;
942
+
943
+ Changes up the styles for the close button
944
+
945
+ $joyride-tip-close-color: #777;
946
+ $joyride-tip-close-size: 30px;
947
+ $joyride-tip-close-weight: normal;
948
+
949
+ When Joyride is filling the screen, style for the bg
950
+
951
+ $joyride-screenfill: rgba(0,0,0,0.5);
952
+
953
+
954
+ Keystroke Variables
955
+
956
+
957
+ Text styles.
958
+
959
+ $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
960
+ $keystroke-font-size: emCalc(15px);
961
+ $keystroke-font-color: #222;
962
+ $keystroke-font-color-alt: #fff;
963
+ $keystroke-function-factor: 7%;
964
+
965
+ Keystroke padding.
966
+
967
+ $keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
968
+
969
+ Background and border styles.
970
+
971
+ $keystroke-bg: darken(#fff, $keystroke-function-factor);
972
+ $keystroke-border-style: solid;
973
+ $keystroke-border-width: 1px;
974
+ $keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
975
+ $keystroke-radius: $global-radius;
976
+
977
+
978
+ Label Variables
979
+
980
+
981
+ Style the labels
982
+
983
+ $label-padding: emCalc(3px) emCalc(10px) emCalc(4px);
984
+ $label-radius: $global-radius;
985
+
986
+ We use these to style the label text
987
+
988
+ $label-font-sizing: emCalc(14px);
989
+ $label-font-weight: bold;
990
+ $label-font-color: #333;
991
+ $label-font-color-alt: #fff;
992
+
993
+
994
+ Magellan Variables
995
+
996
+
997
+ Basic visual styles
998
+
999
+ $magellan-bg: #fff;
1000
+ $magellan-padding: 10px;
1001
+
1002
+
1003
+ Orbit Settings
1004
+
1005
+
1006
+ Caption styles
1007
+
1008
+ $orbit-container-bg: #f5f5f5;
1009
+ $orbit-caption-bg-old: rgb(0,0,0);
1010
+ $orbit-caption-bg: rgba(0,0,0,0.6);
1011
+ $orbit-caption-font-color: #fff;
1012
+
1013
+ Left/right nav styles
1014
+
1015
+ $orbit-nav-bg-old: rgb(0,0,0);
1016
+ $orbit-nav-bg: rgba(0,0,0,0.6);
1017
+
1018
+ Timer styles
1019
+
1020
+ $orbit-timer-bg-old: rgb(0,0,0);
1021
+ $orbit-timer-bg: rgba(0,0,0,0.6);
1022
+
1023
+ Bullet nav styles
1024
+
1025
+ $orbit-bullet-nav-color: #999;
1026
+ $orbit-bullet-nav-color-active: #222;
1027
+
1028
+ Slide numbers
1029
+
1030
+ $orbit-slide-number-bg: rgba(0,0,0,0);
1031
+ $orbit-slide-number-font-color: #fff;
1032
+ $orbit-slide-number-padding: emCalc(5px);
1033
+
1034
+ Graceful Loading Wrapper and preloader
1035
+
1036
+ $wrapper-class: "slideshow-wrapper";
1037
+ $preloader-class: "preloader" ;
1038
+
1039
+
1040
+ Pagination Variables
1041
+
1042
+
1043
+ Pagination container
1044
+
1045
+ $pagination-height: emCalc(24px);
1046
+ $pagination-margin: emCalc(-5px);
1047
+
1048
+ List-item properties
1049
+
1050
+ $pagination-li-float: $default-float;
1051
+ $pagination-li-height: emCalc(24px);
1052
+ $pagination-li-font-color: #222;
1053
+ $pagination-li-font-size: emCalc(14px);
1054
+ $pagination-li-margin: emCalc(5px);
1055
+
1056
+ Pagination anchor links
1057
+
1058
+ $pagination-link-pad: emCalc(1px) emCalc(7px) emCalc(1px);
1059
+ $pagination-link-font-color: #999;
1060
+ $pagination-link-active-bg: darken(#fff, 10%);
1061
+
1062
+ Disabled anchor links
1063
+
1064
+ $pagination-link-unavailable-cursor: $cursor-default-value;
1065
+ $pagination-link-unavailable-font-color: #999;
1066
+ $pagination-link-unavailable-bg-active: transparent;
1067
+
1068
+ Currently selected anchor links
1069
+
1070
+ $pagination-link-current-background: $primary-color;
1071
+ $pagination-link-current-font-color: #fff;
1072
+ $pagination-link-current-font-weight: bold;
1073
+ $pagination-link-current-cursor: $cursor-default-value;
1074
+ $pagination-link-current-active-bg: $primary-color;
1075
+
1076
+
1077
+ Panel Variables
1078
+
1079
+
1080
+ Background and border styles
1081
+
1082
+ $panel-bg: darken(#fff, 5%);
1083
+ $panel-border-style: solid;
1084
+ $panel-border-size: 1px;
1085
+
1086
+ Control how much we darken things on hover
1087
+
1088
+ $panel-function-factor: 10%;
1089
+ $panel-border-color: darken($panel-bg, $panel-function-factor);
1090
+
1091
+ Inner padding and bottom margin
1092
+
1093
+ $panel-margin-bottom: emCalc(20px);
1094
+ $panel-padding: emCalc(20px);
1095
+
1096
+ Font colors
1097
+
1098
+ $panel-font-color: #333;
1099
+ $panel-font-color-alt: #fff;
1100
+
1101
+
1102
+ Pricing Table Variables
1103
+
1104
+
1105
+ Border color
1106
+
1107
+ $price-table-border: solid 1px #ddd;
1108
+
1109
+ Bottom margin of the pricing table
1110
+
1111
+ $price-table-margin-bottom: emCalc(20px);
1112
+
1113
+ Control the title styles
1114
+
1115
+ $price-title-bg: #ddd;
1116
+ $price-title-padding: emCalc(15px) emCalc(20px);
1117
+ $price-title-align: center;
1118
+ $price-title-color: #333;
1119
+ $price-title-weight: bold;
1120
+ $price-title-size: emCalc(16px);
1121
+
1122
+ Control the price styles
1123
+
1124
+ $price-money-bg: #eee;
1125
+ $price-money-padding: emCalc(15px) emCalc(20px);
1126
+ $price-money-align: center;
1127
+ $price-money-color: #333;
1128
+ $price-money-weight: normal;
1129
+ $price-money-size: emCalc(20px);
1130
+
1131
+ Description styles
1132
+
1133
+ $price-bg: #fff;
1134
+ $price-desc-color: #777;
1135
+ $price-desc-padding: emCalc(15px);
1136
+ $price-desc-align: center;
1137
+ $price-desc-font-size: emCalc(12px);
1138
+ $price-desc-weight: normal;
1139
+ $price-desc-line-height: 1.4;
1140
+ $price-desc-bottom-border: dotted 1px #ddd;
1141
+
1142
+ List item styles
1143
+
1144
+ $price-item-color: #333;
1145
+ $price-item-padding: emCalc(15px);
1146
+ $price-item-align: center;
1147
+ $price-item-font-size: emCalc(14px);
1148
+ $price-item-weight: normal;
1149
+ $price-item-bottom-border: dotted 1px #ddd;
1150
+
1151
+ CTA area styles
1152
+
1153
+ $price-cta-bg: #f5f5f5;
1154
+ $price-cta-align: center;
1155
+ $price-cta-padding: emCalc(20px) emCalc(20px) 0;
1156
+
1157
+
1158
+ Progress Bar Variables
1159
+
1160
+
1161
+ Progress bar height
1162
+
1163
+ $progress-bar-height: emCalc(25px);
1164
+ $progress-bar-color: transparent;
1165
+
1166
+ Border styles
1167
+
1168
+ $progress-bar-border-color: darken(#fff, 20%);
1169
+ $progress-bar-border-size: 1px;
1170
+ $progress-bar-border-style: solid;
1171
+ $progress-bar-border-radius: $global-radius;
1172
+
1173
+ Margin & padding
1174
+
1175
+ $progress-bar-pad: emCalc(2px);
1176
+ $progress-bar-margin-bottom: emCalc(10px);
1177
+
1178
+ Meter colors
1179
+
1180
+ $progress-meter-color: $primary-color;
1181
+ $progress-meter-secondary-color: $secondary-color;
1182
+ $progress-meter-success-color: $success-color;
1183
+ $progress-meter-alert-color: $alert-color;
1184
+
1185
+
1186
+ Reveal Variables
1187
+
1188
+
1189
+ Reveal overlay.
1190
+
1191
+ $reveal-overlay-bg: rgba(#000, .45);
1192
+ $reveal-overlay-bg-old: #000;
1193
+
1194
+ Modal itself.
1195
+
1196
+ $reveal-modal-bg: #fff;
1197
+ $reveal-position-top: 50px;
1198
+ $reveal-default-width: 80%;
1199
+ $reveal-modal-padding: emCalc(20px);
1200
+ $reveal-box-shadow: 0 0 10px rgba(#000,.4);
1201
+
1202
+ Reveal close button
1203
+
1204
+ $reveal-close-font-size: emCalc(22px);
1205
+ $reveal-close-top: emCalc(8px);
1206
+ $reveal-close-side: emCalc(11px);
1207
+ $reveal-close-color: #aaa;
1208
+ $reveal-close-weight: bold;
1209
+
1210
+ Modal border
1211
+
1212
+ $reveal-border-style: solid;
1213
+ $reveal-border-width: 1px;
1214
+ $reveal-border-color: #666;
1215
+
1216
+ $reveal-modal-class: "reveal-modal";
1217
+ $close-reveal-modal-class: "close-reveal-modal";
1218
+
1219
+
1220
+ Section Variables
1221
+
1222
+
1223
+ Padding and hover factor
1224
+
1225
+ $section-title-padding: emCalc(15px);
1226
+ $section-content-padding: emCalc(15px);
1227
+ $section-function-factor: 10%;
1228
+
1229
+ Titles
1230
+
1231
+ $section-title-color: #333;
1232
+ $section-title-bg: #efefef;
1233
+ $section-title-bg-active: darken($section-title-bg, $section-function-factor);
1234
+ $section-title-bg-active-tabs: #fff;
1235
+ $section-title-bg-hover: darken($section-title-bg, $section-function-factor/2);
1236
+
1237
+ Border size
1238
+
1239
+ $section-border-size: 1px;
1240
+ $section-border-style: solid;
1241
+ $section-border-color: #ccc;
1242
+
1243
+ Font controls
1244
+
1245
+ $section-font-size: emCalc(14px);
1246
+
1247
+ Control the color of the background and some size options
1248
+
1249
+ $section-content-bg: #fff;
1250
+ $section-vertical-nav-min-width: emCalc(200px);
1251
+ $section-vertical-tabs-title-width: emCalc(200px);
1252
+ $section-bottom-margin: emCalc(20px);
1253
+
1254
+ $title-selector: ".title";
1255
+ $content-selector: ".content";
1256
+
1257
+
1258
+ Side Nav Variables
1259
+
1260
+
1261
+ Padding
1262
+
1263
+ $side-nav-padding: emCalc(14px) 0;
1264
+
1265
+ List styles
1266
+
1267
+ $side-nav-list-type: none;
1268
+ $side-nav-list-position: inside;
1269
+ $side-nav-list-margin: 0 0 emCalc(7px) 0;
1270
+
1271
+ Link styles
1272
+
1273
+ $side-nav-link-color: $primary-color;
1274
+ $side-nav-link-color-active: lighten(#000, 30%);
1275
+ $side-nav-font-size: emCalc(14px);
1276
+ $side-nav-font-weight: bold;
1277
+
1278
+ Border styles
1279
+
1280
+ $side-nav-divider-size: 1px;
1281
+ $side-nav-divider-style: solid;
1282
+ $side-nav-divider-color: darken(#fff, 10%);
1283
+
1284
+
1285
+ Sub Nav Variables
1286
+
1287
+
1288
+ Margin and padding
1289
+
1290
+ $sub-nav-list-margin: emCalc(-4px) 0 emCalc(18px);
1291
+ $sub-nav-list-padding-top: emCalc(4px);
1292
+
1293
+ Definition
1294
+
1295
+ $sub-nav-font-size: emCalc(14px);
1296
+ $sub-nav-font-color: #999;
1297
+ $sub-nav-font-weight: normal;
1298
+ $sub-nav-text-decoration: none;
1299
+ $sub-nav-border-radius: 1000px;
1300
+
1301
+ Active item styles
1302
+
1303
+ $sub-nav-active-font-weight: bold;
1304
+ $sub-nav-active-bg: $primary-color;
1305
+ $sub-nav-active-color: #fff;
1306
+ $sub-nav-active-padding: emCalc(3px) emCalc(9px);
1307
+ $sub-nav-active-cursor: $cursor-default-value;
1308
+
1309
+
1310
+ Switch Variables
1311
+
1312
+
1313
+ Border styles and background colors for the switch container
1314
+
1315
+ $switch-border-color: darken(#fff, 20%);
1316
+ $switch-border-style: solid;
1317
+ $switch-border-width: 1px;
1318
+ $switch-bg: #fff;
1319
+
1320
+ Switch heights for our default classes
1321
+
1322
+ $switch-height-tny: 22px;
1323
+ $switch-height-sml: 28px;
1324
+ $switch-height-med: 36px;
1325
+ $switch-height-lrg: 44px;
1326
+ $switch-bottom-margin: emCalc(20px);
1327
+
1328
+ Font sizes for our classes.
1329
+
1330
+ $switch-font-size-tny: 11px;
1331
+ $switch-font-size-sml: 12px;
1332
+ $switch-font-size-med: 14px;
1333
+ $switch-font-size-lrg: 17px;
1334
+ $switch-label-side-padding: 6px;
1335
+
1336
+ Switch-paddle
1337
+
1338
+ $switch-paddle-bg: #fff;
1339
+ $switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%);
1340
+ $switch-paddle-border-color: darken($switch-paddle-bg, 35%);
1341
+ $switch-paddle-border-width: 1px;
1342
+ $switch-paddle-border-style: solid;
1343
+ $switch-paddle-transition-speed: .1s;
1344
+ $switch-paddle-transition-ease: ease-out;
1345
+ $switch-positive-color: lighten($success-color, 50%);
1346
+ $switch-negative-color: #f5f5f5;
1347
+
1348
+ Outline Style for tabbing through switches
1349
+
1350
+ $switch-label-outline: 1px dotted #888;
1351
+
1352
+
1353
+ Table Variables
1354
+
1355
+
1356
+ Background color for the table and even rows
1357
+
1358
+ $table-bg: #fff;
1359
+ $table-even-row-bg: #f9f9f9;
1360
+
1361
+ Table cell border style
1362
+
1363
+ $table-border-style: solid;
1364
+ $table-border-size: 1px;
1365
+ $table-border-color: #ddd;
1366
+
1367
+ Table head styles
1368
+
1369
+ $table-head-bg: #f5f5f5;
1370
+ $table-head-font-size: emCalc(14px);
1371
+ $table-head-font-color: #222;
1372
+ $table-head-font-weight: bold;
1373
+ $table-head-padding: emCalc(8px) emCalc(10px) emCalc(10px);
1374
+
1375
+ Row padding and font styles
1376
+
1377
+ $table-row-padding: emCalc(9px) emCalc(10px);
1378
+ $table-row-font-size: emCalc(14px);
1379
+ $table-row-font-color: #222;
1380
+ $table-line-height: emCalc(18px);
1381
+
1382
+ Display and margin of tables
1383
+
1384
+ $table-display: table-cell;
1385
+ $table-margin-bottom: emCalc(20px);
1386
+
1387
+
1388
+ Image Thumbnail Variables
1389
+
1390
+
1391
+ Border styles
1392
+
1393
+ $thumb-border-style: solid;
1394
+ $thumb-border-width: 4px;
1395
+ $thumb-border-color: #fff;
1396
+ $thumb-box-shadow: 0 0 0 1px rgba(#000,.2);
1397
+ $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
1398
+
1399
+ Radius and transition speed for thumbs
1400
+
1401
+ $thumb-radius: $global-radius;
1402
+ $thumb-transition-speed: 200ms;
1403
+
1404
+
1405
+ Tooltip Variables
1406
+
1407
+
1408
+ $has-tip-border-bottom: dotted 1px #ccc;
1409
+ $has-tip-font-weight: bold;
1410
+ $has-tip-font-color: #333;
1411
+ $has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%);
1412
+ $has-tip-font-color-hover: $primary-color;
1413
+ $has-tip-cursor-type: help;
1414
+
1415
+ $tooltip-padding: emCalc(8px);
1416
+ $tooltip-bg: #000;
1417
+ $tooltip-font-size: emCalc(15px);
1418
+ $tooltip-font-weight: bold;
1419
+ $tooltip-font-color: #fff;
1420
+ $tooltip-line-height: 1.3;
1421
+ $tooltip-close-font-size: emCalc(10px);
1422
+ $tooltip-close-font-weight: normal;
1423
+ $tooltip-close-font-color: #888;
1424
+ $tooltip-font-size-sml: emCalc(14px);
1425
+ $tooltip-radius: $global-radius;
1426
+ $tooltip-pip-size: 5px;
1427
+
1428
+
1429
+ Top Bar Variables
1430
+
1431
+
1432
+ Background color for the top bar
1433
+
1434
+ $topbar-bg: #111 !default;
1435
+
1436
+ Height and margin
1437
+
1438
+ $topbar-height: 45px;
1439
+ $topbar-margin-bottom: emCalc(30px);
1440
+
1441
+ Control Input height for top bar
1442
+
1443
+ $topbar-input-height: 2.45em;
1444
+
1445
+ Controlling the styles for the title in the top bar
1446
+
1447
+ $topbar-title-weight: bold;
1448
+ $topbar-title-font-size: emCalc(17px);
1449
+
1450
+ Style the top bar dropdown elements
1451
+
1452
+ $topbar-dropdown-bg: #222;
1453
+ $topbar-dropdown-link-color: #fff;
1454
+ $topbar-dropdown-link-bg: lighten($topbar-bg, 5%);
1455
+ $topbar-dropdown-toggle-size: 5px;
1456
+ $topbar-dropdown-toggle-color: #fff;
1457
+ $topbar-dropdown-toggle-alpha: 0.5;
1458
+
1459
+ Set the link colors and styles for top-level nav
1460
+
1461
+ $topbar-link-color: #fff;
1462
+ $topbar-link-color-hover: #fff;
1463
+ $topbar-link-color-active: #fff;
1464
+ $topbar-link-weight: bold;
1465
+ $topbar-link-font-size: emCalc(13px);
1466
+ $topbar-link-hover-lightness: -30%; Darken by 30%
1467
+ $topbar-link-bg-hover: darken($topbar-bg, 3%);
1468
+ $topbar-link-bg-active: darken($topbar-bg, 3%);
1469
+
1470
+ $topbar-dropdown-label-color: #555;
1471
+ $topbar-dropdown-label-text-transform: uppercase;
1472
+ $topbar-dropdown-label-font-weight: bold;
1473
+ $topbar-dropdown-label-font-size: emCalc(10px);
1474
+
1475
+ Top menu icon styles
1476
+
1477
+ $topbar-menu-link-transform: uppercase;
1478
+ $topbar-menu-link-font-size: emCalc(13px);
1479
+ $topbar-menu-link-weight: bold;
1480
+ $topbar-menu-link-color: #fff;
1481
+ $topbar-menu-icon-color: #fff;
1482
+ $topbar-menu-link-color-toggled: #888;
1483
+ $topbar-menu-icon-color-toggled: #888;
1484
+
1485
+ Transitions and breakpoint styles
1486
+
1487
+ $topbar-transition-speed: 300ms;
1488
+ $topbar-breakpoint: emCalc(940px);
1489
+ $topbar-media-query: "only screen and (min-width: #{$topbar-breakpoint})";
1490
+
1491
+ Divider Styles
1492
+
1493
+ $topbar-divider-border-bottom: solid 1px lighten($topbar-bg, 10%);
1494
+ $topbar-divider-border-top: solid 1px darken($topbar-bg, 10%);
1495
+
1496
+ Sticky Class
1497
+
1498
+ $topbar-sticky-class: ".sticky";
1248
1499
  ', :css %>
1249
1500
 
1250
1501