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
@@ -102,7 +102,8 @@
102
102
  .on('click.fndtn.topbar', '.top-bar .has-dropdown>a', function (e) {
103
103
  var topbar = $(this).closest('.top-bar'),
104
104
  section = topbar.find('section, .section'),
105
- titlebar = topbar.children('ul').first();
105
+ titlebar = topbar.children('ul').first(),
106
+ dropdownHeight = $(this).next('.dropdown').outerHeight();
106
107
 
107
108
  if (Modernizr.touch || self.breakpoint()) {
108
109
  e.preventDefault();
@@ -122,6 +123,8 @@
122
123
  section.find('>.name').css({right: 100 * topbar.data('index') + '%'});
123
124
  }
124
125
 
126
+ $('.top-bar').css('min-height', dropdownHeight);
127
+
125
128
  $this.siblings('ul')
126
129
  .height(topbar.data('height') + self.outerHeight(titlebar, true));
127
130
  topbar
@@ -13,8 +13,8 @@ module Foundation
13
13
  # rails_ujs breaks, need to incorporate rails-behavior plugin for this to work seamlessly
14
14
  # gsub_file "app/assets/javascripts/application#{detect_js_format[0]}", /\/\/= require jquery\n/, ""
15
15
  insert_into_file "app/assets/javascripts/application#{detect_js_format[0]}", "#{detect_js_format[1]} require foundation\n", :after => "jquery_ujs\n"
16
- append_to_file "app/assets/javascripts/application#{detect_js_format[0]}", "\n$(document).foundation();\n"
17
- settings_file = File.join(File.dirname(__FILE__),"..","..","..","templates","project","scss","_settings.scss")
16
+ append_to_file "app/assets/javascripts/application#{detect_js_format[0]}", "\n$(function(){ $(document).foundation(); });\n"
17
+ settings_file = File.join(File.dirname(__FILE__),"..","..","..","scss","foundation","_variables.scss")
18
18
  create_file "app/assets/stylesheets/foundation_and_overrides.scss", File.read(settings_file)
19
19
  append_to_file "app/assets/stylesheets/foundation_and_overrides.scss", "\n@import 'foundation';\n"
20
20
  insert_into_file "app/assets/stylesheets/application#{detect_css_format[0]}", "#{detect_css_format[1]} require foundation_and_overrides\n", :after => "require_self\n"
@@ -1,3 +1,3 @@
1
1
  module Foundation
2
- VERSION = "4.1.2"
2
+ VERSION = "4.1.5"
3
3
  end
@@ -2,7 +2,7 @@
2
2
  @charset "UTF-8";
3
3
 
4
4
  // This includes all of the foundation global elements that are needed to work with any of the other files.
5
- @import "foundation/foundation-global";
5
+ @import "foundation/variables";
6
6
 
7
7
  // Foundation Components
8
8
  @import
@@ -1,52 +1,64 @@
1
- // Required global settings and mixins for Foundation
2
- @import "foundation/foundation-global";
1
+ //
2
+ // Foundation Variables
3
+ //
3
4
 
4
- // Settings file to override Foundation variables
5
+ //// The default font-size is set to 100% of the browser style sheet (usually 16px)
6
+ //// for compatibility with brower-based text zoom or user-set defaults.
7
+ $base-font-size: 100% !default;
5
8
 
6
- // You can find the variables for each component at the bottom of their
7
- // doc page. We tried to name them to where they'd make sense just by reading them.
8
- // Go to http://foundation.zurb.com/docs/ to find what you need.
9
+ //// $base-line-height is 24px while $base-font-size is 16px
10
+ //// $base-line-height: 150%;
9
11
 
10
- //
11
- // Foundation Global Variables
12
- //
12
+ //// This is the default html and body font-size for the base em value.
13
+
14
+ //// Since the typical default browser font-size is 16px, that makes the calculation for grid size.
15
+ //// If you want your base font-size to be a different size and not have it effect grid size too,
16
+ //// set the value of $em-base to $base-font-size ($em-base: $base-font-size;)
17
+ $em-base: 16px !default;
18
+
19
+ //// Working in ems is annoying. Think in pixels by using this handy function, emCalc(#px)
20
+ @function emCalc($pxWidth) {
21
+ @return $pxWidth / $em-base * 1em;
22
+ }
13
23
 
14
- // This is the default html and body font-size for the base em value.
15
- // $em-base: 16px;
24
+ //// Various global styles
16
25
 
17
- // We use these to control various global styles
18
26
  // $body-bg: #fff;
19
27
  // $body-font-color: #222;
20
28
  // $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
21
29
  // $body-font-weight: normal;
22
30
  // $body-font-style: normal;
23
31
 
24
- // We use this to control font-smoothing
32
+ //// Font-smoothing
33
+
25
34
  // $font-smoothing: antialiased;
26
35
 
27
- // We use these to control text direction settings
36
+ //// Text direction settings
37
+
28
38
  // $text-direction: ltr;
29
39
 
30
- // We use these as default colors throughout
40
+ //// Colors
41
+
31
42
  // $primary-color: #2ba6cb;
32
43
  // $secondary-color: #e9e9e9;
33
44
  // $alert-color: #c60f13;
34
45
  // $success-color: #5da423;
35
46
 
36
- // We use these to make sure border radius matches unless we want it different.
47
+ //// Make sure border radius matches unless we want it different.
48
+
37
49
  // $global-radius: 3px;
38
50
  // $global-rounded: 1000px;
39
51
 
40
- // We use these to control inset shadow shiny edges and depressions.
52
+ //// Inset shadow shiny edges and depressions.
53
+
41
54
  // $shiny-edge-size: 0 1px 0;
42
55
  // $shiny-edge-color: rgba(#fff, .5);
43
56
  // $shiny-edge-active-color: rgba(#000, .2);
44
57
 
45
- // We use this to control whether or not CSS classes come through in the gem files.
58
+ //// Control whether or not CSS classes come through in the CSS files.
59
+
46
60
  // $include-html-classes: true;
47
61
  // $include-print-styles: true;
48
-
49
- // Modular html classes
50
62
  // $include-html-grid-classes: $include-html-classes;
51
63
  // $include-html-visibility-classes: $include-html-classes;
52
64
  // $include-html-button-classes: $include-html-classes;
@@ -60,31 +72,48 @@
60
72
  // $include-html-panel-classes: $include-html-classes;
61
73
  // $include-html-pricing-classes: $include-html-classes;
62
74
  // $include-html-progress-classes: $include-html-classes;
75
+ // $include-html-magellan-classes: $include-html-classes;
76
+
77
+ //// Media Queries
78
+
79
+ // $small-screen: emCalc(768px);
80
+ // $medium-screen: emCalc(1280px);
81
+ // $large-screen: emCalc(1440px);
82
+
83
+ // $screen: "only screen";
84
+ // $small: "only screen and (min-width:"#{$small-screen}")";
85
+ // $medium: "only screen and (min-width:"#{$medium-screen}")";
86
+ // $large: "only screen and (min-width:"#{$large-screen}")";
87
+ // $landscape: "only screen and (orientation: landscape)";
88
+ // $portrait: "only screen and (orientation: portrait)";
63
89
 
64
90
  //
65
91
  // Grid Variables
66
92
  //
67
93
 
68
- // $row-width: 62.5em;
69
- // $column-gutter: 1.875em;
94
+ // $row-width: emCalc(1000px);
95
+ // $column-gutter: emCalc(30px);
70
96
  // $total-columns: 12;
71
97
 
72
98
  //
73
99
  // Block Grid Variables
74
100
  //
75
101
 
76
- // We use this to control the maximum number of block grid elements per row
102
+ //// Maximum number of block grid elements per row
103
+
77
104
  // $block-grid-elements: 12;
78
105
  // $block-grid-default-spacing: 10px;
79
106
 
80
- // Enables media queries for block-grid classes. Set to false if writing semantic HTML.
107
+ //// Enables media queries for block-grid classes. Set to false if writing semantic HTML.
108
+
81
109
  // $block-grid-media-queries: true;
82
110
 
83
111
  //
84
112
  // Typography Variables
85
113
  //
86
114
 
87
- // We use these to control header font styles
115
+ //// Heading font styles
116
+
88
117
  // $header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
89
118
  // $header-font-weight: bold;
90
119
  // $header-font-style: normal;
@@ -94,7 +123,8 @@
94
123
  // $header-bottom-margin: .5em;
95
124
  // $header-text-rendering: optimizeLegibility;
96
125
 
97
- // We use these to control header font sizes
126
+ //// Heading font sizes
127
+
98
128
  // $h1-font-size: emCalc(44px);
99
129
  // $h2-font-size: emCalc(37px);
100
130
  // $h3-font-size: emCalc(27px);
@@ -102,18 +132,21 @@
102
132
  // $h5-font-size: emCalc(18px);
103
133
  // $h6-font-size: 1em;
104
134
 
105
- // These control how subheaders are styled.
135
+ //// Subheaders
136
+
106
137
  // $subheader-line-height: 1.4;
107
138
  // $subheader-font-color: lighten($header-font-color, 30%);
108
139
  // $subheader-font-weight: 300;
109
140
  // $subheader-top-margin: .2em;
110
141
  // $subheader-bottom-margin: .5em;
111
142
 
112
- // A general <small> styling
143
+ //// <small> styling
144
+
113
145
  // $small-font-size: 60%;
114
146
  // $small-font-color: lighten($header-font-color, 30%);
115
147
 
116
- // We use these to style paragraphs
148
+ //// Paragraphs
149
+
117
150
  // $paragraph-font-family: inherit;
118
151
  // $paragraph-font-weight: normal;
119
152
  // $paragraph-font-size: 1em;
@@ -123,30 +156,35 @@
123
156
  // $paragraph-aside-line-height: 1.35;
124
157
  // $paragraph-aside-font-style: italic;
125
158
 
126
- // We use these to style <code> tags
159
+ //// <code> tags
160
+
127
161
  // $code-color: darken($alert-color, 15%);
128
162
  // $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
129
163
  // $code-font-weight: bold;
130
164
 
131
- // We use these to style anchors
165
+ //// Anchors
166
+
132
167
  // $anchor-text-decoration: none;
133
168
  // $anchor-font-color: $primary-color;
134
169
  // $anchor-font-color-hover: darken($primary-color, 5%);
135
170
 
136
- // We use these to style the <hr> element
171
+ //// <hr> element
172
+
137
173
  // $hr-border-width: 1px;
138
174
  // $hr-border-style: solid;
139
175
  // $hr-border-color: #ddd;
140
176
  // $hr-margin: emCalc(20px);
141
177
 
142
- // We use these to style lists
178
+ //// Lists
179
+
143
180
  // $list-style-position: outside;
144
181
  // $list-side-margin: emCalc(18px);
145
182
  // $definition-list-header-weight: bold;
146
183
  // $definition-list-header-margin-bottom: .3em;
147
184
  // $definition-list-margin-bottom: emCalc(12px);
148
185
 
149
- // We use these to style blockquotes
186
+ //// Blockquotes
187
+
150
188
  // $blockquote-font-color: lighten($header-font-color, 30%);
151
189
  // $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px);
152
190
  // $blockquote-border: 1px solid #ddd;
@@ -154,29 +192,36 @@
154
192
  // $blockquote-cite-font-color: lighten($header-font-color, 20%);
155
193
  // $blockquote-cite-link-color: $blockquote-cite-font-color;
156
194
 
157
- // Acronym styles
195
+ //// Acronym
196
+
158
197
  // $acronym-underline: 1px dotted #ddd;
159
198
 
160
- // We use these to control padding and margin
199
+ //// Padding and margin
200
+
161
201
  // $microformat-padding: emCalc(10px) emCalc(12px);
162
202
  // $microformat-margin: 0 0 emCalc(20px) 0;
163
203
 
164
- // We use these to control the border styles
204
+ //// Border styles
205
+
165
206
  // $microformat-border-width: 1px;
166
207
  // $microformat-border-style: solid;
167
208
  // $microformat-border-color: #ddd;
168
209
 
169
- // We use these to control full name font styles
210
+ //// Full name font styles
211
+
170
212
  // $microformat-fullname-font-weight: bold;
171
213
  // $microformat-fullname-font-size: emCalc(15px);
172
214
 
173
- // We use this to control the summary font styles
215
+ //// Summary font styles
216
+
174
217
  // $microformat-summary-font-weight: bold;
175
218
 
176
- // We use this to control abbr padding
219
+ //// <abbr> padding
220
+
177
221
  // $microformat-abbr-padding: 0 emCalc(1px);
178
222
 
179
- // We use this to control abbr font styles
223
+ //// <abbr> font styles
224
+
180
225
  // $microformat-abbr-font-weight: bold;
181
226
  // $microformat-abbr-font-decoration: none;
182
227
 
@@ -184,10 +229,12 @@
184
229
  // Form Variables
185
230
  //
186
231
 
187
- // We use this to set the base for lots of form spacing and positioning styles
232
+ //// Base for lots of form spacing and positioning styles
233
+
188
234
  // $form-spacing: emCalc(16px);
189
235
 
190
- // We use these to style the labels in different ways
236
+ //// Labels
237
+
191
238
  // $label-pointer: pointer;
192
239
  // $label-font-size: emCalc(14px);
193
240
  // $label-font-weight: 500;
@@ -205,19 +252,22 @@
205
252
  // $input-disabled-bg: #ddd;
206
253
  // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
207
254
 
208
- // We use these to style the fieldset border and spacing.
255
+ //// Fieldset border and spacing.
256
+
209
257
  // $fieldset-border-style: solid;
210
258
  // $fieldset-border-width: 1px;
211
259
  // $fieldset-border-color: #ddd;
212
260
  // $fieldset-padding: emCalc(20px);
213
261
  // $fieldset-margin: emCalc(18px) 0;
214
262
 
215
- // We use these to style the legends when you use them
263
+ //// Legends
264
+
216
265
  // $legend-bg: #fff;
217
266
  // $legend-font-weight: bold;
218
267
  // $legend-padding: 0 emCalc(3px);
219
268
 
220
- // We use these to style the prefix and postfix input elements
269
+ //// Prefix and postfix input elements
270
+
221
271
  // $input-prefix-bg: darken(#fff, 5%);
222
272
  // $input-prefix-border-color: darken(#fff, 20%);
223
273
  // $input-prefix-border-size: 1px;
@@ -226,7 +276,8 @@
226
276
  // $input-prefix-font-color: #333;
227
277
  // $input-prefix-font-color-alt: #fff;
228
278
 
229
- // We use these to style the error states for inputs and labels
279
+ //// Error states for inputs and labels
280
+
230
281
  // $input-error-message-padding: emCalc(6px) emCalc(4px);
231
282
  // $input-error-message-top: -($form-spacing) - emCalc(5px);
232
283
  // $input-error-message-font-size: emCalc(12px);
@@ -234,17 +285,20 @@
234
285
  // $input-error-message-font-color: #fff;
235
286
  // $input-error-message-font-color-alt: #333;
236
287
 
237
- // We use these to build padding for buttons.
238
- // $button-med: emCalc(12px);
288
+ //// Padding for buttons.
289
+
239
290
  // $button-tny: emCalc(7px);
240
291
  // $button-sml: emCalc(9px);
292
+ // $button-med: emCalc(12px);
241
293
  // $button-lrg: emCalc(16px);
242
294
 
243
- // We use this to control the display property.
295
+ //// Display property.
296
+
244
297
  // $button-display: inline-block;
245
298
  // $button-margin-bottom: emCalc(20px);
246
299
 
247
- // We use these to control button text styles.
300
+ //// Button text styles.
301
+
248
302
  // $button-font-family: inherit;
249
303
  // $button-font-color: #fff;
250
304
  // $button-font-color-alt: #333;
@@ -255,47 +309,56 @@
255
309
  // $button-font-weight: bold;
256
310
  // $button-font-align: center;
257
311
 
258
- // We use these to control various hover effects.
312
+ //// Various hover effects.
313
+
259
314
  // $button-function-factor: 10%;
260
315
 
261
- // We use these to control button border styles.
316
+ //// Button border styles.
317
+
262
318
  // $button-border-width: 1px;
263
319
  // $button-border-style: solid;
264
320
  // $button-border-color: darken($primary-color, $button-function-factor);
265
321
 
266
- // We use this to set the default radius used throughout the core.
322
+ //// Radius used throughout the core.
323
+
267
324
  // $button-radius: $global-radius;
268
325
 
269
- // We use this to set default opacity for disabled buttons.
326
+ //// Opacity for disabled buttons.
327
+
270
328
  // $button-disabled-opacity: 0.6;
271
329
 
272
330
  //
273
331
  // Dropdown Button Variables
274
332
  //
275
333
 
276
- // We use these to set the color of the pip in dropdown buttons
334
+ // Color of the pip in dropdown buttons
335
+
277
336
  // $dropdown-button-pip-color: #fff;
278
337
  // $dropdown-button-pip-color-alt: #333;
279
338
 
280
- // We use these to style tiny dropdown buttons
339
+ //// Tiny dropdown buttons
340
+
281
341
  // $dropdown-button-padding-tny: $button-tny * 5;
282
342
  // $dropdown-button-pip-size-tny: $button-tny;
283
343
  // $dropdown-button-pip-right-tny: $button-tny * 2;
284
344
  // $dropdown-button-pip-top-tny: -$button-tny / 2 + emCalc(1px);
285
345
 
286
- // We use these to style small dropdown buttons
346
+ //// Small dropdown buttons
347
+
287
348
  // $dropdown-button-padding-sml: $button-sml * 5;
288
349
  // $dropdown-button-pip-size-sml: $button-sml;
289
350
  // $dropdown-button-pip-right-sml: $button-sml * 2;
290
351
  // $dropdown-button-pip-top-sml: -$button-sml / 2 + emCalc(1px);
291
352
 
292
- // We use these to style medium dropdown buttons
353
+ //// Medium dropdown buttons
354
+
293
355
  // $dropdown-button-padding-med: $button-med * 4 + emCalc(3px);
294
356
  // $dropdown-button-pip-size-med: $button-med - emCalc(3px);
295
357
  // $dropdown-button-pip-right-med: $button-med * 2;
296
358
  // $dropdown-button-pip-top-med: -$button-med / 2 + emCalc(2px);
297
359
 
298
- // We use these to style large dropdown buttons
360
+ //// Large dropdown buttons
361
+
299
362
  // $dropdown-button-padding-lrg: $button-lrg * 4;
300
363
  // $dropdown-button-pip-size-lrg: $button-lrg - emCalc(6px);
301
364
  // $dropdown-button-pip-right-lrg: $button-lrg + emCalc(12px);
@@ -305,34 +368,39 @@
305
368
  // Split Button Variables
306
369
  //
307
370
 
308
- // We use these to control different shared styles for Split Buttons
371
+ //// Shared styles for Split Buttons
372
+
309
373
  // $split-button-function-factor: 15%;
310
374
  // $split-button-pip-color: #fff;
311
375
  // $split-button-pip-color-alt: #333;
312
376
  // $split-button-active-bg-tint: rgba(0,0,0,0.1);
313
377
 
314
- // We use these to control tiny split buttons
378
+ //// Tiny split buttons
379
+
315
380
  // $split-button-padding-tny: $button-tny * 9;
316
381
  // $split-button-span-width-tny: $button-tny * 6.5;
317
382
  // $split-button-pip-size-tny: $button-tny;
318
383
  // $split-button-pip-top-tny: $button-tny * 2;
319
384
  // $split-button-pip-left-tny: emCalc(-5px);
320
385
 
321
- // We use these to control small split buttons
386
+ //// Small split buttons
387
+
322
388
  // $split-button-padding-sml: $button-sml * 7;
323
389
  // $split-button-span-width-sml: $button-sml * 5;
324
390
  // $split-button-pip-size-sml: $button-sml;
325
391
  // $split-button-pip-top-sml: $button-sml * 1.5;
326
392
  // $split-button-pip-left-sml: emCalc(-9px);
327
393
 
328
- // We use these to control medium split buttons
394
+ //// Medium split buttons
395
+
329
396
  // $split-button-padding-med: $button-med * 6.4;
330
397
  // $split-button-span-width-med: $button-med * 4;
331
398
  // $split-button-pip-size-med: $button-med - emCalc(3px);
332
399
  // $split-button-pip-top-med: $button-med * 1.5;
333
400
  // $split-button-pip-left-med: emCalc(-9px);
334
401
 
335
- // We use these to control large split buttons
402
+ //// Large split buttons
403
+
336
404
  // $split-button-padding-lrg: $button-lrg * 6;
337
405
  // $split-button-span-width-lrg: $button-lrg * 3.75;
338
406
  // $split-button-pip-size-lrg: $button-lrg - emCalc(6px);
@@ -343,28 +411,33 @@
343
411
  // Alert Variables
344
412
  //
345
413
 
346
- // We use this to control alert padding.
414
+ //// Alert padding.
415
+
347
416
  // $alert-padding-top: emCalc(11px);
348
417
  // $alert-padding-left: $alert-padding-top;
349
418
  // $alert-padding-right: $alert-padding-top + emCalc(10px);
350
419
  // $alert-padding-bottom: $alert-padding-top + emCalc(1px);
351
420
 
352
- // We use these to control text style.
421
+ //// Text style.
422
+
353
423
  // $alert-font-weight: bold;
354
424
  // $alert-font-size: emCalc(14px);
355
425
  // $alert-font-color: #fff;
356
426
  // $alert-font-color-alt: darken($secondary-color, 60%);
357
427
 
358
- // We use this for close hover effect.
428
+ //// Close hover effect.
429
+
359
430
  // $alert-function-factor: 10%;
360
431
 
361
- // We use these to control border styles.
432
+ //// Border styles.
433
+
362
434
  // $alert-border-style: solid;
363
435
  // $alert-border-width: 1px;
364
436
  // $alert-border-color: darken($primary-color, $alert-function-factor);
365
437
  // $alert-bottom-margin: emCalc(20px);
366
438
 
367
- // We use these to style the close buttons
439
+ //// Close buttons
440
+
368
441
  // $alert-close-color: #333;
369
442
  // $alert-close-position: emCalc(5px);
370
443
  // $alert-close-font-size: emCalc(22px);
@@ -372,28 +445,33 @@
372
445
  // $alert-close-opacity-hover: 0.5;
373
446
  // $alert-close-padding: 5px 4px 4px;
374
447
 
375
- // We use this to control border radius
448
+ //// Border radius
449
+
376
450
  // $alert-radius: $global-radius;
377
451
 
378
452
  //
379
453
  // Breadcrumb Variables
380
454
  //
381
455
 
382
- // We use this to set the background color for the breadcrumb container.
456
+ //// Background color for the breadcrumb container.
457
+
383
458
  // $crumb-bg: lighten($secondary-color, 5%);
384
459
 
385
- // We use these to set the padding around the breadcrumbs.
460
+ //// Padding around the breadcrumbs.
461
+
386
462
  // $crumb-padding: emCalc(6px) emCalc(14px) emCalc(9px);
387
463
  // $crumb-side-padding: emCalc(12px);
388
464
 
389
- // We use these to control border styles.
465
+ //// Border styles.
466
+
390
467
  // $crumb-function-factor: 10%;
391
468
  // $crumb-border-size: 1px;
392
469
  // $crumb-border-style: solid;
393
470
  // $crumb-border-color: darken($crumb-bg, $crumb-function-factor);
394
471
  // $crumb-radius: $global-radius;
395
472
 
396
- // We use these to set various text styles for breadcrumbs.
473
+ //// Various text styles for breadcrumbs.
474
+
397
475
  // $crumb-font-size: emCalc(11px);
398
476
  // $crumb-font-color: $primary-color;
399
477
  // $crumb-font-color-current: #333;
@@ -401,7 +479,8 @@
401
479
  // $crumb-font-transform: uppercase;
402
480
  // $crumb-link-decor: underline;
403
481
 
404
- // We use these to control the slash between breadcrumbs
482
+ //// Slash between breadcrumbs
483
+
405
484
  // $crumb-slash-color: #aaa;
406
485
  // $crumb-slash: "/";
407
486
 
@@ -409,25 +488,30 @@
409
488
  // Clearing Variables
410
489
  //
411
490
 
412
- // We use these to set the background colors for parts of Clearing.
491
+ //// Background colors for parts of Clearing.
492
+
413
493
  // $clearing-bg: #111;
414
494
  // $clearing-caption-bg: $clearing-bg;
415
495
  // $clearing-carousel-bg: #111;
416
496
  // $clearing-img-bg: $clearing-bg;
417
497
 
418
- // We use these to style the close button
498
+ //// Close button
499
+
419
500
  // $clearing-close-color: #fff;
420
501
  // $clearing-close-size: 40px;
421
502
 
422
- // We use these to style the arrows
503
+ //// Style the arrows
504
+
423
505
  // $clearing-arrow-size: 16px;
424
506
  // $clearing-arrow-color: $clearing-close-color;
425
507
 
426
- // We use these to style captions
508
+ //// Style captions
509
+
427
510
  // $clearing-caption-font-color: #fff;
428
511
  // $clearing-caption-padding: 10px 30px;
429
512
 
430
- // We use these to make the image and carousel height and style
513
+ //// Make the image and carousel height and style
514
+
431
515
  // $clearing-active-img-height: 75%;
432
516
  // $clearing-carousel-height: 150px;
433
517
  // $clearing-carousel-thumb-width: 175px;
@@ -437,13 +521,15 @@
437
521
  // Custom Form Variables
438
522
  //
439
523
 
440
- // We use these to control the basic form styles input styles
524
+ //// Basic form styles input styles
525
+
441
526
  // $custom-form-border-color: #ccc;
442
527
  // $custom-form-bg: #fff;
443
528
  // $custom-form-bg-disabled: #ddd;
444
529
  // $custom-form-check-color: #222;
445
530
 
446
- // We use these to style the custom select form element.
531
+ //// Custom select form element.
532
+
447
533
  // $custom-select-bg: #fff;
448
534
  // $custom-select-fade-to-color: #f3f3f3;
449
535
  // $custom-select-border-color: #ddd;
@@ -454,7 +540,8 @@
454
540
  // $custom-select-font-color-selected: #141414;
455
541
  // $custom-select-disabled-color: #888;
456
542
 
457
- // We use these to control the style of the custom select dropdown element.
543
+ //// Custom select dropdown element.
544
+
458
545
  // $custom-dropdown-height: 200px;
459
546
  // $custom-dropdown-bg: #fff;
460
547
  // $custom-dropdown-border-color: darken(#fff, 20%);
@@ -475,26 +562,31 @@
475
562
  // Dropdown Variables
476
563
  //
477
564
 
478
- // We use these to controls height and width styles.
565
+ //// Height and width styles.
566
+
479
567
  // $f-dropdown-max-width: 200px;
480
568
  // $f-dropdown-height: auto;
481
569
  // $f-dropdown-max-height: none;
482
570
  // $f-dropdown-margin-top: 2px;
483
571
 
484
- // We use this to control the background color
572
+ //// Background color
573
+
485
574
  // $f-dropdown-bg: #fff;
486
575
 
487
- // We use this to set the border styles for dropdowns.
576
+ //// Border styles for dropdowns.
577
+
488
578
  // $f-dropdown-border-style: solid;
489
579
  // $f-dropdown-border-width: 1px;
490
580
  // $f-dropdown-border-color: darken(#fff, 20%);
491
581
 
492
- // We use these to style the triangle pip.
582
+ //// Triangle pip.
583
+
493
584
  // $f-dropdown-triangle-size: 6px;
494
585
  // $f-dropdown-triangle-color: #fff;
495
586
  // $f-dropdown-triangle-side-offset: 10px;
496
587
 
497
- // We use these to control styles for the list elements.
588
+ //// List elements.
589
+
498
590
  // $f-dropdown-list-style: none;
499
591
  // $f-dropdown-font-color: #555;
500
592
  // $f-dropdown-font-size: emCalc(14px);
@@ -503,44 +595,52 @@
503
595
  // $f-dropdown-list-hover-bg: #eeeeee;
504
596
  // $dropdown-mobile-left: 0;
505
597
 
506
- // We use this to control the styles for when the dropdown has custom content.
598
+ //// When the dropdown has custom content.
599
+
507
600
  // $f-dropdown-content-padding: emCalc(20px);
508
601
 
509
602
  //
510
603
  // Flex Video Variables
511
604
  //
512
605
 
513
- // We use these to control video container padding and margins
606
+ //// Video container padding and margins
607
+
514
608
  // $flex-video-padding-top: emCalc(25px);
515
609
  // $flex-video-padding-bottom: 67.5%;
516
610
  // $flex-video-margin-bottom: emCalc(16px);
517
611
 
518
- // We use this to control widescreen bottom padding
612
+ //// Widescreen bottom padding
613
+
519
614
  // $flex-video-widescreen-padding-bottom: 57.25%;
520
615
 
521
616
  //
522
617
  // Inline List Variables
523
618
  //
524
619
 
525
- // We use this to control the margins and padding of the inline list.
620
+ //// Margins and padding of the inline list.
621
+
526
622
  // $inline-list-margin-bottom: emCalc(17px) emCalc(-22px );
527
623
  // $inline-list-margin: 0 0;
528
624
  // $inline-list-padding: 0;
529
625
 
530
- // We use this to control the overflow of the inline list.
626
+ //// Overflow of the inline list.
627
+
531
628
  // $inline-list-overflow: hidden;
532
629
 
533
- // We use this to control the list items
630
+ //// List items
631
+
534
632
  // $inline-list-display: block;
535
633
 
536
- // We use this to control any elments within list items
634
+ //// Elments within list items
635
+
537
636
  // $inline-list-children-display: block;
538
637
 
539
638
  //
540
639
  // Joyride Variables
541
640
  //
542
641
 
543
- // Controlling default Joyride styles
642
+ //// Joyride styles
643
+
544
644
  // $joyride-tip-bg: rgb(0,0,0);
545
645
  // $joyride-tip-default-width: 300px;
546
646
  // $joyride-tip-padding: emCalc(18px) emCalc(20px) emCalc(24px);
@@ -548,42 +648,50 @@
548
648
  // $joyride-tip-radius: 4px;
549
649
  // $joyride-tip-position-offset: 22px;
550
650
 
551
- // Here, we're setting the tip dont styles
651
+ //// Tip font styles
652
+
552
653
  // $joyride-tip-font-color: #fff;
553
654
  // $joyride-tip-font-size: emCalc(14px);
554
655
  // $joyride-tip-header-weight: bold;
555
656
 
556
- // This changes the nub size
657
+ //// Changes the nub size
658
+
557
659
  // $joyride-tip-nub-size: 14px;
558
660
 
559
- // This adjusts the styles for the timer when its enabled
661
+ //// Adjusts the styles for the timer when its enabled
662
+
560
663
  // $joyride-tip-timer-width: 50px;
561
664
  // $joyride-tip-timer-height: 3px;
562
665
  // $joyride-tip-timer-color: #666;
563
666
 
564
- // This changes up the styles for the close button
667
+ //// Changes up the styles for the close button
668
+
565
669
  // $joyride-tip-close-color: #777;
566
670
  // $joyride-tip-close-size: 30px;
567
671
  // $joyride-tip-close-weight: normal;
568
672
 
569
- // When Joyride is filling the screen, we use this style for the bg
673
+ //// When Joyride is filling the screen, style for the bg
674
+
570
675
  // $joyride-screenfill: rgba(0,0,0,0.5);
571
676
 
572
677
  //
573
678
  // Keystroke Variables
574
679
  //
575
680
 
576
- // We use these to control text styles.
681
+ //// Text styles.
682
+
577
683
  // $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
578
684
  // $keystroke-font-size: emCalc(15px);
579
685
  // $keystroke-font-color: #222;
580
686
  // $keystroke-font-color-alt: #fff;
581
687
  // $keystroke-function-factor: 7%;
582
688
 
583
- // We use this to control keystroke padding.
689
+ //// Keystroke padding.
690
+
584
691
  // $keystroke-padding: emCalc(2px) emCalc(4px) emCalc(0px);
585
692
 
586
- // We use these to control background and border styles.
693
+ //// Background and border styles.
694
+
587
695
  // $keystroke-bg: darken(#fff, $keystroke-function-factor);
588
696
  // $keystroke-border-style: solid;
589
697
  // $keystroke-border-width: 1px;
@@ -594,19 +702,24 @@
594
702
  // Label Variables
595
703
  //
596
704
 
597
- // We use these to style the labels
705
+ //// Style the labels
706
+
598
707
  // $label-padding: emCalc(3px) emCalc(10px) emCalc(4px);
599
708
  // $label-radius: $global-radius;
600
709
 
601
- // We use these to style the label text
710
+ //// We use these to style the label text
711
+
602
712
  // $label-font-sizing: emCalc(14px);
603
713
  // $label-font-weight: bold;
714
+ // $label-font-color: #333;
715
+ // $label-font-color-alt: #fff;
604
716
 
605
717
  //
606
718
  // Magellan Variables
607
719
  //
608
720
 
609
- // We use these to control basic visual styles
721
+ //// Basic visual styles
722
+
610
723
  // $magellan-bg: #fff;
611
724
  // $magellan-padding: 10px;
612
725
 
@@ -614,59 +727,70 @@
614
727
  // Orbit Settings
615
728
  //
616
729
 
617
- // We use these to control the caption styles
730
+ //// Caption styles
731
+
618
732
  // $orbit-container-bg: #f5f5f5;
619
733
  // $orbit-caption-bg-old-browser: #000;
620
734
  // $orbit-caption-bg-old: rgb(0,0,0);
621
735
  // $orbit-caption-bg: rgba(0,0,0,0.6);
622
736
  // $orbit-caption-font-color: #fff;
623
737
 
624
- // We use these to control the left/right nav styles
738
+ //// Left/right nav styles
739
+
625
740
  // $orbit-nav-bg-old: rgb(0,0,0);
626
741
  // $orbit-nav-bg: rgba(0,0,0,0.6);
627
742
 
628
- // We use these to control the timer styles
743
+ //// Timer styles
744
+
629
745
  // $orbit-timer-bg-old: rgb(0,0,0);
630
746
  // $orbit-timer-bg: rgba(0,0,0,0.6);
631
747
 
632
- // We use these to control the bullet nav styles
748
+ //// Bullet nav styles
749
+
633
750
  // $orbit-bullet-nav-color: #999;
634
751
  // $orbit-bullet-nav-color-active: #222;
635
752
 
636
- // We use thes to controls the style of slide numbers
753
+ //// Slide numbers
754
+
637
755
  // $orbit-slide-number-bg: rgb(0,0,0);
638
756
  // $orbit-slide-number-font-color: #fff;
639
757
  // $orbit-slide-number-padding: emCalc(5px);
640
758
 
641
- // Margin for when Orbit is stacked on small screens
759
+ //// Margin for when Orbit is stacked on small screens
760
+
642
761
  // $stack-on-small-margin-bottom: emCalc(20px); // Doesn't quite work yet
643
762
 
644
763
  //
645
764
  // Pagination Variables
646
765
  //
647
766
 
648
- // We use these to control the pagination container
767
+ //// Pagination container
768
+
649
769
  // $pagination-height: emCalc(24px);
650
770
  // $pagination-margin: emCalc(-5px);
651
771
 
652
- // We use these to set the list-item properties
772
+ //// List-item properties
773
+
653
774
  // $pagination-li-float: $default-float;
654
775
  // $pagination-li-height: emCalc(24px);
655
776
  // $pagination-li-font-color: #222;
656
777
  // $pagination-li-font-size: emCalc(14px);
657
778
  // $pagination-li-margin: emCalc(5px);
658
779
 
659
- // We use these for the pagination anchor links
780
+ //// Pagination anchor links
781
+
660
782
  // $pagination-link-pad: emCalc(1px) emCalc(7px) emCalc(1px);
661
783
  // $pagination-link-font-color: #999;
662
784
  // $pagination-link-active-bg: darken(#fff, 10%);
663
785
 
664
- // We use these for disabled anchor links
786
+ //// Disabled anchor links
787
+
665
788
  // $pagination-link-unavailable-cursor: default;
666
789
  // $pagination-link-unavailable-font-color: #999;
667
790
  // $pagination-link-unavailable-bg-active: transparent;
668
791
 
669
- // We use these for currently selected anchor links
792
+ //// Currently selected anchor links
793
+
670
794
  // $pagination-link-current-background: $primary-color;
671
795
  // $pagination-link-current-font-color: #fff;
672
796
  // $pagination-link-current-font-weight: bold;
@@ -677,20 +801,24 @@
677
801
  // Panel Variables
678
802
  //
679
803
 
680
- // We use these to control the background and border styles
804
+ //// Background and border styles
805
+
681
806
  // $panel-bg: darken(#fff, 5%);
682
807
  // $panel-border-style: solid;
683
808
  // $panel-border-size: 1px;
684
809
 
685
- // We use this % to control how much we darken things on hover
810
+ //// Control how much we darken things on hover
811
+
686
812
  // $panel-function-factor: 10%;
687
813
  // $panel-border-color: darken($panel-bg, $panel-function-factor);
688
814
 
689
- // We use these to set default inner padding and bottom margin
815
+ //// Inner padding and bottom margin
816
+
690
817
  // $panel-margin-bottom: emCalc(20px);
691
818
  // $panel-padding: emCalc(20px);
692
819
 
693
- // We use these to set default font colors
820
+ //// Font colors
821
+
694
822
  // $panel-font-color: #333;
695
823
  // $panel-font-color-alt: #fff;
696
824
 
@@ -698,13 +826,16 @@
698
826
  // Pricing Table Variables
699
827
  //
700
828
 
701
- // We use this to control the border color
829
+ //// Border color
830
+
702
831
  // $price-table-border: solid 1px #ddd;
703
832
 
704
- // We use this to control the bottom margin of the pricing table
833
+ //// Bottom margin of the pricing table
834
+
705
835
  // $price-table-margin-bottom: emCalc(20px);
706
836
 
707
- // We use these to control the title styles
837
+ //// Control the title styles
838
+
708
839
  // $price-title-bg: #ddd;
709
840
  // $price-title-padding: emCalc(15px) emCalc(20px);
710
841
  // $price-title-align: center;
@@ -712,7 +843,8 @@
712
843
  // $price-title-weight: bold;
713
844
  // $price-title-size: emCalc(16px);
714
845
 
715
- // We use these to control the price styles
846
+ //// Control the price styles
847
+
716
848
  // $price-money-bg: #eee;
717
849
  // $price-money-padding: emCalc(15px) emCalc(20px);
718
850
  // $price-money-align: center;
@@ -720,7 +852,8 @@
720
852
  // $price-money-weight: normal;
721
853
  // $price-money-size: emCalc(20px);
722
854
 
723
- // We use these to control the description styles
855
+ //// Description styles
856
+
724
857
  // $price-bg: #fff;
725
858
  // $price-desc-color: #777;
726
859
  // $price-desc-padding: emCalc(15px);
@@ -730,7 +863,8 @@
730
863
  // $price-desc-line-height: 1.4;
731
864
  // $price-desc-bottom-border: dotted 1px #ddd;
732
865
 
733
- // We use these to control the list item styles
866
+ //// List item styles
867
+
734
868
  // $price-item-color: #333;
735
869
  // $price-item-padding: emCalc(15px);
736
870
  // $price-item-align: center;
@@ -738,7 +872,8 @@
738
872
  // $price-item-weight: normal;
739
873
  // $price-item-bottom-border: dotted 1px #ddd;
740
874
 
741
- // We use these to control the CTA area styles
875
+ //// CTA area styles
876
+
742
877
  // $price-cta-bg: #f5f5f5;
743
878
  // $price-cta-align: center;
744
879
  // $price-cta-padding: emCalc(20px) emCalc(20px) 0;
@@ -747,51 +882,57 @@
747
882
  // Progress Bar Variables
748
883
  //
749
884
 
750
- // We use this to se the prog bar height
885
+ //// Progress bar height
886
+
751
887
  // $progress-bar-height: emCalc(25px);
752
888
  // $progress-bar-color: transparent;
753
889
 
754
- // We use these to control the border styles
890
+ //// Border styles
891
+
755
892
  // $progress-bar-border-color: darken(#fff, 20%);
756
893
  // $progress-bar-border-size: 1px;
757
894
  // $progress-bar-border-style: solid;
758
895
  // $progress-bar-border-radius: $global-radius;
759
896
 
760
- // We use these to control the margin & padding
897
+ //// Margin & padding
898
+
761
899
  // $progress-bar-pad: emCalc(2px);
762
900
  // $progress-bar-margin-bottom: emCalc(10px);
763
901
 
764
- // We use these to set the meter colors
902
+ //// Meter colors
903
+
765
904
  // $progress-meter-color: $primary-color;
766
905
  // $progress-meter-secondary-color: $secondary-color;
767
906
  // $progress-meter-success-color: $success-color;
768
907
  // $progress-meter-alert-color: $alert-color;
769
908
 
770
- // NEED TO FINISH THE LOGIC HERE
771
-
772
909
  //
773
910
  // Reveal Variables
774
911
  //
775
912
 
776
- // We use these to control the style of the reveal overlay.
913
+ //// Reveal overlay.
914
+
777
915
  // $reveal-overlay-bg: rgba(#000, .45);
778
916
  // $reveal-overlay-bg-old: #000;
779
917
 
780
- // We use these to control the style of the modal itself.
918
+ //// Modal itself.
919
+
781
920
  // $reveal-modal-bg: #fff;
782
921
  // $reveal-position-top: 50px;
783
922
  // $reveal-default-width: 80%;
784
923
  // $reveal-modal-padding: emCalc(20px);
785
924
  // $reveal-box-shadow: 0 0 10px rgba(#000,.4);
786
925
 
787
- // We use these to style the reveal close button
926
+ //// Reveal close button
927
+
788
928
  // $reveal-close-font-size: emCalc(22px);
789
929
  // $reveal-close-top: emCalc(8px);
790
930
  // $reveal-close-side: emCalc(11px);
791
931
  // $reveal-close-color: #aaa;
792
932
  // $reveal-close-weight: bold;
793
933
 
794
- // We use these to control the modal border
934
+ //// Modal border
935
+
795
936
  // $reveal-border-style: solid;
796
937
  // $reveal-border-width: 1px;
797
938
  // $reveal-border-color: #666;
@@ -800,45 +941,54 @@
800
941
  // Section Variables
801
942
  //
802
943
 
803
- // We use these to set padding and hover factor
944
+ //// Padding and hover factor
945
+
804
946
  // $section-padding: emCalc(15px);
805
947
  // $section-function-factor: 10%;
806
948
 
807
- // These style the titles
949
+ //// Titles
950
+
808
951
  // $section-title-color: #333;
809
952
  // $section-title-bg: #efefef;
810
953
  // $section-title-bg-active: darken($section-title-bg, $section-function-factor);
811
954
  // $section-title-bg-active-tabs: #fff;
812
955
 
813
- // Want to control border size, here ya go!
956
+ //// Border size
957
+
814
958
  // $section-border-size: 1px;
815
959
  // $section-border-style: solid;
816
960
  // $section-border-color: #ccc;
817
961
 
818
- // Control the color of the background and some size options
962
+ //// Color of the background and some size options
963
+
819
964
  // $section-content-bg: #fff;
820
965
  // $section-vertical-nav-min-width: emCalc(200px);
966
+ // $section-vertical-tabs-title-width: emCalc(200px);
821
967
  // $section-bottom-margin: emCalc(20px);
822
968
 
823
969
  //
824
970
  // Side Nav Variables
825
971
  //
826
972
 
827
- // We use this to control padding.
973
+ //// Padding
974
+
828
975
  // $side-nav-padding: emCalc(14px) 0;
829
976
 
830
- // We use these to control list styles.
977
+ //// List styles
978
+
831
979
  // $side-nav-list-type: none;
832
980
  // $side-nav-list-position: inside;
833
981
  // $side-nav-list-margin: 0 0 emCalc(7px) 0;
834
982
 
835
- // We use these to control link styles.
983
+ //// Link styles
984
+
836
985
  // $side-nav-link-color: $primary-color;
837
986
  // $side-nav-link-color-active: lighten(#000, 30%);
838
987
  // $side-nav-font-size: emCalc(14px);
839
988
  // $side-nav-font-weight: bold;
840
989
 
841
- // We use these to control border styles
990
+ //// Border styles
991
+
842
992
  // $side-nav-divider-size: 1px;
843
993
  // $side-nav-divider-style: solid;
844
994
  // $side-nav-divider-color: darken(#fff, 10%);
@@ -847,18 +997,21 @@
847
997
  // Sub Nav Variables
848
998
  //
849
999
 
850
- // We use these to control margin and padding
1000
+ //// Margin and padding
1001
+
851
1002
  // $sub-nav-list-margin: emCalc(-4px) 0 emCalc(18px);
852
1003
  // $sub-nav-list-padding-top: emCalc(4px);
853
1004
 
854
- // We use this to control the definition
1005
+ //// Definition
1006
+
855
1007
  // $sub-nav-font-size: emCalc(14px);
856
1008
  // $sub-nav-font-color: #999;
857
1009
  // $sub-nav-font-weight: normal;
858
1010
  // $sub-nav-text-decoration: none;
859
1011
  // $sub-nav-border-radius: 1000px;
860
1012
 
861
- // We use these to control the active item styles
1013
+ //// Active item styles
1014
+
862
1015
  // $sub-nav-active-font-weight: bold;
863
1016
  // $sub-nav-active-bg: $primary-color;
864
1017
  // $sub-nav-active-color: #fff;
@@ -869,27 +1022,31 @@
869
1022
  // Switch Variables
870
1023
  //
871
1024
 
872
- // Controlling border styles and background colors for the switch container
1025
+ //// Border styles and background colors for the switch container
1026
+
873
1027
  // $switch-border-color: darken(#fff, 20%);
874
1028
  // $switch-border-style: solid;
875
1029
  // $switch-border-width: 1px;
876
1030
  // $switch-bg: #fff;
877
1031
 
878
- // We use these to control the switch heights for our default classes
1032
+ //// Switch heights for our default classes
1033
+
879
1034
  // $switch-height-tny: 22px;
880
1035
  // $switch-height-sml: 28px;
881
1036
  // $switch-height-med: 36px;
882
1037
  // $switch-height-lrg: 44px;
883
1038
  // $switch-bottom-margin: emCalc(20px);
884
1039
 
885
- // We use these to control default font sizes for our classes.
1040
+ //// Font sizes for our classes.
1041
+
886
1042
  // $switch-font-size-tny: 11px;
887
1043
  // $switch-font-size-sml: 12px;
888
1044
  // $switch-font-size-med: 14px;
889
1045
  // $switch-font-size-lrg: 17px;
890
1046
  // $switch-label-side-padding: 6px;
891
1047
 
892
- // We use these to style the switch-paddle
1048
+ //// Switch-paddle
1049
+
893
1050
  // $switch-paddle-bg: #fff;
894
1051
  // $switch-paddle-fade-to-color: darken($switch-paddle-bg, 10%);
895
1052
  // $switch-paddle-border-color: darken($switch-paddle-bg, 35%);
@@ -900,36 +1057,42 @@
900
1057
  // $switch-positive-color: lighten($success-color, 50%);
901
1058
  // $switch-negative-color: #f5f5f5;
902
1059
 
903
- // Outline Style for tabbing through switches
1060
+ //// Outline Style for tabbing through switches
1061
+
904
1062
  // $switch-label-outline: 1px dotted #888;
905
1063
 
906
1064
  //
907
1065
  // Table Variables
908
1066
  //
909
1067
 
910
- // These control the background color for the table and even rows
1068
+ //// Background color for the table and even rows
1069
+
911
1070
  // $table-bg: #fff;
912
1071
  // $table-even-row-bg: #f9f9f9;
913
1072
 
914
- // These control the table cell border style
1073
+ //// Table cell border style
1074
+
915
1075
  // $table-border-style: solid;
916
1076
  // $table-border-size: 1px;
917
1077
  // $table-border-color: #ddd;
918
1078
 
919
- // These control the table head styles
1079
+ //// Table head styles
1080
+
920
1081
  // $table-head-bg: #f5f5f5;
921
1082
  // $table-head-font-size: emCalc(14px);
922
1083
  // $table-head-font-color: #222;
923
1084
  // $table-head-font-weight: bold;
924
1085
  // $table-head-padding: emCalc(8px) emCalc(10px) emCalc(10px);
925
1086
 
926
- // These control the row padding and font styles
1087
+ //// Row padding and font styles
1088
+
927
1089
  // $table-row-padding: emCalc(9px) emCalc(10px);
928
1090
  // $table-row-font-size: emCalc(14px);
929
1091
  // $table-row-font-color: #222;
930
1092
  // $table-line-height: emCalc(18px);
931
1093
 
932
- // These are for controlling the display and margin of tables
1094
+ //// Display and margin of tables
1095
+
933
1096
  // $table-display: table-cell;
934
1097
  // $table-margin-bottom: emCalc(20px);
935
1098
 
@@ -937,20 +1100,23 @@
937
1100
  // Image Thumbnail Variables
938
1101
  //
939
1102
 
940
- // We use these to control border styles
1103
+ //// Border styles
1104
+
941
1105
  // $thumb-border-style: solid;
942
1106
  // $thumb-border-width: 4px;
943
1107
  // $thumb-border-color: #fff;
944
1108
  // $thumb-box-shadow: 0 0 0 1px rgba(#000,.2);
945
1109
  // $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
946
1110
 
947
- // Radius and transition speed for thumbs
1111
+ //// Radius and transition speed for thumbs
1112
+
948
1113
  // $thumb-radius: $global-radius;
949
1114
  // $thumb-transition-speed: 200ms;
950
1115
 
951
1116
  //
952
1117
  // Tooltip Variables
953
1118
  //
1119
+
954
1120
  // $has-tip-border-bottom: dotted 1px #ccc;
955
1121
  // $has-tip-font-weight: bold;
956
1122
  // $has-tip-font-color: #333;
@@ -975,26 +1141,33 @@
975
1141
  // Top Bar Variables
976
1142
  //
977
1143
 
978
- // Background color for the top bar
1144
+ //// Background color for the top bar
1145
+
979
1146
  // $topbar-bg: #111;
980
1147
 
981
- // Height and margin
1148
+ //// Height and margin
1149
+
982
1150
  // $topbar-height: 45px;
983
1151
  // $topbar-margin-bottom: emCalc(30px);
984
1152
 
985
- // Control Input height for top bar
1153
+ //// Input height for top bar
1154
+
986
1155
  // $topbar-input-height: 2.45em;
987
1156
 
988
- // Controlling the styles for the title in the top bar
1157
+ //// Title in the top bar
1158
+
989
1159
  // $topbar-title-weight: bold;
990
1160
  // $topbar-title-font-size: emCalc(17px);
991
1161
 
992
- // Set the link colors and styles for top-level nav
1162
+ //// Link colors and styles for top-level nav
1163
+
993
1164
  // $topbar-link-color: #fff;
994
1165
  // $topbar-link-weight: bold;
995
1166
  // $topbar-link-font-size: emCalc(13px);
1167
+ // $topbar-link-hover-lightness: -30% !default; // Darken by 30%
1168
+
1169
+ //// Top bar dropdown elements
996
1170
 
997
- // Style the top bar dropdown elements
998
1171
  // $topbar-dropdown-bg: #333;
999
1172
  // $topbar-dropdown-link-color: #fff;
1000
1173
  // $topbar-dropdown-toggle-size: 5px;
@@ -1002,7 +1175,8 @@
1002
1175
  // $topbar-dropdown-toggle-alpha: 0.5;
1003
1176
  // $dropdown-label-color: #555;
1004
1177
 
1005
- // Top menu icon styles
1178
+ //// Top menu icon styles
1179
+
1006
1180
  // $topbar-menu-link-transform: uppercase;
1007
1181
  // $topbar-menu-link-font-size: emCalc(13px);
1008
1182
  // $topbar-menu-link-weight: bold;
@@ -1011,8 +1185,8 @@
1011
1185
  // $topbar-menu-link-color-toggled: #888;
1012
1186
  // $topbar-menu-icon-color-toggled: #888;
1013
1187
 
1014
- // Transitions and breakpoint styles
1188
+ //// Transitions and breakpoint styles
1189
+
1015
1190
  // $topbar-transition-speed: 300ms;
1016
1191
  // $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout
1017
- // $topbar-media-query: "only screen and (min-width "#{$topbar-breakpoint}")";
1018
-
1192
+ // $topbar-media-query: "only screen and (min-width "#{$topbar-breakpoint}")";