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,22 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @mixin foundation-text-alignment {
6
- @each $size in $breakpoint-classes {
7
- @include breakpoint($size) {
8
- @each $align in (left, right, center, justify) {
9
- @if $size != $-zf-zero-breakpoint {
10
- .#{$size}-text-#{$align} {
11
- text-align: $align;
12
- }
13
- }
14
- @else {
15
- .text-#{$align} {
16
- text-align: $align;
17
- }
18
- }
19
- }
20
- }
21
- }
22
- }
@@ -1,443 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group typography-base
7
- ////
8
-
9
- // Base Typography
10
- // - - - - - - - - - - - - - - -
11
- // These are styles applied to basic HTML tags, including:
12
- // - Paragraphs <p>
13
- // - Bold/italics <b> <strong> <i> <em>
14
- // - Small text <small>
15
- // - Headings <h1>—<h6>
16
- // - Anchors <a>
17
- // - Dividers <hr>
18
- // - Lists <ul> <ol> <dl>
19
- // - Blockquotes <blockquote>
20
- // - Code blocks <code>
21
- // - Abbreviations <abbr>
22
- // - Citations <cite>
23
- // - Keystrokes <kbd>
24
-
25
- /// Font family for header elements.
26
- /// @type String | List
27
- $header-font-family: $body-font-family !default;
28
-
29
- /// Font weight of headers.
30
- /// @type String
31
- $header-font-weight: $global-weight-normal !default;
32
-
33
- /// Font style (e.g. italicized) of headers.
34
- /// @type String
35
- $header-font-style: normal !default;
36
-
37
- /// Font stack used for elements that use monospaced type, such as code samples
38
- /// @type String | List
39
- $font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace !default;
40
-
41
- /// Sizes of headings at various screen sizes. Each key is a breakpoint, and each value is a map of heading sizes.
42
- /// @type Map
43
- $header-sizes: (
44
- small: (
45
- 'h1': 24,
46
- 'h2': 20,
47
- 'h3': 19,
48
- 'h4': 18,
49
- 'h5': 17,
50
- 'h6': 16,
51
- ),
52
- medium: (
53
- 'h1': 48,
54
- 'h2': 40,
55
- 'h3': 31,
56
- 'h4': 25,
57
- 'h5': 20,
58
- 'h6': 16,
59
- ),
60
- ) !default;
61
-
62
- /// Color of headers.
63
- /// @type Color
64
- $header-color: inherit !default;
65
-
66
- /// Line height of headers.
67
- /// @type Number
68
- $header-lineheight: 1.4 !default;
69
-
70
- /// Bottom margin of headers.
71
- /// @type Number
72
- $header-margin-bottom: 0.5rem !default;
73
-
74
- /// Text rendering method of headers.
75
- /// @type String
76
- $header-text-rendering: optimizeLegibility !default;
77
-
78
- /// Font size of `<small>` elements.
79
- /// @type Number
80
- $small-font-size: 80% !default;
81
-
82
- /// Color of `<small>` elements when placed inside headers.
83
- /// @type Color
84
- $header-small-font-color: $medium-gray !default;
85
-
86
- /// Line height of text inside `<p>` elements.
87
- /// @type Number
88
- $paragraph-lineheight: 1.6 !default;
89
-
90
- /// Bottom margin of paragraphs.
91
- /// @type Number
92
- $paragraph-margin-bottom: 1rem !default;
93
-
94
- /// Text rendering method for paragraph text.
95
- /// @type String
96
- $paragraph-text-rendering: optimizeLegibility !default;
97
-
98
- /// Text color of code samples.
99
- /// @type Color
100
- $code-color: $black !default;
101
-
102
- /// Font family of code samples.
103
- /// @type String | List
104
- $code-font-family: $font-family-monospace !default;
105
-
106
- /// Font weight of text in code samples.
107
- /// @type String
108
- $code-font-weight: $global-weight-normal !default;
109
-
110
- /// Background color of code samples.
111
- /// @type Color
112
- $code-background: $light-gray !default;
113
-
114
- /// Border around code samples.
115
- /// @type List
116
- $code-border: 1px solid $medium-gray !default;
117
-
118
- /// Padding around text of code samples.
119
- /// @type Number | List
120
- $code-padding: rem-calc(2 5 1) !default;
121
-
122
- /// Default color for links.
123
- /// @type Color
124
- $anchor-color: $primary-color !default;
125
-
126
- /// Default color for links on hover.
127
- /// @type Color
128
- $anchor-color-hover: scale-color($anchor-color, $lightness: -14%) !default;
129
-
130
- /// Default text deocration for links.
131
- /// @type String
132
- $anchor-text-decoration: none !default;
133
-
134
- /// Default text decoration for links on hover.
135
- /// @type String
136
- $anchor-text-decoration-hover: none !default;
137
-
138
- /// Maximum width of a divider.
139
- /// @type Number
140
- $hr-width: $global-width !default;
141
-
142
- /// Default border for a divider.
143
- /// @type List
144
- $hr-border: 1px solid $medium-gray !default;
145
-
146
- /// Default margin for a divider.
147
- /// @type Number | List
148
- $hr-margin: rem-calc(20) auto !default;
149
-
150
- /// Line height for items in a list.
151
- /// @type Number
152
- $list-lineheight: $paragraph-lineheight !default;
153
-
154
- /// Bottom margin for items in a list.
155
- /// @type Number
156
- $list-margin-bottom: $paragraph-margin-bottom !default;
157
-
158
- /// Bullet type to use for unordered lists (e.g., `square`, `circle`, `disc`).
159
- /// @type String
160
- $list-style-type: disc !default;
161
-
162
- /// Positioning for bullets on unordered list items.
163
- /// @type String
164
- $list-style-position: outside !default;
165
-
166
- /// Left (or right) margin for lists.
167
- /// @type Number
168
- $list-side-margin: 1.25rem !default;
169
-
170
- /// Left (or right) margin for a list inside a list.
171
- /// @type Number
172
- $list-nested-side-margin: 1.25rem !default;
173
-
174
- /// Bottom margin for `<dl>` elements.
175
- /// @type Number
176
- $defnlist-margin-bottom: 1rem !default;
177
-
178
- /// Font weight for `<dt>` elements.
179
- /// @type String
180
- $defnlist-term-weight: $global-weight-bold !default;
181
-
182
- /// Spacing between `<dt>` and `<dd>` elements.
183
- /// @type Number
184
- $defnlist-term-margin-bottom: 0.3rem !default;
185
-
186
- /// Text color of `<blockquote>` elements.
187
- /// @type Color
188
- $blockquote-color: $dark-gray !default;
189
-
190
- /// Padding inside a `<blockquote>` element.
191
- /// @type Number | List
192
- $blockquote-padding: rem-calc(9 20 0 19) !default;
193
-
194
- /// Side border for `<blockquote>` elements.
195
- /// @type List
196
- $blockquote-border: 1px solid $medium-gray !default;
197
-
198
- /// Font size for `<cite>` elements.
199
- /// @type Number
200
- $cite-font-size: rem-calc(13) !default;
201
-
202
- /// Text color for `<cite>` elements.
203
- /// @type Color
204
- $cite-color: $dark-gray !default;
205
-
206
- /// Font family for `<kbd>` elements.
207
- /// @type String | List
208
- $keystroke-font: $font-family-monospace !default;
209
-
210
- /// Text color for `<kbd>` elements.
211
- /// @type Color
212
- $keystroke-color: $black !default;
213
-
214
- /// Background color for `<kbd>` elements.
215
- /// @type Color
216
- $keystroke-background: $light-gray !default;
217
-
218
- /// Padding for `<kbd>` elements.
219
- /// @type Number | List
220
- $keystroke-padding: rem-calc(2 4 0) !default;
221
-
222
- /// Border radius for `<kbd>` elements.
223
- /// @type Number | List
224
- $keystroke-radius: $global-radius !default;
225
-
226
- /// Bottom border style for `<abbr>` elements.
227
- /// @type List
228
- $abbr-underline: 1px dotted $black !default;
229
-
230
- @mixin foundation-typography-base {
231
- // Typography resets
232
- div,
233
- dl,
234
- dt,
235
- dd,
236
- ul,
237
- ol,
238
- li,
239
- h1,
240
- h2,
241
- h3,
242
- h4,
243
- h5,
244
- h6,
245
- pre,
246
- form,
247
- p,
248
- blockquote,
249
- th,
250
- td {
251
- margin: 0;
252
- padding: 0;
253
- }
254
-
255
- // Paragraphs
256
- p {
257
- font-size: inherit;
258
- line-height: $paragraph-lineheight;
259
- margin-bottom: $paragraph-margin-bottom;
260
- text-rendering: $paragraph-text-rendering;
261
- }
262
-
263
- // Emphasized text
264
- em,
265
- i {
266
- font-style: italic;
267
- line-height: inherit;
268
- }
269
-
270
- // Strong text
271
- strong,
272
- b {
273
- font-weight: $global-weight-bold;
274
- line-height: inherit;
275
- }
276
-
277
- // Small text
278
- small {
279
- font-size: $small-font-size;
280
- line-height: inherit;
281
- }
282
-
283
- // Headings
284
- h1,
285
- h2,
286
- h3,
287
- h4,
288
- h5,
289
- h6 {
290
- font-family: $header-font-family;
291
- font-weight: $header-font-weight;
292
- font-style: $header-font-style;
293
- color: $header-color;
294
- text-rendering: $header-text-rendering;
295
- margin-top: 0;
296
- margin-bottom: $header-margin-bottom;
297
- line-height: $header-lineheight;
298
-
299
- small {
300
- color: $header-small-font-color;
301
- line-height: 0;
302
- }
303
- }
304
-
305
- // Heading sizes
306
- @each $size, $headers in $header-sizes {
307
- @include breakpoint($size) {
308
- @each $header, $font-size in $headers {
309
- #{$header} {
310
- font-size: rem-calc($font-size);
311
- }
312
- }
313
- }
314
- }
315
-
316
- // Links
317
- a {
318
- color: $anchor-color;
319
- text-decoration: $anchor-text-decoration;
320
- line-height: inherit;
321
- cursor: pointer;
322
-
323
- &:hover,
324
- &:focus {
325
- color: $anchor-color-hover;
326
- @if $anchor-text-decoration-hover != $anchor-text-decoration {
327
- text-decoration: $anchor-text-decoration-hover;
328
- }
329
- }
330
-
331
- img {
332
- border: 0;
333
- }
334
- }
335
-
336
- // Horizontal rule
337
- hr {
338
- max-width: $hr-width;
339
- height: 0;
340
- border-right: 0;
341
- border-top: 0;
342
- border-bottom: $hr-border;
343
- border-left: 0;
344
- margin: $hr-margin;
345
- clear: both;
346
- }
347
-
348
- // Lists
349
- ul,
350
- ol,
351
- dl {
352
- line-height: $list-lineheight;
353
- margin-bottom: $list-margin-bottom;
354
- list-style-position: $list-style-position;
355
- }
356
-
357
- // List items
358
- li {
359
- font-size: inherit;
360
- }
361
-
362
- // Unordered lists
363
- ul {
364
- list-style-type: $list-style-type;
365
- margin-#{$global-left}: $list-side-margin;
366
- }
367
-
368
- // Ordered lists
369
- ol {
370
- margin-#{$global-left}: $list-side-margin;
371
- }
372
-
373
- // Nested unordered/ordered lists
374
- ul, ol {
375
- & & {
376
- margin-#{$global-left}: $list-nested-side-margin;
377
- margin-bottom: 0;
378
- }
379
- }
380
-
381
- // Definition lists
382
- dl {
383
- margin-bottom: $defnlist-margin-bottom;
384
-
385
- dt {
386
- margin-bottom: $defnlist-term-margin-bottom;
387
- font-weight: $defnlist-term-weight;
388
- }
389
- }
390
-
391
- // Blockquotes
392
- blockquote {
393
- margin: 0 0 $paragraph-margin-bottom;
394
- padding: $blockquote-padding;
395
- border-#{$global-left}: $blockquote-border;
396
-
397
- &, p {
398
- line-height: $paragraph-lineheight;
399
- color: $blockquote-color;
400
- }
401
- }
402
-
403
- // Citations
404
- cite {
405
- display: block;
406
- font-size: $cite-font-size;
407
- color: $cite-color;
408
-
409
- &:before {
410
- content: '\2014 \0020';
411
- }
412
- }
413
-
414
- // Abbreviations
415
- abbr {
416
- color: $body-font-color;
417
- cursor: help;
418
- border-bottom: $abbr-underline;
419
- }
420
-
421
- // Code
422
- code {
423
- font-family: $code-font-family;
424
- font-weight: $code-font-weight;
425
- color: $code-color;
426
- background-color: $code-background;
427
- border: $code-border;
428
- padding: $code-padding;
429
- }
430
-
431
- // Keystrokes
432
- kbd {
433
- padding: $keystroke-padding;
434
- margin: 0;
435
- background-color: $keystroke-background;
436
- color: $keystroke-color;
437
- font-family: $keystroke-font;
438
-
439
- @if has-value($keystroke-radius) {
440
- border-radius: $keystroke-radius;
441
- }
442
- }
443
- }