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.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -17
  3. data/_data/menu.yml +53 -0
  4. data/_includes/candidate_badge.html +6 -15
  5. data/_includes/footer.html +92 -12
  6. data/_includes/head.html +24 -25
  7. data/_includes/header.html +14 -14
  8. data/_includes/js/main.html +71 -14
  9. data/_includes/menu.html +43 -51
  10. data/_includes/people/profile_badge.html +1 -3
  11. data/_includes/right-bar/bar_cal.html +4 -6
  12. data/_includes/right-bar/bar_fb.html +3 -3
  13. data/_includes/right-bar/bar_garant.html +3 -2
  14. data/_includes/right-bar/bar_people.html +21 -18
  15. data/_includes/right-bar/bar_person_contact.html +11 -55
  16. data/_includes/right-bar/rbar.html +3 -3
  17. data/_layouts/komunalni-volby.html +9 -7
  18. data/_sass/_base.scss +114 -1
  19. data/_sass/_settings.scss +1 -1
  20. data/_sass/components/BasicPage.scss +6 -1
  21. data/_sass/components/hero.scss +2 -2
  22. data/_sass/components/icon.scss +5 -1
  23. data/_sass/components/program.scss +5 -1
  24. data/_sass/components/top-bar.scss +236 -491
  25. data/_sass/components/top-sub-nav.scss +1 -1
  26. data/_sass/objects/media.scss +46 -38
  27. data/_sass/utilities/utilities.scss +6 -6
  28. data/assets/css/main.scss +40 -106
  29. data/assets/js/apps.js +8 -0
  30. data/assets/js/apps/scroll-top/ScrollTop.vue +83 -0
  31. data/assets/js/apps/scroll-top/index.js +9 -0
  32. data/assets/js/apps/site-search/SiteSearch.vue +85 -0
  33. data/assets/js/apps/site-search/SiteSearchItemTemplate.vue +29 -0
  34. data/assets/js/apps/site-search/index.js +14 -0
  35. data/assets/js/index.js +52 -0
  36. metadata +9 -91
  37. data/_includes/js/custom.js +0 -245
  38. data/_includes/js/fb.js +0 -15
  39. data/_includes/js/piwik.js +0 -11
  40. data/_includes/js/tw.js +0 -15
  41. data/_includes/people/item.html +0 -49
  42. data/_includes/people/list-2col.html +0 -24
  43. data/_includes/people/list-group.html +0 -12
  44. data/_includes/title/title_header.html +0 -9
  45. data/_sass/components/scroll-top.scss +0 -32
  46. data/_sass/components/welcome-header.scss +0 -188
  47. data/_sass/foundation/_global.scss +0 -638
  48. data/_sass/foundation/components/_accordion-menu.scss +0 -32
  49. data/_sass/foundation/components/_accordion.scss +0 -129
  50. data/_sass/foundation/components/_badge.scss +0 -55
  51. data/_sass/foundation/components/_breadcrumbs.scss +0 -95
  52. data/_sass/foundation/components/_button-group.scss +0 -195
  53. data/_sass/foundation/components/_button.scss +0 -265
  54. data/_sass/foundation/components/_callout.scss +0 -105
  55. data/_sass/foundation/components/_close-button.scss +0 -61
  56. data/_sass/foundation/components/_drilldown.scss +0 -79
  57. data/_sass/foundation/components/_dropdown-menu.scss +0 -221
  58. data/_sass/foundation/components/_dropdown.scss +0 -65
  59. data/_sass/foundation/components/_flex-video.scss +0 -63
  60. data/_sass/foundation/components/_flex.scss +0 -28
  61. data/_sass/foundation/components/_float.scss +0 -27
  62. data/_sass/foundation/components/_label.scss +0 -55
  63. data/_sass/foundation/components/_media-object.scss +0 -115
  64. data/_sass/foundation/components/_menu-icon.scss +0 -9
  65. data/_sass/foundation/components/_menu.scss +0 -314
  66. data/_sass/foundation/components/_off-canvas.scss +0 -177
  67. data/_sass/foundation/components/_orbit.scss +0 -193
  68. data/_sass/foundation/components/_pagination.scss +0 -162
  69. data/_sass/foundation/components/_progress-bar.scss +0 -64
  70. data/_sass/foundation/components/_reveal.scss +0 -172
  71. data/_sass/foundation/components/_slider.scss +0 -133
  72. data/_sass/foundation/components/_sticky.scss +0 -38
  73. data/_sass/foundation/components/_switch.scss +0 -232
  74. data/_sass/foundation/components/_table.scss +0 -234
  75. data/_sass/foundation/components/_tabs.scss +0 -165
  76. data/_sass/foundation/components/_thumbnail.scss +0 -54
  77. data/_sass/foundation/components/_title-bar.scss +0 -89
  78. data/_sass/foundation/components/_tooltip.scss +0 -104
  79. data/_sass/foundation/components/_top-bar.scss +0 -168
  80. data/_sass/foundation/components/_visibility.scss +0 -132
  81. data/_sass/foundation/forms/_checkbox.scss +0 -40
  82. data/_sass/foundation/forms/_error.scss +0 -84
  83. data/_sass/foundation/forms/_fieldset.scss +0 -54
  84. data/_sass/foundation/forms/_forms.scss +0 -34
  85. data/_sass/foundation/forms/_help-text.scss +0 -30
  86. data/_sass/foundation/forms/_input-group.scss +0 -128
  87. data/_sass/foundation/forms/_label.scss +0 -48
  88. data/_sass/foundation/forms/_meter.scss +0 -109
  89. data/_sass/foundation/forms/_progress.scss +0 -85
  90. data/_sass/foundation/forms/_range.scss +0 -144
  91. data/_sass/foundation/forms/_select.scss +0 -67
  92. data/_sass/foundation/forms/_text.scss +0 -163
  93. data/_sass/foundation/foundation.scss +0 -102
  94. data/_sass/foundation/grid/_classes.scss +0 -151
  95. data/_sass/foundation/grid/_column.scss +0 -126
  96. data/_sass/foundation/grid/_flex-grid.scss +0 -274
  97. data/_sass/foundation/grid/_grid.scss +0 -60
  98. data/_sass/foundation/grid/_gutter.scss +0 -34
  99. data/_sass/foundation/grid/_layout.scss +0 -51
  100. data/_sass/foundation/grid/_position.scss +0 -73
  101. data/_sass/foundation/grid/_row.scss +0 -95
  102. data/_sass/foundation/grid/_size.scss +0 -24
  103. data/_sass/foundation/settings/_settings.scss +0 -567
  104. data/_sass/foundation/typography/_alignment.scss +0 -22
  105. data/_sass/foundation/typography/_base.scss +0 -443
  106. data/_sass/foundation/typography/_helpers.scss +0 -77
  107. data/_sass/foundation/typography/_print.scss +0 -77
  108. data/_sass/foundation/typography/_typography.scss +0 -28
  109. data/_sass/foundation/util/_breakpoint.scss +0 -275
  110. data/_sass/foundation/util/_color.scss +0 -60
  111. data/_sass/foundation/util/_flex.scss +0 -68
  112. data/_sass/foundation/util/_mixins.scss +0 -235
  113. data/_sass/foundation/util/_selector.scss +0 -40
  114. data/_sass/foundation/util/_unit.scss +0 -90
  115. data/_sass/foundation/util/_util.scss +0 -11
  116. data/_sass/foundation/util/_value.scss +0 -107
  117. data/_sass/jquery-ui.scss +0 -1311
  118. data/_sass/main.scss +0 -41
  119. data/_sass/minima.scss +0 -51
  120. data/_sass/minima/_base.scss +0 -254
  121. data/_sass/minima/_layout.scss +0 -255
  122. data/_sass/minima/_syntax-highlighting.scss +0 -71
  123. data/_sass/scroll-top.scss +0 -31
  124. data/assets/js/common-libs.min.js +0 -1
  125. data/assets/js/custom.min.js +0 -1
  126. data/assets/snippet/profile.html +0 -19
@@ -1,77 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group typography-helpers
7
- ////
8
-
9
- /// Default font size for lead paragraphs.
10
- /// @type Number
11
- $lead-font-size: $global-font-size * 1.25 !default;
12
-
13
- /// Default line height for lead paragraphs.
14
- /// @type String
15
- $lead-lineheight: 1.6 !default;
16
-
17
- /// Default line height for subheaders.
18
- /// @type Number
19
- $subheader-lineheight: 1.4 !default;
20
-
21
- /// Default font color for subheaders.
22
- /// @type Color
23
- $subheader-color: $dark-gray !default;
24
-
25
- /// Default font weight for subheaders.
26
- /// @type String
27
- $subheader-font-weight: $global-weight-normal !default;
28
-
29
- /// Default top margin for subhheaders.
30
- /// @type Number
31
- $subheader-margin-top: 0.2rem !default;
32
-
33
- /// Default bottom margin for subheaders.
34
- /// @type Number
35
- $subheader-margin-bottom: 0.5rem !default;
36
-
37
- /// Default font size for statistic numbers.
38
- /// @type Number
39
- $stat-font-size: 2.5rem !default;
40
-
41
- @mixin foundation-typography-helpers {
42
- // Use to create a subheading under a main header
43
- // Make sure you pair the two elements in a <header> element, like this:
44
- // <header>
45
- // <h1>Heading</h1>
46
- // <h2>Subheading</h2>
47
- // </header>
48
- .subheader {
49
- margin-top: $subheader-margin-top;
50
- margin-bottom: $subheader-margin-bottom;
51
- font-weight: $subheader-font-weight;
52
- line-height: $subheader-lineheight;
53
- color: $subheader-color;
54
- }
55
-
56
- // Use to style an introductory lead, deck, blurb, etc.
57
- .lead {
58
- font-size: $lead-font-size;
59
- line-height: $lead-lineheight;
60
- }
61
-
62
- // Use to style a large number to display a statistic
63
- .stat {
64
- font-size: $stat-font-size;
65
- line-height: 1;
66
-
67
- p + & {
68
- margin-top: -1rem;
69
- }
70
- }
71
-
72
- // Use to remove the bullets from an unordered list
73
- .no-bullet {
74
- margin-#{$global-left}: 0;
75
- list-style: none;
76
- }
77
- }
@@ -1,77 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- /// If `true`, all elements will have transparent backgrounds when printed, to save on ink.
6
- /// @type Boolean
7
- /// @group global
8
- $print-transparent-backgrounds: true !default;
9
-
10
- // scss-lint:disable all
11
-
12
- @mixin foundation-print-styles {
13
- .show-for-print { display: none !important; }
14
-
15
- @media print {
16
- * {
17
- @if $print-transparent-backgrounds {
18
- background: transparent !important;
19
- }
20
-
21
- color: black !important; // Black prints faster: h5bp.com/s
22
- box-shadow: none !important;
23
- text-shadow: none !important;
24
- }
25
-
26
- .show-for-print { display: block !important; }
27
- .hide-for-print { display: none !important; }
28
-
29
- table.show-for-print { display: table !important; }
30
- thead.show-for-print { display: table-header-group !important; }
31
- tbody.show-for-print { display: table-row-group !important; }
32
- tr.show-for-print { display: table-row !important; }
33
- td.show-for-print { display: table-cell !important; }
34
- th.show-for-print { display: table-cell !important; }
35
-
36
- // Display the URL of a link after the text
37
- a,
38
- a:visited { text-decoration: underline;}
39
- a[href]:after { content: ' (' attr(href) ')'; }
40
-
41
- // Don't display the URL for images or JavaScript/internal links
42
- .ir a:after,
43
- a[href^='javascript:']:after,
44
- a[href^='#']:after { content: ''; }
45
-
46
- // Display what an abbreviation stands for after the text
47
- abbr[title]:after { content: ' (' attr(title) ')'; }
48
-
49
- // Prevent page breaks in the middle of a blockquote or preformatted text block
50
- pre,
51
- blockquote {
52
- border: 1px solid $dark-gray;
53
- page-break-inside: avoid;
54
- }
55
-
56
- // h5bp.com/t
57
- thead { display: table-header-group; }
58
-
59
- tr,
60
- img { page-break-inside: avoid; }
61
-
62
- img { max-width: 100% !important; }
63
-
64
- @page { margin: 0.5cm; }
65
-
66
- p,
67
- h2,
68
- h3 {
69
- orphans: 3;
70
- widows: 3;
71
- }
72
-
73
- // Avoid page breaks after a heading
74
- h2,
75
- h3 { page-break-after: avoid; }
76
- }
77
- }
@@ -1,28 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group typography
7
- ////
8
-
9
- // scss-lint:disable DeclarationOrder
10
-
11
- // Base typography styles (tags only)
12
- @import 'base';
13
-
14
- // Typography helper classes (classes only)
15
- @import 'helpers';
16
-
17
- // Text alignment classes
18
- @import 'alignment';
19
-
20
- // Print styles
21
- @import 'print';
22
-
23
- @mixin foundation-typography {
24
- @include foundation-typography-base;
25
- @include foundation-typography-helpers;
26
- @include foundation-text-alignment;
27
- @include foundation-print-styles;
28
- }
@@ -1,275 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group breakpoints
7
- ////
8
-
9
- // scss-lint:disable ZeroUnit
10
-
11
- /// A list of named breakpoints. You can use these with the `breakpoint()` mixin to quickly create media queries.
12
- /// @type Map
13
- $breakpoints: (
14
- small: 0,
15
- medium: 640px,
16
- large: 1024px,
17
- xlarge: 1200px,
18
- xxlarge: 1440px,
19
- ) !default;
20
-
21
- $-zf-zero-breakpoint: small !default;
22
-
23
- @if nth(map-values($breakpoints), 1) != 0 {
24
- @error 'Your smallest breakpoint (defined in $breakpoints) must be set to "0".';
25
- }
26
- @else {
27
- $-zf-zero-breakpoint: nth(map-keys($breakpoints), 1);
28
- }
29
-
30
- /// All of the names in this list will be output as classes in your CSS, like `.small-12`, `.medium-6`, and so on. Each value in this list must also be in the `$breakpoints` map.
31
- /// @type List
32
- $breakpoint-classes: (small medium large) !default;
33
-
34
- /// Generates a media query string matching the input value. Refer to the documentation for the `breakpoint()` mixin to see what the possible inputs are.
35
- ///
36
- /// @param {Keyword|Number} $val [small] - Breakpoint name, or px, rem, or em value to process.
37
- @function breakpoint($val: $-zf-zero-breakpoint) {
38
- // Size or keyword
39
- $bp: nth($val, 1);
40
- // Value for max-width media queries
41
- $bp-max: 0;
42
- // Direction of media query (up, down, or only)
43
- $dir: if(length($val) > 1, nth($val, 2), up);
44
- // Eventual output
45
- $str: '';
46
- // Is it a named media query?
47
- $named: false;
48
-
49
- // Orientation media queries have a unique syntax
50
- @if $bp == 'landscape' or $bp == 'portrait' {
51
- @return '(orientation: #{$bp})';
52
- }
53
- @else if $bp == 'retina' {
54
- @return '(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)';
55
- }
56
-
57
- // Try to pull a named breakpoint out of the $breakpoints map
58
- @if type-of($bp) == 'string' {
59
- @if map-has-key($breakpoints, $bp) {
60
- @if $dir == 'only' or $dir == 'down' {
61
- $bp-max: -zf-map-next($breakpoints, $bp);
62
- }
63
-
64
- $bp: map-get($breakpoints, $bp);
65
- $named: true;
66
- }
67
- @else {
68
- $bp: 0;
69
- @warn 'breakpoint(): "#{$val}" is not defined in your $breakpoints setting.';
70
- }
71
- }
72
-
73
- // Convert any pixel, rem, or unitless value to em
74
- $bp: -zf-bp-to-em($bp);
75
- @if $bp-max {
76
- $bp-max: -zf-bp-to-em($bp-max) - (1/16);
77
- }
78
-
79
- // Conditions to skip media query creation
80
- // - It's a named breakpoint that resolved to "0 down" or "0 up"
81
- // - It's a numeric breakpoint that resolved to "0 " + anything
82
- @if $bp > 0em or $dir == 'only' or $dir == 'down' {
83
- // `only` ranges use the format `(min-width: n) and (max-width: n)`
84
- @if $dir == 'only' {
85
- // Only named media queries can have an "only" range
86
- @if $named == true {
87
- // Only use "min-width" if the floor is greater than 0
88
- @if $bp > 0em {
89
- $str: $str + '(min-width: #{$bp})';
90
-
91
- // Only add "and" to the media query if there's a ceiling
92
- @if $bp-max != null {
93
- $str: $str + ' and ';
94
- }
95
- }
96
-
97
- // Only use "max-width" if there's a ceiling
98
- @if $bp-max != null {
99
- $str: $str + '(max-width: #{$bp-max})';
100
- }
101
- }
102
- @else {
103
- @warn 'breakpoint(): Only named media queries can have an `only` range.';
104
- }
105
- }
106
-
107
- // `down` ranges use the format `(max-width: n)`
108
- @else if $dir == 'down' {
109
- $max: if($named, $bp-max, $bp);
110
-
111
- // Skip media query creation if input value is exactly "0 down",
112
- // unless the function was called as "small down", in which case it's just "small only"
113
- @if $named or $bp > 0em {
114
- @if $max != null {
115
- $str: $str + '(max-width: #{$max})';
116
- }
117
- }
118
- }
119
-
120
- // `up` ranges use the format `(min-width: n)`
121
- @else if $bp > 0em {
122
- $str: $str + '(min-width: #{$bp})';
123
- }
124
- }
125
-
126
- @return $str;
127
- }
128
-
129
- /// Wraps a media query around the content you put inside the mixin. This mixin accepts a number of values:
130
- /// - If a string is passed, the mixin will look for it in the `$breakpoints` map, and use a media query there.
131
- /// - If a pixel value is passed, it will be converted to an em value using `$global-font-size` as the base.
132
- /// - If a rem value is passed, the unit will be changed to em.
133
- /// - If an em value is passed, the value will be used as-is.
134
- ///
135
- /// @param {Keyword|Number} $value - Breakpoint name, or px, rem, or em value to process.
136
- ///
137
- /// @output If the breakpoint is "0px and larger", outputs the content as-is. Otherwise, outputs the content wrapped in a media query.
138
- @mixin breakpoint($value) {
139
- $str: breakpoint($value);
140
-
141
- // If $str is still an empty string, no media query is needed
142
- @if $str == '' {
143
- @content;
144
- }
145
-
146
- // Otherwise, wrap the content in a media query
147
- @else {
148
- @media screen and #{$str} {
149
- @content;
150
- }
151
- }
152
- }
153
-
154
- /// Convers the breakpoints map to a URL-encoded string, like this: `key1=value1&key2=value2`. The value is then dropped into the CSS for a special `<meta>` tag, which is read by the Foundation JavaScript. This is how we transfer values from Sass to JavaScript, so they can be defined in one place.
155
- /// @access private
156
- ///
157
- /// @param {Map} $map - Map to convert.
158
- ///
159
- /// @returns {String} A string containing the map's contents.
160
- @function -zf-bp-serialize($map) {
161
- $str: '';
162
- @each $key, $value in $map {
163
- $str: $str + $key + '=' + -zf-bp-to-em($value) + '&';
164
- }
165
- $str: str-slice($str, 1, -2);
166
-
167
- @return $str;
168
- }
169
-
170
- /// Find the next key in a map.
171
- /// @access private
172
- ///
173
- /// @param {Map} $map - Map to traverse.
174
- /// @param {Mixed} $key - Key to use as a starting point.
175
- ///
176
- /// @returns {Mixed} The value for the key after `$key`, if `$key` was found. If `$key` was not found, or `$key` was the last value in the map, returns `null`.
177
- @function -zf-map-next($map, $key) {
178
- // Store the values of the map as a list, so we can access them with nth
179
- $values: map-values($map);
180
-
181
- // Ghetto for loop
182
- $i: 1;
183
- $found: false;
184
- @each $val in map-keys($map) {
185
- @if $found == false {
186
- @if ($key == $val) {
187
- $found: true;
188
- }
189
- $i: $i + 1;
190
- }
191
- }
192
-
193
- // If the key doesn't exist, or it's the last key in the map, return null
194
- @if $i > length($map) {
195
- @return null;
196
- }
197
- // Otherwise, return the value
198
- @else {
199
- @return nth($values, $i);
200
- }
201
- }
202
-
203
- /// Get a value for a breakpoint from a responsive config map. If the config map has the key `$value`, the exact breakpoint value is returned. If the config map does *not* have the breakpoint, the value matching the next lowest breakpoint in the config map is returned.
204
- /// @access private
205
- ///
206
- /// @param {Map} $map - Input config map.
207
- /// @param {Keyword} $value - Breakpoint name to use.
208
- ///
209
- /// @return {Mixed} The corresponding breakpoint value.
210
- @function -zf-get-bp-val($map, $value) {
211
- // Check if the breakpoint name exists globally
212
- @if not map-has-key($breakpoints, $value) {
213
- @return null;
214
- }
215
- // Check if the breakpoint name exists in the local config map
216
- @else if map-has-key($map, $value) {
217
- // If it does, just return the value
218
- @return map-get($map, $value);
219
- }
220
- // Otherwise, find the next lowest breakpoint and return that value
221
- @else {
222
- $anchor: null;
223
- $found: false;
224
-
225
- @each $key, $val in $breakpoints {
226
- @if not $found {
227
- @if map-has-key($map, $key) {
228
- $anchor: $key;
229
- }
230
- @if $key == $value {
231
- $found: true;
232
- }
233
- }
234
- }
235
-
236
- @return map-get($map, $anchor);
237
- }
238
- }
239
-
240
- // Legacy breakpoint variables
241
- // These will be removed in 6.3
242
- $small-up: null;
243
- $small-only: null;
244
- $medium-up: null;
245
- $medium-only: null;
246
- $large-up: null;
247
- $large-only: null;
248
- $xlarge-up: null;
249
- $xlarge-only: null;
250
- $xxlarge-up: null;
251
- $xxlarge-only: null;
252
-
253
- @if map-has-key($breakpoints, small) {
254
- $small-up: screen;
255
- $small-only: unquote('screen and #{breakpoint(small only)}');
256
- }
257
-
258
- @if map-has-key($breakpoints, medium) {
259
- $medium-up: unquote('screen and #{breakpoint(medium)}');
260
- $medium-only: unquote('screen and #{breakpoint(medium only)}');
261
- }
262
-
263
- @if map-has-key($breakpoints, large) {
264
- $large-up: unquote('screen and #{breakpoint(large)}');
265
- $large-only: unquote('screen and #{breakpoint(large only)}');
266
- }
267
-
268
- @if map-has-key($breakpoints, xlarge) {
269
- $xlarge-up: unquote('screen and #{breakpoint(xlarge)}');
270
- $xlarge-only: unquote('screen and #{breakpoint(xlarge only)}');
271
- }
272
-
273
- @if map-has-key($breakpoints, xxlarge) {
274
- $xxlarge-up: unquote('screen and #{breakpoint(xxlarge)}');
275
- }