zurb-foundation 4.1.6 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. data/CONTRIBUTING.md +5 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +7 -0
  4. data/docs/CHANGELOG.md +27 -0
  5. data/docs/Gemfile +2 -0
  6. data/docs/Gemfile.lock +10 -0
  7. data/docs/_sidebar-components.html.erb +1 -0
  8. data/docs/_sidebar.html.erb +1 -0
  9. data/docs/components/alert-boxes.html.erb +8 -3
  10. data/docs/components/block-grid.html.erb +3 -3
  11. data/docs/components/breadcrumbs.html.erb +2 -2
  12. data/docs/components/button-groups.html.erb +2 -2
  13. data/docs/components/buttons.html.erb +3 -3
  14. data/docs/components/clearing.html.erb +7 -6
  15. data/docs/components/custom-forms.html.erb +1 -0
  16. data/docs/components/dropdown-buttons.html.erb +3 -3
  17. data/docs/components/dropdown.html.erb +20 -4
  18. data/docs/components/flex-video.html.erb +3 -3
  19. data/docs/components/forms.html.erb +5 -5
  20. data/docs/components/global.html.erb +235 -3
  21. data/docs/components/grid.html.erb +2 -2
  22. data/docs/components/inline-lists.html.erb +3 -3
  23. data/docs/components/interchange.html.erb +127 -0
  24. data/docs/components/keystrokes.html.erb +3 -3
  25. data/docs/components/kitchen-sink.html.erb +2 -2
  26. data/docs/components/labels.html.erb +3 -3
  27. data/docs/components/orbit.html.erb +120 -8
  28. data/docs/components/pagination.html.erb +5 -5
  29. data/docs/components/panels.html.erb +3 -3
  30. data/docs/components/pricing-tables.html.erb +3 -3
  31. data/docs/components/progress-bars.html.erb +3 -3
  32. data/docs/components/reveal.html.erb +126 -7
  33. data/docs/components/section.html.erb +43 -1
  34. data/docs/components/side-nav.html.erb +3 -3
  35. data/docs/components/split-buttons.html.erb +3 -3
  36. data/docs/components/sub-nav.html.erb +4 -4
  37. data/docs/components/switch.html.erb +3 -3
  38. data/docs/components/tables.html.erb +1 -1
  39. data/docs/components/thumbnails.html.erb +2 -2
  40. data/docs/components/tooltips.html.erb +34 -1
  41. data/docs/components/top-bar.html.erb +109 -30
  42. data/docs/components/type.html.erb +2 -1
  43. data/docs/components/visibility.html.erb +8 -8
  44. data/docs/css/normalize.scss +2 -2
  45. data/docs/css/qunit.css +1 -1
  46. data/docs/img/demos/demo1.jpg +0 -0
  47. data/docs/img/demos/demo2.jpg +0 -0
  48. data/docs/img/demos/demo3.jpg +0 -0
  49. data/docs/img/demos/demo4.jpg +0 -0
  50. data/docs/img/demos/demo5.jpg +0 -0
  51. data/docs/img/demos/interchange/default.jpg +0 -0
  52. data/docs/img/demos/interchange/large.jpg +0 -0
  53. data/docs/img/demos/interchange/med.jpg +0 -0
  54. data/docs/img/demos/interchange/small.jpg +0 -0
  55. data/docs/img/demos/interchange/smallest.jpg +0 -0
  56. data/docs/index.html.erb +14 -5
  57. data/docs/javascript.html.erb +2 -4
  58. data/docs/layout.html.erb +1 -1
  59. data/docs/rails.html.erb +4 -1
  60. data/docs/sass.html.erb +1274 -1023
  61. data/js/foundation/foundation.alerts.js +3 -1
  62. data/js/foundation/foundation.clearing.js +1 -1
  63. data/js/foundation/foundation.dropdown.js +25 -6
  64. data/js/foundation/foundation.forms.js +14 -12
  65. data/js/foundation/foundation.interchange.js +265 -0
  66. data/js/foundation/foundation.joyride.js +16 -3
  67. data/js/foundation/foundation.js +53 -7
  68. data/js/foundation/foundation.magellan.js +5 -3
  69. data/js/foundation/foundation.orbit.js +19 -2
  70. data/js/foundation/foundation.reveal.js +64 -11
  71. data/js/foundation/foundation.section.js +26 -17
  72. data/js/foundation/foundation.tooltips.js +16 -8
  73. data/js/foundation/foundation.topbar.js +98 -46
  74. data/js/foundation/index.js +1 -0
  75. data/lib/foundation/generators/install_generator.rb +2 -2
  76. data/lib/foundation/version.rb +1 -1
  77. data/scss/foundation/_variables.scss +134 -71
  78. data/scss/foundation/components/_alert-boxes.scss +20 -20
  79. data/scss/foundation/components/_block-grid.scss +7 -4
  80. data/scss/foundation/components/_breadcrumbs.scss +3 -3
  81. data/scss/foundation/components/_buttons.scss +5 -3
  82. data/scss/foundation/components/_clearing.scss +12 -6
  83. data/scss/foundation/components/_custom-forms.scss +17 -10
  84. data/scss/foundation/components/_dropdown.scss +6 -6
  85. data/scss/foundation/components/_forms.scss +5 -3
  86. data/scss/foundation/components/_global.scss +63 -30
  87. data/scss/foundation/components/_grid.scss +10 -9
  88. data/scss/foundation/components/_joyride.scss +22 -20
  89. data/scss/foundation/components/_keystrokes.scss +1 -1
  90. data/scss/foundation/components/_orbit.scss +108 -30
  91. data/scss/foundation/components/_reveal.scss +12 -8
  92. data/scss/foundation/components/_section.scss +38 -3
  93. data/scss/foundation/components/_switch.scss +18 -12
  94. data/scss/foundation/components/_thumbs.scss +10 -3
  95. data/scss/foundation/components/_tooltips.scss +11 -11
  96. data/scss/foundation/components/_top-bar.scss +102 -64
  97. data/scss/foundation/components/_type.scss +54 -47
  98. data/templates/project/manifest.rb +1 -0
  99. metadata +11 -4
@@ -6,13 +6,14 @@
6
6
  Foundation.libs.tooltips = {
7
7
  name: 'tooltips',
8
8
 
9
- version : '4.1.3',
9
+ version : '4.2.0',
10
10
 
11
11
  settings : {
12
12
  selector : '.has-tip',
13
13
  additionalInheritableClasses : [],
14
14
  tooltipClass : '.tooltip',
15
15
  appendTo: 'body',
16
+ 'disable-for-touch': false,
16
17
  tipTemplate : function (selector, content) {
17
18
  return '<span data-selector="' + selector + '" class="'
18
19
  + Foundation.libs.tooltips.settings.tooltipClass.substring(1)
@@ -23,11 +24,13 @@
23
24
  cache : {},
24
25
 
25
26
  init : function (scope, method, options) {
27
+ Foundation.inherit(this, 'data_options');
26
28
  var self = this;
27
- this.scope = scope || this.scope;
28
29
 
29
30
  if (typeof method === 'object') {
30
31
  $.extend(true, this.settings, method);
32
+ } else if (typeof options !== 'undefined') {
33
+ $.extend(true, this.settings, options);
31
34
  }
32
35
 
33
36
  if (typeof method != 'string') {
@@ -35,9 +38,12 @@
35
38
  $(this.scope)
36
39
  .on('click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip',
37
40
  '[data-tooltip]', function (e) {
38
- e.preventDefault();
39
- $(self.settings.tooltipClass).hide();
40
- self.showOrCreateTip($(this));
41
+ var settings = $.extend({}, self.settings, self.data_options($(this)));
42
+ if (!settings['disable-for-touch']) {
43
+ e.preventDefault();
44
+ $(settings.tooltipClass).hide();
45
+ self.showOrCreateTip($(this));
46
+ }
41
47
  })
42
48
  .on('click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip',
43
49
  this.settings.tooltipClass, function (e) {
@@ -50,7 +56,7 @@
50
56
  '[data-tooltip]', function (e) {
51
57
  var $this = $(this);
52
58
 
53
- if (e.type === 'mouseover' || e.type === 'mouseenter') {
59
+ if (/enter|over/i.test(e.type)) {
54
60
  self.showOrCreateTip($this);
55
61
  } else if (e.type === 'mouseout' || e.type === 'mouseleave') {
56
62
  self.hide($this);
@@ -80,7 +86,7 @@
80
86
  tip = null;
81
87
 
82
88
  if (selector) {
83
- tip = $('span[data-selector=' + selector + ']' + this.settings.tooltipClass);
89
+ tip = $('span[data-selector="' + selector + '"]' + this.settings.tooltipClass);
84
90
  }
85
91
 
86
92
  return (typeof tip === 'object') ? tip : false;
@@ -195,6 +201,8 @@
195
201
  $(this.settings.tooltipClass).each(function (i) {
196
202
  $('[data-tooltip]').get(i).attr('title', $(this).text());
197
203
  }).remove();
198
- }
204
+ },
205
+
206
+ reflow : function () {}
199
207
  };
200
208
  }(Foundation.zj, this, this.document));
@@ -6,32 +6,36 @@
6
6
  Foundation.libs.topbar = {
7
7
  name : 'topbar',
8
8
 
9
- version : '4.1.2',
9
+ version : '4.2.0',
10
10
 
11
11
  settings : {
12
12
  index : 0,
13
13
  stickyClass : 'sticky',
14
14
  custom_back_text: true,
15
15
  back_text: 'Back',
16
+ is_hover: true,
17
+ scrolltop : true, // jump to top when sticky nav menu toggle is clicked
16
18
  init : false
17
19
  },
18
20
 
19
21
  init : function (section, method, options) {
22
+ Foundation.inherit(this, 'data_options');
20
23
  var self = this;
21
24
 
22
25
  if (typeof method === 'object') {
23
26
  $.extend(true, this.settings, method);
27
+ } else if (typeof options !== 'undefined') {
28
+ $.extend(true, this.settings, options);
24
29
  }
25
30
 
26
31
  if (typeof method != 'string') {
27
32
 
28
- $('.top-bar').each(function () {
33
+ $('.top-bar, [data-topbar]').each(function () {
34
+ $.extend(true, self.settings, self.data_options($(this)));
29
35
  self.settings.$w = $(window);
30
36
  self.settings.$topbar = $(this);
31
37
  self.settings.$section = self.settings.$topbar.find('section');
32
38
  self.settings.$titlebar = self.settings.$topbar.children('ul').first();
33
-
34
-
35
39
  self.settings.$topbar.data('index', 0);
36
40
 
37
41
  var breakpoint = $("<div class='top-bar-js-breakpoint'/>").insertAfter(self.settings.$topbar);
@@ -58,24 +62,17 @@
58
62
 
59
63
  events : function () {
60
64
  var self = this;
61
- var offst = this.outerHeight($('.top-bar'));
65
+ var offst = this.outerHeight($('.top-bar, [data-topbar]'));
62
66
  $(this.scope)
63
- .on('click.fndtn.topbar', '.top-bar .toggle-topbar', function (e) {
64
- var topbar = $(this).closest('.top-bar'),
67
+ .off('.fndtn.topbar')
68
+ .on('click.fndtn.topbar', '.top-bar .toggle-topbar, [data-topbar] .toggle-topbar', function (e) {
69
+ var topbar = $(this).closest('.top-bar, [data-topbar]'),
65
70
  section = topbar.find('section, .section'),
66
71
  titlebar = topbar.children('ul').first();
67
72
 
68
- if (!topbar.data('height')) self.largestUL();
69
-
70
73
  e.preventDefault();
71
74
 
72
75
  if (self.breakpoint()) {
73
- topbar
74
- .toggleClass('expanded')
75
- .css('min-height', '');
76
- }
77
-
78
- if (!topbar.hasClass('expanded')) {
79
76
  if (!self.rtl) {
80
77
  section.css({left: '0%'});
81
78
  section.find('>.name').css({left: '100%'});
@@ -83,9 +80,16 @@
83
80
  section.css({right: '0%'});
84
81
  section.find('>.name').css({right: '100%'});
85
82
  }
83
+
86
84
  section.find('li.moved').removeClass('moved');
87
85
  topbar.data('index', 0);
88
86
 
87
+ topbar
88
+ .toggleClass('expanded')
89
+ .css('min-height', '');
90
+ }
91
+
92
+ if (!topbar.hasClass('expanded')) {
89
93
  if (topbar.hasClass('fixed')) {
90
94
  topbar.parent().addClass('fixed');
91
95
  topbar.removeClass('fixed');
@@ -95,26 +99,63 @@
95
99
  topbar.parent().removeClass('fixed');
96
100
  topbar.addClass('fixed');
97
101
  $('body').css('padding-top','0');
98
- window.scrollTo(0,0);
102
+
103
+ if (self.settings.scrolltop) {
104
+ window.scrollTo(0,0);
105
+ }
99
106
  }
100
107
  })
101
108
 
102
- .on('click.fndtn.topbar', '.top-bar .has-dropdown>a', function (e) {
103
- var topbar = $(this).closest('.top-bar'),
104
- section = topbar.find('section, .section'),
105
- titlebar = topbar.children('ul').first(),
106
- dropdownHeight = $(this).next('.dropdown').outerHeight();
109
+ .on('mouseenter mouseleave', '.top-bar li', function (e) {
110
+ if (!self.settings.is_hover) return;
111
+
112
+ if (/enter|over/i.test(e.type)) {
113
+ $(this).addClass('hover');
114
+ } else {
115
+ $(this).removeClass('hover');
116
+ }
117
+ })
118
+
119
+ .on('click.fndtn.topbar', '.top-bar li.has-dropdown', function (e) {
120
+ if (self.breakpoint()) return;
121
+
122
+ var li = $(this),
123
+ target = $(e.target),
124
+ topbar = li.closest('[data-topbar], .top-bar'),
125
+ is_hover = topbar.data('topbar');
126
+
127
+ if (self.settings.is_hover && !Modernizr.touch) return;
107
128
 
108
- if (Modernizr.touch || self.breakpoint()) {
129
+ e.stopImmediatePropagation();
130
+
131
+ if (target[0].nodeName === 'A' && target.parent().hasClass('has-dropdown')) {
109
132
  e.preventDefault();
110
133
  }
111
134
 
135
+ if (li.hasClass('hover')) {
136
+ li
137
+ .removeClass('hover')
138
+ .find('li')
139
+ .removeClass('hover');
140
+ } else {
141
+ li.addClass('hover');
142
+ }
143
+ })
144
+
145
+ .on('click.fndtn.topbar', '.top-bar .has-dropdown>a, [data-topbar] .has-dropdown>a', function (e) {
112
146
  if (self.breakpoint()) {
147
+ e.preventDefault();
148
+
113
149
  var $this = $(this),
150
+ topbar = $this.closest('.top-bar, [data-topbar]'),
151
+ section = topbar.find('section, .section'),
152
+ titlebar = topbar.children('ul').first(),
153
+ dropdownHeight = $this.next('.dropdown').outerHeight(),
114
154
  $selectedLi = $this.closest('li');
115
155
 
116
156
  topbar.data('index', topbar.data('index') + 1);
117
157
  $selectedLi.addClass('moved');
158
+
118
159
  if (!self.rtl) {
119
160
  section.css({left: -(100 * topbar.data('index')) + '%'});
120
161
  section.find('>.name').css({left: 100 * topbar.data('index') + '%'});
@@ -123,34 +164,43 @@
123
164
  section.find('>.name').css({right: 100 * topbar.data('index') + '%'});
124
165
  }
125
166
 
126
- $('.top-bar').css('min-height', dropdownHeight);
127
-
128
- $this.siblings('ul')
129
- .height(topbar.data('height') + self.outerHeight(titlebar, true));
130
- topbar
131
- .css('min-height', topbar.data('height') + self.outerHeight(titlebar, true) * 2)
167
+ topbar.css('min-height', self.height($this.siblings('ul')) + self.outerHeight(titlebar, true));
132
168
  }
133
169
  });
134
170
 
135
171
  $(window).on('resize.fndtn.topbar', function () {
136
172
  if (!self.breakpoint()) {
137
- $('.top-bar')
173
+ $('.top-bar, [data-topbar]')
138
174
  .css('min-height', '')
139
- .removeClass('expanded');
175
+ .removeClass('expanded')
176
+ .find('li')
177
+ .removeClass('hover');
140
178
  }
141
179
  }.bind(this));
142
180
 
181
+ $('body').on('click.fndtn.topbar', function (e) {
182
+ var parent = $(e.target).closest('[data-topbar], .top-bar');
183
+
184
+ if (parent.length > 0) {
185
+ return;
186
+ }
187
+
188
+ $('.top-bar li, [data-topbar] li').removeClass('hover');
189
+ });
190
+
143
191
  // Go up a level on Click
144
- $(this.scope).on('click.fndtn', '.top-bar .has-dropdown .back', function (e) {
192
+ $(this.scope).on('click.fndtn', '.top-bar .has-dropdown .back, [data-topbar] .has-dropdown .back', function (e) {
145
193
  e.preventDefault();
146
194
 
147
195
  var $this = $(this),
148
- topbar = $this.closest('.top-bar'),
196
+ topbar = $this.closest('.top-bar, [data-topbar]'),
197
+ titlebar = topbar.children('ul').first(),
149
198
  section = topbar.find('section, .section'),
150
199
  $movedLi = $this.closest('li.moved'),
151
200
  $previousLevelUl = $movedLi.parent();
152
201
 
153
202
  topbar.data('index', topbar.data('index') - 1);
203
+
154
204
  if (!self.rtl) {
155
205
  section.css({left: -(100 * topbar.data('index')) + '%'});
156
206
  section.find('>.name').css({left: 100 * topbar.data('index') + '%'});
@@ -161,6 +211,8 @@
161
211
 
162
212
  if (topbar.data('index') === 0) {
163
213
  topbar.css('min-height', 0);
214
+ } else {
215
+ topbar.css('min-height', self.height($previousLevelUl) + self.outerHeight(titlebar, true));
164
216
  }
165
217
 
166
218
  setTimeout(function () {
@@ -181,7 +233,13 @@
181
233
  this.settings.$section.find('.has-dropdown>a').each(function () {
182
234
  var $link = $(this),
183
235
  $dropdown = $link.siblings('.dropdown'),
184
- $titleLi = $('<li class="title back js-generated"><h5><a href="#"></a></h5></li>');
236
+ url = $link.attr('href');
237
+
238
+ if (url && url.length > 1) {
239
+ var $titleLi = $('<li class="title back js-generated"><h5><a href="#"></a></h5></li><li><a class="parent-link js-generated" href="' + url + '">' + $link.text() +'</a></li>');
240
+ } else {
241
+ var $titleLi = $('<li class="title back js-generated"><h5><a href="#"></a></h5></li>');
242
+ }
185
243
 
186
244
  // Copy link to subnav
187
245
  if (self.settings.custom_back_text == true) {
@@ -199,21 +257,13 @@
199
257
  this.sticky();
200
258
  },
201
259
 
202
- largestUL : function () {
203
- var uls = this.settings.$topbar.find('section ul ul'),
204
- largest = uls.first(),
205
- total = 0,
260
+ height : function (ul) {
261
+ var total = 0,
206
262
  self = this;
207
263
 
208
- uls.each(function () {
209
- if ($(this).children('li').length > largest.children('li').length) {
210
- largest = $(this);
211
- }
212
- });
213
-
214
- largest.children('li').each(function () { total += self.outerHeight($(this), true); });
264
+ ul.find('> li').each(function () { total += self.outerHeight($(this), true); });
215
265
 
216
- this.settings.$topbar.data('height', total);
266
+ return total;
217
267
  },
218
268
 
219
269
  sticky : function () {
@@ -240,6 +290,8 @@
240
290
  off : function () {
241
291
  $(this.scope).off('.fndtn.topbar');
242
292
  $(window).off('.fndtn.topbar');
243
- }
293
+ },
294
+
295
+ reflow : function () {}
244
296
  };
245
297
  }(Foundation.zj, this, this.document));
@@ -13,4 +13,5 @@
13
13
  =require foundation/foundation.section
14
14
  =require foundation/foundation.tooltips
15
15
  =require foundation/foundation.topbar
16
+ =require foundation/foundation.interchange
16
17
  */
@@ -35,9 +35,9 @@ module Foundation
35
35
  end
36
36
 
37
37
  def create_layout
38
- if options.haml?||(defined?(Haml) && !options.slim?)
38
+ if options.haml?||(defined?(Haml) && options.haml?)
39
39
  template 'application.html.haml', "app/views/layouts/#{file_name}.html.haml"
40
- elsif options.slim?||(defined?(Slim) && !options.haml?)
40
+ elsif options.slim?||(defined?(Slim) && options.slim?)
41
41
  template 'application.html.slim', "app/views/layouts/#{file_name}.html.slim"
42
42
  else
43
43
  template 'application.html.erb', "app/views/layouts/#{file_name}.html.erb"
@@ -1,3 +1,3 @@
1
1
  module Foundation
2
- VERSION = "4.1.6"
2
+ VERSION = "4.2.0"
3
3
  end
@@ -3,7 +3,7 @@
3
3
  //
4
4
 
5
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.
6
+ // for compatibility with browser-based text zoom or user-set defaults.
7
7
  $base-font-size: 100% !default;
8
8
 
9
9
  // $base-line-height is 24px while $base-font-size is 16px
@@ -21,9 +21,12 @@ $em-base: 16px !default;
21
21
  @return $pxWidth / $em-base * 1em;
22
22
  }
23
23
 
24
+ // Change whether or not you include browser prefixes
25
+ $experimental: true !default;
26
+
24
27
  // Various global styles
25
28
 
26
- // $default-float: left;
29
+ $default-float: left;
27
30
 
28
31
  // $body-bg: #fff;
29
32
  // $body-font-color: #222;
@@ -76,6 +79,7 @@ $em-base: 16px !default;
76
79
  // $include-html-clearing-classes: $include-html-classes;
77
80
  // $include-html-alert-classes: $include-html-classes;
78
81
  // $include-html-nav-classes: $include-html-classes;
82
+ // $include-html-top-bar-classes: $include-html-classes;
79
83
  // $include-html-label-classes: $include-html-classes;
80
84
  // $include-html-panel-classes: $include-html-classes;
81
85
  // $include-html-pricing-classes: $include-html-classes;
@@ -85,9 +89,9 @@ $em-base: 16px !default;
85
89
 
86
90
  // Media Queries
87
91
 
88
- // $small-screen: emCalc(768px);
89
- // $medium-screen: emCalc(1280px);
90
- // $large-screen: emCalc(1440px);
92
+ // $small-screen: 768px;
93
+ // $medium-screen: 1280px;
94
+ // $large-screen: 1440px;
91
95
 
92
96
  // $screen: "only screen";
93
97
  // $small: "only screen and (min-width: #{$small-screen})";
@@ -96,6 +100,15 @@ $em-base: 16px !default;
96
100
  // $landscape: "only screen and (orientation: landscape)";
97
101
  // $portrait: "only screen and (orientation: portrait)";
98
102
 
103
+ //// Cursors
104
+
105
+ //Custom use example -> $cursor-default-value: url(http://cursors-site.net/path/to/custom/cursor/default.cur),progress;
106
+
107
+ // $cursor-crosshair-value: "crosshair";
108
+ // $cursor-default-value: "default";
109
+ // $cursor-pointer-value: "pointer";
110
+ // $cursor-help-value: "help";
111
+
99
112
  //
100
113
  // Grid Variables
101
114
  //
@@ -111,7 +124,7 @@ $em-base: 16px !default;
111
124
  // Maximum number of block grid elements per row
112
125
 
113
126
  // $block-grid-elements: 12;
114
- // $block-grid-default-spacing: 10px;
127
+ // $block-grid-default-spacing: emCalc(20px);
115
128
 
116
129
  // Enables media queries for block-grid classes. Set to false if writing semantic HTML.
117
130
 
@@ -187,7 +200,8 @@ $em-base: 16px !default;
187
200
  // Lists
188
201
 
189
202
  // $list-style-position: outside;
190
- // $list-side-margin: emCalc(18px);
203
+ // $list-side-margin: emCalc(20px);
204
+ // $list-nested-margin: emCalc(20px);
191
205
  // $definition-list-header-weight: bold;
192
206
  // $definition-list-header-margin-bottom: .3em;
193
207
  // $definition-list-margin-bottom: emCalc(12px);
@@ -260,6 +274,7 @@ $em-base: 16px !default;
260
274
  // $input-border-width: 1px;
261
275
  // $input-disabled-bg: #ddd;
262
276
  // $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
277
+ // $input-include-glowing-effect: true;
263
278
 
264
279
  // Fieldset border and spacing.
265
280
 
@@ -294,6 +309,15 @@ $em-base: 16px !default;
294
309
  // $input-error-message-font-color: #fff;
295
310
  // $input-error-message-font-color-alt: #333;
296
311
 
312
+ // Glowing effect of inputs when focused
313
+
314
+ // $glowing-effect-fade-time: 0.45s;
315
+ // $glowing-effect-color: $input-focus-border-color;
316
+
317
+ //
318
+ // Button Variables
319
+ //
320
+
297
321
  // Padding for buttons.
298
322
 
299
323
  // $button-tny: emCalc(7px);
@@ -336,6 +360,14 @@ $em-base: 16px !default;
336
360
 
337
361
  // $button-disabled-opacity: 0.6;
338
362
 
363
+ //
364
+ // Button Groups
365
+ //
366
+
367
+ // Sets the margin for the right side by default, and the left margin if right-to-left direction is used
368
+
369
+ // $button-bar-margin-opposite: emCalc(10px);
370
+
339
371
  //
340
372
  // Dropdown Button Variables
341
373
  //
@@ -420,43 +452,44 @@ $em-base: 16px !default;
420
452
  // Alert Variables
421
453
  //
422
454
 
423
- // Alert padding.
455
+ // Alert padding
424
456
 
425
- // $alert-padding-top: emCalc(11px);
426
- // $alert-padding-left: $alert-padding-top;
427
- // $alert-padding-right: $alert-padding-top + emCalc(10px);
428
- // $alert-padding-bottom: $alert-padding-top + emCalc(1px);
457
+ // $alert-padding-top: emCalc(11px);
458
+ // $alert-padding-default-float: $alert-padding-top;
459
+ // $alert-padding-opposite-direction: $alert-padding-top + emCalc(10px);
460
+ // $alert-padding-bottom: $alert-padding-top + emCalc(1px);
429
461
 
430
- // Text style.
462
+ // Text style
431
463
 
432
- // $alert-font-weight: bold;
433
- // $alert-font-size: emCalc(14px);
434
- // $alert-font-color: #fff;
435
- // $alert-font-color-alt: darken($secondary-color, 60%);
464
+ // $alert-font-weight: bold;
465
+ // $alert-font-size: emCalc(14px);
466
+ // $alert-font-color: #fff;
467
+ // $alert-font-color-alt: darken($secondary-color, 60%);
436
468
 
437
- // Close hover effect.
469
+ // Hover effect
438
470
 
439
- // $alert-function-factor: 10%;
471
+ // $alert-function-factor: 10%;
440
472
 
441
- // Border styles.
473
+ // Border Styles
442
474
 
443
- // $alert-border-style: solid;
444
- // $alert-border-width: 1px;
445
- // $alert-border-color: darken($primary-color, $alert-function-factor);
446
- // $alert-bottom-margin: emCalc(20px);
475
+ // $alert-border-style: solid;
476
+ // $alert-border-width: 1px;
477
+ // $alert-border-color: darken($primary-color, $alert-function-factor);
478
+ // $alert-bottom-margin: emCalc(20px);
447
479
 
448
- // Close buttons
480
+ // Close Button style
449
481
 
450
- // $alert-close-color: #333;
451
- // $alert-close-position: emCalc(5px);
452
- // $alert-close-font-size: emCalc(22px);
453
- // $alert-close-opacity: 0.3;
454
- // $alert-close-opacity-hover: 0.5;
455
- // $alert-close-padding: 5px 4px 4px;
482
+ // $alert-close-color: #333;
483
+ // $alert-close-position: emCalc(5px);
484
+ // $alert-close-font-size: emCalc(22px);
485
+ // $alert-close-opacity: 0.3;
486
+ // $alert-close-opacity-hover: 0.5;
487
+ // $alert-close-padding: 5px 4px 4px;
456
488
 
457
489
  // Border radius
458
490
 
459
- // $alert-radius: $global-radius;
491
+ // $alert-radius: $global-radius;
492
+
460
493
 
461
494
  //
462
495
  // Breadcrumb Variables
@@ -744,7 +777,6 @@ $em-base: 16px !default;
744
777
  // Caption styles
745
778
 
746
779
  // $orbit-container-bg: #f5f5f5;
747
- // $orbit-caption-bg-old-browser: #000;
748
780
  // $orbit-caption-bg-old: rgb(0,0,0);
749
781
  // $orbit-caption-bg: rgba(0,0,0,0.6);
750
782
  // $orbit-caption-font-color: #fff;
@@ -766,13 +798,14 @@ $em-base: 16px !default;
766
798
 
767
799
  // Slide numbers
768
800
 
769
- // $orbit-slide-number-bg: rgb(0,0,0);
801
+ // $orbit-slide-number-bg: rgba(0,0,0,0);
770
802
  // $orbit-slide-number-font-color: #fff;
771
803
  // $orbit-slide-number-padding: emCalc(5px);
772
804
 
773
- // Margin for when Orbit is stacked on small screens
805
+ // Graceful Loading Wrapper and preloader
774
806
 
775
- // $stack-on-small-margin-bottom: emCalc(20px); // Doesn't quite work yet
807
+ // $wrapper-class: "slideshow-wrapper";
808
+ // $preloader-class: "preloader" ;
776
809
 
777
810
  //
778
811
  // Pagination Variables
@@ -799,7 +832,7 @@ $em-base: 16px !default;
799
832
 
800
833
  // Disabled anchor links
801
834
 
802
- // $pagination-link-unavailable-cursor: default;
835
+ // $pagination-link-unavailable-cursor: $cursor-default-value;
803
836
  // $pagination-link-unavailable-font-color: #999;
804
837
  // $pagination-link-unavailable-bg-active: transparent;
805
838
 
@@ -808,7 +841,7 @@ $em-base: 16px !default;
808
841
  // $pagination-link-current-background: $primary-color;
809
842
  // $pagination-link-current-font-color: #fff;
810
843
  // $pagination-link-current-font-weight: bold;
811
- // $pagination-link-current-cursor: default;
844
+ // $pagination-link-current-cursor: $cursor-default-value;
812
845
  // $pagination-link-current-active-bg: $primary-color;
813
846
 
814
847
  //
@@ -951,13 +984,17 @@ $em-base: 16px !default;
951
984
  // $reveal-border-width: 1px;
952
985
  // $reveal-border-color: #666;
953
986
 
987
+ // $reveal-modal-class: "reveal-modal";
988
+ // $close-reveal-modal-class: "close-reveal-modal";
989
+
954
990
  //
955
991
  // Section Variables
956
992
  //
957
993
 
958
994
  // Padding and hover factor
959
995
 
960
- // $section-padding: emCalc(15px);
996
+ // $section-title-padding: emCalc(15px);
997
+ // $section-content-padding: emCalc(15px);
961
998
  // $section-function-factor: 10%;
962
999
 
963
1000
  // Titles
@@ -966,6 +1003,7 @@ $em-base: 16px !default;
966
1003
  // $section-title-bg: #efefef;
967
1004
  // $section-title-bg-active: darken($section-title-bg, $section-function-factor);
968
1005
  // $section-title-bg-active-tabs: #fff;
1006
+ // $section-title-bg-hover: darken($section-title-bg, $section-function-factor/2);
969
1007
 
970
1008
  // Border size
971
1009
 
@@ -973,13 +1011,20 @@ $em-base: 16px !default;
973
1011
  // $section-border-style: solid;
974
1012
  // $section-border-color: #ccc;
975
1013
 
976
- // Color of the background and some size options
1014
+ // Font controls
1015
+
1016
+ // $section-font-size: emCalc(14px);
1017
+
1018
+ // Control the color of the background and some size options
977
1019
 
978
1020
  // $section-content-bg: #fff;
979
1021
  // $section-vertical-nav-min-width: emCalc(200px);
980
1022
  // $section-vertical-tabs-title-width: emCalc(200px);
981
1023
  // $section-bottom-margin: emCalc(20px);
982
1024
 
1025
+ // $title-selector: ".title";
1026
+ // $content-selector: ".content";
1027
+
983
1028
  //
984
1029
  // Side Nav Variables
985
1030
  //
@@ -1030,7 +1075,7 @@ $em-base: 16px !default;
1030
1075
  // $sub-nav-active-bg: $primary-color;
1031
1076
  // $sub-nav-active-color: #fff;
1032
1077
  // $sub-nav-active-padding: emCalc(3px) emCalc(9px);
1033
- // $sub-nav-active-cursor: default;
1078
+ // $sub-nav-active-cursor: $cursor-default-value;
1034
1079
 
1035
1080
  //
1036
1081
  // Switch Variables
@@ -1157,50 +1202,68 @@ $em-base: 16px !default;
1157
1202
 
1158
1203
  // Background color for the top bar
1159
1204
 
1160
- // $topbar-bg: #111;
1205
+ // $topbar-bg: #111 !default;
1161
1206
 
1162
1207
  // Height and margin
1163
1208
 
1164
- // $topbar-height: 45px;
1165
- // $topbar-margin-bottom: emCalc(30px);
1209
+ // $topbar-height: 45px;
1210
+ // $topbar-margin-bottom: emCalc(30px);
1211
+
1212
+ // Control Input height for top bar
1166
1213
 
1167
- // Input height for top bar
1214
+ // $topbar-input-height: 2.45em;
1168
1215
 
1169
- // $topbar-input-height: 2.45em;
1216
+ // Controlling the styles for the title in the top bar
1170
1217
 
1171
- // Title in the top bar
1218
+ // $topbar-title-weight: bold;
1219
+ // $topbar-title-font-size: emCalc(17px);
1172
1220
 
1173
- // $topbar-title-weight: bold;
1174
- // $topbar-title-font-size: emCalc(17px);
1221
+ // Style the top bar dropdown elements
1175
1222
 
1176
- // Link colors and styles for top-level nav
1223
+ // $topbar-dropdown-bg: #222;
1224
+ // $topbar-dropdown-link-color: #fff;
1225
+ // $topbar-dropdown-link-bg: lighten($topbar-bg, 5%);
1226
+ // $topbar-dropdown-toggle-size: 5px;
1227
+ // $topbar-dropdown-toggle-color: #fff;
1228
+ // $topbar-dropdown-toggle-alpha: 0.5;
1177
1229
 
1178
- // $topbar-link-color: #fff;
1179
- // $topbar-link-weight: bold;
1180
- // $topbar-link-font-size: emCalc(13px);
1181
- // $topbar-link-hover-lightness: -30% !default; // Darken by 30%
1230
+ // Set the link colors and styles for top-level nav
1182
1231
 
1183
- // Top bar dropdown elements
1232
+ // $topbar-link-color: #fff;
1233
+ // $topbar-link-color-hover: #fff;
1234
+ // $topbar-link-color-active: #fff;
1235
+ // $topbar-link-weight: bold;
1236
+ // $topbar-link-font-size: emCalc(13px);
1237
+ // $topbar-link-hover-lightness: -30%; // Darken by 30%
1238
+ // $topbar-link-bg-hover: darken($topbar-bg, 3%);
1239
+ // $topbar-link-bg-active: darken($topbar-bg, 3%);
1184
1240
 
1185
- // $topbar-dropdown-bg: #333;
1186
- // $topbar-dropdown-link-color: #fff;
1187
- // $topbar-dropdown-toggle-size: 5px;
1188
- // $topbar-dropdown-toggle-color: #fff;
1189
- // $topbar-dropdown-toggle-alpha: 0.5;
1190
- // $dropdown-label-color: #555;
1241
+ // $topbar-dropdown-label-color: #555;
1242
+ // $topbar-dropdown-label-text-transform: uppercase;
1243
+ // $topbar-dropdown-label-font-weight: bold;
1244
+ // $topbar-dropdown-label-font-size: emCalc(10px);
1191
1245
 
1192
1246
  // Top menu icon styles
1193
1247
 
1194
- // $topbar-menu-link-transform: uppercase;
1195
- // $topbar-menu-link-font-size: emCalc(13px);
1196
- // $topbar-menu-link-weight: bold;
1197
- // $topbar-menu-link-color: #fff;
1198
- // $topbar-menu-icon-color: #fff;
1199
- // $topbar-menu-link-color-toggled: #888;
1200
- // $topbar-menu-icon-color-toggled: #888;
1248
+ // $topbar-menu-link-transform: uppercase;
1249
+ // $topbar-menu-link-font-size: emCalc(13px);
1250
+ // $topbar-menu-link-weight: bold;
1251
+ // $topbar-menu-link-color: #fff;
1252
+ // $topbar-menu-icon-color: #fff;
1253
+ // $topbar-menu-link-color-toggled: #888;
1254
+ // $topbar-menu-icon-color-toggled: #888;
1201
1255
 
1202
1256
  // Transitions and breakpoint styles
1203
1257
 
1204
- // $topbar-transition-speed: 300ms;
1205
- // $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout
1206
- // $topbar-media-query: "only screen and (min-width: "#{$topbar-breakpoint}")";
1258
+ // $topbar-transition-speed: 300ms;
1259
+ // $topbar-breakpoint: emCalc(940px); // Change to 9999px for always mobile layout
1260
+ // $topbar-media-query: "only screen and (min-width: #{$topbar-breakpoint})";
1261
+
1262
+ // Divider Styles
1263
+
1264
+ // $topbar-divider-border-bottom: solid 1px lighten($topbar-bg, 10%);
1265
+ // $topbar-divider-border-top: solid 1px darken($topbar-bg, 10%);
1266
+
1267
+ // Sticky Class
1268
+
1269
+ // $topbar-sticky-class: ".sticky";