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,233 @@
1
+ /**
2
+ * SmartMenu component.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ *
7
+ */
8
+ ;(function($){
9
+ 'use strict';
10
+
11
+ $.HSCore.components.HSSmartMenu = {
12
+
13
+ /**
14
+ * Base configuration of the component.
15
+ *
16
+ * @var Object _baseConfig
17
+ */
18
+ _baseConfig : {
19
+ fixMoment: 300,
20
+ togglerSelector: '.u-smart-nav__toggler',
21
+ navbarSelector: '.navbar',
22
+ menuToggleClass: 'u-smart-nav--opened',
23
+ menuVisibleClass: 'u-smart-nav--shown',
24
+ afterOpen: function(){},
25
+ afterClose: function(){}
26
+ },
27
+
28
+ /**
29
+ * Collection of initialized items.
30
+ *
31
+ * @var jQuery _pageCollection
32
+ */
33
+ _pageCollection : $(),
34
+
35
+ /**
36
+ * Initialization of Counter wrapper.
37
+ *
38
+ * @param jQuery collection
39
+ * @param Object config
40
+ *
41
+ * @return jQuery
42
+ */
43
+ init: function(collection, config){
44
+
45
+ if(!collection || !collection.length) return $();
46
+
47
+ var self = this;
48
+
49
+ config = config && $.isPlainObject(config) ? $.extend(true, {}, this._baseConfig, config) : this._baseConfig;
50
+
51
+ if(!this.eventInitalized) {
52
+
53
+ // init event
54
+
55
+ $(window).on('scroll.HSSmartMenu', function(){
56
+
57
+ if($(document).height() > $(window).height()) {
58
+
59
+ var $w = $(this);
60
+
61
+ self._pageCollection.each(function(i,el){
62
+
63
+ var $this = $(el),
64
+ SmartMenu = $this.data('HSSmartMenu');
65
+
66
+ if( !SmartMenu ) return;
67
+
68
+ if( $w.scrollTop() >= SmartMenu.getFixMoment() && SmartMenu.isDefaultState() ) {
69
+ SmartMenu.show();
70
+ }
71
+ else if( $w.scrollTop() < SmartMenu.getFixMoment() && !SmartMenu.isDefaultState() ) {
72
+ SmartMenu.hide();
73
+ }
74
+
75
+ });
76
+
77
+ }
78
+
79
+ });
80
+
81
+ this.eventInitalized = true;
82
+ }
83
+
84
+ collection.each(function(i,el){
85
+
86
+ var $this = $(el);
87
+
88
+ if( $this.data('HSSmartMenu') ) return;
89
+
90
+ $this.data('HSSmartMenu', new HSSmartMenu($this, $.extend(config, $this.data())));
91
+
92
+ self._pageCollection = self._pageCollection.add($this);
93
+
94
+ });
95
+
96
+ $(window).trigger('scroll.HSSmartMenu');
97
+
98
+ if($(document).height() <= $(window).height()) {
99
+ self._pageCollection.each(function(i,el){
100
+
101
+ var $this = $(el),
102
+ SmartMenu = $this.data('HSSmartMenu');
103
+
104
+ if( !SmartMenu ) return;
105
+
106
+ if(SmartMenu.isDefaultState()) SmartMenu.show();
107
+
108
+ });
109
+ }
110
+
111
+ $(document).on('keyup.HSSmartMenu', function(e){
112
+
113
+ if(e.keyCode != 27) return false;
114
+
115
+ self._pageCollection.each(function(i,el){
116
+ var $this = $(el),
117
+ SmartMenu = $this.data('HSSmartMenu');
118
+
119
+
120
+ if( SmartMenu.toggler.length && SmartMenu.toggler.find('.is-active').length ) {
121
+ SmartMenu.toggler.find('.is-active').removeClass('is-active');
122
+ }
123
+ SmartMenu.hideMenu();
124
+ });
125
+ });
126
+
127
+ return collection;
128
+
129
+ }
130
+
131
+ };
132
+
133
+ /**
134
+ * HSSmartMenu Constructor.
135
+ *
136
+ * @param jQuery element
137
+ * @param Object config
138
+ */
139
+ function HSSmartMenu(element, config) {
140
+
141
+ if(!element || !element.length || !config || !$.isPlainObject(config)) return;
142
+
143
+ var self = this;
144
+
145
+ this.element = element;
146
+ this.config = config;
147
+ this.defaultState = true;
148
+
149
+ this.toggler = this.element.find(this.config.togglerSelector);
150
+
151
+ if(this.toggler.length) {
152
+ this.toggler.on('click.HSSmartMenu', function(e){
153
+
154
+ if(!self.element.hasClass(self.config.menuToggleClass)) {
155
+ self.openMenu();
156
+ }
157
+ else {
158
+ self.hideMenu();
159
+ }
160
+ e.preventDefault();
161
+
162
+ });
163
+ }
164
+ }
165
+
166
+ /**
167
+ * Shows navigation.
168
+ *
169
+ * @public
170
+ */
171
+ HSSmartMenu.prototype.openMenu = function( ) {
172
+
173
+ var toggler = this.toggler ? this.toggler.find('.is-active') : $();
174
+
175
+ this.element.addClass(this.config.menuToggleClass);
176
+ if(this.toggler && toggler.length && !toggler.hasClass('is-active')) toggler.addClass('is-active');
177
+
178
+ };
179
+
180
+ /**
181
+ * Hides navigation.
182
+ *
183
+ * @public
184
+ */
185
+ HSSmartMenu.prototype.hideMenu = function() {
186
+ this.element.removeClass(this.config.menuToggleClass);
187
+ };
188
+
189
+ /**
190
+ * Initialization of HSSmartMenu instance.
191
+ *
192
+ * @return Object
193
+ */
194
+ HSSmartMenu.prototype.show = function() {
195
+
196
+ this.element.addClass(this.config.menuVisibleClass);
197
+
198
+ this.defaultState = false;
199
+ return this;
200
+ }
201
+
202
+ /**
203
+ * Destroy of HSSmartMenu instance.
204
+ *
205
+ * @return Object
206
+ */
207
+ HSSmartMenu.prototype.hide = function() {
208
+
209
+ this.element.removeClass(this.config.menuVisibleClass);
210
+
211
+ this.defaultState = true;
212
+ return this;
213
+ }
214
+
215
+ /**
216
+ * Returns true if instance is in default state.
217
+ *
218
+ * @return Boolean
219
+ */
220
+ HSSmartMenu.prototype.isDefaultState = function() {
221
+ return this.defaultState;
222
+ }
223
+
224
+ /**
225
+ * Returns fixe moment.
226
+ *
227
+ * @return Number
228
+ */
229
+ HSSmartMenu.prototype.getFixMoment = function() {
230
+ return this.config.fixMoment;
231
+ }
232
+
233
+ })(jQuery);
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Step form wrapper.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ *
7
+ */
8
+ ;(function ($) {
9
+ 'use strict';
10
+
11
+ $.HSCore.components.HSStepForm = {
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 Step form 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.initStepForm();
46
+
47
+ return this.pageCollection;
48
+
49
+ },
50
+
51
+ initStepForm: function () {
52
+ //Variables
53
+ var $self = this,
54
+ collection = $self.pageCollection;
55
+
56
+ //Actions
57
+ this.collection.each(function (i, el) {
58
+ //Variables
59
+ var $this = $(el);
60
+
61
+ var setProgress = function (currstep) {
62
+ var percent;
63
+
64
+ percent = parseFloat(100 / widget.length) * currstep;
65
+ percent = percent.toFixed();
66
+ $this.val(percent);
67
+ },
68
+ current = 1,
69
+ widget = $('.js-step'),
70
+ btnNext = $('.js-step-next');
71
+
72
+ // Init buttons and UI
73
+ widget.not(':eq(0)').hide();
74
+ setProgress(current);
75
+
76
+ // Next button click action
77
+ btnNext.click(function (e) {
78
+ e.preventDefault();
79
+
80
+ if (current < widget.length) {
81
+ widget.show();
82
+ widget.not(':eq(' + (current++) + ')').hide();
83
+ setProgress(current);
84
+ }
85
+ });
86
+
87
+ //Actions
88
+ collection = collection.add($this);
89
+ });
90
+ }
91
+
92
+ };
93
+
94
+ })(jQuery);
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Step form wrapper.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ *
7
+ */
8
+ ;(function ($) {
9
+ 'use strict';
10
+
11
+ $.HSCore.components.HSStepForm = {
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 Step form 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.initStepForm();
46
+
47
+ return this.pageCollection;
48
+
49
+ },
50
+
51
+ initStepForm: function () {
52
+ //Variables
53
+ var $self = this,
54
+ collection = $self.pageCollection;
55
+
56
+ //Actions
57
+ this.collection.each(function (i, el) {
58
+ //Variables
59
+ var $this = $(el),
60
+ progressID = $this.data('progress-id'),
61
+ $progressItems = $(progressID).find('> *'),
62
+ stepsID = $this.data('steps-id'),
63
+ $stepsItems = $(stepsID).find('> *'),
64
+ $stepsActiveItem = $(stepsID).find('> .active');
65
+
66
+ $stepsItems.not('.active').hide();
67
+ $progressItems.eq($stepsActiveItem.index()).addClass('active');
68
+
69
+ $('[data-next-step]').on('click', function (e) {
70
+ if ((!$(el).valid())) {
71
+ return false;
72
+ }
73
+
74
+ e.preventDefault();
75
+ var $this = $(this),
76
+ nextID = $this.data('next-step');
77
+
78
+ $progressItems.removeClass('active');
79
+ $progressItems.eq($(nextID).index() - 1).addClass('g-checked');
80
+ $progressItems.eq($(nextID).index()).addClass('active');
81
+
82
+ $stepsItems.hide().removeClass('active');
83
+ $(nextID).fadeIn(400).addClass('active');
84
+ });
85
+
86
+ //Actions
87
+ collection = collection.add($this);
88
+ });
89
+ }
90
+
91
+ };
92
+
93
+ })(jQuery);