jekyll-theme-pirati 1.2.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -17
- data/_data/menu.yml +53 -0
- data/_includes/candidate_badge.html +6 -15
- data/_includes/footer.html +92 -12
- data/_includes/head.html +24 -25
- data/_includes/header.html +14 -14
- data/_includes/js/main.html +71 -14
- data/_includes/menu.html +43 -51
- data/_includes/people/profile_badge.html +1 -3
- data/_includes/right-bar/bar_cal.html +4 -6
- data/_includes/right-bar/bar_fb.html +3 -3
- data/_includes/right-bar/bar_garant.html +3 -2
- data/_includes/right-bar/bar_people.html +21 -18
- data/_includes/right-bar/bar_person_contact.html +11 -55
- data/_includes/right-bar/rbar.html +3 -3
- data/_layouts/komunalni-volby.html +9 -7
- data/_sass/_base.scss +114 -1
- data/_sass/_settings.scss +1 -1
- data/_sass/components/BasicPage.scss +6 -1
- data/_sass/components/hero.scss +2 -2
- data/_sass/components/icon.scss +5 -1
- data/_sass/components/program.scss +5 -1
- data/_sass/components/top-bar.scss +236 -491
- data/_sass/components/top-sub-nav.scss +1 -1
- data/_sass/objects/media.scss +46 -38
- data/_sass/utilities/utilities.scss +6 -6
- data/assets/css/main.scss +40 -106
- data/assets/js/apps.js +8 -0
- data/assets/js/apps/scroll-top/ScrollTop.vue +83 -0
- data/assets/js/apps/scroll-top/index.js +9 -0
- data/assets/js/apps/site-search/SiteSearch.vue +85 -0
- data/assets/js/apps/site-search/SiteSearchItemTemplate.vue +29 -0
- data/assets/js/apps/site-search/index.js +14 -0
- data/assets/js/index.js +52 -0
- metadata +9 -91
- data/_includes/js/custom.js +0 -245
- data/_includes/js/fb.js +0 -15
- data/_includes/js/piwik.js +0 -11
- data/_includes/js/tw.js +0 -15
- data/_includes/people/item.html +0 -49
- data/_includes/people/list-2col.html +0 -24
- data/_includes/people/list-group.html +0 -12
- data/_includes/title/title_header.html +0 -9
- data/_sass/components/scroll-top.scss +0 -32
- data/_sass/components/welcome-header.scss +0 -188
- data/_sass/foundation/_global.scss +0 -638
- data/_sass/foundation/components/_accordion-menu.scss +0 -32
- data/_sass/foundation/components/_accordion.scss +0 -129
- data/_sass/foundation/components/_badge.scss +0 -55
- data/_sass/foundation/components/_breadcrumbs.scss +0 -95
- data/_sass/foundation/components/_button-group.scss +0 -195
- data/_sass/foundation/components/_button.scss +0 -265
- data/_sass/foundation/components/_callout.scss +0 -105
- data/_sass/foundation/components/_close-button.scss +0 -61
- data/_sass/foundation/components/_drilldown.scss +0 -79
- data/_sass/foundation/components/_dropdown-menu.scss +0 -221
- data/_sass/foundation/components/_dropdown.scss +0 -65
- data/_sass/foundation/components/_flex-video.scss +0 -63
- data/_sass/foundation/components/_flex.scss +0 -28
- data/_sass/foundation/components/_float.scss +0 -27
- data/_sass/foundation/components/_label.scss +0 -55
- data/_sass/foundation/components/_media-object.scss +0 -115
- data/_sass/foundation/components/_menu-icon.scss +0 -9
- data/_sass/foundation/components/_menu.scss +0 -314
- data/_sass/foundation/components/_off-canvas.scss +0 -177
- data/_sass/foundation/components/_orbit.scss +0 -193
- data/_sass/foundation/components/_pagination.scss +0 -162
- data/_sass/foundation/components/_progress-bar.scss +0 -64
- data/_sass/foundation/components/_reveal.scss +0 -172
- data/_sass/foundation/components/_slider.scss +0 -133
- data/_sass/foundation/components/_sticky.scss +0 -38
- data/_sass/foundation/components/_switch.scss +0 -232
- data/_sass/foundation/components/_table.scss +0 -234
- data/_sass/foundation/components/_tabs.scss +0 -165
- data/_sass/foundation/components/_thumbnail.scss +0 -54
- data/_sass/foundation/components/_title-bar.scss +0 -89
- data/_sass/foundation/components/_tooltip.scss +0 -104
- data/_sass/foundation/components/_top-bar.scss +0 -168
- data/_sass/foundation/components/_visibility.scss +0 -132
- data/_sass/foundation/forms/_checkbox.scss +0 -40
- data/_sass/foundation/forms/_error.scss +0 -84
- data/_sass/foundation/forms/_fieldset.scss +0 -54
- data/_sass/foundation/forms/_forms.scss +0 -34
- data/_sass/foundation/forms/_help-text.scss +0 -30
- data/_sass/foundation/forms/_input-group.scss +0 -128
- data/_sass/foundation/forms/_label.scss +0 -48
- data/_sass/foundation/forms/_meter.scss +0 -109
- data/_sass/foundation/forms/_progress.scss +0 -85
- data/_sass/foundation/forms/_range.scss +0 -144
- data/_sass/foundation/forms/_select.scss +0 -67
- data/_sass/foundation/forms/_text.scss +0 -163
- data/_sass/foundation/foundation.scss +0 -102
- data/_sass/foundation/grid/_classes.scss +0 -151
- data/_sass/foundation/grid/_column.scss +0 -126
- data/_sass/foundation/grid/_flex-grid.scss +0 -274
- data/_sass/foundation/grid/_grid.scss +0 -60
- data/_sass/foundation/grid/_gutter.scss +0 -34
- data/_sass/foundation/grid/_layout.scss +0 -51
- data/_sass/foundation/grid/_position.scss +0 -73
- data/_sass/foundation/grid/_row.scss +0 -95
- data/_sass/foundation/grid/_size.scss +0 -24
- data/_sass/foundation/settings/_settings.scss +0 -567
- data/_sass/foundation/typography/_alignment.scss +0 -22
- data/_sass/foundation/typography/_base.scss +0 -443
- data/_sass/foundation/typography/_helpers.scss +0 -77
- data/_sass/foundation/typography/_print.scss +0 -77
- data/_sass/foundation/typography/_typography.scss +0 -28
- data/_sass/foundation/util/_breakpoint.scss +0 -275
- data/_sass/foundation/util/_color.scss +0 -60
- data/_sass/foundation/util/_flex.scss +0 -68
- data/_sass/foundation/util/_mixins.scss +0 -235
- data/_sass/foundation/util/_selector.scss +0 -40
- data/_sass/foundation/util/_unit.scss +0 -90
- data/_sass/foundation/util/_util.scss +0 -11
- data/_sass/foundation/util/_value.scss +0 -107
- data/_sass/jquery-ui.scss +0 -1311
- data/_sass/main.scss +0 -41
- data/_sass/minima.scss +0 -51
- data/_sass/minima/_base.scss +0 -254
- data/_sass/minima/_layout.scss +0 -255
- data/_sass/minima/_syntax-highlighting.scss +0 -71
- data/_sass/scroll-top.scss +0 -31
- data/assets/js/common-libs.min.js +0 -1
- data/assets/js/custom.min.js +0 -1
- data/assets/snippet/profile.html +0 -19
data/_sass/objects/media.scss
CHANGED
@@ -1,55 +1,63 @@
|
|
1
1
|
.o-media {
|
2
|
-
|
3
|
-
|
2
|
+
display: flex;
|
3
|
+
width: 100%;
|
4
|
+
background-color: $white;
|
4
5
|
}
|
5
6
|
|
6
7
|
.o-media__image,
|
7
8
|
.o-media__body {
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
.o-media--top & {
|
12
|
-
vertical-align: top;
|
13
|
-
}
|
14
|
-
|
15
|
-
.o-media--bottom & {
|
16
|
-
vertical-align: bottom;
|
17
|
-
}
|
18
|
-
|
19
|
-
@include breakpoint(mobile down) {
|
20
|
-
display: block;
|
21
|
-
}
|
22
|
-
|
9
|
+
@include breakpoint(mobile down) {
|
10
|
+
display: block;
|
11
|
+
}
|
23
12
|
}
|
24
13
|
|
25
14
|
.o-media__image {
|
26
|
-
|
15
|
+
padding-right: 0.85rem;
|
16
|
+
flex-shrink: 0;
|
17
|
+
|
18
|
+
img {
|
19
|
+
display: block;
|
20
|
+
max-width: 100%;
|
21
|
+
}
|
27
22
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
23
|
+
.o-media--rev & {
|
24
|
+
padding-right: 0;
|
25
|
+
padding-left: 0.85rem;
|
26
|
+
}
|
32
27
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
}
|
28
|
+
&.o-media__image--lgspace {
|
29
|
+
padding-right: 1.75rem;
|
30
|
+
}
|
37
31
|
|
38
|
-
|
39
|
-
|
40
|
-
|
32
|
+
&.o-media__image--round img {
|
33
|
+
border-radius: 50%;
|
34
|
+
}
|
41
35
|
|
42
36
|
}
|
43
37
|
|
44
38
|
.o-media__body {
|
45
|
-
|
39
|
+
width: 100%;
|
40
|
+
|
41
|
+
> p:last-of-type {
|
42
|
+
margin-bottom: 0;
|
43
|
+
}
|
46
44
|
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
@include breakpoint(mobile down) {
|
46
|
+
margin-top: 2rem;
|
47
|
+
}
|
50
48
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
}
|
49
|
+
.o-media__headline {
|
50
|
+
font-size: 1.4rem;
|
51
|
+
color: $primary-color;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.o-media__body-inner {
|
56
|
+
&.o-media__body-inner--padded {
|
57
|
+
padding: .85rem .85rem .85rem 0;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.o-media-list + .o-media-list {
|
62
|
+
margin-top: .65rem;
|
63
|
+
}
|
@@ -67,13 +67,13 @@
|
|
67
67
|
|
68
68
|
.u-center-medium-only {
|
69
69
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
70
|
+
@include breakpoint(medium down) {
|
71
|
+
@include breakpoint(mobile) {
|
72
|
+
text-align: center;
|
73
|
+
margin: 0 auto;
|
74
|
+
display: block;
|
75
|
+
}
|
75
76
|
}
|
76
|
-
|
77
77
|
}
|
78
78
|
|
79
79
|
.u-center-mobile-down {
|
data/assets/css/main.scss
CHANGED
@@ -1,110 +1,44 @@
|
|
1
1
|
---
|
2
|
-
#
|
2
|
+
# this ensures Jekyll reads the file to be transformed into CSS later
|
3
|
+
# only Main files contain this front matter, not partials.
|
3
4
|
---
|
4
|
-
@charset "utf-8";
|
5
|
-
|
6
|
-
@import 'main.scss';
|
7
|
-
|
8
|
-
.pricing-table {
|
9
|
-
|
10
|
-
border: solid 1px #DDDDDD;
|
11
|
-
background: #eee}
|
12
|
-
|
13
|
-
.pricing-table li {
|
14
|
-
|
15
|
-
border-bottom: dotted 1px #DDDDDD;
|
16
|
-
|
17
|
-
// font-size: 0.75rem;
|
18
|
-
|
19
|
-
padding: 0.875rem 1.125rem; }
|
20
|
-
|
21
|
-
.pricing-table li:last-child {
|
22
|
-
|
23
|
-
border-bottom: 0; }
|
24
|
-
|
25
|
-
.pricing-table .title {
|
26
|
-
|
27
|
-
background-color: red;
|
28
|
-
|
29
|
-
color: #EEEEEE;
|
30
|
-
|
31
|
-
font-size: 0.875rem;
|
32
|
-
|
33
|
-
border-bottom: 0; }
|
34
|
-
|
35
|
-
.pricing-table .price {
|
36
|
-
|
37
|
-
color: #333333;
|
38
|
-
|
39
|
-
font-size: 1.75rem;
|
40
5
|
|
41
|
-
|
42
|
-
|
43
|
-
.pricing-table .description {
|
44
|
-
|
45
|
-
color: #777777;
|
46
|
-
|
47
|
-
// font-size: 0.625rem;
|
48
|
-
}
|
49
|
-
|
50
|
-
.pricing-table .small {
|
51
|
-
|
52
|
-
color: #777777;
|
53
|
-
font-size: 0.625rem;
|
54
|
-
text-align:right;
|
55
|
-
}
|
56
|
-
|
57
|
-
#mc_embed_signup label {
|
58
|
-
font-size: 1rem;
|
59
|
-
|
60
|
-
|
61
|
-
}
|
62
|
-
|
63
|
-
.pricing-table .button {
|
64
|
-
|
65
|
-
margin: 0; }
|
66
|
-
|
67
|
-
.pricing-table .pricing-table-header-img {
|
68
|
-
|
69
|
-
padding:0px;margin:0px;height:98px;
|
70
|
-
background-position: 55% 0px;
|
71
|
-
background-repeat:no-repeat;
|
72
|
-
}
|
73
|
-
|
74
|
-
#tabs {
|
75
|
-
padding: 0px;
|
76
|
-
background: none;
|
77
|
-
border-width: 0px;
|
78
|
-
}
|
79
|
-
#tabs .ui-tabs-nav {
|
80
|
-
padding-left: 0px;
|
81
|
-
background: transparent;
|
82
|
-
border-width: 0px 0px 1px 0px;
|
83
|
-
-moz-border-radius: 0px;
|
84
|
-
-webkit-border-radius: 0px;
|
85
|
-
border-radius: 0px;
|
86
|
-
}
|
87
|
-
|
88
|
-
.ui-tabs .ui-tabs-nav li {
|
89
|
-
margin-right: 0.34em;
|
90
|
-
background: #eee;
|
91
|
-
}
|
92
|
-
|
93
|
-
.ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
|
94
|
-
background: #007fff !important;}
|
95
|
-
|
96
|
-
#tabs .ui-tabs-panel {
|
97
|
-
background: #eee;
|
98
|
-
border-width: 0px 1px 1px 1px;
|
99
|
-
}
|
100
|
-
|
101
|
-
.asterisk {color:red}
|
6
|
+
@charset "utf-8";
|
102
7
|
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
8
|
+
@import 'settings';
|
9
|
+
|
10
|
+
@import "foundation-sites/scss/foundation";
|
11
|
+
@include foundation-everything;
|
12
|
+
|
13
|
+
@import 'base';
|
14
|
+
@import 'utilities/utilities';
|
15
|
+
|
16
|
+
// Import Components
|
17
|
+
@import 'components/program';
|
18
|
+
@import 'components/BlogPosting';
|
19
|
+
@import 'components/Person';
|
20
|
+
@import 'components/BasicPage';
|
21
|
+
@import 'components/vertical-navigation';
|
22
|
+
@import 'components/icon';
|
23
|
+
@import 'components/contact-bar';
|
24
|
+
@import 'components/header-bar';
|
25
|
+
@import 'components/top-bar';
|
26
|
+
@import 'components/banner';
|
27
|
+
@import 'components/top-sub-nav';
|
28
|
+
@import 'components/widget-accordion';
|
29
|
+
@import 'components/content-card';
|
30
|
+
@import 'components/card';
|
31
|
+
@import 'components/tag';
|
32
|
+
@import 'components/widget-share-box';
|
33
|
+
@import 'components/widget-simple-text';
|
34
|
+
@import 'components/pagination';
|
35
|
+
@import 'components/Slider';
|
36
|
+
@import 'components/simple-accordion';
|
37
|
+
@import 'components/hero';
|
38
|
+
@import 'components/blockquote';
|
39
|
+
@import 'components/cta-button';
|
40
|
+
|
41
|
+
// Import Objects
|
42
|
+
@import 'objects/section';
|
43
|
+
@import 'objects/media';
|
44
|
+
@import 'objects/space';
|
data/assets/js/apps.js
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
<template>
|
2
|
+
<transition :name="'back-top-fade'" :duration="300">
|
3
|
+
<div class="scroll-top" v-show="showBackToTop" @click="toTop">
|
4
|
+
<slot><div class="scroll-top__area icon"><i class="fa fa-4x fa-angle-up"></i></div></slot>
|
5
|
+
</div>
|
6
|
+
</transition>
|
7
|
+
</template>
|
8
|
+
|
9
|
+
<script>
|
10
|
+
import { throttle } from 'throttle-debounce';
|
11
|
+
import SmoothScroll from 'smoothscroll-polyfill';
|
12
|
+
|
13
|
+
SmoothScroll.polyfill();
|
14
|
+
|
15
|
+
export default {
|
16
|
+
props: {
|
17
|
+
hover: {
|
18
|
+
type: Boolean
|
19
|
+
},
|
20
|
+
scrollFunction: {
|
21
|
+
type: Function,
|
22
|
+
default: () => {
|
23
|
+
window.scroll({ top: 0, left: 0, behavior: "smooth" });
|
24
|
+
}
|
25
|
+
}
|
26
|
+
},
|
27
|
+
data() {
|
28
|
+
return {
|
29
|
+
showBackToTop: false,
|
30
|
+
timeout: 0,
|
31
|
+
scrollInterval: 20
|
32
|
+
};
|
33
|
+
},
|
34
|
+
methods: {
|
35
|
+
toTop() {
|
36
|
+
this.showBackToTop = false;
|
37
|
+
this.scrollFunction();
|
38
|
+
},
|
39
|
+
onScroll() {
|
40
|
+
const currentScroll = document.body.scrollTop || document.documentElement.scrollTop;
|
41
|
+
this.showBackToTop = currentScroll >= 0.1 * document.body.clientHeight;
|
42
|
+
}
|
43
|
+
},
|
44
|
+
mounted() {
|
45
|
+
this.throttledScrollHandler = throttle(300, this.onScroll);
|
46
|
+
document.addEventListener("scroll", this.throttledScrollHandler);
|
47
|
+
},
|
48
|
+
beforeDestroy() {
|
49
|
+
document.removeEventListener("scroll", this.throttledScrollHandler);
|
50
|
+
}
|
51
|
+
};
|
52
|
+
</script>
|
53
|
+
|
54
|
+
<style lang="scss">
|
55
|
+
@import 'settings';
|
56
|
+
|
57
|
+
.scroll-top {
|
58
|
+
position: fixed;
|
59
|
+
right: 30px;
|
60
|
+
bottom: 50px;
|
61
|
+
|
62
|
+
|
63
|
+
background: $light-gray;
|
64
|
+
cursor: pointer;
|
65
|
+
opacity: 1;
|
66
|
+
transition: 0.3s;
|
67
|
+
display: flex;
|
68
|
+
justify-content: center;
|
69
|
+
align-items: center;
|
70
|
+
|
71
|
+
opacity: 1;
|
72
|
+
}
|
73
|
+
|
74
|
+
.scroll-top__area {
|
75
|
+
padding:20px;
|
76
|
+
}
|
77
|
+
|
78
|
+
.back-top-fade-enter,
|
79
|
+
.back-top-fade-leave-active {
|
80
|
+
transform: translateY(-30px);
|
81
|
+
opacity: 0;
|
82
|
+
}
|
83
|
+
</style>
|
@@ -0,0 +1,85 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="c-search">
|
3
|
+
<v-autocomplete
|
4
|
+
class="autocomplete"
|
5
|
+
v-model="item"
|
6
|
+
:input-attrs="{class: 'autocomplete__input c-search__input', placeholder: 'Hledaný výraz'}"
|
7
|
+
:items="items"
|
8
|
+
:get-label="getLabel"
|
9
|
+
:component-item="itemTemplate"
|
10
|
+
:auto-select-one-item="false"
|
11
|
+
:wait="0"
|
12
|
+
:min-len="0"
|
13
|
+
@item-selected="onItemSelected"
|
14
|
+
@update-items="onUpdateItems"></v-autocomplete>
|
15
|
+
<button type="button" class="c-search__confirm"><i class="fa fa-search" aria-hidden="true"></i></button>
|
16
|
+
</div>
|
17
|
+
</template>
|
18
|
+
|
19
|
+
<script>
|
20
|
+
import ItemTemplate from './SiteSearchItemTemplate.vue';
|
21
|
+
|
22
|
+
export default {
|
23
|
+
name: 'SiteSearch',
|
24
|
+
data () {
|
25
|
+
return {
|
26
|
+
item: null,
|
27
|
+
items: [],
|
28
|
+
itemTemplate: ItemTemplate
|
29
|
+
}
|
30
|
+
},
|
31
|
+
methods: {
|
32
|
+
getLabel (item) {
|
33
|
+
return item.label;
|
34
|
+
},
|
35
|
+
onItemSelected(item) {
|
36
|
+
// Redir
|
37
|
+
window.location.href = item.value;
|
38
|
+
},
|
39
|
+
onUpdateItems(searchText) {
|
40
|
+
this.items = this.allItems.filter(i => i.label.toLowerCase().indexOf(searchText.toLowerCase()) !== -1);
|
41
|
+
}
|
42
|
+
},
|
43
|
+
mounted() {
|
44
|
+
this.$http.get('/api/search.json').then(resp => {
|
45
|
+
this.allItems = this.items = resp.body.filter(i => !! i.label);
|
46
|
+
});
|
47
|
+
}
|
48
|
+
}
|
49
|
+
</script>
|
50
|
+
|
51
|
+
<style lang="scss">
|
52
|
+
@import 'settings';
|
53
|
+
|
54
|
+
.v-autocomplete {
|
55
|
+
position: relative;
|
56
|
+
}
|
57
|
+
|
58
|
+
.v-autocomplete-list {
|
59
|
+
position: absolute;
|
60
|
+
z-index: 9999;
|
61
|
+
width: 100%;
|
62
|
+
top: 40px;
|
63
|
+
min-width: 400px;
|
64
|
+
text-align: left;
|
65
|
+
max-height: 300px;
|
66
|
+
overflow-y: auto;
|
67
|
+
border: $input-border;
|
68
|
+
}
|
69
|
+
|
70
|
+
.v-autocomplete-list-item {
|
71
|
+
cursor: pointer;
|
72
|
+
background-color: $white;
|
73
|
+
padding: .75em;
|
74
|
+
border-bottom: $input-border;
|
75
|
+
|
76
|
+
&:last-child {
|
77
|
+
border-bottom: 0;
|
78
|
+
}
|
79
|
+
|
80
|
+
&:hover {
|
81
|
+
background-color: $light-gray;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
</style>
|
85
|
+
|