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.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -3
  3. data/_sass/font-awesome/scss/_icons.scss +91 -0
  4. data/_sass/font-awesome/scss/_rotated-flipped.scss +3 -2
  5. data/_sass/font-awesome/scss/_variables.scss +93 -1
  6. data/_sass/font-awesome/scss/brands.scss +1 -4
  7. data/_sass/font-awesome/scss/fontawesome.scss +0 -4
  8. data/_sass/font-awesome/scss/regular.scss +1 -4
  9. data/_sass/font-awesome/scss/solid.scss +1 -4
  10. data/_sass/font-awesome/scss/v4-shims.scss +0 -4
  11. data/assets/favicons/de.svg +5 -0
  12. data/assets/favicons/gk-logo-white.png +0 -0
  13. data/assets/favicons/us.svg +10 -0
  14. data/assets/img/cbp-sprite.png +0 -0
  15. data/assets/js/components/_hs.dropdown.js +612 -0
  16. data/assets/js/components/gmap/hs.map.js +347 -0
  17. data/assets/js/components/hs.ajax-autocomplete.js +103 -0
  18. data/assets/js/components/hs.autocomplete-local-search.js +113 -0
  19. data/assets/js/components/hs.autocomplete.js +125 -0
  20. data/assets/js/components/hs.bg-video.js +70 -0
  21. data/assets/js/components/hs.carousel-materialize.js +75 -0
  22. data/assets/js/components/hs.carousel-owl.js +89 -0
  23. data/assets/js/components/hs.carousel-swiper.js +123 -0
  24. data/assets/js/components/hs.carousel.js +283 -0
  25. data/assets/js/components/hs.chart-pie.js +220 -0
  26. data/assets/js/components/hs.chart.js +155 -0
  27. data/assets/js/components/hs.count-qty.js +92 -0
  28. data/assets/js/components/hs.countdown.js +359 -0
  29. data/assets/js/components/hs.counter.js +220 -0
  30. data/assets/js/components/hs.cubeportfolio.js +163 -0
  31. data/assets/js/components/hs.datepicker.js +149 -0
  32. data/assets/js/components/hs.dropdown.js +522 -0
  33. data/assets/js/components/hs.file-attachement.js +135 -0
  34. data/assets/js/components/hs.flickr.js +180 -0
  35. data/assets/js/components/hs.go-to.js +121 -0
  36. data/assets/js/components/hs.header-fullscreen.js +397 -0
  37. data/assets/js/components/hs.header-side.js +1096 -0
  38. data/assets/js/components/hs.header.js +2128 -0
  39. data/assets/js/components/hs.instagram.js +94 -0
  40. data/assets/js/components/hs.map.pin.js +82 -0
  41. data/assets/js/components/hs.map.svg.js +80 -0
  42. data/assets/js/components/hs.markup-copy.js +102 -0
  43. data/assets/js/components/hs.masked-input.js +74 -0
  44. data/assets/js/components/hs.modal-event.js +134 -0
  45. data/assets/js/components/hs.modal-window.js +422 -0
  46. data/assets/js/components/hs.navigation.js +690 -0
  47. data/assets/js/components/hs.nl-form.js +70 -0
  48. data/assets/js/components/hs.onscroll-animation.js +190 -0
  49. data/assets/js/components/hs.popup.js +310 -0
  50. data/assets/js/components/hs.progress-bar.js +353 -0
  51. data/assets/js/components/hs.rating.js +153 -0
  52. data/assets/js/components/hs.scroll-nav.js +373 -0
  53. data/assets/js/components/hs.scrollbar.js +102 -0
  54. data/assets/js/components/hs.select.js +91 -0
  55. data/assets/js/components/hs.slider.js +99 -0
  56. data/assets/js/components/hs.smart-menu.js +233 -0
  57. data/assets/js/components/hs.step-form-old.js +94 -0
  58. data/assets/js/components/hs.step-form.js +93 -0
  59. data/assets/js/components/hs.sticky-block.js +418 -0
  60. data/assets/js/components/hs.tabs.js +186 -0
  61. data/assets/js/components/hs.twitter.js +111 -0
  62. data/assets/js/components/hs.validation.js +111 -0
  63. data/assets/js/components/hs.video-audio.js +70 -0
  64. data/assets/js/components/text-animation/hs.text-slideshow.js +348 -0
  65. data/assets/js/helpers/hs.bg-video.js +23 -0
  66. data/assets/js/helpers/hs.chart.js +66 -0
  67. data/assets/js/helpers/hs.compressed-form.js +55 -0
  68. data/assets/js/helpers/hs.file-attachments.js +39 -0
  69. data/assets/js/helpers/hs.focus-state.js +37 -0
  70. data/assets/js/helpers/hs.hamburgers.js +69 -0
  71. data/assets/js/helpers/hs.height-calc.js +31 -0
  72. data/assets/js/helpers/hs.hover-blocks.js +43 -0
  73. data/assets/js/helpers/hs.modal-markup.js +89 -0
  74. data/assets/js/helpers/hs.navigation-splitted.js +169 -0
  75. data/assets/js/helpers/hs.not-empty-state.js +34 -0
  76. data/assets/js/helpers/hs.rating.js +45 -0
  77. data/assets/js/helpers/hs.selecter.js +14 -0
  78. data/assets/js/helpers/hs.shortcode-filter.js +39 -0
  79. data/assets/js/hs.core.js +250 -0
  80. data/assets/js/hs.popup.js +155 -0
  81. data/assets/js/vendor/jquery.cubeportfolio.js +6054 -0
  82. data/assets/js/vendor/jquery.fancybox.js +4936 -0
  83. data/assets/nav/pixel-trans.png +0 -0
  84. data/assets/nav/pixel-trans@2x.png +0 -0
  85. metadata +75 -1
@@ -0,0 +1,373 @@
1
+ /**
2
+ * HSScrollNav Component.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ * @requires jQuery
7
+ *
8
+ */
9
+ ;(function ($) {
10
+ 'use strict';
11
+
12
+ $.HSCore.components.HSScrollNav = {
13
+
14
+ /**
15
+ * Base configuraion of the component.
16
+ *
17
+ * @private
18
+ */
19
+ _baseConfig: {
20
+ duration: 400,
21
+ easing: 'linear',
22
+ over: $(),
23
+ activeItemClass: 'active',
24
+ afterShow: function(){},
25
+ beforeShow: function(){}
26
+ },
27
+
28
+ /**
29
+ * All initialized item on the page.
30
+ *
31
+ * @private
32
+ */
33
+ _pageCollection: $(),
34
+
35
+
36
+ /**
37
+ * Initialization of the component.
38
+ *
39
+ * @param {jQuery} collection
40
+ * @param {Object} config
41
+ *
42
+ * @public
43
+ * @return {jQuery}
44
+ */
45
+ init: function(collection, config) {
46
+
47
+ var self = this;
48
+
49
+ if( !collection || !collection.length ) return $();
50
+
51
+ collection.each(function(i, el) {
52
+
53
+ var $this = $(el),
54
+ itemConfig = config && $.isPlainObject(config) ?
55
+ $.extend(true, {}, self._baseConfig, config, $this.data()) :
56
+ $.extend(true, {}, self._baseConfig, $this.data());
57
+
58
+ if( !$this.data('HSScrollNav') ) {
59
+
60
+ $this.data('HSScrollNav', new HSScrollNav($this, itemConfig));
61
+
62
+ self._pageCollection = self._pageCollection.add( $this );
63
+
64
+ }
65
+
66
+ });
67
+
68
+ $(window).on('scroll.HSScrollNav', function(){
69
+
70
+ self._pageCollection.each(function(i, el) {
71
+
72
+ $(el).data('HSScrollNav').highlight();
73
+
74
+ });
75
+
76
+ }).trigger('scroll.HSScrollNav');
77
+
78
+ return collection;
79
+
80
+ }
81
+
82
+ }
83
+
84
+
85
+ /**
86
+ * HSScrollNav.
87
+ *
88
+ * @param {jQuery} element
89
+ * @param {Object} config
90
+ *
91
+ * @constructor
92
+ */
93
+ function HSScrollNav(element, config) {
94
+
95
+ /**
96
+ * Current element.
97
+ *
98
+ * @public
99
+ */
100
+ this.element = element;
101
+
102
+ /**
103
+ * Configuraion.
104
+ *
105
+ * @public
106
+ */
107
+ this.config = config;
108
+
109
+ /**
110
+ * Sections.
111
+ *
112
+ * @public
113
+ */
114
+ this._items = $();
115
+
116
+ this._makeItems();
117
+ this._bindEvents();
118
+ }
119
+
120
+ /**
121
+ * Return collection of sections.
122
+ *
123
+ * @private
124
+ * @return {jQuery}
125
+ */
126
+ HSScrollNav.prototype._makeItems = function() {
127
+
128
+ var self = this;
129
+
130
+ this.element.find('a[href^="#"]').each(function(i, el) {
131
+
132
+ var $this = $(el);
133
+
134
+ if( !$this.data('HSScrollNavSection') ) {
135
+
136
+ $this.data('HSScrollNavSection', new HSScrollNavSection($this, self.config));
137
+
138
+ self._items = self._items.add( $this );
139
+
140
+ }
141
+
142
+ });
143
+
144
+ };
145
+
146
+ /**
147
+ * Binds necessary events.
148
+ *
149
+ * @private
150
+ * @return {undefined}
151
+ */
152
+ HSScrollNav.prototype._bindEvents = function() {
153
+
154
+ var self = this;
155
+
156
+ this.element.on('click.HSScrollNav', 'a[href^="#"]', function(e) {
157
+
158
+ var link = this;
159
+ self._lockHightlight = true;
160
+ if(self.current) self.current.unhighlight();
161
+ link.blur();
162
+ self.current = $(link).data('HSScrollNavSection');
163
+ self.current.highlight();
164
+
165
+ $(this).data('HSScrollNavSection').show( function(){
166
+ self._lockHightlight = false;
167
+ } );
168
+
169
+ e.preventDefault();
170
+
171
+ });
172
+
173
+ };
174
+
175
+ /**
176
+ * Activates necessary menu item.
177
+ *
178
+ * @public
179
+ */
180
+ HSScrollNav.prototype.highlight = function() {
181
+
182
+ var self = this, items, currentItem, current, scrollTop;
183
+
184
+ if(!this._items.length || this._lockHightlight) return;
185
+
186
+ scrollTop = $(window).scrollTop();
187
+
188
+ if(scrollTop + $(window).height() === $(document).height()) {
189
+
190
+ this.current = this._items.last().data('HSScrollNavSection');
191
+
192
+ this.unhighlight();
193
+ this.current.highlight();
194
+ this.current.changeHash();
195
+
196
+ return;
197
+ }
198
+
199
+ this._items.each(function(i, el){
200
+
201
+ var Section = $(el).data('HSScrollNavSection'),
202
+ $section = Section.section;
203
+
204
+ if(scrollTop > Section.offset) {
205
+ current = Section;
206
+ }
207
+
208
+ });
209
+
210
+ if(current && this.current != current) {
211
+
212
+ this.unhighlight();
213
+ current.highlight();
214
+ if(this.current) current.changeHash();
215
+
216
+ this.current = current;
217
+
218
+ }
219
+
220
+ };
221
+
222
+ /**
223
+ * Deactivates all menu items.
224
+ *
225
+ * @public
226
+ */
227
+ HSScrollNav.prototype.unhighlight = function() {
228
+
229
+ this._items.each(function(i, el){
230
+ $(el).data('HSScrollNavSection').unhighlight();
231
+ });
232
+
233
+ };
234
+
235
+ /**
236
+ * HSScrollNavSection.
237
+ *
238
+ * @param {jQuery} element
239
+ *
240
+ * @constructor
241
+ */
242
+ function HSScrollNavSection(element, config) {
243
+
244
+ var self = this;
245
+
246
+ /**
247
+ * Current section.
248
+ *
249
+ * @public
250
+ */
251
+ this.element = element;
252
+
253
+ /**
254
+ * Configuration.
255
+ *
256
+ * @public
257
+ */
258
+ this.config = config;
259
+
260
+ /**
261
+ * Getter for acces to the section element.
262
+ *
263
+ * @public
264
+ */
265
+ Object.defineProperty(this, 'section', {
266
+ value: $(self.element.attr('href'))
267
+ });
268
+
269
+ /**
270
+ * Getter for determinate position of the section relative to document.
271
+ *
272
+ * @public
273
+ */
274
+
275
+ Object.defineProperty(this, 'offset', {
276
+ get: function() {
277
+
278
+ var header = $('.u-header'),
279
+ headerStyles = getComputedStyle(header.get(0)),
280
+ headerPosition = headerStyles.position,
281
+ offset = self.section.offset().top;
282
+
283
+
284
+
285
+ if(header.length && headerPosition == 'fixed' && parseInt(headerStyles.top) == 0) {
286
+ offset = offset - header.outerHeight() - parseInt(headerStyles.marginTop);
287
+ }
288
+
289
+ if(self.config.over.length) {
290
+ offset = offset - self.config.over.outerHeight();
291
+ }
292
+
293
+ return offset;
294
+ }
295
+ });
296
+
297
+
298
+ }
299
+
300
+ /**
301
+ * Moves to the section.
302
+ *
303
+ * @public
304
+ */
305
+ HSScrollNavSection.prototype.show = function(callback) {
306
+
307
+ var self = this;
308
+
309
+ if( !this.section.length ) return;
310
+
311
+ self.config.beforeShow.call(self.section);
312
+
313
+ this.changeHash();
314
+
315
+ $('html, body').stop().animate({
316
+ scrollTop: self.offset + 3
317
+ }, {
318
+ duration: self.config.duration,
319
+ easing: self.config.easing,
320
+ complete: function() {
321
+ $('html, body').stop().animate({
322
+ scrollTop: self.offset + 3
323
+ }, {
324
+ duration: self.config.duration,
325
+ easing: self.config.easing,
326
+ complete: function() {
327
+ self.config.afterShow.call(self.section);
328
+ if($.isFunction(callback)) callback();
329
+ }
330
+ });
331
+ }
332
+ });
333
+
334
+ };
335
+
336
+ /**
337
+ * Changes location's hash.
338
+ *
339
+ * @public
340
+ */
341
+ HSScrollNavSection.prototype.changeHash = function() {
342
+ this.section.attr('id', '');
343
+ window.location.hash = this.element.attr('href');
344
+ this.section.attr('id', this.element.attr('href').slice(1));
345
+ };
346
+
347
+ /**
348
+ * Activates the menu item.
349
+ *
350
+ * @public
351
+ */
352
+ HSScrollNavSection.prototype.highlight = function() {
353
+
354
+ var parent = this.element.parent('li');
355
+ if(parent.length) parent.addClass(this.config.activeItemClass);
356
+
357
+ };
358
+
359
+ /**
360
+ * Deactivates the menu item.
361
+ *
362
+ * @public
363
+ */
364
+ HSScrollNavSection.prototype.unhighlight = function() {
365
+
366
+ var parent = this.element.parent('li');
367
+ if(parent.length) parent.removeClass(this.config.activeItemClass);
368
+
369
+ };
370
+
371
+
372
+
373
+ })(jQuery);
@@ -0,0 +1,102 @@
1
+ /**
2
+ * HSScrollBar component.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ * @requires malihu jquery custom scrollbar plugin (v3.1.5.)
7
+ *
8
+ */
9
+ ;(function ($) {
10
+ 'use strict';
11
+
12
+ $.HSCore.components.HSScrollBar = {
13
+
14
+ /**
15
+ * Base configuration.
16
+ *
17
+ * @private
18
+ */
19
+ _baseConfig: {
20
+ scrollInertia: 150,
21
+ theme: 'minimal-dark'
22
+ },
23
+
24
+ /**
25
+ * Collection of all initalized items on the page.
26
+ *
27
+ * @private
28
+ */
29
+ _pageCollection: $(),
30
+
31
+
32
+ /**
33
+ * Initialization of HSScrollBar component.
34
+ *
35
+ * @param {jQuery} collection
36
+ * @param {Object} config
37
+ *
38
+ * @return {jQuery}
39
+ */
40
+ init: function (collection, config) {
41
+
42
+ if(!collection || !collection.length) return;
43
+
44
+ var self = this;
45
+
46
+ config = config && $.isPlainObject(config) ? $.extend(true, {}, config, this._baseConfig) : this._baseConfig;
47
+
48
+ return collection.each(function(i, el){
49
+
50
+ var $this = $(el),
51
+ scrollBar,
52
+ scrollBarThumb,
53
+ itemConfig = $.extend(true, {}, config, $this.data());
54
+
55
+
56
+ $this.mCustomScrollbar(itemConfig);
57
+
58
+ scrollBar = $this.find('.mCSB_scrollTools');
59
+ scrollBarThumb = $this.find('.mCSB_dragger_bar');
60
+
61
+ if(scrollBar.length && $this.data('scroll-classes')) {
62
+ scrollBar.addClass($this.data('scroll-classes'));
63
+ }
64
+
65
+ if(scrollBarThumb.length && $this.data('scroll-thumb-classes')) {
66
+ scrollBarThumb.addClass($this.data('scroll-thumb-classes'));
67
+ }
68
+
69
+ self._pageCollection = self._pageCollection.add($this);
70
+
71
+ });
72
+
73
+ },
74
+
75
+ /**
76
+ * Destroys the component.
77
+ *
78
+ * @param {jQuery} collection
79
+ *
80
+ * @return {jQuery}
81
+ */
82
+ destroy: function( collection ) {
83
+
84
+ if( !collection && !collection.length ) return $();
85
+
86
+ var _self = this;
87
+
88
+ return collection.each(function(i, el){
89
+
90
+ var $this = $(el);
91
+
92
+ $this.mCustomScrollbar('destroy');
93
+
94
+ _self._pageCollection = _self._pageCollection.not( $this );
95
+
96
+ });
97
+
98
+ }
99
+
100
+ }
101
+
102
+ })(jQuery);
@@ -0,0 +1,91 @@
1
+ /**
2
+ * Select wrapper.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ *
7
+ */
8
+ ;(function ($) {
9
+ 'use strict';
10
+
11
+ $.HSCore.components.HSSelect = {
12
+ /**
13
+ *
14
+ *
15
+ * @var Object _baseConfig
16
+ */
17
+ _baseConfig: {},
18
+
19
+ /**
20
+ *
21
+ *
22
+ * @var jQuery pageCollection
23
+ */
24
+ pageCollection: $(),
25
+
26
+ /**
27
+ * Initialization of Select wrapper.
28
+ *
29
+ * @param String selector (optional)
30
+ * @param Object config (optional)
31
+ *
32
+ * @return jQuery pageCollection - collection of initialized items.
33
+ */
34
+
35
+ init: function (selector, config) {
36
+
37
+ this.collection = selector && $(selector).length ? $(selector) : $();
38
+ if (!$(selector).length) return;
39
+
40
+ this.config = config && $.isPlainObject(config) ?
41
+ $.extend({}, this._baseConfig, config) : this._baseConfig;
42
+
43
+ this.config.itemSelector = selector;
44
+
45
+ this.initSelect();
46
+
47
+ return this.pageCollection;
48
+
49
+ },
50
+
51
+ initSelect: function () {
52
+ //Variables
53
+ var $self = this,
54
+ config = $self.config,
55
+ collection = $self.pageCollection;
56
+
57
+ //Actions
58
+ this.collection.each(function (i, el) {
59
+ //Variables
60
+ var $this = $(el),
61
+ searchMaxSelections = $this.data('max-selections'),
62
+ setControlClasses = $this.data('control-classes'),
63
+ setOpenIcon = $this.data('open-icon'),
64
+ setCloseIcon = $this.data('close-icon');
65
+
66
+ $this.chosen({
67
+ inherit_select_classes: true,
68
+ max_selected_options: searchMaxSelections ? searchMaxSelections : Infinity,
69
+ disable_search: true
70
+ });
71
+
72
+ if (setControlClasses) {
73
+ $this.next().find('.chosen-single div').addClass(setControlClasses);
74
+ }
75
+
76
+ if (setOpenIcon) {
77
+ $this.next().find('.chosen-single div b').append('<i class="' + setOpenIcon + '"></i>');
78
+
79
+ if (setCloseIcon) {
80
+ $this.next().find('.chosen-single div b').append('<i class="' + setCloseIcon + '"></i>');
81
+ }
82
+ }
83
+
84
+ //Actions
85
+ collection = collection.add($this);
86
+ });
87
+ }
88
+ };
89
+ })(jQuery);
90
+
91
+ //Test comment
@@ -0,0 +1,99 @@
1
+ /**
2
+ * Slider wrapper.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ *
7
+ */
8
+ ;(function ($) {
9
+ 'use strict';
10
+
11
+ $.HSCore.components.HSSlider = {
12
+ /**
13
+ *
14
+ *
15
+ * @var Object _baseConfig
16
+ */
17
+ _baseConfig: {
18
+ dateFormat: 'dd.mm.yy',
19
+ prevText: '<i class="fa fa-angle-left"></i>',
20
+ nextText: '<i class="fa fa-angle-right"></i>'
21
+ },
22
+
23
+ /**
24
+ *
25
+ *
26
+ * @var jQuery pageCollection
27
+ */
28
+ pageCollection: $(),
29
+
30
+ /**
31
+ * Initialization of Slider wrapper.
32
+ *
33
+ * @param String selector (optional)
34
+ * @param Object config (optional)
35
+ *
36
+ * @return jQuery pageCollection - collection of initialized items.
37
+ */
38
+
39
+ init: function (selector, config) {
40
+
41
+ this.collection = selector && $(selector).length ? $(selector) : $();
42
+ if (!$(selector).length) return;
43
+
44
+ this.config = config && $.isPlainObject(config) ?
45
+ $.extend({}, this._baseConfig, config) : this._baseConfig;
46
+
47
+ this.config.itemSelector = selector;
48
+
49
+ this.initSlider();
50
+
51
+ return this.pageCollection;
52
+
53
+ },
54
+
55
+ initSlider: function () {
56
+ //Variables
57
+ var $self = this,
58
+ config = $self.config,
59
+ collection = $self.pageCollection;
60
+
61
+ //Actions
62
+ this.collection.each(function (i, el) {
63
+ //Variables
64
+ var $this = $(el),
65
+ $resultContainer = $this.data('result-container'),
66
+ rangeBoolean = $this.data('range'),
67
+ minVal = $this.data('min'),
68
+ maxVal = $this.data('max'),
69
+ defaultVal = $this.data('default'),
70
+ step = $this.data('step');
71
+
72
+ $this.slider({
73
+ range: rangeBoolean == 1 ? true : 'min',
74
+ min: minVal,
75
+ max: maxVal,
76
+ step: step ? step : 1,
77
+ values: rangeBoolean == 1 ? JSON.parse('[' + defaultVal + ']') : false,
78
+ value: defaultVal ? defaultVal : false,
79
+ slide: function (event, ui) {
80
+ if (rangeBoolean == 1) {
81
+ $('#' + $resultContainer).text(ui.values[0] + ' - ' + ui.values[1]);
82
+ } else {
83
+ $('#' + $resultContainer).text(ui.value);
84
+ }
85
+ }
86
+ });
87
+
88
+ if (rangeBoolean == 1) {
89
+ $('#' + $resultContainer).text($this.slider('values', 0) + ' - ' + $this.slider('values', 1));
90
+ }
91
+
92
+ //Actions
93
+ collection = collection.add($this);
94
+ });
95
+ }
96
+
97
+ };
98
+
99
+ })(jQuery);