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,163 @@
|
|
1
|
+
/**
|
2
|
+
* Filter wrapper.
|
3
|
+
*
|
4
|
+
* @author Htmlstream
|
5
|
+
* @version 1.0
|
6
|
+
* @requires
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
;(function ($) {
|
11
|
+
'use strict';
|
12
|
+
|
13
|
+
$.HSCore.components.HSCubeportfolio = {
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
*
|
17
|
+
* @var Object _baseConfig
|
18
|
+
*/
|
19
|
+
_baseConfig: {},
|
20
|
+
|
21
|
+
/**
|
22
|
+
*
|
23
|
+
*
|
24
|
+
* @var jQuery pageCollection
|
25
|
+
*/
|
26
|
+
pageCollection: $(),
|
27
|
+
|
28
|
+
/**
|
29
|
+
* Initialization of Filter wrapper.
|
30
|
+
*
|
31
|
+
* @param String selector (optional)
|
32
|
+
* @param Object config (optional)
|
33
|
+
*
|
34
|
+
* @return jQuery pageCollection - collection of initialized items.
|
35
|
+
*/
|
36
|
+
|
37
|
+
init: function (selector, config) {
|
38
|
+
|
39
|
+
this.collection = selector && $(selector).length ? $(selector) : $();
|
40
|
+
if (!$(selector).length) return;
|
41
|
+
|
42
|
+
this.config = config && $.isPlainObject(config) ?
|
43
|
+
$.extend({}, this._baseConfig, config) : this._baseConfig;
|
44
|
+
|
45
|
+
this.config.itemSelector = selector;
|
46
|
+
|
47
|
+
this.initCubeportfolio();
|
48
|
+
|
49
|
+
return this.pageCollection;
|
50
|
+
|
51
|
+
},
|
52
|
+
|
53
|
+
initCubeportfolio: function () {
|
54
|
+
//Variables
|
55
|
+
var $self = this,
|
56
|
+
config = $self.config,
|
57
|
+
collection = $self.pageCollection;
|
58
|
+
|
59
|
+
//Actions
|
60
|
+
this.collection.each(function (i, el) {
|
61
|
+
//Variables
|
62
|
+
var $this = $(el),
|
63
|
+
setControls = $this.data('controls'),
|
64
|
+
setLayout = $this.data('layout'),
|
65
|
+
setXGap = $this.data('x-gap'),
|
66
|
+
setYGap = $this.data('y-gap'),
|
67
|
+
setAnimation = $this.data('animation'),
|
68
|
+
setCaptionAnimation = $this.data('caption-animation'),
|
69
|
+
setDefaultMediaQueries = [{
|
70
|
+
width: 1500,
|
71
|
+
cols: 3
|
72
|
+
}, {
|
73
|
+
width: 1100,
|
74
|
+
cols: 3
|
75
|
+
}, {
|
76
|
+
width: 800,
|
77
|
+
cols: 3
|
78
|
+
}, {
|
79
|
+
width: 480,
|
80
|
+
cols: 2,
|
81
|
+
options: {
|
82
|
+
caption: '',
|
83
|
+
gapHorizontal: 10,
|
84
|
+
gapVertical: 10
|
85
|
+
}
|
86
|
+
}],
|
87
|
+
setMeidaQueries = JSON.parse(el.getAttribute('data-media-queries'));
|
88
|
+
|
89
|
+
$this.cubeportfolio({
|
90
|
+
filters: setControls,
|
91
|
+
layoutMode: setLayout,
|
92
|
+
defaultFilter: '*',
|
93
|
+
sortToPreventGaps: true,
|
94
|
+
gapHorizontal: setXGap,
|
95
|
+
gapVertical: setYGap,
|
96
|
+
animationType: setAnimation,
|
97
|
+
gridAdjustment: 'responsive',
|
98
|
+
mediaQueries: setMeidaQueries ? setMeidaQueries : setDefaultMediaQueries,
|
99
|
+
caption: setCaptionAnimation ? setCaptionAnimation : 'overlayBottomAlong',
|
100
|
+
displayType: 'sequentially',
|
101
|
+
displayTypeSpeed: 100,
|
102
|
+
|
103
|
+
// lightbox
|
104
|
+
lightboxDelegate: '.cbp-lightbox',
|
105
|
+
lightboxGallery: true,
|
106
|
+
lightboxTitleSrc: 'data-title',
|
107
|
+
lightboxCounter: '<div class="cbp-popup-lightbox-counter">{{current}} of {{total}}</div>',
|
108
|
+
|
109
|
+
// singlePageInline
|
110
|
+
singlePageInlineDelegate: '.cbp-singlePageInline',
|
111
|
+
singlePageInlinePosition: 'below',
|
112
|
+
singlePageInlineInFocus: true,
|
113
|
+
singlePageInlineCallback: function (url, element) {
|
114
|
+
// to update singlePageInline content use the following method: this.updateSinglePageInline(yourContent)
|
115
|
+
var t = this;
|
116
|
+
|
117
|
+
$.ajax({
|
118
|
+
url: url,
|
119
|
+
type: 'GET',
|
120
|
+
dataType: 'html',
|
121
|
+
timeout: 30000
|
122
|
+
})
|
123
|
+
.done(function (result) {
|
124
|
+
|
125
|
+
t.updateSinglePageInline(result);
|
126
|
+
|
127
|
+
})
|
128
|
+
.fail(function () {
|
129
|
+
t.updateSinglePageInline('AJAX Error! Please refresh the page!');
|
130
|
+
});
|
131
|
+
},
|
132
|
+
|
133
|
+
// singlePage popup
|
134
|
+
singlePageDelegate: '.cbp-singlePage',
|
135
|
+
singlePageDeeplinking: true,
|
136
|
+
singlePageStickyNavigation: true,
|
137
|
+
singlePageCounter: '<div class="cbp-popup-singlePage-counter">{{current}} of {{total}}</div>',
|
138
|
+
singlePageCallback: function (url, element) {
|
139
|
+
// to update singlePage content use the following method: this.updateSinglePage(yourContent)
|
140
|
+
var t = this;
|
141
|
+
|
142
|
+
$.ajax({
|
143
|
+
url: url,
|
144
|
+
type: 'GET',
|
145
|
+
dataType: 'html',
|
146
|
+
timeout: 10000
|
147
|
+
})
|
148
|
+
.done(function (result) {
|
149
|
+
t.updateSinglePage(result);
|
150
|
+
})
|
151
|
+
.fail(function () {
|
152
|
+
t.updateSinglePage('AJAX Error! Please refresh the page!');
|
153
|
+
});
|
154
|
+
}
|
155
|
+
});
|
156
|
+
|
157
|
+
//Actions
|
158
|
+
collection = collection.add($this);
|
159
|
+
});
|
160
|
+
}
|
161
|
+
};
|
162
|
+
|
163
|
+
})(jQuery);
|
@@ -0,0 +1,149 @@
|
|
1
|
+
/**
|
2
|
+
* Datepicker wrapper.
|
3
|
+
*
|
4
|
+
* @author Htmlstream
|
5
|
+
* @version 1.0
|
6
|
+
*
|
7
|
+
*/
|
8
|
+
;(function ($) {
|
9
|
+
'use strict';
|
10
|
+
|
11
|
+
$.HSCore.components.HSDatepicker = {
|
12
|
+
/**
|
13
|
+
*
|
14
|
+
*
|
15
|
+
* @var Object _baseConfig
|
16
|
+
*/
|
17
|
+
_baseConfig: {
|
18
|
+
dateFormat: 'dd.mm.yy',
|
19
|
+
dayNamesMin: [
|
20
|
+
'Sun',
|
21
|
+
'Mon',
|
22
|
+
'Tue',
|
23
|
+
'Wed',
|
24
|
+
'Thu',
|
25
|
+
'Fri',
|
26
|
+
'Sat'
|
27
|
+
],
|
28
|
+
prevText: '<i class="fa fa-angle-left"></i>',
|
29
|
+
nextText: '<i class="fa fa-angle-right"></i>'
|
30
|
+
},
|
31
|
+
|
32
|
+
/**
|
33
|
+
*
|
34
|
+
*
|
35
|
+
* @var jQuery pageCollection
|
36
|
+
*/
|
37
|
+
pageCollection: $(),
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Initialization of Datepicker wrapper.
|
41
|
+
*
|
42
|
+
* @param String selector (optional)
|
43
|
+
* @param Object config (optional)
|
44
|
+
*
|
45
|
+
* @return jQuery pageCollection - collection of initialized items.
|
46
|
+
*/
|
47
|
+
|
48
|
+
init: function (selector, config) {
|
49
|
+
|
50
|
+
this.collection = selector && $(selector).length ? $(selector) : $();
|
51
|
+
if (!$(selector).length) return;
|
52
|
+
|
53
|
+
this.config = config && $.isPlainObject(config) ?
|
54
|
+
$.extend({}, this._baseConfig, config) : this._baseConfig;
|
55
|
+
|
56
|
+
this.config.itemSelector = selector;
|
57
|
+
|
58
|
+
this.initDatepicker();
|
59
|
+
|
60
|
+
return this.pageCollection;
|
61
|
+
|
62
|
+
},
|
63
|
+
|
64
|
+
initDatepicker: function () {
|
65
|
+
//Variables
|
66
|
+
var $self = this,
|
67
|
+
config = $self.config,
|
68
|
+
collection = $self.pageCollection;
|
69
|
+
|
70
|
+
//Actions
|
71
|
+
this.collection.each(function (i, el) {
|
72
|
+
//Variables
|
73
|
+
var $this = $(el),
|
74
|
+
to = $this.data('to'),
|
75
|
+
rangeBoolean = $this.data('range');
|
76
|
+
|
77
|
+
if (rangeBoolean == 1) {
|
78
|
+
var dateFrom = $this.datepicker({
|
79
|
+
dateFormat: config['dateFormat'],
|
80
|
+
defaultDate: '+1w',
|
81
|
+
dayNamesMin: config['dayNamesMin'],
|
82
|
+
numberOfMonths: 1,
|
83
|
+
showOtherMonths: true,
|
84
|
+
prevText: config['prevText'],
|
85
|
+
nextText: config['nextText'],
|
86
|
+
beforeShow: $self.datepickerCustomClass
|
87
|
+
}).on('change', function () {
|
88
|
+
dateTo.datepicker('option', 'minDate', $self.getDate(this));
|
89
|
+
});
|
90
|
+
|
91
|
+
var dateTo = $('#' + to).datepicker({
|
92
|
+
dateFormat: config['dateFormat'],
|
93
|
+
defaultDate: '+1w',
|
94
|
+
dayNamesMin: config['dayNamesMin'],
|
95
|
+
numberOfMonths: 1,
|
96
|
+
showOtherMonths: true,
|
97
|
+
prevText: config['prevText'],
|
98
|
+
nextText: config['nextText'],
|
99
|
+
beforeShow: $self.datepickerCustomClass
|
100
|
+
}).on('change', function () {
|
101
|
+
dateFrom.datepicker('option', 'maxDate', $self.getDate(this));
|
102
|
+
});
|
103
|
+
} else {
|
104
|
+
$this.datepicker({
|
105
|
+
dateFormat: config['dateFormat'],
|
106
|
+
dayNamesMin: config['dayNamesMin'],
|
107
|
+
showOtherMonths: true,
|
108
|
+
prevText: config['prevText'],
|
109
|
+
nextText: config['nextText'],
|
110
|
+
beforeShow: $self.datepickerCustomClass
|
111
|
+
});
|
112
|
+
}
|
113
|
+
|
114
|
+
//Actions
|
115
|
+
collection = collection.add($this);
|
116
|
+
});
|
117
|
+
},
|
118
|
+
|
119
|
+
datepickerCustomClass: function (el, attr) {
|
120
|
+
var arrayOfClasses, customClass, i;
|
121
|
+
|
122
|
+
arrayOfClasses = attr.input.context.className.split(' ');
|
123
|
+
|
124
|
+
for (i = 0; arrayOfClasses.length > i; i++) {
|
125
|
+
if (arrayOfClasses[i].substring(0, 6) == 'u-date') {
|
126
|
+
customClass = arrayOfClasses[i];
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
$('#ui-datepicker-div').addClass(customClass);
|
131
|
+
},
|
132
|
+
|
133
|
+
getDate: function (element) {
|
134
|
+
var $self = this,
|
135
|
+
date,
|
136
|
+
config = $self.config;
|
137
|
+
|
138
|
+
try {
|
139
|
+
date = $.datepicker.parseDate(config['dateFormat'], element.value);
|
140
|
+
} catch (error) {
|
141
|
+
date = null;
|
142
|
+
}
|
143
|
+
|
144
|
+
return date;
|
145
|
+
}
|
146
|
+
|
147
|
+
};
|
148
|
+
|
149
|
+
})(jQuery);
|