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,220 @@
1
+ /**
2
+ * Chart Pies wrapper.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ * @requires appear.js (v1.0.3), circles.js (v0.0.6)
7
+ *
8
+ */
9
+ ;
10
+ (function($) {
11
+ 'use strict';
12
+
13
+ $.HSCore.components.HSChartPie = {
14
+
15
+ /**
16
+ *
17
+ *
18
+ * @var Object _baseConfig
19
+ */
20
+ _baseConfig: {
21
+ bounds: -100,
22
+ debounce: 10,
23
+ rtl: false,
24
+ wrpClass: 'circles-wrp',
25
+ textClass: 'circles-text',
26
+ valueStrokeClass: 'circles-valueStroke',
27
+ maxValueStrokeClass: 'circles-maxValueStroke',
28
+ styleWrapper: true,
29
+ styleText: true
30
+ },
31
+
32
+ /**
33
+ *
34
+ *
35
+ * @var jQuery pageCollection
36
+ */
37
+ pageCollection: $(),
38
+
39
+ /**
40
+ *
41
+ *
42
+ * @var
43
+ */
44
+ appearCollectionIds: [],
45
+
46
+ /**
47
+ * Initialization of ChartPie wrapper.
48
+ *
49
+ * @param String selector (optional)
50
+ * @param Object config (optional)
51
+ *
52
+ * @return jQuery pageCollection - collection of initialized items.
53
+ */
54
+ init: function(selector, config) {
55
+
56
+ this.collection = selector && $(selector).length ? $(selector) : $();
57
+ if (!$(selector).length) return;
58
+
59
+ this.config = config && $.isPlainObject(config) ?
60
+ $.extend({}, this._baseConfig, config) : this._baseConfig;
61
+
62
+ this.config.itemSelector = selector;
63
+
64
+ this.initCircles();
65
+
66
+ return this.pageCollection;
67
+
68
+ },
69
+
70
+ /**
71
+ * Initialization of each Circle of the page.
72
+ *
73
+ * @return undefined
74
+ */
75
+ initCircles: function() {
76
+
77
+ var lastItem = this.pageCollection.last(),
78
+ lastId = 0,
79
+ self = this;
80
+
81
+
82
+ if (lastItem.length) {
83
+ lastId = +lastItem.attr('id').substring(lastItem.attr('id').lastIndexOf('-') + 1);
84
+ }
85
+
86
+ this.collection.each(function(i, el) {
87
+
88
+ var $this = $(el),
89
+ id = 'hs-pie-' + (lastId + (i + 1)),
90
+ value = 0;
91
+
92
+ $this.attr('id', id);
93
+
94
+ if (!$this.data('circles-scroll-animate')) {
95
+ value = $this.data('circles-value') || 0;
96
+ } else {
97
+ $this.data('reminded-value', $this.data('circles-value') || 0);
98
+ self.appearCollectionIds.push('#' + id);
99
+ }
100
+
101
+ var circle = Circles.create({
102
+ id: id,
103
+ radius: $this.data('circles-radius') || 80,
104
+ value: value,
105
+ maxValue: $this.data('circles-max-value') || 100,
106
+ width: $this.data('circles-stroke-width') || 10,
107
+ text: function(value) {
108
+ return value + ($this.data('circles-additional-text') || ''); },
109
+ colors: [$this.data('circles-bg-color') || '#72c02c', $this.data('circles-fg-color') || '#eeeeee'],
110
+ duration: $this.data('circles-duration') || 1000,
111
+ wrpClass: self.config['wrpClass'],
112
+ textClass: self.config['textClass'],
113
+ valueStrokeClass: self.config['valueStrokeClass'],
114
+ maxValueStrokeClass: self.config['maxValueStrokeClass'],
115
+ styleWrapper: self.config['styleWrapper'],
116
+ styleText: self.config['styleText']
117
+ });
118
+
119
+ $this.data('circle', circle);
120
+
121
+ $this.find('.' + self.config['textClass']).css({
122
+ 'font-size': $this.data('circles-font-size'),
123
+ 'font-weight': $this.data('circles-font-weight'),
124
+ 'color': $this.data('circles-color')
125
+ });
126
+
127
+
128
+ if (self.config['rtl']) {
129
+ $this.find('svg').css('transform', 'matrix(-1, 0, 0, 1, 0, 0)');
130
+ }
131
+
132
+ self.pageCollection = self.pageCollection.add($this);
133
+
134
+ });
135
+
136
+ if (self.appearCollectionIds.length) self._initAppear();
137
+
138
+ },
139
+
140
+ /**
141
+ * Updates value of the chart pie when an item has appeared in the visible region.
142
+ *
143
+ * @return undefined
144
+ */
145
+ _initAppear: function() {
146
+
147
+ var self = this;
148
+
149
+ appear({
150
+ bounds: self.config['bounds'],
151
+ debounce: self.config['debounce'],
152
+ elements: function() {
153
+ return document.querySelectorAll(self.appearCollectionIds.join(','));
154
+ },
155
+ appear: function(element) {
156
+
157
+ element = $(element);
158
+
159
+ element.data('circle').update(element.data('reminded-value'));
160
+
161
+ }
162
+ });
163
+
164
+ },
165
+
166
+ /**
167
+ * Returns item by index or entire collection in case when index has not been passed.
168
+ *
169
+ * @param Number index
170
+ *
171
+ * @return jQuery
172
+ */
173
+ get: function(index) {
174
+ if (index && $.isNumeric(index)) return this.pageCollection.eq(index);
175
+
176
+ return this.pageCollection;
177
+ },
178
+
179
+ /**
180
+ * Returns item by id.
181
+ *
182
+ * @param String id
183
+ *
184
+ * @return circle
185
+ */
186
+ getById: function(id) {
187
+ if (id && this.pageCollection.filter('#' + id).length) return this.pageCollection.filter('#' + id);
188
+
189
+ return null;
190
+ },
191
+
192
+ /**
193
+ * Returns object of circle class (for the access to circle API) by index.
194
+ *
195
+ * @param Number index
196
+ *
197
+ * @return circle
198
+ */
199
+ getCircleAPI: function(index) {
200
+ if (index && $.isNumeric(index) && this.pageCollection.eq(index).length) return this.pageCollection.eq(index).data('circle');
201
+
202
+ return null;
203
+ },
204
+
205
+ /**
206
+ * Returns object of circle class (for the access to circle API) by id.
207
+ *
208
+ * @param String id
209
+ *
210
+ * @return circle
211
+ */
212
+ getCircleAPIById: function(id) {
213
+ if (id && this.pageCollection.filter('#' + id).length) return this.pageCollection.filter('#' + id).data('circle');
214
+
215
+ return null;
216
+ }
217
+
218
+ }
219
+
220
+ })(jQuery);
@@ -0,0 +1,155 @@
1
+ /**
2
+ * Charts wrapper.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ * @requires sparkline.js (v2.1.2), peity.js (v3.2.1)
7
+ *
8
+ */
9
+ ;(function($){
10
+ 'use strict';
11
+
12
+ $.HSCore.components.HSChart = {
13
+
14
+ /**
15
+ * Sparkline Charts
16
+ */
17
+ sparkline: {
18
+
19
+ /**
20
+ * Base plugin's configuration.
21
+ *
22
+ * @var Object _baseConfig
23
+ */
24
+ _baseConfig: {
25
+ fillColor: '#72c02c',
26
+ lineColor: '#72c02c',
27
+ barColor: '#72c02c'
28
+ },
29
+
30
+ /**
31
+ * Collection of all initialized items of the page.
32
+ *
33
+ * @var jQuery _pageCollection
34
+ */
35
+ _pageCollection: $(),
36
+
37
+ /**
38
+ * Initializes new collection of items.
39
+ *
40
+ * @param jQuery collections
41
+ *
42
+ * @return jQuery
43
+ */
44
+ init: function(collection){
45
+
46
+ var self = this;
47
+
48
+ if(!collection || !collection.length) return $();
49
+
50
+ return collection.each(function(i, el){
51
+
52
+ var $this = $(el),
53
+ config = $.extend(true, {}, self._baseConfig, $this.data());
54
+
55
+ $this.sparkline( $this.data('data'), config);
56
+
57
+ self._pageCollection = self._pageCollection.add( $this );
58
+
59
+ });
60
+
61
+ },
62
+
63
+ /**
64
+ * Returns entire collection of initialized items or single initialized
65
+ * item (in case with index parameter).
66
+ *
67
+ * @param Number index
68
+ *
69
+ * @return jQuery
70
+ */
71
+ get: function(index) {
72
+
73
+ if(index) {
74
+ return this._pageCollection.eq(index);
75
+ }
76
+
77
+ return this._pageCollection;
78
+
79
+ }
80
+
81
+ },
82
+
83
+ /**
84
+ * Peity Charts
85
+ */
86
+ peity: {
87
+
88
+ /**
89
+ * Base plugin's configuration.
90
+ *
91
+ * @var Object _baseConfig
92
+ */
93
+ _baseConfig: {
94
+ fill: ''
95
+ },
96
+
97
+ /**
98
+ * Collection of all initialized items of the page.
99
+ *
100
+ * @var jQuery _pageCollection
101
+ */
102
+ _pageCollection: $(),
103
+
104
+ /**
105
+ * Initializes new collection of items.
106
+ *
107
+ * @param jQuery collections
108
+ *
109
+ * @return jQuery
110
+ */
111
+ init: function(collection, config){
112
+
113
+ var self = this;
114
+
115
+ if(!collection || !collection.length) return $();
116
+
117
+ config = config && $.isPlainObject(config) ? $.extend(true, {}, this._baseConfig, config) : this._baseConfig;
118
+
119
+
120
+ return collection.each(function(i, el){
121
+
122
+ var $this = $(el),
123
+ currentConfig = $.extend(true, {}, config, $this.data());
124
+
125
+ $this.peity( $this.data('peity-type'), currentConfig );
126
+
127
+ self._pageCollection = self._pageCollection.add( $this );
128
+
129
+ });
130
+
131
+ },
132
+
133
+ /**
134
+ * Returns entire collection of initialized items or single initialized
135
+ * item (in case with index parameter).
136
+ *
137
+ * @param Number index
138
+ *
139
+ * @return jQuery
140
+ */
141
+ get: function(index) {
142
+
143
+ if(index) {
144
+ return this._pageCollection.eq(index);
145
+ }
146
+
147
+ return this._pageCollection;
148
+
149
+ }
150
+
151
+ }
152
+
153
+ };
154
+
155
+ })(jQuery);
@@ -0,0 +1,92 @@
1
+ /**
2
+ * Count quantity wrapper.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ *
7
+ */
8
+ ;(function ($) {
9
+ 'use strict';
10
+
11
+ $.HSCore.components.HSCountQty = {
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 Count quantity 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.initCountQty();
46
+
47
+ return this.pageCollection;
48
+
49
+ },
50
+
51
+ initCountQty: 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
+ $plus = $this.find('.js-plus'),
61
+ $minus = $this.find('.js-minus'),
62
+ $result = $this.find('.js-result'),
63
+ resultVal = parseInt($result.val());
64
+
65
+ $plus.on('click', function (e) {
66
+ e.preventDefault();
67
+
68
+ resultVal += 1;
69
+
70
+ $result.val(resultVal);
71
+ });
72
+
73
+ $minus.on('click', function (e) {
74
+ e.preventDefault();
75
+
76
+ if (resultVal >= 1) {
77
+ resultVal -= 1;
78
+
79
+ $result.val(resultVal);
80
+ } else {
81
+ return false;
82
+ }
83
+ });
84
+
85
+ //Actions
86
+ collection = collection.add($this);
87
+ });
88
+ }
89
+
90
+ };
91
+
92
+ })(jQuery);