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,265 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group button
7
- ////
8
-
9
- /// Padding inside buttons.
10
- /// @type List
11
- $button-padding: 0.85em 1em !default;
12
-
13
- /// Margin around buttons.
14
- /// @type List
15
- $button-margin: 0 0 $global-margin 0 !default;
16
-
17
- /// Default fill for buttons. Can either be `solid` or `hollow`.
18
- /// @type Keyword
19
- $button-fill: solid !default;
20
-
21
- /// Default background color for buttons.
22
- /// @type Color
23
- $button-background: $primary-color !default;
24
-
25
- /// Background color on hover for buttons.
26
- /// @type Color
27
- $button-background-hover: scale-color($button-background, $lightness: -15%) !default;
28
-
29
- /// Font color for buttons.
30
- /// @type List
31
- $button-color: $white !default;
32
-
33
- /// Font color for buttons, if the background is light.
34
- /// @type List
35
- $button-color-alt: $black !default;
36
-
37
- /// Border radius for buttons, defaulted to global-radius.
38
- /// @type Number
39
- $button-radius: $global-radius !default;
40
-
41
- /// Sizes for buttons.
42
- /// @type Map
43
- $button-sizes: (
44
- tiny: 0.6rem,
45
- small: 0.75rem,
46
- default: 0.9rem,
47
- large: 1.25rem,
48
- ) !default;
49
-
50
- /// opacity for a disabled button.
51
- /// @type List
52
- $button-opacity-disabled: 0.25 !default;
53
-
54
- // Internal: flip from margin-right to margin-left for defaults
55
- @if $global-text-direction == 'rtl' {
56
- $button-margin: 0 0 $global-margin $global-margin !default;
57
- }
58
-
59
- // TODO: Document button-base() mixin
60
- @mixin button-base {
61
- @include disable-mouse-outline;
62
- display: inline-block;
63
- text-align: center;
64
- line-height: 1;
65
- cursor: pointer;
66
- -webkit-appearance: none;
67
- transition: background-color 0.25s ease-out, color 0.25s ease-out;
68
- vertical-align: middle;
69
- border: 1px solid transparent;
70
- border-radius: $button-radius;
71
- padding: $button-padding;
72
- margin: $button-margin;
73
- font-size: map-get($button-sizes, default);
74
- }
75
-
76
- /// Expands a button to make it full-width.
77
- /// @param {Boolean} $expand [true] - Set to `true` to enable the expand behavior. Set to `false` to reverse this behavior.
78
- @mixin button-expand($expand: true) {
79
- @if $expand {
80
- display: block;
81
- width: 100%;
82
- margin-left: 0;
83
- margin-right: 0;
84
- }
85
- @else {
86
- display: inline-block;
87
- width: auto;
88
- margin: $button-margin;
89
- }
90
- }
91
-
92
- /// Sets the visual style of a button.
93
- /// @param {Color} $background [$button-background] - Background color of the button.
94
- /// @param {Color} $background-hover [$button-background-hover] - Background color of the button on hover. Set to `auto` to have the mixin automatically generate a hover color.
95
- /// @param {Color} $color [$button-color] - Text color of the button. Set to `auto` to automatically generate a color based on the background color.
96
- @mixin button-style(
97
- $background: $button-background,
98
- $background-hover: $button-background-hover,
99
- $color: $button-color
100
- ) {
101
- @if $color == auto {
102
- $color: foreground($background, $button-color-alt, $button-color);
103
- }
104
-
105
- @if $background-hover == auto {
106
- $background-hover: scale-color($background, $lightness: -20%);
107
- }
108
-
109
- background-color: $background;
110
- color: $color;
111
-
112
- &:hover, &:focus {
113
- background-color: $background-hover;
114
- color: $color;
115
- }
116
- }
117
-
118
- /// Removes background fill on hover and focus for hollow buttons.
119
- @mixin button-hollow {
120
- &,
121
- &:hover, &:focus {
122
- background-color: transparent;
123
- }
124
- }
125
-
126
- @mixin button-hollow-style($color: $primary-color) {
127
- $color-hover: scale-color($color, $lightness: -50%);
128
-
129
- border: 1px solid $color;
130
- color: $color;
131
-
132
- &:hover, &:focus {
133
- border-color: $color-hover;
134
- color: $color-hover;
135
- }
136
- }
137
-
138
- /// Adds disabled styles to a button by fading the element, reseting the cursor, and disabling pointer events.
139
- @mixin button-disabled {
140
- opacity: $button-opacity-disabled;
141
- cursor: not-allowed;
142
-
143
- &:hover, &:focus {
144
- background-color: $button-background;
145
- color: $button-color;
146
- }
147
- }
148
-
149
- /// Adds a dropdown arrow to a button.
150
- /// @param {Number} $size [0.4em] - Size of the arrow. We recommend using an `em` value so the triangle scales when used inside different sizes of buttons.
151
- /// @param {Color} $color [white] - Color of the arrow.
152
- /// @param {Number} $offset [$button-padding] - Distance between the arrow and the text of the button. Defaults to whatever the right padding of a button is.
153
- @mixin button-dropdown(
154
- $size: 0.4em,
155
- $color: $white,
156
- $offset: get-side($button-padding, right)
157
- ) {
158
- &::after {
159
- @include css-triangle($size, $color, down);
160
- position: relative;
161
- top: 0.4em; // Aligns the arrow with the text of the button
162
- float: #{$global-right};
163
- margin-#{$global-left}: get-side($button-padding, right);
164
- display: inline-block;
165
- }
166
- }
167
-
168
- /// Adds all styles for a button. For more granular control over styles, use the individual button mixins.
169
- /// @param {Boolean} $expand [false] - Set to `true` to make the button full-width.
170
- /// @param {Color} $background [$button-background] - Background color of the button.
171
- /// @param {Color} $background-hover [$button-background-hover] - Background color of the button on hover. Set to `auto` to have the mixin automatically generate a hover color.
172
- /// @param {Color} $color [$button-color] - Text color of the button. Set to `auto` to automatically generate a color based on the background color.
173
- /// @param {Keyword} $style [solid] - Set to `hollow` to create a hollow button. The color defined in `$background` will be used as the primary color of the button.
174
- @mixin button(
175
- $expand: false,
176
- $background: $button-background,
177
- $background-hover: $button-background-hover,
178
- $color: $button-color,
179
- $style: $button-fill
180
- ) {
181
- @include button-base;
182
-
183
- @if $style == solid {
184
- @include button-style($background, $background-hover, $color);
185
- }
186
- @else if $style == hollow {
187
- @include button-hollow;
188
- @include button-hollow-style($background);
189
- }
190
-
191
- @if $expand {
192
- @include button-expand;
193
- }
194
- }
195
-
196
- @mixin foundation-button {
197
- .button {
198
- @include button;
199
-
200
- // Sizes
201
- @each $size, $value in map-remove($button-sizes, default) {
202
- &.#{$size} {
203
- font-size: $value;
204
- }
205
- }
206
-
207
- &.expanded { @include button-expand; }
208
-
209
- // Colors
210
- @each $name, $color in $foundation-palette {
211
- @if $button-fill != hollow {
212
- &.#{$name} {
213
- @include button-style($color, auto, auto);
214
- }
215
- }
216
- @else {
217
- &.#{$name} {
218
- @include button-hollow-style($color);
219
- }
220
-
221
- &.#{$name}.dropdown::after {
222
- border-top-color: $color;
223
- }
224
- }
225
- }
226
-
227
- // Hollow style
228
- @if $button-fill != hollow {
229
- &.hollow {
230
- @include button-hollow;
231
- @include button-hollow-style;
232
-
233
- @each $name, $color in $foundation-palette {
234
- &.#{$name} {
235
- @include button-hollow-style($color);
236
- }
237
- }
238
- }
239
- }
240
-
241
- // Disabled style
242
- &.disabled,
243
- &[disabled] {
244
- @include button-disabled;
245
- }
246
-
247
- // Dropdown arrow
248
- &.dropdown {
249
- @include button-dropdown;
250
-
251
- @if $button-fill == hollow {
252
- &::after {
253
- border-top-color: $button-background;
254
- }
255
- }
256
- }
257
-
258
- // Button with dropdown arrow only
259
- &.arrow-only::after {
260
- margin-#{$global-left}: 0;
261
- float: none;
262
- top: -0.1em;
263
- }
264
- }
265
- }
@@ -1,105 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group callout
7
- ////
8
-
9
- /// Default background color.
10
- /// @type Color
11
- $callout-background: $white !default;
12
-
13
- /// Default fade value for callout backgrounds.
14
- /// @type Number
15
- $callout-background-fade: 85% !default;
16
-
17
- /// Default border style for callouts.
18
- /// @type List
19
- $callout-border: 1px solid rgba($black, 0.25) !default;
20
-
21
- /// Default bottom margin for callouts.
22
- /// @type Number
23
- $callout-margin: 0 0 1rem 0 !default;
24
-
25
- /// Default inner padding for callouts.
26
- /// @type Number
27
- $callout-padding: 1rem !default;
28
-
29
- /// Default font color for callouts.
30
- /// @type Color
31
- $callout-font-color: $body-font-color !default;
32
-
33
- /// Default font color for callouts, if the callout has a dark background.
34
- /// @type Color
35
- $callout-font-color-alt: $body-background !default;
36
-
37
- /// Default border radius for callouts.
38
- /// @type Color
39
- $callout-radius: $global-radius !default;
40
-
41
- /// Amount to tint links used within colored panels. Set to `false` to disable this feature.
42
- /// @type Number | Boolean
43
- $callout-link-tint: 30% !default;
44
-
45
- /// Adds basic styles for a callout, including padding and margin.
46
- @mixin callout-base() {
47
- margin: $callout-margin;
48
- padding: $callout-padding;
49
- border: $callout-border;
50
- border-radius: $callout-radius;
51
- position: relative;
52
- color: $callout-font-color;
53
-
54
- // Respect the padding, fool.
55
- > :first-child {
56
- margin-top: 0;
57
- }
58
-
59
- > :last-child {
60
- margin-bottom: 0;
61
- }
62
- }
63
-
64
- /// Generate quick styles for a callout using a single color as a baseline.
65
- /// @param {Color} $color [$callout-background] - Color to use.
66
- @mixin callout-style($color: $callout-background) {
67
- $background: scale-color($color, $lightness: $callout-background-fade);
68
-
69
- background-color: $background;
70
- }
71
-
72
- @mixin callout-size($padding) {
73
- padding-top: $padding;
74
- padding-right: $padding;
75
- padding-bottom: $padding;
76
- padding-left: $padding;
77
- }
78
-
79
-
80
- /// Adds styles for a callout.
81
- /// @param {Color} $color [$callout-background] - Color to use.
82
- @mixin callout($color: $callout-background) {
83
- @include callout-base;
84
- @include callout-style($color);
85
- }
86
-
87
- @mixin foundation-callout {
88
- .callout {
89
- @include callout;
90
-
91
- @each $name, $color in $foundation-palette {
92
- &.#{$name} {
93
- @include callout-style($color);
94
- }
95
- }
96
-
97
- &.small {
98
- @include callout-size(0.5rem);
99
- }
100
-
101
- &.large {
102
- @include callout-size(3rem);
103
- }
104
- }
105
- }
@@ -1,61 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group close-button
7
- ////
8
-
9
- /// Default position of the close button. The first value should be `right` or `left`, and the second value should be `top` or `bottom`.
10
- /// @type List
11
- $closebutton-position: right top !default;
12
-
13
- /// Right (or left) offset for a close button.
14
- /// @type Number
15
- $closebutton-offset-horizontal: 1rem !default;
16
-
17
- /// Top (or bottom) offset for a close button.
18
- /// @type Number
19
- $closebutton-offset-vertical: 0.5rem !default;
20
-
21
- /// Default font size of the close button.
22
- /// @type Number
23
- $closebutton-size: 2em !default;
24
-
25
- /// The line-height of the close button. It affects the spacing of the element.
26
- /// @type Number
27
- $closebutton-lineheight: 1 !default;
28
-
29
- /// Default color of the close button.
30
- /// @type Color
31
- $closebutton-color: $dark-gray !default;
32
-
33
- /// Default color of the close button when being hovered on.
34
- /// @type Color
35
- $closebutton-color-hover: $black !default;
36
-
37
- /// Adds styles for a close button, using the styles in the settings variables.
38
- @mixin close-button {
39
- $x: nth($closebutton-position, 1);
40
- $y: nth($closebutton-position, 2);
41
-
42
- @include disable-mouse-outline;
43
- position: absolute;
44
- color: $closebutton-color;
45
- #{$x}: $closebutton-offset-horizontal;
46
- #{$y}: $closebutton-offset-vertical;
47
- font-size: $closebutton-size;
48
- line-height: $closebutton-lineheight;
49
- cursor: pointer;
50
-
51
- &:hover,
52
- &:focus {
53
- color: $closebutton-color-hover;
54
- }
55
- }
56
-
57
- @mixin foundation-close-button {
58
- .close-button {
59
- @include close-button;
60
- }
61
- }
@@ -1,79 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group drilldown
7
- ////
8
-
9
- /// Transition property to use for animating menus.
10
- /// @type Transition
11
- $drilldown-transition: transform 0.15s linear !default;
12
-
13
- /// Adds arrows to drilldown items with submenus, as well as the back button.
14
- /// @type Boolean
15
- $drilldown-arrows: true !default;
16
-
17
- /// Sets drilldown arrow color if arrow is used.
18
- /// @type Color
19
- $drilldown-arrow-color: $primary-color !default;
20
-
21
- /// Background color for drilldown submenus.
22
- /// @type Color
23
- $drilldown-background: $white !default;
24
-
25
- @mixin foundation-drilldown-menu {
26
- // Applied to the Menu container
27
- .is-drilldown {
28
- position: relative;
29
- overflow: hidden;
30
-
31
- li {
32
- display: block !important;
33
- }
34
- }
35
-
36
- // Applied to nested <ul>s
37
- .is-drilldown-submenu {
38
- position: absolute;
39
- top: 0;
40
- #{$global-left}: 100%;
41
- z-index: -1;
42
- height: 100%;
43
- width: 100%;
44
- background: $drilldown-background;
45
- transition: $drilldown-transition;
46
-
47
- &.is-active {
48
- z-index: 1;
49
- display: block;
50
- transform: translateX(if($global-text-direction == ltr, -100%, 100%));
51
- }
52
-
53
- &.is-closing {
54
- transform: translateX(if($global-text-direction == ltr, 100%, -100%));
55
- }
56
- }
57
-
58
- @if $drilldown-arrows {
59
- .is-drilldown-submenu-parent > a {
60
- position: relative;
61
-
62
- &::after {
63
- @include css-triangle(6px, $drilldown-arrow-color, $global-right);
64
- position: absolute;
65
- top: 50%;
66
- margin-top: -6px;
67
- #{$global-right}: 1rem;
68
- }
69
- }
70
-
71
- .js-drilldown-back > a::before {
72
- @include css-triangle(6px, $drilldown-arrow-color, $global-left);
73
- border-#{$global-left}-width: 0;
74
- display: inline-block;
75
- vertical-align: middle;
76
- margin-#{$global-right}: 0.75rem; // Creates space between the arrow and the text
77
- }
78
- }
79
- }