zurb-foundation 4.1.2 → 4.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/CONTRIBUTING.md +2 -2
  2. data/Gemfile.lock +1 -1
  3. data/README.md +11 -7
  4. data/docs/CHANGELOG.md +22 -3
  5. data/docs/_sidebar-components.html.erb +3 -1
  6. data/docs/_sidebar.html.erb +3 -1
  7. data/docs/components/breadcrumbs.html.erb +9 -1
  8. data/docs/components/forms.html.erb +12 -6
  9. data/docs/components/grid.html.erb +3 -3
  10. data/docs/components/kitchen-sink.html.erb +7 -1
  11. data/docs/components/labels.html.erb +3 -1
  12. data/docs/components/section.html.erb +99 -10
  13. data/docs/components/top-bar.html.erb +2 -2
  14. data/docs/components/type.html.erb +31 -2
  15. data/docs/css/docs.scss +0 -5
  16. data/docs/index.html.erb +2 -0
  17. data/docs/javascript.html.erb +8 -5
  18. data/docs/sass.html.erb +1005 -127
  19. data/js/foundation/foundation.clearing.js +8 -4
  20. data/js/foundation/foundation.dropdown.js +43 -23
  21. data/js/foundation/foundation.forms.js +5 -3
  22. data/js/foundation/foundation.joyride.js +2 -6
  23. data/js/foundation/foundation.js +70 -47
  24. data/js/foundation/foundation.orbit.js +10 -4
  25. data/js/foundation/foundation.reveal.js +8 -3
  26. data/js/foundation/foundation.section.js +188 -72
  27. data/js/foundation/foundation.tooltips.js +4 -3
  28. data/js/foundation/foundation.topbar.js +4 -1
  29. data/lib/foundation/generators/install_generator.rb +2 -2
  30. data/lib/foundation/version.rb +1 -1
  31. data/scss/foundation.scss +1 -1
  32. data/{templates/project/scss/_settings.scss → scss/foundation/_variables.scss} +347 -173
  33. data/scss/foundation/components/_alert-boxes.scss +1 -1
  34. data/scss/foundation/components/_block-grid.scss +6 -2
  35. data/scss/foundation/components/_breadcrumbs.scss +20 -13
  36. data/scss/foundation/components/_button-groups.scss +18 -6
  37. data/scss/foundation/components/_buttons.scss +18 -11
  38. data/scss/foundation/components/_clearing.scss +6 -0
  39. data/scss/foundation/components/_custom-forms.scss +29 -23
  40. data/scss/foundation/components/_dropdown-buttons.scss +1 -1
  41. data/scss/foundation/components/_dropdown.scss +7 -3
  42. data/scss/foundation/components/_flex-video.scss +1 -1
  43. data/scss/foundation/components/_forms.scss +49 -25
  44. data/scss/foundation/components/_global.scss +222 -3
  45. data/scss/foundation/components/_grid.scss +40 -24
  46. data/scss/foundation/components/_inline-lists.scss +1 -1
  47. data/scss/foundation/components/_joyride.scss +4 -6
  48. data/scss/foundation/components/_keystrokes.scss +1 -1
  49. data/scss/foundation/components/_labels.scss +5 -3
  50. data/scss/foundation/components/_magellan.scss +1 -1
  51. data/scss/foundation/components/_orbit.scss +13 -8
  52. data/scss/foundation/components/_pagination.scss +1 -1
  53. data/scss/foundation/components/_panels.scss +1 -1
  54. data/scss/foundation/components/_pricing-tables.scss +1 -1
  55. data/scss/foundation/components/_progress-bars.scss +1 -1
  56. data/scss/foundation/components/_reveal.scss +7 -7
  57. data/scss/foundation/components/_section.scss +75 -21
  58. data/scss/foundation/components/_side-nav.scss +1 -1
  59. data/scss/foundation/components/_split-buttons.scss +10 -3
  60. data/scss/foundation/components/_sub-nav.scss +1 -1
  61. data/scss/foundation/components/_switch.scss +1 -1
  62. data/scss/foundation/components/_thumbs.scss +3 -1
  63. data/scss/foundation/components/_top-bar.scss +8 -6
  64. data/scss/foundation/components/_visibility.scss +1 -1
  65. data/scss/normalize.scss +13 -7
  66. data/templates/project/manifest.rb +2 -11
  67. data/templates/project/scss/app.scss +0 -1
  68. metadata +5 -7
  69. data/scss/foundation/_foundation-global.scss +0 -198
  70. data/templates/project/scss/normalize.scss +0 -396
@@ -92,11 +92,6 @@ footer.row.full-width {
92
92
  }
93
93
  }
94
94
 
95
- /* Clearing Docs */
96
- .clearing-thumbs { list-style: none;
97
- li { float: $default-float; margin-#{$opposite-direction}: 10px; }
98
- }
99
-
100
95
  /* Forms Docs */
101
96
  .attached-label {
102
97
  @include prefix-postfix-base;
@@ -205,6 +205,8 @@
205
205
  <title>Foundation 4</title>
206
206
 
207
207
  <link rel="stylesheet" href="css/normalize.css" />
208
+ <!-- If you are using CSS version, add this -->
209
+ <link rel="stylesheet" href="css/foundation.css" />
208
210
  <link rel="stylesheet" href="css/app.css" />
209
211
 
210
212
  <script src="js/vendor/custom.modernizr.js"></script>
@@ -10,7 +10,7 @@
10
10
  <hr>
11
11
 
12
12
  <h2>Installation</h2>
13
- <p>Foundation JavaScript was designed to work with <a href="http://zeptojs.com/" title="Zepto Docs">Zepto</a> and <a href="http://jquery.com/" title="jQuery Docs">jQuery</a> right out of the gate. Zepto is not supported by all browsers, so as suggested in the Zepto documentation, you should test for compatability and load Zepto or jQuery as necessary.</p>
13
+ <p>Foundation JavaScript was designed to work with <a href="http://zeptojs.com/" title="Zepto Docs">Zepto</a> and <a href="http://jquery.com/" title="jQuery Docs">jQuery</a> right out of the gate. Zepto is not supported by all browsers, so as suggested in the Zepto documentation, you should test for compatibility and load Zepto or jQuery as necessary.</p>
14
14
 
15
15
  <h5>Include Libraries</h5>
16
16
  <p>In the <code>head</code> section of your page add Modernizr. Modernizr acts as a shim for HTML5 elements for older browsers as well as detection for mobile devices.</p>
@@ -30,12 +30,12 @@
30
30
  </script>
31
31
  ", :html %>
32
32
 
33
- <p>Then include either <code>foundation.min.js</code>, which includes Foundation Core and all JavaScript plugins or you can load them invidually. The minified version is not available in the Compass version.</p>
33
+ <p>Then include either <code>foundation.min.js</code>, which includes Foundation Core and all JavaScript plugins or you can load them individually. The minified version is not available in the Compass version.</p>
34
34
 
35
35
  <%= code_example '
36
36
  <script src="/js/foundation.min.js"></script>
37
37
 
38
- <!-- or individualy -->
38
+ <!-- or individually -->
39
39
 
40
40
  <script src="/js/foundation.js"></script>
41
41
  <script src="/js/foundation.alerts.js"></script>
@@ -46,10 +46,13 @@
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
50
 
50
51
  <%= code_example '
51
52
  <script>
52
- $(document).foundation();
53
+ $(function(){
54
+ $(document).foundation();
55
+ })
53
56
  </script>
54
57
  ', :html %>
55
58
 
@@ -67,7 +70,7 @@ $(document).foundation('section', {deep_linking: true}, function (response) {
67
70
  });
68
71
  ", :js %>
69
72
 
70
- <p>The call will initialize the Section plugin on the page with deep linking enabled and pass back a response object with any errors that may have occured.</p>
73
+ <p>The call will initialize the Section plugin on the page with deep linking enabled and pass back a response object with any errors that may have occurred.</p>
71
74
 
72
75
  <p>You can initialize multiple libraries within the same call as well. Here are a few ways this can be done:</p>
73
76
 
@@ -42,14 +42,14 @@
42
42
  <hr>
43
43
 
44
44
  <h3>Using Sass Standalone</h3>
45
- <p>With Foundation 4, we've removed all dependencies from the framework. This means you can use Foundaiton 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>
45
+ <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
46
 
47
47
  <p>To import all of Foundation:</p>
48
48
  <%= code_example '
49
49
  @import "/path/to/foundation";
50
50
  ', :css %>
51
51
 
52
- <p>If you want to override the built in variables, you can find them on each component page or grab that <a href="https://github.com/zurb/foundation/blob/master/templates/project/scss/_settings.scss">entire list from Github</a>. From there, you'll need to link your settings file above your Foundation import, like so:</p>
52
+ <p>If you want to override the built in variables, you can find them on each component page or grab the <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_variables.scss">entire list from Github</a>. From there, you'll need to link your settings file above your Foundation import, like so:</p>
53
53
 
54
54
  <%= code_example '
55
55
  @import "/path/to/settings";
@@ -60,6 +60,7 @@
60
60
 
61
61
  <%= code_example '
62
62
  /* Each individual part that can be added in */
63
+ @import "foundation/components/global";
63
64
  @import "foundation/components/grid";
64
65
  @import "foundation/components/visibility";
65
66
  @import "foundation/components/block-grid";
@@ -134,6 +135,13 @@
134
135
  <li>run <span class="keystroke">compass install foundation</span></li>
135
136
  </ol>
136
137
 
138
+ <h5>Adding Foundation to existing Rails projects</h5>
139
+ <ol>
140
+ <li>Add <span class="keystroke">gem 'zurb-foundation'</span> to your Gemfile <b>under the <span class="keystroke">assets</span> group</b></li>
141
+ <li>run <span class="keystroke">bundle install</span></li>
142
+ <li>run <span class="keystroke">rails g foundation:install</span></li>
143
+ </ol>
144
+
137
145
  <!-- <h5>Upgrading Foundation Compass projects</h5>
138
146
  <p><strong>Javascript and Image Updates:</strong> If you already added Foundation to your Compass project or created the project using Foundation in the first place and just want to copy over any updated javascripts/image assets to your project, use the provided <kbd>foundation/upgrade</kbd> pattern below:</p>
139
147
  <ol style="margin-left: 20px;">
@@ -196,175 +204,1045 @@ bundle exec compass create . -r zurb-foundation --using foundation
196
204
  <li>When you're working on your project, run: <kbd>bundle exec compass watch</kbd></li>
197
205
  </ol>
198
206
 
207
+ <p>Zach Shnackel recently wrote a good article that goes into a bit more detail on this subject: <a rel="nofollow" href="http://zslabs.com/articles/versioned-dependencies-with-compass">http://zslabs.com/articles/versioned-dependencies-with-compass</a></p>
208
+
199
209
  <hr>
200
210
 
201
211
  <h3>Foundation Global Settings and Mixins</h3>
202
212
  <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>
203
213
 
204
214
  <%= code_example '
205
- // Foundation Global Function, Variables and Mixins
206
- @import "foundation/components/global";
207
-
208
215
  //
209
- // Variables
216
+ // Foundation Variables
210
217
  //
211
218
 
212
219
  // The default font-size is set to 100% of the browser style sheet (usually 16px)
213
- // for compatibility with brower-based text zoom or user-set defaults.
214
- $base-font-size: 100%;
220
+ // for compatibility with browser-based text zoom or user-set defaults.
221
+ $base-font-size: 100% !default;
215
222
 
216
- // Set your base font-size in pixels so emCalc can do its magic below
217
- $em-base: 16px;
223
+ // This is the default html and body font-size for the base em value.
224
+
225
+ // Since the typical default browser font-size is 16px, that makes the calculation for grid size.
226
+ // If you want your base font-size to be a different size and not have it effect grid size too,
227
+ // set the value of $em-base to $base-font-size ($em-base: $base-font-size;)
228
+ $em-base: 16px !default;
229
+
230
+ // Working in ems is annoying. Think in pixels by using this handy function, emCalc(#px)
231
+ @function emCalc($pxWidth) {
232
+ @return $pxWidth / $em-base * 1em;
233
+ }
218
234
 
219
235
  // We use these to control various global styles
220
- $body-bg: #fff;
221
- $body-font-color: #222;
222
- $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
223
- $body-font-weight: normal;
224
- $body-font-style: normal;
236
+ // $body-bg: #fff;
237
+ // $body-font-color: #222;
238
+ // $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
239
+ // $body-font-weight: normal;
240
+ // $body-font-style: normal;
241
+
242
+ // We use this to control font-smoothing
243
+ // $font-smoothing: antialiased;
225
244
 
226
245
  // We use these to control text direction settings
227
- $text-direction: ltr;
246
+ // $text-direction: ltr;
228
247
 
229
248
  // We use these as default colors throughout
230
- $primary-color: #2ba6cb;
231
- $secondary-color: #e9e9e9;
232
- $alert-color: #c60f13;
233
- $success-color: #5da423;
249
+ // $primary-color: #2ba6cb;
250
+ // $secondary-color: #e9e9e9;
251
+ // $alert-color: #c60f13;
252
+ // $success-color: #5da423;
234
253
 
235
254
  // We use these to make sure border radius matches unless we want it different.
236
- $global-radius: 3px;
237
- $global-rounded: 1000px;
255
+ // $global-radius: 3px;
256
+ // $global-rounded: 1000px;
238
257
 
239
258
  // We use these to control inset shadow shiny edges and depressions.
240
- $shiny-edge-size: 0 1px 0;
241
- $shiny-edge-color: rgba(#fff, .5);
242
- $shiny-edge-active-color: rgba(#000, .2);
259
+ // $shiny-edge-size: 0 1px 0;
260
+ // $shiny-edge-color: rgba(#fff, .5);
261
+ // $shiny-edge-active-color: rgba(#000, .2);
243
262
 
244
263
  // We use this to control whether or not CSS classes come through in the gem files.
245
- $include-html-classes: true;
246
- $include-print-styles: true;
264
+ // $include-html-classes: true;
265
+ // $include-print-styles: true;
266
+ // $include-html-grid-classes: $include-html-classes;
267
+ // $include-html-visibility-classes: $include-html-classes;
268
+ // $include-html-button-classes: $include-html-classes;
269
+ // $include-html-form-classes: $include-html-classes;
270
+ // $include-html-media-classes: $include-html-classes;
271
+ // $include-html-section-classes: $include-html-classes;
272
+ // $include-html-reveal-classes: $include-html-classes;
273
+ // $include-html-alert-classes: $include-html-classes;
274
+ // $include-html-nav-classes: $include-html-classes;
275
+ // $include-html-label-classes: $include-html-classes;
276
+ // $include-html-panel-classes: $include-html-classes;
277
+ // $include-html-pricing-classes: $include-html-classes;
278
+ // $include-html-progress-classes: $include-html-classes;
279
+ // $include-html-magellan-classes: $include-html-classes;
280
+
281
+ // Media Queries
282
+ // $small-screen: emCalc(768px);
283
+ // $medium-screen: emCalc(1280px);
284
+ // $large-screen: emCalc(1440px);
285
+
286
+ // $screen: "only screen";
287
+ // $small: "only screen and (min-width:"#{$small-screen}")";
288
+ // $medium: "only screen and (min-width:"#{$medium-screen}")";
289
+ // $large: "only screen and (min-width:"#{$large-screen}")";
290
+ // $landscape: "only screen and (orientation: landscape)";
291
+ // $portrait: "only screen and (orientation: portrait)";
247
292
 
248
- // Modular html classes
249
- $include-html-grid-classes: $include-html-classes;
250
- $include-html-visibility-classes: $include-html-classes;
251
- $include-html-button-classes: $include-html-classes;
252
- $include-html-form-classes: $include-html-classes;
253
- $include-html-media-classes: $include-html-classes;
254
- $include-html-section-classes: $include-html-classes;
255
- $include-html-reveal-classes: $include-html-classes;
256
- $include-html-alert-classes: $include-html-classes;
257
- $include-html-nav-classes: $include-html-classes;
258
- $include-html-label-classes: $include-html-classes;
259
- $include-html-panel-classes: $include-html-classes;
260
- $include-html-pricing-classes: $include-html-classes;
261
- $include-html-progress-classes: $include-html-classes;
293
+ //
294
+ // Grid Variables
295
+ //
262
296
 
297
+ // $row-width: emCalc(1000px);
298
+ // $column-gutter: emCalc(30px);
299
+ // $total-columns: 12;
263
300
 
264
301
  //
265
- // Functions
302
+ // Block Grid Variables
266
303
  //
267
304
 
268
- // Working in ems is annoying. Think in pixels by using this handy function, emCalc(#px)
269
- @function emCalc($pxWidth) {
270
- @return $pxWidth / $em-base * 1em;
271
- }
305
+ // We use this to control the maximum number of block grid elements per row
306
+ // $block-grid-elements: 12;
307
+ // $block-grid-default-spacing: 10px;
272
308
 
273
- // Creating rems and pixels
274
- @function remCalc($pxWidth) {
275
- @return $pxWidth / $em-base * 1rem;
276
- }
309
+ // Enables media queries for block-grid classes. Set to false if writing semantic HTML.
310
+ // $block-grid-media-queries: true;
277
311
 
278
- // Grid Calculation for Percentages
279
- @function gridCalc($colNumber, $totalColumns) {
280
- @return percentage(($colNumber / $totalColumns));
281
- }
312
+ //
313
+ // Typography Variables
314
+ //
282
315
 
316
+ // We use these to control header font styles
317
+ // $header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
318
+ // $header-font-weight: bold;
319
+ // $header-font-style: normal;
320
+ // $header-font-color: #222;
321
+ // $header-line-height: 1.4;
322
+ // $header-top-margin: .2em;
323
+ // $header-bottom-margin: .5em;
324
+ // $header-text-rendering: optimizeLegibility;
325
+
326
+ // We use these to control header font sizes
327
+ // $h1-font-size: emCalc(44px);
328
+ // $h2-font-size: emCalc(37px);
329
+ // $h3-font-size: emCalc(27px);
330
+ // $h4-font-size: emCalc(23px);
331
+ // $h5-font-size: emCalc(18px);
332
+ // $h6-font-size: 1em;
333
+
334
+ // These control how subheaders are styled
335
+ // $subheader-line-height: 1.4;
336
+ // $subheader-font-color: lighten($header-font-color, 30%);
337
+ // $subheader-font-weight: 300;
338
+ // $subheader-top-margin: .2em;
339
+ // $subheader-bottom-margin: .5em;
340
+
341
+ // A general <small> styling
342
+ // $small-font-size: 60%;
343
+ // $small-font-color: lighten($header-font-color, 30%);
344
+
345
+ // We use these to style paragraphs
346
+ // $paragraph-font-family: inherit;
347
+ // $paragraph-font-weight: normal;
348
+ // $paragraph-font-size: 1em;
349
+ // $paragraph-line-height: 1.6;
350
+ // $paragraph-margin-bottom: emCalc(20px);
351
+ // $paragraph-aside-font-size: emCalc(14px);
352
+ // $paragraph-aside-line-height: 1.35;
353
+ // $paragraph-aside-font-style: italic;
354
+
355
+ // We use these to style <code> tags
356
+ // $code-color: darken($alert-color, 15%);
357
+ // $code-font-family: Consolas, "Liberation Mono", Courier, monospace;
358
+ // $code-font-weight: bold;
359
+
360
+ // We use these to style anchors
361
+ // $anchor-text-decoration: none;
362
+ // $anchor-font-color: $primary-color;
363
+ // $anchor-font-color-hover: darken($primary-color, 5%);
364
+
365
+ // We use these to style the <hr> element
366
+ // $hr-border-width: 1px;
367
+ // $hr-border-style: solid;
368
+ // $hr-border-color: #ddd;
369
+ // $hr-margin: emCalc(20px);
370
+
371
+ // We use these to style lists
372
+ // $list-style-position: outside;
373
+ // $list-side-margin: emCalc(18px);
374
+ // $definition-list-header-weight: bold;
375
+ // $definition-list-header-margin-bottom: .3em;
376
+ // $definition-list-margin-bottom: emCalc(12px);
377
+
378
+ // We use these to style blockquotes
379
+ // $blockquote-font-color: lighten($header-font-color, 30%);
380
+ // $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px);
381
+ // $blockquote-border: 1px solid #ddd;
382
+ // $blockquote-cite-font-size: emCalc(13px);
383
+ // $blockquote-cite-font-color: lighten($header-font-color, 20%);
384
+ // $blockquote-cite-link-color: $blockquote-cite-font-color;
385
+
386
+ // Acronym styles
387
+ // $acronym-underline: 1px dotted #ddd;
388
+
389
+ // We use these to control padding and margin
390
+ // $microformat-padding: emCalc(10px) emCalc(12px);
391
+ // $microformat-margin: 0 0 emCalc(20px) 0;
392
+
393
+ // We use these to control border styles
394
+ // $microformat-border-width: 1px;
395
+ // $microformat-border-style: solid;
396
+ // $microformat-border-color: #ddd;
397
+
398
+ // We use these to control full name font styles
399
+ // $microformat-fullname-font-weight: bold;
400
+ // $microformat-fullname-font-size: emCalc(15px);
401
+
402
+ // We use this to control the summary font styles
403
+ // $microformat-summary-font-weight: bold;
404
+
405
+ // We use this to control abbr padding
406
+ // $microformat-abbr-padding: 0 emCalc(1px);
407
+
408
+ // We use this to control abbr font styles
409
+ // $microformat-abbr-font-weight: bold;
410
+ // $microformat-abbr-font-decoration: none;
283
411
 
284
412
  //
285
- // Mixins
413
+ // Form Variables
286
414
  //
287
415
 
288
- // We use this to control border radius.
289
- @mixin radius($radius:$global-radius) {
290
- @if $radius {
291
- -webkit-border-radius: $radius;
292
- border-radius: $radius;
293
- }
294
- }
416
+ // We use this to set the base for lots of form spacing and positioning styles
417
+ // $form-spacing: emCalc(16px);
418
+
419
+ // We use these to style the labels in different ways
420
+ // $label-pointer: pointer;
421
+ // $label-font-size: emCalc(14px);
422
+ // $label-font-weight: 500;
423
+ // $label-font-color: lighten(#000, 30%);
424
+ // $label-bottom-margin: emCalc(3px);
425
+ // $input-font-family: inherit;
426
+ // $input-font-color: rgba(0,0,0,0.75);
427
+ // $input-font-size: emCalc(14px);
428
+ // $input-bg-color: #fff;
429
+ // $input-focus-bg-color: darken(#fff, 2%);
430
+ // $input-border-color: darken(#fff, 20%);
431
+ // $input-focus-border-color: darken(#fff, 40%);
432
+ // $input-border-style: solid;
433
+ // $input-border-width: 1px;
434
+ // $input-disabled-bg: #ddd;
435
+ // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
436
+
437
+ // We use these to style the fieldset border and spacing.
438
+ // $fieldset-border-style: solid;
439
+ // $fieldset-border-width: 1px;
440
+ // $fieldset-border-color: #ddd;
441
+ // $fieldset-padding: emCalc(20px);
442
+ // $fieldset-margin: emCalc(18px) 0;
443
+
444
+ // We use these to style the legends when you use them
445
+ // $legend-bg: #fff;
446
+ // $legend-font-weight: bold;
447
+ // $legend-padding: 0 emCalc(3px);
448
+
449
+ // We use these to style the prefix and postfix input elements
450
+ // $input-prefix-bg: darken(#fff, 5%);
451
+ // $input-prefix-border-color: darken(#fff, 20%);
452
+ // $input-prefix-border-size: 1px;
453
+ // $input-prefix-border-type: solid;
454
+ // $input-prefix-overflow: hidden;
455
+ // $input-prefix-font-color: #333;
456
+ // $input-prefix-font-color-alt: #fff;
457
+
458
+ // We use these to style the error states for inputs and labels
459
+ // $input-error-message-padding: emCalc(6px) emCalc(4px);
460
+ // $input-error-message-top: -($form-spacing) - emCalc(5px);
461
+ // $input-error-message-font-size: emCalc(12px);
462
+ // $input-error-message-font-weight: bold;
463
+ // $input-error-message-font-color: #fff;
464
+ // $input-error-message-font-color-alt: #333;
465
+
466
+ // We use these to build padding for buttons.
467
+ // $button-med: emCalc(12px);
468
+ // $button-tny: emCalc(7px);
469
+ // $button-sml: emCalc(9px);
470
+ // $button-lrg: emCalc(16px);
471
+
472
+ // We use this to control the display property.
473
+ // $button-display: inline-block;
474
+ // $button-margin-bottom: emCalc(20px);
475
+
476
+ // We use these to control button text styles.
477
+ // $button-font-family: inherit;
478
+ // $button-font-color: #fff;
479
+ // $button-font-color-alt: #333;
480
+ // $button-font-med: emCalc(16px);
481
+ // $button-font-tny: emCalc(11px);
482
+ // $button-font-sml: emCalc(13px);
483
+ // $button-font-lrg: emCalc(20px);
484
+ // $button-font-weight: bold;
485
+ // $button-font-align: center;
486
+
487
+ // We use these to control various hover effects.
488
+ // $button-function-factor: 10%;
489
+
490
+ // We use these to control button border styles.
491
+ // $button-border-width: 1px;
492
+ // $button-border-style: solid;
493
+ // $button-border-color: darken($primary-color, $button-function-factor);
494
+
495
+ // We use this to set the default radius used throughout the core.
496
+ // $button-radius: $global-radius;
497
+
498
+ // We use this to set default opacity for disabled buttons.
499
+ // $button-disabled-opacity: 0.6;
295
500
 
296
- // We use this to create equal side border radius on elements.
297
- @mixin side-radius($side, $radius) {
298
- @if $side == left {
299
- -webkit-border-radius: $radius 0 0 $radius;
300
- border-radius: $radius 0 0 $radius;
301
- }
302
- @else if $side == right {
303
- -webkit-border-radius: 0 $radius $radius 0;
304
- border-radius: 0 $radius $radius 0;
305
- }
306
- @else if $side == top {
307
- -webkit-border-radius: $radius $radius 0 0;
308
- border-radius: $radius $radius 0 0;
309
- }
310
- @else if $side == bottom {
311
- -webkit-border-radius: 0 0 $radius $radius;
312
- border-radius: 0 0 $radius $radius;
313
- }
314
- }
501
+ //
502
+ // Dropdown Button Variables
503
+ //
315
504
 
316
- // We can control whether or not we have inset shadows edges.
317
- @mixin inset-shadow($active:true) {
318
- -webkit-box-shadow: $shiny-edge-size $shiny-edge-color inset;
319
- box-shadow: $shiny-edge-size $shiny-edge-color inset;
505
+ // We use these to set the color of the pip in dropdown buttons
506
+ // $dropdown-button-pip-color: #fff;
507
+ // $dropdown-button-pip-color-alt: #333;
508
+
509
+ // We use these to style tiny dropdown buttons
510
+ // $dropdown-button-padding-tny: $button-tny * 5;
511
+ // $dropdown-button-pip-size-tny: $button-tny;
512
+ // $dropdown-button-pip-right-tny: $button-tny * 2;
513
+ // $dropdown-button-pip-top-tny: -$button-tny / 2 + emCalc(1px);
514
+
515
+ // We use these to style small dropdown buttons
516
+ // $dropdown-button-padding-sml: $button-sml * 5;
517
+ // $dropdown-button-pip-size-sml: $button-sml;
518
+ // $dropdown-button-pip-right-sml: $button-sml * 2;
519
+ // $dropdown-button-pip-top-sml: -$button-sml / 2 + emCalc(1px);
520
+
521
+ // We use these to style medium dropdown buttons
522
+ // $dropdown-button-padding-med: $button-med * 4 + emCalc(3px);
523
+ // $dropdown-button-pip-size-med: $button-med - emCalc(3px);
524
+ // $dropdown-button-pip-right-med: $button-med * 2;
525
+ // $dropdown-button-pip-top-med: -$button-med / 2 + emCalc(2px);
526
+
527
+ // We use these to style large dropdown buttons
528
+ // $dropdown-button-padding-lrg: $button-lrg * 4;
529
+ // $dropdown-button-pip-size-lrg: $button-lrg - emCalc(6px);
530
+ // $dropdown-button-pip-right-lrg: $button-lrg + emCalc(12px);
531
+ // $dropdown-button-pip-top-lrg: -$button-lrg / 2 + emCalc(3px);
320
532
 
321
- @if $active { &:active {
322
- -webkit-box-shadow: $shiny-edge-size $shiny-edge-active-color inset;
323
- box-shadow: $shiny-edge-size $shiny-edge-active-color inset; } }
324
- }
533
+ //
534
+ // Split Button Variables
535
+ //
325
536
 
326
- // We use this to add transitions to elements
327
- @mixin single-transition($property:all, $speed:300ms, $ease:ease-out) {
328
- -webkit-transition: $property $speed $ease;
329
- -moz-transition: $property $speed $ease;
330
- transition: $property $speed $ease;
331
- }
537
+ // We use these to control different shared styles for split buttons
538
+ // $split-button-function-factor: 15%;
539
+ // $split-button-pip-color: #fff;
540
+ // $split-button-pip-color-alt: #333;
541
+ // $split-button-active-bg-tint: rgba(0,0,0,0.1);
542
+
543
+ // We use these to control tiny split buttons
544
+ // $split-button-padding-tny: $button-tny * 9;
545
+ // $split-button-span-width-tny: $button-tny * 6.5;
546
+ // $split-button-pip-size-tny: $button-tny;
547
+ // $split-button-pip-top-tny: $button-tny * 2;
548
+ // $split-button-pip-left-tny: emCalc(-5px);
549
+
550
+ // We use these to control small split buttons
551
+ // $split-button-padding-sml: $button-sml * 7;
552
+ // $split-button-span-width-sml: $button-sml * 5;
553
+ // $split-button-pip-size-sml: $button-sml;
554
+ // $split-button-pip-top-sml: $button-sml * 1.5;
555
+ // $split-button-pip-left-sml: emCalc(-9px);
556
+
557
+ // We use these to control medium split buttons
558
+ // $split-button-padding-med: $button-med * 6.4;
559
+ // $split-button-span-width-med: $button-med * 4;
560
+ // $split-button-pip-size-med: $button-med - emCalc(3px);
561
+ // $split-button-pip-top-med: $button-med * 1.5;
562
+ // $split-button-pip-left-med: emCalc(-9px);
563
+
564
+ // We use these to control large split buttons
565
+ // $split-button-padding-lrg: $button-lrg * 6;
566
+ // $split-button-span-width-lrg: $button-lrg * 3.75;
567
+ // $split-button-pip-size-lrg: $button-lrg - emCalc(6px);
568
+ // $split-button-pip-top-lrg: $button-lrg + emCalc(5px);
569
+ // $split-button-pip-left-lrg: emCalc(-9px);
332
570
 
333
- // We use this to add box-sizing across browser prefixes
334
- @mixin box-sizing($type:border-box) {
335
- -moz-box-sizing: $type;
336
- -webkit-box-sizing: $type;
337
- box-sizing: $type;
338
- }
571
+ //
572
+ // Alert Variables
573
+ //
339
574
 
340
- // We use this to create equalateral triangles
341
- @mixin css-triangle($triangle-size, $triangle-color, $triangle-direction) {
342
- content: "";
343
- display: block;
344
- width: 0;
345
- height: 0;
346
- border: solid $triangle-size;
347
- @if ($triangle-direction == top) {
348
- border-color: $triangle-color transparent transparent transparent;
349
- }
350
- @if ($triangle-direction == bottom) {
351
- border-color: transparent transparent $triangle-color transparent;
352
- }
353
- @if ($triangle-direction == left) {
354
- border-color: transparent transparent transparent $triangle-color;
355
- }
356
- @if ($triangle-direction == right) {
357
- border-color: transparent $triangle-color transparent transparent;
358
- }
359
- }
575
+ // We use this to control alert padding
576
+ // $alert-padding-top: emCalc(11px);
577
+ // $alert-padding-left: $alert-padding-top;
578
+ // $alert-padding-right: $alert-padding-top + emCalc(10px);
579
+ // $alert-padding-bottom: $alert-padding-top + emCalc(1px);
580
+
581
+ // We use these to control text style
582
+ // $alert-font-weight: bold;
583
+ // $alert-font-size: emCalc(14px);
584
+ // $alert-font-color: #fff;
585
+ // $alert-font-color-alt: darken($secondary-color, 60%);
586
+
587
+ // We use this for close hover effect
588
+ // $alert-function-factor: 10%;
589
+
590
+ // We use these to control border styles
591
+ // $alert-border-style: solid;
592
+ // $alert-border-width: 1px;
593
+ // $alert-border-color: darken($primary-color, $alert-function-factor);
594
+ // $alert-bottom-margin: emCalc(20px);
595
+
596
+ // We use these to style the close buttons
597
+ // $alert-close-color: #333;
598
+ // $alert-close-position: emCalc(5px);
599
+ // $alert-close-font-size: emCalc(22px);
600
+ // $alert-close-opacity: 0.3;
601
+ // $alert-close-opacity-hover: 0.5;
602
+ // $alert-close-padding: 5px 4px 4px;
603
+
604
+ // We use this to control border radius
605
+ // $alert-radius: $global-radius;
360
606
 
361
- // We use this to do clear floats
362
- @mixin clearfix() {
363
- *zoom:1;
364
- &:before, &:after { content: " "; display: table; }
365
- &:after { clear: both; }
366
- }
607
+ //
608
+ // Breadcrumb Variables
609
+ //
610
+
611
+ // We use this to set the background color for the breadcrumb container
612
+ // $crumb-bg: lighten($secondary-color, 5%);
613
+
614
+ // We use these to set the padding around the breadcrumbs
615
+ // $crumb-padding: emCalc(6px) emCalc(14px) emCalc(9px);
616
+ // $crumb-side-padding: emCalc(12px);
617
+
618
+ // We use these to control border styles
619
+ // $crumb-function-factor: 10%;
620
+ // $crumb-border-size: 1px;
621
+ // $crumb-border-style: solid;
622
+ // $crumb-border-color: darken($crumb-bg, $crumb-function-factor);
623
+ // $crumb-radius: $global-radius;
624
+
625
+ // We use these to set various text styles for breadcrumbs
626
+ // $crumb-font-size: emCalc(11px);
627
+ // $crumb-font-color: $primary-color;
628
+ // $crumb-font-color-current: #333;
629
+ // $crumb-font-color-unavailable: #999;
630
+ // $crumb-font-transform: uppercase;
631
+ // $crumb-link-decor: underline;
632
+
633
+ // We use these to control the slash between breadcrumbs
634
+ // $crumb-slash-color: #aaa;
635
+ // $crumb-slash: "/";
636
+
637
+ //
638
+ // Clearing Variables
639
+ //
640
+
641
+ // We use these to set the background colors for parts of Clearing
642
+ // $clearing-bg: #111;
643
+ // $clearing-caption-bg: $clearing-bg;
644
+ // $clearing-carousel-bg: #111;
645
+ // $clearing-img-bg: $clearing-bg;
646
+
647
+ // We use these to style the close button
648
+ // $clearing-close-color: #fff;
649
+ // $clearing-close-size: 40px;
650
+
651
+ // We use these to style the arrows
652
+ // $clearing-arrow-size: 16px;
653
+ // $clearing-arrow-color: $clearing-close-color;
654
+
655
+ // We use these to style captions
656
+ // $clearing-caption-font-color: #fff;
657
+ // $clearing-caption-padding: 10px 30px;
658
+
659
+ // We use these to make the image and carousel height and style
660
+ // $clearing-active-img-height: 75%;
661
+ // $clearing-carousel-height: 150px;
662
+ // $clearing-carousel-thumb-width: 175px;
663
+ // $clearing-carousel-thumb-active-border: 4px solid rgb(255,255,255);
664
+
665
+ //
666
+ // Custom Form Variables
667
+ //
668
+
669
+ // We use these to control the basic form styles input styles
670
+ // $custom-form-border-color: #ccc;
671
+ // $custom-form-bg: #fff;
672
+ // $custom-form-bg-disabled: #ddd;
673
+ // $custom-form-check-color: #222;
674
+
675
+ // We use these to style the custom select form element
676
+ // $custom-select-bg: #fff;
677
+ // $custom-select-fade-to-color: #f3f3f3;
678
+ // $custom-select-border-color: #ddd;
679
+ // $custom-select-triangle-color: #aaa;
680
+ // $custom-select-triangle-color-open: #222;
681
+ // $custom-select-height: emCalc(13px) + ($form-spacing * 1.5);
682
+ // $custom-select-margin-bottom: emCalc(20px);
683
+ // $custom-select-font-color-selected: #141414;
684
+ // $custom-select-disabled-color: #888;
685
+
686
+ // We use these to control the style of the custom select dropdown element
687
+ // $custom-dropdown-height: 200px;
688
+ // $custom-dropdown-bg: #fff;
689
+ // $custom-dropdown-border-color: darken(#fff, 20%);
690
+ // $custom-dropdown-border-width: 1px;
691
+ // $custom-dropdown-border-style: solid;
692
+ // $custom-dropdown-font-color: #555;
693
+ // $custom-dropdown-font-size: emCalc(14px);
694
+ // $custom-dropdown-color-selected: #eeeeee;
695
+ // $custom-dropdown-font-color-selected: #000;
696
+ // $custom-dropdown-shadow: 0 2px 2px 0px rgba(0,0,0,0.1);
697
+ // $custom-dropdown-offset-top: none;
698
+ // $custom-dropdown-list-padding: emCalc(4px);
699
+ // $custom-dropdown-left-padding: emCalc(6px);
700
+ // $custom-dropdown-right-padding: emCalc(38px);
701
+ // $custom-dropdown-list-item-min-height: emCalc(24px);
702
+
703
+ //
704
+ // Dropdown Variables
705
+ //
706
+
707
+ // We use these to controls height and width styles
708
+ // $f-dropdown-max-width: 200px;
709
+ // $f-dropdown-height: auto;
710
+ // $f-dropdown-max-height: none;
711
+ // $f-dropdown-margin-top: 2px;
712
+
713
+ // We use this to control the background color
714
+ // $f-dropdown-bg: #fff;
715
+
716
+ // We use this to set the border styles for dropdowns
717
+ // $f-dropdown-border-style: solid;
718
+ // $f-dropdown-border-width: 1px;
719
+ // $f-dropdown-border-color: darken(#fff, 20%);
720
+
721
+ // We use these to style the triangle pip
722
+ // $f-dropdown-triangle-size: 6px;
723
+ // $f-dropdown-triangle-color: #fff;
724
+ // $f-dropdown-triangle-side-offset: 10px;
725
+
726
+ // We use these to control styles for the list elements
727
+ // $f-dropdown-list-style: none;
728
+ // $f-dropdown-font-color: #555;
729
+ // $f-dropdown-font-size: emCalc(14px);
730
+ // $f-dropdown-list-padding: emCalc(5px) emCalc(10px);
731
+ // $f-dropdown-line-height: emCalc(18px);
732
+ // $f-dropdown-list-hover-bg: #eeeeee;
733
+ // $dropdown-mobile-left: 0;
734
+
735
+ // We use this to control the styles for when the dropdown has custom content
736
+ // $f-dropdown-content-padding: emCalc(20px);
737
+
738
+ //
739
+ // Flex Video Variables
740
+ //
741
+
742
+ // We use these to control video container padding and margins
743
+ // $flex-video-padding-top: emCalc(25px);
744
+ // $flex-video-padding-bottom: 67.5%;
745
+ // $flex-video-margin-bottom: emCalc(16px);
746
+
747
+ // We use this to control widescreen bottom padding
748
+ // $flex-video-widescreen-padding-bottom: 57.25%;
749
+
750
+ //
751
+ // Inline List Variables
752
+ //
753
+
754
+ // We use this to control the margins and padding of the inline list
755
+ // $inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
756
+ // $inline-list-margin: 0 0;
757
+ // $inline-list-padding: 0;
758
+
759
+ // We use this to control the overflow of the inline list
760
+ // $inline-list-overflow: hidden;
761
+
762
+ // We use this to control the list items
763
+ // $inline-list-display: block;
764
+
765
+ // We use this to control any elments within list items
766
+ // $inline-list-children-display: block;
767
+
768
+ //
769
+ // Joyride Variables
770
+ //
771
+
772
+ // Controlling default Joyride styles
773
+ // $joyride-tip-bg: rgb(0,0,0);
774
+ // $joyride-tip-default-width: 300px;
775
+ // $joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
776
+ // $joyride-tip-border: solid 1px #555;
777
+ // $joyride-tip-radius: 4px;
778
+ // $joyride-tip-position-offset: 22px;
779
+
780
+ // Here, we are setting the tip dont styles
781
+ // $joyride-tip-font-color: #fff;
782
+ // $joyride-tip-font-size: emCalc(14px);
783
+ // $joyride-tip-header-weight: bold;
784
+
785
+ // This changes the nub size
786
+ // $joyride-tip-nub-size: 14px;
787
+
788
+ // This adjusts the styles for the timer when its enabled
789
+ // $joyride-tip-timer-width: 50px;
790
+ // $joyride-tip-timer-height: 3px;
791
+ // $joyride-tip-timer-color: #666;
792
+
793
+ // This changes up the styles for the close button
794
+ // $joyride-tip-close-color: #777;
795
+ // $joyride-tip-close-size: 30px;
796
+ // $joyride-tip-close-weight: normal;
797
+
798
+ // When Joyride is filling the screen, we use this style for the bg
799
+ // $joyride-screenfill: rgba(0,0,0,0.5);
800
+
801
+ //
802
+ // Keystroke Variables
803
+ //
804
+
805
+ // We use these to control text styles.
806
+ // $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
807
+ // $keystroke-font-size: emCalc(15px);
808
+ // $keystroke-font-color: #222;
809
+ // $keystroke-font-color-alt: #fff;
810
+ // $keystroke-function-factor: 7%;
811
+
812
+ // We use this to control keystroke padding
813
+ // $keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
814
+
815
+ // We use these to control background and border styles
816
+ // $keystroke-bg: darken(#fff, $keystroke-function-factor);
817
+ // $keystroke-border-style: solid;
818
+ // $keystroke-border-width: 1px;
819
+ // $keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
820
+ // $keystroke-radius: $global-radius;
821
+
822
+ //
823
+ // Label Variables
824
+ //
825
+
826
+ // We use these to style the labels
827
+ // $label-padding: emCalc(3px) emCalc(10px) emCalc(4px);
828
+ // $label-radius: $global-radius;
829
+
830
+ // We use these to style the label text
831
+ // $label-font-sizing: emCalc(14px);
832
+ // $label-font-weight: bold;
833
+
834
+ //
835
+ // Magellan Variables
836
+ //
837
+
838
+ // We use these to control basic visual styles
839
+ // $magellan-bg: #fff;
840
+ // $magellan-padding: 10px;
841
+
842
+ //
843
+ // Orbit Settings
844
+ //
845
+
846
+ // We use these to control the caption styles
847
+ // $orbit-container-bg: #f5f5f5;
848
+ // $orbit-caption-bg-old-browser: #000;
849
+ // $orbit-caption-bg-old: rgb(0,0,0);
850
+ // $orbit-caption-bg: rgba(0,0,0,0.6);
851
+ // $orbit-caption-font-color: #fff;
852
+
853
+ // We use these to control the left/right nav styles
854
+ // $orbit-nav-bg-old: rgb(0,0,0);
855
+ // $orbit-nav-bg: rgba(0,0,0,0.6);
856
+
857
+ // We use these to control the timer styles
858
+ // $orbit-timer-bg-old: rgb(0,0,0);
859
+ // $orbit-timer-bg: rgba(0,0,0,0.6);
860
+
861
+ // We use these to control the bullet nav styles
862
+ // $orbit-bullet-nav-color: #999;
863
+ // $orbit-bullet-nav-color-active: #222;
864
+
865
+ // We use thes to controls the style of slide numbers
866
+ // $orbit-slide-number-bg: rgb(0,0,0);
867
+ // $orbit-slide-number-font-color: #fff;
868
+ // $orbit-slide-number-padding: emCalc(5px);
869
+
870
+ // Margin for when Orbit is stacked on small screens
871
+ // $stack-on-small-margin-bottom: emCalc(20px);
872
+
873
+ //
874
+ // Pagination Variables
875
+ //
876
+
877
+ // We use these to control the pagination container
878
+ // $pagination-height: emCalc(24px);
879
+ // $pagination-margin: emCalc(-5px);
880
+
881
+ // We use these to set the list-item properties
882
+ // $pagination-li-float: $default-float;
883
+ // $pagination-li-height: emCalc(24px);
884
+ // $pagination-li-font-color: #222;
885
+ // $pagination-li-font-size: emCalc(14px);
886
+ // $pagination-li-margin: emCalc(5px);
887
+
888
+ // We use these for the pagination anchor links
889
+ // $pagination-link-pad: emCalc(1px) emCalc(7px) emCalc(1px);
890
+ // $pagination-link-font-color: #999;
891
+ // $pagination-link-active-bg: darken(#fff, 10%);
892
+
893
+ // We use these for disabled anchor links
894
+ // $pagination-link-unavailable-cursor: default;
895
+ // $pagination-link-unavailable-font-color: #999;
896
+ // $pagination-link-unavailable-bg-active: transparent;
897
+
898
+ // We use these for currently selected anchor links
899
+ // $pagination-link-current-background: $primary-color;
900
+ // $pagination-link-current-font-color: #fff;
901
+ // $pagination-link-current-font-weight: bold;
902
+ // $pagination-link-current-cursor: default;
903
+ // $pagination-link-current-active-bg: $primary-color;
904
+
905
+ //
906
+ // Panel Variables
907
+ //
908
+
909
+ // We use these to control the background and border styles
910
+ // $panel-bg: darken(#fff, 5%);
911
+ // $panel-border-style: solid;
912
+ // $panel-border-size: 1px;
913
+
914
+ // We use this % to control how much we darken things on hover
915
+ // $panel-function-factor: 10%;
916
+ // $panel-border-color: darken($panel-bg, $panel-function-factor);
917
+
918
+ // We use these to set default inner padding and bottom margin
919
+ // $panel-margin-bottom: emCalc(20px);
920
+ // $panel-padding: emCalc(20px);
921
+
922
+ // We use these to set default font colors
923
+ // $panel-font-color: #333;
924
+ // $panel-font-color-alt: #fff;
925
+
926
+ //
927
+ // Pricing Table Variables
928
+ //
929
+
930
+ // We use this to control the border color
931
+ // $price-table-border: solid 1px #ddd;
932
+
933
+ // We use this to control the bottom margin of the pricing table
934
+ // $price-table-margin-bottom: emCalc(20px);
935
+
936
+ // We use these to control the title styles
937
+ // $price-title-bg: #ddd;
938
+ // $price-title-padding: emCalc(15px) emCalc(20px);
939
+ // $price-title-align: center;
940
+ // $price-title-color: #333;
941
+ // $price-title-weight: bold;
942
+ // $price-title-size: emCalc(16px);
943
+
944
+ // We use these to control the price styles
945
+ // $price-money-bg: #eee;
946
+ // $price-money-padding: emCalc(15px) emCalc(20px);
947
+ // $price-money-align: center;
948
+ // $price-money-color: #333;
949
+ // $price-money-weight: normal;
950
+ // $price-money-size: emCalc(20px);
951
+
952
+ // We use these to control the description styles
953
+ // $price-bg: #fff;
954
+ // $price-desc-color: #777;
955
+ // $price-desc-padding: emCalc(15px);
956
+ // $price-desc-align: center;
957
+ // $price-desc-font-size: emCalc(12px);
958
+ // $price-desc-weight: normal;
959
+ // $price-desc-line-height: 1.4;
960
+ // $price-desc-bottom-border: dotted 1px #ddd;
961
+
962
+ // We use these to control the list item styles
963
+ // $price-item-color: #333;
964
+ // $price-item-padding: emCalc(15px);
965
+ // $price-item-align: center;
966
+ // $price-item-font-size: emCalc(14px);
967
+ // $price-item-weight: normal;
968
+ // $price-item-bottom-border: dotted 1px #ddd;
969
+
970
+ // We use these to control the CTA area styles
971
+ // $price-cta-bg: #f5f5f5;
972
+ // $price-cta-align: center;
973
+ // $price-cta-padding: emCalc(20px) emCalc(20px) 0;
974
+
975
+ //
976
+ // Progress Bar Variables
977
+ //
978
+
979
+ // We use this to se the prog bar height
980
+ // $progress-bar-height: emCalc(25px);
981
+ // $progress-bar-color: transparent;
982
+
983
+ // We use these to control the border styles
984
+ // $progress-bar-border-color: darken(#fff, 20%);
985
+ // $progress-bar-border-size: 1px;
986
+ // $progress-bar-border-style: solid;
987
+ // $progress-bar-border-radius: $global-radius;
988
+
989
+ // We use these to control the margin & padding
990
+ // $progress-bar-pad: emCalc(2px);
991
+ // $progress-bar-margin-bottom: emCalc(10px);
992
+
993
+ // We use these to set the meter colors
994
+ // $progress-meter-color: $primary-color;
995
+ // $progress-meter-secondary-color: $secondary-color;
996
+ // $progress-meter-success-color: $success-color;
997
+ // $progress-meter-alert-color: $alert-color;
998
+
999
+ //
1000
+ // Reveal Variables
1001
+ //
1002
+
1003
+ // We use these to control the style of the reveal overlay
1004
+ // $reveal-overlay-bg: rgba(#000, .45);
1005
+ // $reveal-overlay-bg-old: #000;
1006
+
1007
+ // We use these to control the style of the modal itself
1008
+ // $reveal-modal-bg: #fff;
1009
+ // $reveal-position-top: 50px;
1010
+ // $reveal-default-width: 80%;
1011
+ // $reveal-modal-padding: emCalc(20px);
1012
+ // $reveal-box-shadow: 0 0 10px rgba(#000,.4);
1013
+
1014
+ // We use these to style the reveal close button
1015
+ // $reveal-close-font-size: emCalc(22px);
1016
+ // $reveal-close-top: emCalc(8px);
1017
+ // $reveal-close-side: emCalc(11px);
1018
+ // $reveal-close-color: #aaa;
1019
+ // $reveal-close-weight: bold;
1020
+
1021
+ // We use these to control the modal border
1022
+ // $reveal-border-style: solid;
1023
+ // $reveal-border-width: 1px;
1024
+ // $reveal-border-color: #666;
1025
+
1026
+ //
1027
+ // Section Variables
1028
+ //
1029
+
1030
+ // We use these to set padding and hover factor
1031
+ // $section-padding: emCalc(15px);
1032
+ // $section-function-factor: 10%;
1033
+
1034
+ // These style the titles
1035
+ // $section-title-color: #333;
1036
+ // $section-title-bg: #efefef;
1037
+ // $section-title-bg-active: darken($section-title-bg, $section-function-factor);
1038
+ // $section-title-bg-active-tabs: #fff;
1039
+
1040
+ // Want to control border size, here ya go!
1041
+ // $section-border-size: 1px;
1042
+ // $section-border-style: solid;
1043
+ // $section-border-color: #ccc;
1044
+
1045
+ // Control the color of the background and some size options
1046
+ // $section-content-bg: #fff;
1047
+ // $section-vertical-nav-min-width: emCalc(200px);
1048
+ // $section-bottom-margin: emCalc(20px);
1049
+
1050
+ //
1051
+ // Side Nav Variables
1052
+ //
1053
+
1054
+ // We use this to control padding
1055
+ // $side-nav-padding: emCalc(14px) 0;
1056
+
1057
+ // We use these to control list styles
1058
+ // $side-nav-list-type: none;
1059
+ // $side-nav-list-position: inside;
1060
+ // $side-nav-list-margin: 0 0 emCalc(7px) 0;
1061
+
1062
+ // We use these to control link styles
1063
+ // $side-nav-link-color: $primary-color;
1064
+ // $side-nav-link-color-active: lighten(#000, 30%);
1065
+ // $side-nav-font-size: emCalc(14px);
1066
+ // $side-nav-font-weight: bold;
1067
+
1068
+ // We use these to control border styles
1069
+ // $side-nav-divider-size: 1px;
1070
+ // $side-nav-divider-style: solid;
1071
+ // $side-nav-divider-color: darken(#fff, 10%);
1072
+
1073
+ //
1074
+ // Sub Nav Variables
1075
+ //
1076
+
1077
+ // We use these to control margin and padding
1078
+ // $sub-nav-list-margin: emCalc(-4px) 0 emCalc(18px);
1079
+ // $sub-nav-list-padding-top: emCalc(4px);
1080
+
1081
+ // We use this to control the definition
1082
+ // $sub-nav-font-size: emCalc(14px);
1083
+ // $sub-nav-font-color: #999;
1084
+ // $sub-nav-font-weight: normal;
1085
+ // $sub-nav-text-decoration: none;
1086
+ // $sub-nav-border-radius: 1000px;
1087
+
1088
+ // We use these to control the active item styles
1089
+ // $sub-nav-active-font-weight: bold;
1090
+ // $sub-nav-active-bg: $primary-color;
1091
+ // $sub-nav-active-color: #fff;
1092
+ // $sub-nav-active-padding: emCalc(3px) emCalc(9px);
1093
+ // $sub-nav-active-cursor: default;
1094
+
1095
+ //
1096
+ // Switch Variables
1097
+ //
1098
+
1099
+ // Controlling border styles and background colors for the switch container
1100
+ // $switch-border-color: darken(#fff, 20%);
1101
+ // $switch-border-style: solid;
1102
+ // $switch-border-width: 1px;
1103
+ // $switch-bg: #fff;
1104
+
1105
+ // We use these to control the switch heights for our default classes
1106
+ // $switch-height-tny: 22px;
1107
+ // $switch-height-sml: 28px;
1108
+ // $switch-height-med: 36px;
1109
+ // $switch-height-lrg: 44px;
1110
+ // $switch-bottom-margin: emCalc(20px);
1111
+
1112
+ // We use these to control default font sizes for our classes
1113
+ // $switch-font-size-tny: 11px;
1114
+ // $switch-font-size-sml: 12px;
1115
+ // $switch-font-size-med: 14px;
1116
+ // $switch-font-size-lrg: 17px;
1117
+ // $switch-label-side-padding: 6px;
1118
+
1119
+ // We use these to style the switch-paddle
1120
+ // $switch-paddle-bg: #fff;
1121
+ // $switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%);
1122
+ // $switch-paddle-border-color: darken($switch-paddle-bg, 35%);
1123
+ // $switch-paddle-border-width: 1px;
1124
+ // $switch-paddle-border-style: solid;
1125
+ // $switch-paddle-transition-speed: .1s;
1126
+ // $switch-paddle-transition-ease: ease-out;
1127
+ // $switch-positive-color: lighten($success-color, 50%);
1128
+ // $switch-negative-color: #f5f5f5;
1129
+
1130
+ // Outline Style for tabbing through switches
1131
+ // $switch-label-outline: 1px dotted #888;
1132
+
1133
+ //
1134
+ // Table Variables
1135
+ //
1136
+
1137
+ // These control the background color for the table and even rows
1138
+ // $table-bg: #fff;
1139
+ // $table-even-row-bg: #f9f9f9;
1140
+
1141
+ // These control the table cell border style
1142
+ // $table-border-style: solid;
1143
+ // $table-border-size: 1px;
1144
+ // $table-border-color: #ddd;
1145
+
1146
+ // These control the table head styles
1147
+ // $table-head-bg: #f5f5f5;
1148
+ // $table-head-font-size: emCalc(14px);
1149
+ // $table-head-font-color: #222;
1150
+ // $table-head-font-weight: bold;
1151
+ // $table-head-padding: emCalc(8px) emCalc(10px) emCalc(10px);
1152
+
1153
+ // These control the row padding and font styles
1154
+ // $table-row-padding: emCalc(9px) emCalc(10px);
1155
+ // $table-row-font-size: emCalc(14px);
1156
+ // $table-row-font-color: #222;
1157
+ // $table-line-height: emCalc(18px);
1158
+
1159
+ // These are for controlling the display and margin of tables
1160
+ // $table-display: table-cell;
1161
+ // $table-margin-bottom: emCalc(20px);
1162
+
1163
+ //
1164
+ // Image Thumbnail Variables
1165
+ //
1166
+
1167
+ // We use these to control border styles
1168
+ // $thumb-border-style: solid;
1169
+ // $thumb-border-width: 4px;
1170
+ // $thumb-border-color: #fff;
1171
+ // $thumb-box-shadow: 0 0 0 1px rgba(#000,.2);
1172
+ // $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
1173
+
1174
+ // Radius and transition speed for thumbs
1175
+ // $thumb-radius: $global-radius;
1176
+ // $thumb-transition-speed: 200ms;
1177
+
1178
+ //
1179
+ // Tooltip Variables
1180
+ //
1181
+ // $has-tip-border-bottom: dotted 1px #ccc;
1182
+ // $has-tip-font-weight: bold;
1183
+ // $has-tip-font-color: #333;
1184
+ // $has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%);
1185
+ // $has-tip-font-color-hover: $primary-color;
1186
+ // $has-tip-cursor-type: help;
1187
+
1188
+ // $tooltip-padding: emCalc(8px);
1189
+ // $tooltip-bg: #000;
1190
+ // $tooltip-font-size: emCalc(15px);
1191
+ // $tooltip-font-weight: bold;
1192
+ // $tooltip-font-color: #fff;
1193
+ // $tooltip-line-height: 1.3;
1194
+ // $tooltip-close-font-size: emCalc(10px);
1195
+ // $tooltip-close-font-weight: normal;
1196
+ // $tooltip-close-font-color: #888;
1197
+ // $tooltip-font-size-sml: emCalc(14px);
1198
+ // $tooltip-radius: $global-radius;
1199
+ // $tooltip-pip-size: 5px;
1200
+
1201
+ //
1202
+ // Top Bar Variables
1203
+ //
367
1204
 
1205
+ // Background color for the top bar
1206
+ // $topbar-bg: #111;
1207
+
1208
+ // Height and margin
1209
+ // $topbar-height: 45px;
1210
+ // $topbar-margin-bottom: emCalc(30px);
1211
+
1212
+ // Control Input height for top bar
1213
+ // $topbar-input-height: 2.45em;
1214
+
1215
+ // Controlling the styles for the title in the top bar
1216
+ // $topbar-title-weight: bold;
1217
+ // $topbar-title-font-size: emCalc(17px);
1218
+
1219
+ // Set the link colors and styles for top-level nav
1220
+ // $topbar-link-color: #fff;
1221
+ // $topbar-link-weight: bold;
1222
+ // $topbar-link-font-size: emCalc(13px);
1223
+ // $topbar-link-hover-lightness: -30% !default; // Darken by 30%
1224
+
1225
+ // Style the top bar dropdown elements
1226
+ // $topbar-dropdown-bg: #333;
1227
+ // $topbar-dropdown-link-color: #fff;
1228
+ // $topbar-dropdown-toggle-size: 5px;
1229
+ // $topbar-dropdown-toggle-color: #fff;
1230
+ // $topbar-dropdown-toggle-alpha: 0.5;
1231
+ // $dropdown-label-color: #555;
1232
+
1233
+ // Top menu icon styles
1234
+ // $topbar-menu-link-transform: uppercase;
1235
+ // $topbar-menu-link-font-size: emCalc(13px);
1236
+ // $topbar-menu-link-weight: bold;
1237
+ // $topbar-menu-link-color: #fff;
1238
+ // $topbar-menu-icon-color: #fff;
1239
+ // $topbar-menu-link-color-toggled: #888;
1240
+ // $topbar-menu-icon-color-toggled: #888;
1241
+
1242
+ // Transitions and breakpoint styles
1243
+ // $topbar-transition-speed: 300ms;
1244
+ // $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout
1245
+ // $topbar-media-query: "only screen and (min-width: "#{$topbar-breakpoint}")";
368
1246
  ', :css %>
369
1247
 
370
1248