foundation-rails 5.2.1.0 → 5.2.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.
- checksums.yaml +4 -4
- data/bower.json +2 -2
- data/lib/foundation/rails/version.rb +1 -1
- data/test/dummy/Gemfile +1 -1
- data/vendor/assets/javascripts/foundation.js +2 -1
- data/vendor/assets/javascripts/foundation/foundation.abide.js +60 -19
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +9 -5
- data/vendor/assets/javascripts/foundation/foundation.alert.js +13 -7
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +19 -9
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +8 -3
- data/vendor/assets/javascripts/foundation/foundation.equalizer.js +7 -3
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +5 -9
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +10 -5
- data/vendor/assets/javascripts/foundation/foundation.js +29 -23
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +15 -12
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +20 -27
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +129 -41
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +1 -1
- data/vendor/assets/javascripts/foundation/foundation.slider.js +27 -14
- data/vendor/assets/javascripts/foundation/foundation.tab.js +19 -8
- data/vendor/assets/javascripts/foundation/foundation.tooltip.js +9 -4
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +5 -3
- data/vendor/assets/stylesheets/foundation/_settings.scss +69 -30
- data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +6 -1
- data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +19 -8
- data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +3 -3
- data/vendor/assets/stylesheets/foundation/components/_buttons.scss +4 -5
- data/vendor/assets/stylesheets/foundation/components/_clearing.scss +2 -4
- data/vendor/assets/stylesheets/foundation/components/_forms.scss +30 -29
- data/vendor/assets/stylesheets/foundation/components/_global.scss +37 -76
- data/vendor/assets/stylesheets/foundation/components/_grid.scss +25 -26
- data/vendor/assets/stylesheets/foundation/components/_joyride.scss +0 -4
- data/vendor/assets/stylesheets/foundation/components/_magellan.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +19 -36
- data/vendor/assets/stylesheets/foundation/components/_orbit.scss +126 -152
- data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_reveal.scss +31 -14
- data/vendor/assets/stylesheets/foundation/components/_switch.scss +4 -30
- data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +0 -6
- data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +39 -45
- data/vendor/assets/stylesheets/foundation/components/_type.scss +37 -125
- data/vendor/assets/stylesheets/foundation/components/_visibility.scss +15 -6
- metadata +2 -2
@@ -4,7 +4,7 @@
|
|
4
4
|
Foundation.libs.slider = {
|
5
5
|
name : 'slider',
|
6
6
|
|
7
|
-
version : '5.2.
|
7
|
+
version : '5.2.2',
|
8
8
|
|
9
9
|
settings: {
|
10
10
|
start: 0,
|
@@ -28,22 +28,24 @@
|
|
28
28
|
|
29
29
|
$(this.scope)
|
30
30
|
.off('.slider')
|
31
|
-
.on('mousedown.fndtn.slider touchstart.fndtn.slider pointerdown.fndtn.slider',
|
31
|
+
.on('mousedown.fndtn.slider touchstart.fndtn.slider pointerdown.fndtn.slider',
|
32
|
+
'[' + self.attr_name() + '] .range-slider-handle', function(e) {
|
32
33
|
if (!self.cache.active) {
|
34
|
+
e.preventDefault();
|
33
35
|
self.set_active_slider($(e.target));
|
34
36
|
}
|
35
37
|
})
|
36
38
|
.on('mousemove.fndtn.slider touchmove.fndtn.slider pointermove.fndtn.slider', function(e) {
|
37
39
|
if (!!self.cache.active) {
|
38
|
-
e.preventDefault();
|
39
|
-
self.calculate_position(self.cache.active, e.pageX || e.originalEvent.touches[0].clientX || e.currentPoint.x);
|
40
|
+
e.preventDefault();
|
41
|
+
self.calculate_position(self.cache.active, e.pageX || e.originalEvent.clientX || e.originalEvent.touches[0].clientX || e.currentPoint.x);
|
40
42
|
}
|
41
43
|
})
|
42
44
|
.on('mouseup.fndtn.slider touchend.fndtn.slider pointerup.fndtn.slider', function(e) {
|
43
45
|
self.remove_active_slider();
|
44
46
|
})
|
45
47
|
.on('change.fndtn.slider', function(e) {
|
46
|
-
self.settings.on_change;
|
48
|
+
self.settings.on_change();
|
47
49
|
});
|
48
50
|
|
49
51
|
self.S(window)
|
@@ -69,11 +71,18 @@
|
|
69
71
|
bar_o = $.data($handle[0], 'bar_o');
|
70
72
|
|
71
73
|
requestAnimationFrame(function(){
|
72
|
-
var pct
|
73
|
-
|
74
|
+
var pct;
|
75
|
+
|
76
|
+
if (Foundation.rtl) {
|
77
|
+
pct = self.limit_to(((bar_o+bar_w-cursor_x)/bar_w),0,1);
|
78
|
+
} else {
|
79
|
+
pct = self.limit_to(((cursor_x-bar_o)/bar_w),0,1);
|
80
|
+
}
|
81
|
+
|
82
|
+
var norm = self.normalized_value(pct, settings.start, settings.end, settings.step);
|
74
83
|
|
75
84
|
self.set_ui($handle, norm);
|
76
|
-
});
|
85
|
+
});
|
77
86
|
},
|
78
87
|
|
79
88
|
set_ui : function($handle, value) {
|
@@ -84,9 +93,13 @@
|
|
84
93
|
handle_offset = norm_pct*(bar_w-handle_w)-1,
|
85
94
|
progress_bar_width = norm_pct*100;
|
86
95
|
|
96
|
+
if (Foundation.rtl) {
|
97
|
+
handle_offset = -handle_offset;
|
98
|
+
}
|
99
|
+
|
87
100
|
this.set_translate($handle, handle_offset);
|
88
101
|
$handle.siblings('.range-slider-active-segment').css('width', progress_bar_width+'%');
|
89
|
-
|
102
|
+
|
90
103
|
$handle.parent().attr(this.attr_name(), value);
|
91
104
|
$handle.parent().trigger('change');
|
92
105
|
|
@@ -105,7 +118,7 @@
|
|
105
118
|
},
|
106
119
|
|
107
120
|
normalized_percentage : function(val, start, end) {
|
108
|
-
return val/(end - start);
|
121
|
+
return (val - start)/(end - start);
|
109
122
|
},
|
110
123
|
|
111
124
|
normalized_value : function(val, start, end, step) {
|
@@ -115,7 +128,7 @@
|
|
115
128
|
mod = (point-(point%step)) / step,
|
116
129
|
rem = point % step,
|
117
130
|
round = ( rem >= step*0.5 ? step : 0);
|
118
|
-
return (mod*step + round);
|
131
|
+
return (mod*step + round) + start;
|
119
132
|
},
|
120
133
|
|
121
134
|
set_translate : function(ele, offset, vertical) {
|
@@ -151,7 +164,7 @@
|
|
151
164
|
|
152
165
|
set_initial_position : function($ele) {
|
153
166
|
var settings = $.data($ele.children('.range-slider-handle')[0], 'settings'),
|
154
|
-
initial = (!!settings.initial ? settings.initial : Math.floor((settings.end-settings.start)*0.5/settings.step)*settings.step),
|
167
|
+
initial = (!!settings.initial ? settings.initial : Math.floor((settings.end-settings.start)*0.5/settings.step)*settings.step+settings.start),
|
155
168
|
$handle = $ele.children('.range-slider-handle');
|
156
169
|
this.set_ui($handle, initial);
|
157
170
|
},
|
@@ -173,9 +186,9 @@
|
|
173
186
|
var handle = $(this).children('.range-slider-handle')[0],
|
174
187
|
val = $(this).attr(self.attr_name());
|
175
188
|
self.initialize_settings(handle);
|
176
|
-
|
189
|
+
|
177
190
|
if (val) {
|
178
|
-
self.set_ui($(handle),
|
191
|
+
self.set_ui($(handle), parseFloat(val));
|
179
192
|
} else {
|
180
193
|
self.set_initial_position($(this));
|
181
194
|
}
|
@@ -5,13 +5,14 @@
|
|
5
5
|
Foundation.libs.tab = {
|
6
6
|
name : 'tab',
|
7
7
|
|
8
|
-
version : '5.2.
|
8
|
+
version : '5.2.2',
|
9
9
|
|
10
10
|
settings : {
|
11
11
|
active_class: 'active',
|
12
12
|
callback : function () {},
|
13
13
|
deep_linking: false,
|
14
|
-
scroll_to_content: true
|
14
|
+
scroll_to_content: true,
|
15
|
+
is_hover: false
|
15
16
|
},
|
16
17
|
|
17
18
|
default_tab_hashes: [],
|
@@ -35,12 +36,22 @@
|
|
35
36
|
var self = this,
|
36
37
|
S = this.S;
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
39
|
+
S(this.scope)
|
40
|
+
.off('.tab')
|
41
|
+
// Click event: tab title
|
42
|
+
.on('click.fndtn.tab', '[' + this.attr_name() + '] > dd > a', function (e) {
|
43
|
+
var settings = S(this).closest('[' + self.attr_name() +']').data(self.attr_name(true) + '-init');
|
44
|
+
if (!settings.is_hover || Modernizr.touch) {
|
45
|
+
e.preventDefault();
|
46
|
+
e.stopPropagation();
|
47
|
+
self.toggle_active_tab(S(this).parent());
|
48
|
+
}
|
49
|
+
})
|
50
|
+
// Hover event: tab title
|
51
|
+
.on('mouseenter.fndtn.tab', '[' + this.attr_name() + '] > dd > a', function (e) {
|
52
|
+
var settings = S(this).closest('[' + self.attr_name() +']').data(self.attr_name(true) + '-init');
|
53
|
+
if (settings.is_hover) self.toggle_active_tab(S(this).parent());
|
54
|
+
});
|
44
55
|
|
45
56
|
// Location hash change event
|
46
57
|
S(window).on('hashchange.fndtn.tab', function (e) {
|
@@ -4,7 +4,7 @@
|
|
4
4
|
Foundation.libs.tooltip = {
|
5
5
|
name : 'tooltip',
|
6
6
|
|
7
|
-
version : '5.2.
|
7
|
+
version : '5.2.2',
|
8
8
|
|
9
9
|
settings : {
|
10
10
|
additional_inheritable_classes : [],
|
@@ -36,11 +36,15 @@
|
|
36
36
|
$(this.scope)
|
37
37
|
.off('.tooltip')
|
38
38
|
.on('mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip touchstart.fndtn.tooltip MSPointerDown.fndtn.tooltip',
|
39
|
-
'[' + this.attr_name() + ']
|
39
|
+
'[' + this.attr_name() + ']', function (e) {
|
40
40
|
var $this = S(this),
|
41
41
|
settings = $.extend({}, self.settings, self.data_options($this)),
|
42
42
|
is_touch = false;
|
43
43
|
|
44
|
+
if (Modernizr.touch && /touchstart|MSPointerDown/i.test(e.type) && S(e.target).is('a')) {
|
45
|
+
return false;
|
46
|
+
}
|
47
|
+
|
44
48
|
if (/mouse/i.test(e.type) && self.ie_touch(e)) return false;
|
45
49
|
|
46
50
|
if ($this.hasClass('open')) {
|
@@ -201,7 +205,8 @@
|
|
201
205
|
},
|
202
206
|
|
203
207
|
small : function () {
|
204
|
-
return matchMedia(Foundation.media_queries.small).matches
|
208
|
+
return matchMedia(Foundation.media_queries.small).matches &&
|
209
|
+
!matchMedia(Foundation.media_queries.medium).matches;
|
205
210
|
},
|
206
211
|
|
207
212
|
inheritable_classes : function ($target) {
|
@@ -258,7 +263,7 @@
|
|
258
263
|
var self = this;
|
259
264
|
this.S(this.scope).off('.fndtn.tooltip');
|
260
265
|
this.S(this.settings.tooltip_class).each(function (i) {
|
261
|
-
$('[' + self.attr_name() + ']').
|
266
|
+
$('[' + self.attr_name() + ']').eq(i).attr('title', $(this).text());
|
262
267
|
}).remove();
|
263
268
|
},
|
264
269
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
Foundation.libs.topbar = {
|
5
5
|
name : 'topbar',
|
6
6
|
|
7
|
-
version: '5.2.
|
7
|
+
version: '5.2.2',
|
8
8
|
|
9
9
|
settings : {
|
10
10
|
index : 0,
|
@@ -188,6 +188,8 @@
|
|
188
188
|
} else {
|
189
189
|
li.addClass('hover');
|
190
190
|
|
191
|
+
$(li).siblings().removeClass('hover');
|
192
|
+
|
191
193
|
if (target[0].nodeName === 'A' && target.parent().hasClass('has-dropdown')) {
|
192
194
|
e.preventDefault();
|
193
195
|
}
|
@@ -230,7 +232,7 @@
|
|
230
232
|
return;
|
231
233
|
}
|
232
234
|
|
233
|
-
S('[' + self.attr_name() + '] li').removeClass('hover');
|
235
|
+
S('[' + self.attr_name() + '] li.hover').removeClass('hover');
|
234
236
|
});
|
235
237
|
|
236
238
|
// Go up a level on Click
|
@@ -417,4 +419,4 @@
|
|
417
419
|
|
418
420
|
reflow : function () {}
|
419
421
|
};
|
420
|
-
}(jQuery, this, this.document));
|
422
|
+
}(jQuery, this, this.document));
|
@@ -12,8 +12,6 @@
|
|
12
12
|
// Allows the use of rem-calc() or lower-bound() in your settings
|
13
13
|
@import "foundation/functions";
|
14
14
|
|
15
|
-
// $experimental: true;
|
16
|
-
|
17
15
|
// The default font-size is set to 100% of the browser style sheet (usually 16px)
|
18
16
|
// for compatibility with browser-based text zoom or user-set defaults.
|
19
17
|
|
@@ -36,9 +34,10 @@
|
|
36
34
|
// $include-xl-html-grid-classes: false;
|
37
35
|
|
38
36
|
// $row-width: rem-calc(1000);
|
39
|
-
// $column-gutter: rem-calc(30);
|
40
37
|
// $total-columns: 12;
|
41
38
|
|
39
|
+
// Global
|
40
|
+
|
42
41
|
// We use these to control various global styles
|
43
42
|
// $body-bg: #fff;
|
44
43
|
// $body-font-color: #222;
|
@@ -71,12 +70,14 @@
|
|
71
70
|
// $shiny-edge-color: rgba(#fff, .5);
|
72
71
|
// $shiny-edge-active-color: rgba(#000, .2);
|
73
72
|
|
73
|
+
// $column-gutter: rem-calc(30);
|
74
|
+
|
74
75
|
// Media Query Ranges
|
75
76
|
// $small-range: (0em, 40em);
|
76
77
|
// $medium-range: (40.063em, 64em);
|
77
78
|
// $large-range: (64.063em, 90em);
|
78
79
|
// $xlarge-range: (90.063em, 120em);
|
79
|
-
// $xxlarge-range: (120.063em);
|
80
|
+
// $xxlarge-range: (120.063em, 99999999em);
|
80
81
|
|
81
82
|
// $screen: "only screen";
|
82
83
|
|
@@ -137,7 +138,7 @@
|
|
137
138
|
// These control how subheaders are styled.
|
138
139
|
// $subheader-line-height: 1.4;
|
139
140
|
// $subheader-font-color: scale-color($header-font-color, $lightness: 35%);
|
140
|
-
// $subheader-font-weight:
|
141
|
+
// $subheader-font-weight: normal;
|
141
142
|
// $subheader-top-margin: .2rem;
|
142
143
|
// $subheader-bottom-margin: .5rem;
|
143
144
|
|
@@ -259,7 +260,7 @@
|
|
259
260
|
// We use these to style the close buttons
|
260
261
|
// $alert-close-color: #333;
|
261
262
|
// $alert-close-top: 50%;
|
262
|
-
// $alert-close-position: rem-calc(
|
263
|
+
// $alert-close-position: rem-calc(4);
|
263
264
|
// $alert-close-font-size: rem-calc(22);
|
264
265
|
// $alert-close-opacity: 0.3;
|
265
266
|
// $alert-close-opacity-hover: 0.5;
|
@@ -268,14 +269,20 @@
|
|
268
269
|
// We use this to control border radius
|
269
270
|
// $alert-radius: $global-radius;
|
270
271
|
|
272
|
+
// We use this to control transition effects
|
273
|
+
// $alert-transition-speed: 300ms;
|
274
|
+
// $alert-transition-ease: ease-out;
|
275
|
+
|
271
276
|
// Block Grid
|
272
277
|
|
273
278
|
// $include-html-grid-classes: $include-html-classes;
|
279
|
+
// $include-xl-html-block-grid-classes: false;
|
274
280
|
|
275
281
|
// We use this to control the maximum number of block grid elements per row
|
276
282
|
// $block-grid-elements: 12;
|
277
283
|
// $block-grid-default-spacing: rem-calc(20);
|
278
|
-
// $align-block-grid-to-grid:
|
284
|
+
// $align-block-grid-to-grid: false;
|
285
|
+
|
279
286
|
|
280
287
|
// Enables media queries for block-grid classes. Set to false if writing semantic HTML.
|
281
288
|
// $block-grid-media-queries: true;
|
@@ -338,11 +345,13 @@
|
|
338
345
|
// $button-font-align: center;
|
339
346
|
|
340
347
|
// We use these to control various hover effects.
|
341
|
-
// $button-function-factor:
|
348
|
+
// $button-function-factor: -20%;
|
342
349
|
|
343
350
|
// We use these to control button border styles.
|
344
|
-
// $button-border-width:
|
351
|
+
// $button-border-width: 0px;
|
345
352
|
// $button-border-style: solid;
|
353
|
+
// $bg: $primary-color;
|
354
|
+
// $button-border-color: scale-color($bg, $lightness: $button-function-factor);
|
346
355
|
|
347
356
|
// We use this to set the default radius used throughout the core.
|
348
357
|
// $button-radius: $global-radius;
|
@@ -366,7 +375,7 @@
|
|
366
375
|
// We use these to set the background colors for parts of Clearing.
|
367
376
|
// $clearing-bg: #333;
|
368
377
|
// $clearing-caption-bg: $clearing-bg;
|
369
|
-
// $clearing-carousel-bg: rgba
|
378
|
+
// $clearing-carousel-bg: rgba(51,51,51,0.8);
|
370
379
|
// $clearing-img-bg: $clearing-bg;
|
371
380
|
|
372
381
|
// We use these to style the close button
|
@@ -396,8 +405,19 @@
|
|
396
405
|
// $f-dropdown-max-width: 200px;
|
397
406
|
// $f-dropdown-height: auto;
|
398
407
|
// $f-dropdown-max-height: none;
|
408
|
+
|
409
|
+
// Used for bottom position
|
399
410
|
// $f-dropdown-margin-top: 2px;
|
400
411
|
|
412
|
+
// Used for right position
|
413
|
+
// $f-dropdown-margin-left: $f-dropdown-margin-top;
|
414
|
+
|
415
|
+
// Used for left position
|
416
|
+
// $f-dropdown-margin-right: $f-dropdown-margin-top;
|
417
|
+
|
418
|
+
// Used for top position
|
419
|
+
// $f-dropdown-margin-bottom: $f-dropdown-margin-top;
|
420
|
+
|
401
421
|
// We use this to control the background color
|
402
422
|
// $f-dropdown-bg: #fff;
|
403
423
|
|
@@ -470,7 +490,7 @@
|
|
470
490
|
// $flex-video-margin-bottom: rem-calc(16);
|
471
491
|
|
472
492
|
// We use this to control widescreen bottom padding
|
473
|
-
// $flex-video-widescreen-padding-bottom:
|
493
|
+
// $flex-video-widescreen-padding-bottom: 56.34%;
|
474
494
|
|
475
495
|
// Forms
|
476
496
|
|
@@ -485,6 +505,7 @@
|
|
485
505
|
// $form-label-font-weight: normal;
|
486
506
|
// $form-label-line-height: 1.5;
|
487
507
|
// $form-label-font-color: scale-color(#000, $lightness: 30%);
|
508
|
+
// $form-label-small-transform: capitalize;
|
488
509
|
// $form-label-bottom-margin: 0;
|
489
510
|
// $input-font-family: inherit;
|
490
511
|
// $input-font-color: rgba(0,0,0,0.75);
|
@@ -536,6 +557,7 @@
|
|
536
557
|
|
537
558
|
// Select variables
|
538
559
|
// $select-bg-color: #fafafa;
|
560
|
+
// $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%);
|
539
561
|
|
540
562
|
// Inline Lists
|
541
563
|
|
@@ -597,7 +619,7 @@
|
|
597
619
|
|
598
620
|
// We use these to control text styles.
|
599
621
|
// $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
|
600
|
-
// $keystroke-font-size:
|
622
|
+
// $keystroke-font-size: inherit;
|
601
623
|
// $keystroke-font-color: #222;
|
602
624
|
// $keystroke-font-color-alt: #fff;
|
603
625
|
// $keystroke-function-factor: -7%;
|
@@ -636,10 +658,12 @@
|
|
636
658
|
|
637
659
|
// Off-canvas
|
638
660
|
|
661
|
+
// $include-html-off-canvas-classes: $include-html-classes;
|
662
|
+
|
639
663
|
// $tabbar-bg: #333;
|
640
664
|
// $tabbar-height: rem-calc(45);
|
641
665
|
// $tabbar-line-height: $tabbar-height;
|
642
|
-
// $tabbar-color: #
|
666
|
+
// $tabbar-color: #fff;
|
643
667
|
// $tabbar-middle-padding: 0 rem-calc(10);
|
644
668
|
|
645
669
|
// Off Canvas Divider Styles
|
@@ -647,13 +671,13 @@
|
|
647
671
|
// $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%);
|
648
672
|
|
649
673
|
// Off Canvas Tab Bar Headers
|
650
|
-
// $tabbar-header-color: #
|
674
|
+
// $tabbar-header-color: #fff;
|
651
675
|
// $tabbar-header-weight: bold;
|
652
676
|
// $tabbar-header-line-height: $tabbar-height;
|
653
677
|
// $tabbar-header-margin: 0;
|
654
678
|
|
655
679
|
// Off Canvas Menu Variables
|
656
|
-
// $off-canvas-width:
|
680
|
+
// $off-canvas-width: rem-calc(250);
|
657
681
|
// $off-canvas-bg: #333;
|
658
682
|
|
659
683
|
// Off Canvas Menu List Variables
|
@@ -666,11 +690,11 @@
|
|
666
690
|
// $off-canvas-label-border-bottom: none;
|
667
691
|
// $off-canvas-label-margin:0;
|
668
692
|
// $off-canvas-link-padding: rem-calc(10, 15);
|
669
|
-
// $off-canvas-link-color: rgba(#
|
693
|
+
// $off-canvas-link-color: rgba(#fff, 0.7);
|
670
694
|
// $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
|
671
695
|
|
672
696
|
// Off Canvas Menu Icon Variables
|
673
|
-
// $tabbar-menu-icon-color: #
|
697
|
+
// $tabbar-menu-icon-color: #fff;
|
674
698
|
// $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%);
|
675
699
|
|
676
700
|
// $tabbar-menu-icon-text-indent: rem-calc(35);
|
@@ -689,8 +713,8 @@
|
|
689
713
|
// $off-canvas-overlay-transition: background 300ms ease;
|
690
714
|
// $off-canvas-overlay-cursor: pointer;
|
691
715
|
// $off-canvas-overlay-box-shadow: -4px 0 4px rgba(#000, 0.5), 4px 0 4px rgba(#000, 0.5);
|
692
|
-
// $off-canvas-overlay-background: rgba(#
|
693
|
-
// $off-canvas-overlay-background-hover: rgba(#
|
716
|
+
// $off-canvas-overlay-background: rgba(#fff, 0.2);
|
717
|
+
// $off-canvas-overlay-background-hover: rgba(#fff, 0.05);
|
694
718
|
|
695
719
|
// Transition Variables
|
696
720
|
// $menu-slide: "transform 500ms ease";
|
@@ -709,7 +733,7 @@
|
|
709
733
|
// $orbit-caption-height: auto;
|
710
734
|
|
711
735
|
// We use these to control the left/right nav styles
|
712
|
-
// $orbit-nav-bg:
|
736
|
+
// $orbit-nav-bg: transparent;
|
713
737
|
// $orbit-nav-bg-hover: rgba(0,0,0,0.3);
|
714
738
|
// $orbit-nav-arrow-color: #fff;
|
715
739
|
// $orbit-nav-arrow-color-hover: #fff;
|
@@ -728,6 +752,15 @@
|
|
728
752
|
// $orbit-slide-number-font-color: #fff;
|
729
753
|
// $orbit-slide-number-padding: rem-calc(5);
|
730
754
|
|
755
|
+
// We use these to controls the css animation
|
756
|
+
// $orbit-animation-speed: 500ms;
|
757
|
+
// $orbit-animation-ease: ease-in-out;
|
758
|
+
|
759
|
+
// Hide controls on small
|
760
|
+
// $orbit-nav-hide-for-small: true;
|
761
|
+
// $orbit-bullet-hide-for-small: true;
|
762
|
+
// $orbit-timer-hide-for-small: true;
|
763
|
+
|
731
764
|
// Graceful Loading Wrapper and preloader
|
732
765
|
// $wrapper-class: "slideshow-wrapper";
|
733
766
|
// $preloader-class: "preloader";
|
@@ -840,16 +873,16 @@
|
|
840
873
|
// $price-cta-align: center;
|
841
874
|
// $price-cta-padding: rem-calc(20 20 0);
|
842
875
|
|
843
|
-
// Progress
|
876
|
+
// Progress Bar
|
844
877
|
|
845
878
|
// $include-html-media-classes: $include-html-classes;
|
846
879
|
|
847
|
-
// We use this to
|
880
|
+
// We use this to set the progress bar height
|
848
881
|
// $progress-bar-height: rem-calc(25);
|
849
882
|
// $progress-bar-color: #f6f6f6 ;
|
850
883
|
|
851
884
|
// We use these to control the border styles
|
852
|
-
// $progress-bar-border-color: scale-color(#fff, $lightness:
|
885
|
+
// $progress-bar-border-color: scale-color(#fff, $lightness: 20%);
|
853
886
|
// $progress-bar-border-size: 1px;
|
854
887
|
// $progress-bar-border-style: solid;
|
855
888
|
// $progress-bar-border-radius: $global-radius;
|
@@ -874,18 +907,22 @@
|
|
874
907
|
|
875
908
|
// We use these to control the style of the modal itself.
|
876
909
|
// $reveal-modal-bg: #fff;
|
877
|
-
// $reveal-position-top:
|
910
|
+
// $reveal-position-top: rem-calc(100);
|
878
911
|
// $reveal-default-width: 80%;
|
879
912
|
// $reveal-modal-padding: rem-calc(20);
|
880
913
|
// $reveal-box-shadow: 0 0 10px rgba(#000,.4);
|
881
914
|
|
882
915
|
// We use these to style the reveal close button
|
883
|
-
// $reveal-close-font-size: rem-calc(
|
916
|
+
// $reveal-close-font-size: rem-calc(40);
|
884
917
|
// $reveal-close-top: rem-calc(8);
|
885
918
|
// $reveal-close-side: rem-calc(11);
|
886
919
|
// $reveal-close-color: #aaa;
|
887
920
|
// $reveal-close-weight: bold;
|
888
921
|
|
922
|
+
// We use this to set the default radius used throughout the core.
|
923
|
+
// $reveal-radius: $global-radius;
|
924
|
+
// $reveal-round: $global-rounded;
|
925
|
+
|
889
926
|
// We use these to control the modal border
|
890
927
|
// $reveal-border-style: solid;
|
891
928
|
// $reveal-border-width: 1px;
|
@@ -912,6 +949,7 @@
|
|
912
949
|
// $side-nav-link-color-hover: scale-color($side-nav-link-color, $lightness: 30%);
|
913
950
|
// $side-nav-font-size: rem-calc(14);
|
914
951
|
// $side-nav-font-weight: normal;
|
952
|
+
// $side-nav-font-weight-active: $side-nav-font-weight;
|
915
953
|
// $side-nav-font-family: $body-font-family;
|
916
954
|
// $side-nav-active-font-family: $side-nav-font-family;
|
917
955
|
|
@@ -920,7 +958,7 @@
|
|
920
958
|
// We use these to control border styles
|
921
959
|
// $side-nav-divider-size: 1px;
|
922
960
|
// $side-nav-divider-style: solid;
|
923
|
-
// $side-nav-divider-color: scale-color(#fff, $lightness:
|
961
|
+
// $side-nav-divider-color: scale-color(#fff, $lightness: 10%);
|
924
962
|
|
925
963
|
// Split Buttons
|
926
964
|
|
@@ -974,17 +1012,17 @@
|
|
974
1012
|
// $sub-nav-font-color: #999;
|
975
1013
|
// $sub-nav-font-weight: normal;
|
976
1014
|
// $sub-nav-text-decoration: none;
|
1015
|
+
// $sub-nav-padding: rem-calc(3 16);
|
977
1016
|
// $sub-nav-border-radius: 3px;
|
978
1017
|
// $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%);
|
979
1018
|
|
980
1019
|
|
981
1020
|
// We use these to control the active item styles
|
982
|
-
|
983
1021
|
// $sub-nav-active-font-weight: normal;
|
984
1022
|
// $sub-nav-active-bg: $primary-color;
|
985
1023
|
// $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
|
986
1024
|
// $sub-nav-active-color: #fff;
|
987
|
-
// $sub-nav-active-padding:
|
1025
|
+
// $sub-nav-active-padding: $sub-nav-padding;
|
988
1026
|
// $sub-nav-active-cursor: default;
|
989
1027
|
|
990
1028
|
// $sub-nav-item-divider: "";
|
@@ -1158,6 +1196,7 @@
|
|
1158
1196
|
// $topbar-link-weight: normal;
|
1159
1197
|
// $topbar-link-font-size: rem-calc(13);
|
1160
1198
|
// $topbar-link-hover-lightness: -10%; // Darken by 10%
|
1199
|
+
// $topbar-link-bg: $topbar-bg;
|
1161
1200
|
// $topbar-link-bg-hover: #272727;
|
1162
1201
|
// $topbar-link-bg-active: $primary-color;
|
1163
1202
|
// $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
|
@@ -1186,8 +1225,8 @@
|
|
1186
1225
|
// Transitions and breakpoint styles
|
1187
1226
|
// $topbar-transition-speed: 300ms;
|
1188
1227
|
// Using rem-calc for the below breakpoint causes issues with top bar
|
1189
|
-
// $topbar-breakpoint: #{
|
1190
|
-
// $topbar-media-query:
|
1228
|
+
// $topbar-breakpoint: #{lower-bound($medium-range)}; // Change to 9999px for always mobile layout
|
1229
|
+
// $topbar-media-query: $medium-up;
|
1191
1230
|
|
1192
1231
|
// Divider Styles
|
1193
1232
|
// $topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%);
|