jekyll-theme-glueckkanja 0.8.3 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -3
- data/_sass/font-awesome/scss/_icons.scss +91 -0
- data/_sass/font-awesome/scss/_rotated-flipped.scss +3 -2
- data/_sass/font-awesome/scss/_variables.scss +93 -1
- data/_sass/font-awesome/scss/brands.scss +1 -4
- data/_sass/font-awesome/scss/fontawesome.scss +0 -4
- data/_sass/font-awesome/scss/regular.scss +1 -4
- data/_sass/font-awesome/scss/solid.scss +1 -4
- data/_sass/font-awesome/scss/v4-shims.scss +0 -4
- data/assets/favicons/de.svg +5 -0
- data/assets/favicons/gk-logo-white.png +0 -0
- data/assets/favicons/us.svg +10 -0
- data/assets/img/cbp-sprite.png +0 -0
- data/assets/js/components/_hs.dropdown.js +612 -0
- data/assets/js/components/gmap/hs.map.js +347 -0
- data/assets/js/components/hs.ajax-autocomplete.js +103 -0
- data/assets/js/components/hs.autocomplete-local-search.js +113 -0
- data/assets/js/components/hs.autocomplete.js +125 -0
- data/assets/js/components/hs.bg-video.js +70 -0
- data/assets/js/components/hs.carousel-materialize.js +75 -0
- data/assets/js/components/hs.carousel-owl.js +89 -0
- data/assets/js/components/hs.carousel-swiper.js +123 -0
- data/assets/js/components/hs.carousel.js +283 -0
- data/assets/js/components/hs.chart-pie.js +220 -0
- data/assets/js/components/hs.chart.js +155 -0
- data/assets/js/components/hs.count-qty.js +92 -0
- data/assets/js/components/hs.countdown.js +359 -0
- data/assets/js/components/hs.counter.js +220 -0
- data/assets/js/components/hs.cubeportfolio.js +163 -0
- data/assets/js/components/hs.datepicker.js +149 -0
- data/assets/js/components/hs.dropdown.js +522 -0
- data/assets/js/components/hs.file-attachement.js +135 -0
- data/assets/js/components/hs.flickr.js +180 -0
- data/assets/js/components/hs.go-to.js +121 -0
- data/assets/js/components/hs.header-fullscreen.js +397 -0
- data/assets/js/components/hs.header-side.js +1096 -0
- data/assets/js/components/hs.header.js +2128 -0
- data/assets/js/components/hs.instagram.js +94 -0
- data/assets/js/components/hs.map.pin.js +82 -0
- data/assets/js/components/hs.map.svg.js +80 -0
- data/assets/js/components/hs.markup-copy.js +102 -0
- data/assets/js/components/hs.masked-input.js +74 -0
- data/assets/js/components/hs.modal-event.js +134 -0
- data/assets/js/components/hs.modal-window.js +422 -0
- data/assets/js/components/hs.navigation.js +690 -0
- data/assets/js/components/hs.nl-form.js +70 -0
- data/assets/js/components/hs.onscroll-animation.js +190 -0
- data/assets/js/components/hs.popup.js +310 -0
- data/assets/js/components/hs.progress-bar.js +353 -0
- data/assets/js/components/hs.rating.js +153 -0
- data/assets/js/components/hs.scroll-nav.js +373 -0
- data/assets/js/components/hs.scrollbar.js +102 -0
- data/assets/js/components/hs.select.js +91 -0
- data/assets/js/components/hs.slider.js +99 -0
- data/assets/js/components/hs.smart-menu.js +233 -0
- data/assets/js/components/hs.step-form-old.js +94 -0
- data/assets/js/components/hs.step-form.js +93 -0
- data/assets/js/components/hs.sticky-block.js +418 -0
- data/assets/js/components/hs.tabs.js +186 -0
- data/assets/js/components/hs.twitter.js +111 -0
- data/assets/js/components/hs.validation.js +111 -0
- data/assets/js/components/hs.video-audio.js +70 -0
- data/assets/js/components/text-animation/hs.text-slideshow.js +348 -0
- data/assets/js/helpers/hs.bg-video.js +23 -0
- data/assets/js/helpers/hs.chart.js +66 -0
- data/assets/js/helpers/hs.compressed-form.js +55 -0
- data/assets/js/helpers/hs.file-attachments.js +39 -0
- data/assets/js/helpers/hs.focus-state.js +37 -0
- data/assets/js/helpers/hs.hamburgers.js +69 -0
- data/assets/js/helpers/hs.height-calc.js +31 -0
- data/assets/js/helpers/hs.hover-blocks.js +43 -0
- data/assets/js/helpers/hs.modal-markup.js +89 -0
- data/assets/js/helpers/hs.navigation-splitted.js +169 -0
- data/assets/js/helpers/hs.not-empty-state.js +34 -0
- data/assets/js/helpers/hs.rating.js +45 -0
- data/assets/js/helpers/hs.selecter.js +14 -0
- data/assets/js/helpers/hs.shortcode-filter.js +39 -0
- data/assets/js/hs.core.js +250 -0
- data/assets/js/hs.popup.js +155 -0
- data/assets/js/vendor/jquery.cubeportfolio.js +6054 -0
- data/assets/js/vendor/jquery.fancybox.js +4936 -0
- data/assets/nav/pixel-trans.png +0 -0
- data/assets/nav/pixel-trans@2x.png +0 -0
- metadata +75 -1
@@ -0,0 +1,250 @@
|
|
1
|
+
/**
|
2
|
+
* HSCore -
|
3
|
+
*
|
4
|
+
* @author HtmlStream
|
5
|
+
* @version 1.0
|
6
|
+
*/
|
7
|
+
;
|
8
|
+
(function ($) {
|
9
|
+
|
10
|
+
'use strict';
|
11
|
+
|
12
|
+
$.HSCore = {
|
13
|
+
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
*
|
17
|
+
* @param
|
18
|
+
*
|
19
|
+
* @return
|
20
|
+
*/
|
21
|
+
init: function () {
|
22
|
+
|
23
|
+
$(document).ready(function (e) {
|
24
|
+
// Botostrap Tootltips
|
25
|
+
$('[data-toggle="tooltip"]').tooltip();
|
26
|
+
|
27
|
+
// Set Background Image Dynamically
|
28
|
+
if ($('[data-bg-img-src]').length) $.HSCore.helpers.bgImage($('[data-bg-img-src]'));
|
29
|
+
|
30
|
+
// Extends jQuery
|
31
|
+
$.HSCore.helpers.extendjQuery();
|
32
|
+
|
33
|
+
// Detect Internet Explorer (IE)
|
34
|
+
$.HSCore.helpers.detectIE();
|
35
|
+
|
36
|
+
// Bootstrap Navigation Options
|
37
|
+
$.HSCore.helpers.bootstrapNavOptions.init();
|
38
|
+
|
39
|
+
});
|
40
|
+
|
41
|
+
$(window).on('load', function (e) {
|
42
|
+
|
43
|
+
});
|
44
|
+
|
45
|
+
},
|
46
|
+
|
47
|
+
/**
|
48
|
+
*
|
49
|
+
*
|
50
|
+
* @var
|
51
|
+
*/
|
52
|
+
components: {},
|
53
|
+
|
54
|
+
/**
|
55
|
+
*
|
56
|
+
*
|
57
|
+
* @var
|
58
|
+
*/
|
59
|
+
helpers: {
|
60
|
+
|
61
|
+
Math: {
|
62
|
+
|
63
|
+
getRandomValueFromRange: function(startPoint, endPoint, fixed) {
|
64
|
+
|
65
|
+
var fixedInner = fixed ? fixed : false;
|
66
|
+
|
67
|
+
Math.random();
|
68
|
+
|
69
|
+
return fixedInner ? (Math.random() * (endPoint - startPoint) + startPoint) : (Math.floor(Math.random() * (endPoint - startPoint + 1)) + startPoint);
|
70
|
+
|
71
|
+
}
|
72
|
+
|
73
|
+
},
|
74
|
+
|
75
|
+
/**
|
76
|
+
* Sets background-image dynamically.
|
77
|
+
*
|
78
|
+
* @param jQuery collection
|
79
|
+
*
|
80
|
+
* @return jQuery|undefined
|
81
|
+
*/
|
82
|
+
bgImage: function (collection) {
|
83
|
+
|
84
|
+
if (!collection || !collection.length) return;
|
85
|
+
|
86
|
+
return collection.each(function (i, el) {
|
87
|
+
|
88
|
+
var $el = $(el),
|
89
|
+
bgImageSrc = $el.data('bg-img-src');
|
90
|
+
|
91
|
+
if (bgImageSrc) $el.css('background-image', 'url(' + bgImageSrc + ')');
|
92
|
+
|
93
|
+
});
|
94
|
+
|
95
|
+
},
|
96
|
+
|
97
|
+
/**
|
98
|
+
* Extends basic jQuery functionality
|
99
|
+
*
|
100
|
+
* @return undefined
|
101
|
+
*/
|
102
|
+
extendjQuery: function () {
|
103
|
+
|
104
|
+
$.fn.extend({
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Runs specified function after loading of all images.
|
108
|
+
*
|
109
|
+
* @return Deferred
|
110
|
+
*/
|
111
|
+
imagesLoaded: function () {
|
112
|
+
|
113
|
+
var $imgs = this.find('img[src!=""]');
|
114
|
+
|
115
|
+
if (!$imgs.length) {
|
116
|
+
return $.Deferred().resolve().promise();
|
117
|
+
}
|
118
|
+
|
119
|
+
var dfds = [];
|
120
|
+
|
121
|
+
$imgs.each(function () {
|
122
|
+
var dfd = $.Deferred();
|
123
|
+
dfds.push(dfd);
|
124
|
+
var img = new Image();
|
125
|
+
img.onload = function () {
|
126
|
+
dfd.resolve();
|
127
|
+
};
|
128
|
+
img.onerror = function () {
|
129
|
+
dfd.resolve();
|
130
|
+
};
|
131
|
+
img.src = this.src;
|
132
|
+
});
|
133
|
+
|
134
|
+
return $.when.apply($, dfds);
|
135
|
+
|
136
|
+
}
|
137
|
+
|
138
|
+
});
|
139
|
+
|
140
|
+
},
|
141
|
+
|
142
|
+
|
143
|
+
/**
|
144
|
+
* Detect Internet Explorer (IE)
|
145
|
+
*
|
146
|
+
* @return version of IE or false, if browser is not Internet Explorer
|
147
|
+
*/
|
148
|
+
|
149
|
+
detectIE: function() {
|
150
|
+
|
151
|
+
var ua = window.navigator.userAgent;
|
152
|
+
|
153
|
+
var trident = ua.indexOf('Trident/');
|
154
|
+
if (trident > 0) {
|
155
|
+
// IE 11 => return version number
|
156
|
+
var rv = ua.indexOf('rv:');
|
157
|
+
var ieV = parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10);
|
158
|
+
document.querySelector('body').className += ' IE';
|
159
|
+
}
|
160
|
+
|
161
|
+
var edge = ua.indexOf('Edge/');
|
162
|
+
if (edge > 0) {
|
163
|
+
// IE 12 (aka Edge) => return version number
|
164
|
+
var ieV = parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10);
|
165
|
+
document.querySelector('body').className += ' IE';
|
166
|
+
}
|
167
|
+
|
168
|
+
// other browser
|
169
|
+
return false;
|
170
|
+
|
171
|
+
},
|
172
|
+
|
173
|
+
|
174
|
+
/**
|
175
|
+
* Bootstrap navigation options
|
176
|
+
*
|
177
|
+
*/
|
178
|
+
bootstrapNavOptions: {
|
179
|
+
init: function () {
|
180
|
+
this.mobileHideOnScroll();
|
181
|
+
},
|
182
|
+
|
183
|
+
mobileHideOnScroll: function () {
|
184
|
+
var $collection = $('.navbar');
|
185
|
+
if (!$collection.length) return;
|
186
|
+
|
187
|
+
var $w = $(window),
|
188
|
+
breakpointsMap = {
|
189
|
+
'sm': 576,
|
190
|
+
'md': 768,
|
191
|
+
'lg': 992,
|
192
|
+
'xl': 1200
|
193
|
+
};
|
194
|
+
|
195
|
+
$('body').on('click.HSMobileHideOnScroll', '.navbar-toggler', function (e) {
|
196
|
+
var $navbar = $(this).closest('.navbar');
|
197
|
+
|
198
|
+
if ($navbar.length) {
|
199
|
+
$navbar.data('mobile-menu-scroll-position', $w.scrollTop());
|
200
|
+
}
|
201
|
+
e.preventDefault();
|
202
|
+
});
|
203
|
+
|
204
|
+
$w.on('scroll.HSMobileHideOnScroll', function (e) {
|
205
|
+
$collection.each(function (i, el) {
|
206
|
+
var $this = $(el), $toggler, $nav, offset, $hamburgers, breakpoint;
|
207
|
+
if ($this.hasClass('navbar-toggleable-xl')) breakpoint = breakpointsMap['xl'];
|
208
|
+
else if ($this.hasClass('navbar-toggleable-lg')) breakpoint = breakpointsMap['lg'];
|
209
|
+
else if ($this.hasClass('navbar-toggleable-md')) breakpoint = breakpointsMap['md'];
|
210
|
+
else if ($this.hasClass('navbar-toggleable-xs')) breakpoint = breakpointsMap['xs'];
|
211
|
+
|
212
|
+
if ($w.width() > breakpoint) return;
|
213
|
+
|
214
|
+
$toggler = $this.find('.navbar-toggler');
|
215
|
+
$nav = $this.find('.navbar-collapse');
|
216
|
+
|
217
|
+
if (!$nav.data('mobile-scroll-hide')) return;
|
218
|
+
|
219
|
+
if ($nav.length) {
|
220
|
+
offset = $this.data('mobile-menu-scroll-position');
|
221
|
+
|
222
|
+
if (Math.abs($w.scrollTop() - offset) > 40 && $nav.hasClass('show')) {
|
223
|
+
$toggler.trigger('click');
|
224
|
+
$hamburgers = $toggler.find('.is-active');
|
225
|
+
if ($hamburgers.length) {
|
226
|
+
$hamburgers.removeClass('is-active');
|
227
|
+
}
|
228
|
+
}
|
229
|
+
}
|
230
|
+
});
|
231
|
+
});
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
},
|
236
|
+
|
237
|
+
/**
|
238
|
+
*
|
239
|
+
*
|
240
|
+
* @var
|
241
|
+
*/
|
242
|
+
settings: {
|
243
|
+
rtl: false
|
244
|
+
}
|
245
|
+
|
246
|
+
};
|
247
|
+
|
248
|
+
$.HSCore.init();
|
249
|
+
|
250
|
+
})(jQuery);
|
@@ -0,0 +1,155 @@
|
|
1
|
+
/**
|
2
|
+
* Fancybox wrapper.
|
3
|
+
*
|
4
|
+
* @author Htmlstream
|
5
|
+
* @version 1.0
|
6
|
+
* @requires
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
;(function ($) {
|
10
|
+
'use strict';
|
11
|
+
|
12
|
+
$.HSCore.components.HSPopup = {
|
13
|
+
/**
|
14
|
+
*
|
15
|
+
*
|
16
|
+
* @var Object _baseConfig
|
17
|
+
*/
|
18
|
+
_baseConfig: {
|
19
|
+
baseClass: 'u-fancybox-theme',
|
20
|
+
slideClass: 'u-fancybox-slide',
|
21
|
+
speed: 1000,
|
22
|
+
slideSpeedCoefficient: 1,
|
23
|
+
infobar: false,
|
24
|
+
fullScreen: true,
|
25
|
+
thumbs: true,
|
26
|
+
closeBtn: true,
|
27
|
+
baseTpl: '<div class="fancybox-container" role="dialog" tabindex="-1">' +
|
28
|
+
'<div class="fancybox-content">' +
|
29
|
+
'<div class="fancybox-bg"></div>' +
|
30
|
+
'<div class="fancybox-controls" style="position: relative; z-index: 99999;">' +
|
31
|
+
'<div class="fancybox-infobar">' +
|
32
|
+
'<div class="fancybox-infobar__body">' +
|
33
|
+
'<span class="js-fancybox-index"></span> / <span class="js-fancybox-count"></span>' +
|
34
|
+
'</div>' +
|
35
|
+
'</div>' +
|
36
|
+
'<div class="fancybox-toolbar">{{BUTTONS}}</div>' +
|
37
|
+
'</div>' +
|
38
|
+
'<div class="fancybox-slider-wrap">' +
|
39
|
+
'<button data-fancybox-prev class="fancybox-arrow fancybox-arrow--left" title="Previous"></button>' +
|
40
|
+
'<button data-fancybox-next class="fancybox-arrow fancybox-arrow--right" title="Next"></button>' +
|
41
|
+
'<div class="fancybox-stage"></div>' +
|
42
|
+
'</div>' +
|
43
|
+
'<div class="fancybox-caption-wrap">' +
|
44
|
+
'<div class="fancybox-caption"></div>' +
|
45
|
+
'</div>' +
|
46
|
+
'</div>' +
|
47
|
+
'</div>',
|
48
|
+
animationEffect: 'fade'
|
49
|
+
},
|
50
|
+
|
51
|
+
/**
|
52
|
+
*
|
53
|
+
*
|
54
|
+
* @var jQuery pageCollection
|
55
|
+
*/
|
56
|
+
pageCollection: $(),
|
57
|
+
|
58
|
+
/**
|
59
|
+
* Initialization of Fancybox wrapper.
|
60
|
+
*
|
61
|
+
* @param String selector (optional)
|
62
|
+
* @param Object config (optional)
|
63
|
+
*
|
64
|
+
* @return jQuery pageCollection - collection of initialized items.
|
65
|
+
*/
|
66
|
+
|
67
|
+
init: function (selector, config) {
|
68
|
+
if (!selector) return;
|
69
|
+
|
70
|
+
var $collection = $(selector);
|
71
|
+
|
72
|
+
if (!$collection.length) return;
|
73
|
+
|
74
|
+
config = config && $.isPlainObject(config) ? $.extend(true, {}, this._baseConfig, config) : this._baseConfig;
|
75
|
+
|
76
|
+
this.initPopup(selector, config);
|
77
|
+
},
|
78
|
+
|
79
|
+
initPopup: function (el, conf) {
|
80
|
+
var $fancybox = $(el);
|
81
|
+
|
82
|
+
$fancybox.on('click', function () {
|
83
|
+
var $this = $(this),
|
84
|
+
animationDuration = $this.data('speed'),
|
85
|
+
isGroup = $this.data('fancybox'),
|
86
|
+
isInfinite = Boolean($this.data('is-infinite')),
|
87
|
+
slideShowSpeed = $this.data('slideshow-speed');
|
88
|
+
|
89
|
+
$.fancybox.defaults.animationDuration = animationDuration;
|
90
|
+
|
91
|
+
if (isInfinite == true) {
|
92
|
+
$.fancybox.defaults.loop = true;
|
93
|
+
}
|
94
|
+
|
95
|
+
if(isGroup) {
|
96
|
+
$.fancybox.defaults.transitionEffect = 'slide';
|
97
|
+
$.fancybox.defaults.slideShow.speed = slideShowSpeed;
|
98
|
+
}
|
99
|
+
});
|
100
|
+
|
101
|
+
$fancybox.fancybox($.extend(true, {}, conf, {
|
102
|
+
beforeShow: function (instance, slide) {
|
103
|
+
var $fancyModal = $(instance.$refs.container),
|
104
|
+
$fancyOverlay = $(instance.$refs.bg[0]),
|
105
|
+
$fancySlide = $(instance.current.$slide),
|
106
|
+
$notFancyContent = $($fancyModal.nextAll()),
|
107
|
+
|
108
|
+
animateIn = instance.current.opts.$orig[0].dataset.animateIn,
|
109
|
+
speed = instance.current.opts.$orig[0].dataset.speed,
|
110
|
+
overlayBG = instance.current.opts.$orig[0].dataset.overlayBg,
|
111
|
+
overlayBlurBG = instance.current.opts.$orig[0].dataset.overlayBlurBg;
|
112
|
+
|
113
|
+
if (animateIn) {
|
114
|
+
console.log($fancySlide);
|
115
|
+
$fancySlide.addClass('animated ' + animateIn);
|
116
|
+
}
|
117
|
+
|
118
|
+
if (speed) {
|
119
|
+
$fancyOverlay.css('transition-duration', speed + 'ms');
|
120
|
+
} else {
|
121
|
+
$fancyOverlay.css('transition-duration', '1000ms');
|
122
|
+
}
|
123
|
+
|
124
|
+
if (overlayBG) {
|
125
|
+
$fancyOverlay.css('background-color', overlayBG);
|
126
|
+
}
|
127
|
+
|
128
|
+
if (overlayBlurBG) {
|
129
|
+
$('<div></div>', {id: 'notFancyContent', class: 'g-blur-30'}).insertAfter($fancyModal);
|
130
|
+
$notFancyContent.appendTo($('#notFancyContent'));
|
131
|
+
}
|
132
|
+
},
|
133
|
+
|
134
|
+
beforeClose: function (instance, slide) {
|
135
|
+
var $fancyModal = $(instance.$refs.container),
|
136
|
+
$fancySlide = $(instance.current.$slide),
|
137
|
+
$notFancyContent = $($('#notFancyContent').html()),
|
138
|
+
|
139
|
+
animateIn = instance.current.opts.$orig[0].dataset.animateIn,
|
140
|
+
animateOut = instance.current.opts.$orig[0].dataset.animateOut,
|
141
|
+
overlayBlurBG = instance.current.opts.$orig[0].dataset.overlayBlurBg;
|
142
|
+
|
143
|
+
if (animateOut) {
|
144
|
+
$fancySlide.removeClass(animateIn).addClass(animateOut);
|
145
|
+
}
|
146
|
+
|
147
|
+
if (overlayBlurBG) {
|
148
|
+
$notFancyContent.insertAfter($fancyModal);
|
149
|
+
$('#notFancyContent').remove();
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}));
|
153
|
+
}
|
154
|
+
}
|
155
|
+
})(jQuery);
|