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,221 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group dropdown-menu
7
- ////
8
-
9
- /// Enables arrows for items with dropdown menus.
10
- /// @type Boolean
11
- $dropdownmenu-arrows: true !default;
12
-
13
- /// Sets dropdown menu arrow color if arrow is used.
14
- /// @type Color
15
- $dropdownmenu-arrow-color: $anchor-color !default;
16
-
17
- /// Minimum width of dropdown sub-menus.
18
- /// @type Length
19
- $dropdownmenu-min-width: 200px !default;
20
-
21
- /// Background color for dropdowns.
22
- /// @type Color
23
- $dropdownmenu-background: $white !default;
24
-
25
- /// Border for dropdown sub-menus.
26
- /// @type List
27
- $dropdownmenu-border: 1px solid $medium-gray !default;
28
-
29
- // Border width for dropdown sub-menus.
30
- // Used to adjust top margin of a sub-menu if a border is used.
31
- // @type Length
32
- $dropdownmenu-border-width: nth($dropdownmenu-border, 1);
33
-
34
- @mixin left-right-arrows {
35
- > a::after {
36
- #{$global-right}: 14px;
37
- margin-top: -3px;
38
- }
39
-
40
- &.opens-left > a::after {
41
- @include css-triangle(5px, $dropdownmenu-arrow-color, left);
42
- }
43
-
44
- &.opens-right > a::after {
45
- @include css-triangle(5px, $dropdownmenu-arrow-color, right);
46
- }
47
- }
48
-
49
- @mixin dropdown-menu-direction($dir: horizontal) {
50
- @if $dir == horizontal {
51
- > li.opens-left {
52
- > .is-dropdown-submenu {
53
- left: auto;
54
- right: 0;
55
- top: 100%;
56
- }
57
- }
58
-
59
- > li.opens-right {
60
- > .is-dropdown-submenu {
61
- right: auto;
62
- left: 0;
63
- top: 100%;
64
- }
65
- }
66
-
67
- @if $dropdownmenu-arrows {
68
- > li.is-dropdown-submenu-parent > a {
69
- padding-#{$global-right}: 1.5rem;
70
- position: relative;
71
- }
72
-
73
- > li.is-dropdown-submenu-parent > a::after {
74
- @include css-triangle(5px, $dropdownmenu-arrow-color, down);
75
- #{$global-right}: 5px;
76
- margin-top: -2px;
77
- }
78
- }
79
- }
80
- @else if $dir == vertical {
81
- > li {
82
- .is-dropdown-submenu {
83
- top: 0;
84
- }
85
-
86
- &.opens-left {
87
- > .is-dropdown-submenu {
88
- left: auto;
89
- right: 100%;
90
- }
91
- }
92
-
93
- &.opens-right {
94
- > .is-dropdown-submenu {
95
- right: auto;
96
- left: 100%;
97
- }
98
- }
99
-
100
- @if $dropdownmenu-arrows {
101
- @include left-right-arrows;
102
- }
103
- }
104
- }
105
- @else {
106
- @warn 'The direction used for dropdown-menu-direction() must be horizontal or vertical.';
107
- }
108
- }
109
-
110
- @mixin foundation-dropdown-menu {
111
- .dropdown.menu {
112
- @include dropdown-menu-direction(horizontal);
113
-
114
- a {
115
- @include disable-mouse-outline;
116
- }
117
-
118
- .no-js & ul {
119
- display: none;
120
- }
121
-
122
- &.vertical {
123
- @include dropdown-menu-direction(vertical);
124
- }
125
-
126
- @each $size in $breakpoint-classes {
127
- @if $size != $-zf-zero-breakpoint {
128
- @include breakpoint($size) {
129
- &.#{$size}-horizontal {
130
- @include dropdown-menu-direction(horizontal);
131
- }
132
-
133
- &.#{$size}-vertical {
134
- @include dropdown-menu-direction(vertical);
135
- }
136
- }
137
- }
138
- }
139
-
140
- &.align-right {
141
- .is-dropdown-submenu.first-sub {
142
- top: 100%;
143
- left: auto;
144
- right: 0;
145
- }
146
- }
147
- }
148
-
149
- .is-dropdown-menu.vertical {
150
- width: 100px;
151
-
152
- &.align-right {
153
- float: right;
154
- }
155
- }
156
-
157
- .is-dropdown-submenu-parent {
158
- position: relative;
159
-
160
- a::after {
161
- position: absolute;
162
- top: 50%;
163
- #{$global-right}: 5px;
164
- margin-top: -2px;
165
- }
166
-
167
- &.opens-inner > .is-dropdown-submenu {
168
-
169
- top: 100%;
170
- @if $global-text-direction == 'rtl' {
171
- right: auto;
172
- } @else {
173
- left: auto;
174
- }
175
- }
176
-
177
- &.opens-left > .is-dropdown-submenu {
178
- left: auto;
179
- right: 100%;
180
- }
181
-
182
- &.opens-right > .is-dropdown-submenu {
183
- right: auto;
184
- left: 100%;
185
- }
186
- }
187
-
188
- .is-dropdown-submenu {
189
- display: none;
190
- position: absolute;
191
- top: 0;
192
- #{$global-left}: 100%;
193
- min-width: $dropdownmenu-min-width;
194
- z-index: 10;
195
- background: $dropdownmenu-background;
196
- border: $dropdownmenu-border;
197
-
198
- .is-dropdown-submenu-parent {
199
- @if $dropdownmenu-arrows {
200
- @include left-right-arrows;
201
- }
202
- }
203
-
204
- @if (type-of($dropdownmenu-border-width) == 'number') {
205
- .is-dropdown-submenu {
206
- margin-top: (-$dropdownmenu-border-width);
207
- }
208
- }
209
-
210
- > li {
211
- width: 100%;
212
- }
213
-
214
- // [TODO] Cut back specificity
215
- // scss-lint:disable SelectorDepth
216
- //&:not(.js-dropdown-nohover) > .is-dropdown-submenu-parent:hover > &, // why is this line needed? Opening is handled by JS and this causes some ugly flickering when the sub is re-positioned automatically...
217
- &.js-dropdown-active {
218
- display: block;
219
- }
220
- }
221
- }
@@ -1,65 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group dropdown
7
- ////
8
-
9
- /// Padding for dropdown panes.
10
- /// @type List
11
- $dropdown-padding: 1rem !default;
12
-
13
- /// Border for dropdown panes.
14
- /// @type List
15
- $dropdown-border: 1px solid $medium-gray !default;
16
-
17
- /// Font size for dropdown panes.
18
- /// @type List
19
- $dropdown-font-size: 1rem !default;
20
-
21
- /// Width for dropdown panes.
22
- /// @type Number
23
- $dropdown-width: 300px !default;
24
-
25
- /// Border radius dropdown panes.
26
- /// @type Number
27
- $dropdown-radius: $global-radius !default;
28
-
29
- /// Sizes for dropdown panes. Each size is a CSS class you can apply.
30
- /// @type Map
31
- $dropdown-sizes: (
32
- tiny: 100px,
33
- small: 200px,
34
- large: 400px,
35
- ) !default;
36
-
37
- /// Applies styles for a basic dropdown.
38
- @mixin dropdown-container {
39
- background-color: $body-background;
40
- border: $dropdown-border;
41
- border-radius: $dropdown-radius;
42
- display: block;
43
- font-size: $dropdown-font-size;
44
- padding: $dropdown-padding;
45
- position: absolute;
46
- visibility: hidden;
47
- width: $dropdown-width;
48
- z-index: 10;
49
-
50
- &.is-open {
51
- visibility: visible;
52
- }
53
- }
54
-
55
- @mixin foundation-dropdown {
56
- .dropdown-pane {
57
- @include dropdown-container;
58
- }
59
-
60
- @each $name, $size in $dropdown-sizes {
61
- .dropdown-pane.#{$name} {
62
- width: $size;
63
- }
64
- }
65
- }
@@ -1,63 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group flex-video
7
- ////
8
-
9
- /// Margin below a flex video container.
10
- /// @type Number
11
- $flexvideo-margin-bottom: rem-calc(16) !default;
12
-
13
- /// Padding used to create a 4:3 aspect ratio.
14
- /// @type Number
15
- $flexvideo-ratio: 4 by 3 !default;
16
-
17
- /// Padding used to create a 16:9 aspect ratio.
18
- /// @type Number
19
- $flexvideo-ratio-widescreen: 16 by 9 !default;
20
-
21
- /// Creates a percentage height that can be used as padding in a flex video container.
22
- /// @param {List} $ratio - Ratio to use to calculate the height, formatted as `x by y`.
23
- /// @return {Number} A percentage value that can be used as the `padding-bottom` parameter of a flex video container.
24
- @function flex-video($ratio) {
25
- $w: nth($ratio, 1);
26
- $h: nth($ratio, 3);
27
- @return $h / $w * 100%;
28
- }
29
-
30
- /// Creates a flex video container.
31
- /// @param {List} $ratio [$flexvideo-ratio] - Ratio to use for the container, formatted as `x by y`.
32
- @mixin flex-video($ratio: $flexvideo-ratio) {
33
- position: relative;
34
- height: 0;
35
- padding-bottom: flex-video($ratio);
36
- margin-bottom: $flexvideo-margin-bottom;
37
- overflow: hidden;
38
-
39
- iframe,
40
- object,
41
- embed,
42
- video {
43
- position: absolute;
44
- top: 0;
45
- #{$global-left}: 0;
46
- width: 100%;
47
- height: 100%;
48
- }
49
- }
50
-
51
- @mixin foundation-flex-video {
52
- .flex-video {
53
- @include flex-video;
54
-
55
- &.widescreen {
56
- padding-bottom: flex-video($flexvideo-ratio-widescreen);
57
- }
58
-
59
- &.vimeo {
60
- padding-top: 0;
61
- }
62
- }
63
- }
@@ -1,28 +0,0 @@
1
- @mixin foundation-flex-classes {
2
- // Horizontal alignment using justify-content
3
- @each $hdir, $prop in map-remove($-zf-flex-justify, left) {
4
- .align-#{$hdir} {
5
- @include flex-align($x: $hdir);
6
- }
7
- }
8
-
9
- // Vertical alignment using align-items and align-self
10
- @each $vdir, $prop in $-zf-flex-align {
11
- .align-#{$vdir} {
12
- @include flex-align($y: $vdir);
13
- }
14
-
15
- .align-self-#{$vdir} {
16
- @include flex-align-self($y: $vdir);
17
- }
18
- }
19
-
20
- // Source ordering
21
- @include -zf-each-breakpoint {
22
- @for $i from 1 through 6 {
23
- .#{$-zf-size}-order-#{$i} {
24
- @include flex-order($i);
25
- }
26
- }
27
- }
28
- }
@@ -1,27 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group float
7
- ////
8
-
9
- @mixin foundation-float-classes {
10
- .float-left {
11
- float: left !important;
12
- }
13
-
14
- .float-right {
15
- float: right !important;
16
- }
17
-
18
- .float-center {
19
- display: block;
20
- margin-left: auto;
21
- margin-right: auto;
22
- }
23
-
24
- .clearfix {
25
- @include clearfix;
26
- }
27
- }
@@ -1,55 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group label
7
- ////
8
-
9
- /// Default background color for labels.
10
- /// @type Color
11
- $label-background: $primary-color !default;
12
-
13
- /// Default text color for labels.
14
- /// @type Color
15
- $label-color: foreground($label-background) !default;
16
-
17
- /// Default font size for labels.
18
- /// @type Number
19
- $label-font-size: 0.8rem !default;
20
-
21
- /// Default padding inside labels.
22
- /// @type Number
23
- $label-padding: 0.33333rem 0.5rem !default;
24
-
25
- /// Default radius of labels.
26
- /// @type Number
27
- $label-radius: $global-radius !default;
28
-
29
- /// Generates base styles for a label.
30
- @mixin label {
31
- display: inline-block;
32
- padding: $label-padding;
33
- font-size: $label-font-size;
34
- line-height: 1;
35
- white-space: nowrap;
36
- border-radius: $label-radius;
37
- }
38
-
39
- @mixin foundation-label {
40
- .label {
41
- @include label;
42
-
43
- background: $label-background;
44
- color: $label-color;
45
-
46
- @each $name, $color in $foundation-palette {
47
- @if $name != primary {
48
- &.#{$name} {
49
- background: $color;
50
- color: foreground($color);
51
- }
52
- }
53
- }
54
- }
55
- }