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,165 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group tabs
7
- ////
8
-
9
- /// Default margin of the tab bar.
10
- /// @type Number
11
- $tab-margin: 0 !default;
12
-
13
- /// Default background color of a tab bar.
14
- /// @type Color
15
- $tab-background: $white !default;
16
-
17
- /// active background color of a tab bar.
18
- /// @type Color
19
- $tab-background-active: $light-gray !default;
20
-
21
- /// Font size of tab items.
22
- /// @type Number
23
- $tab-item-font-size: rem-calc(12) !default;
24
-
25
- /// Default background color on hover for items in a Menu.
26
- $tab-item-background-hover: $white !default;
27
-
28
- /// Default padding of a tab item.
29
- /// @type Number
30
- $tab-item-padding: 1.25rem 1.5rem !default;
31
-
32
- /// Maximum number of `expand-n` classes to include in the CSS.
33
- /// @type Number
34
- $tab-expand-max: 6 !default;
35
-
36
- /// Default background color of tab content.
37
- /// @type Color
38
- $tab-content-background: $white !default;
39
-
40
- /// Default border color of tab content.
41
- /// @type Color
42
- $tab-content-border: $light-gray !default;
43
-
44
- /// Default text color of tab content.
45
- /// @type Color
46
- $tab-content-color: foreground($tab-background, $primary-color) !default;
47
-
48
- /// Default padding for tab content.
49
- /// @type Number | List
50
- $tab-content-padding: 1rem !default;
51
-
52
- /// Adds styles for a tab container. Apply this to a `<ul>`.
53
- @mixin tabs-container {
54
- @include clearfix;
55
- margin: $tab-margin;
56
- list-style-type: none;
57
- background: $tab-background;
58
- border: 1px solid $tab-content-border;
59
- }
60
-
61
- /// Augments a tab container to have vertical tabs. Use this in conjunction with `tabs-container()`.
62
- @mixin tabs-container-vertical {
63
- > li {
64
- width: auto;
65
- float: none;
66
- display: block;
67
- }
68
- }
69
-
70
- /// Adds styles for the links within a tab container. Apply this to the `<li>` elements inside a tab container.
71
- @mixin tabs-title {
72
- float: #{$global-left};
73
-
74
- > a {
75
- display: block;
76
- padding: $tab-item-padding;
77
- line-height: 1;
78
- font-size: $tab-item-font-size;
79
-
80
- &:hover {
81
- background: $tab-item-background-hover;
82
- }
83
-
84
- &:focus,
85
- &[aria-selected='true'] {
86
- background: $tab-background-active;
87
- }
88
- }
89
- }
90
-
91
- /// Adds styles for the wrapper that surrounds a tab group's content panes.
92
- @mixin tabs-content {
93
- background: $tab-content-background;
94
- transition: all 0.5s ease;
95
- border: 1px solid $tab-content-border;
96
- border-top: 0;
97
- }
98
-
99
- /// Augments a tab content container to have a vertical style, by shifting the border around. Use this in conjunction with `tabs-content()`.
100
- @mixin tabs-content-vertical {
101
- border: 1px solid $tab-content-border;
102
- border-#{$global-left}: 0;
103
- }
104
-
105
- /// Adds styles for an individual tab content panel within the tab content container.
106
- @mixin tabs-panel {
107
- display: none;
108
- padding: $tab-content-padding;
109
-
110
- &.is-active {
111
- display: block;
112
- }
113
- }
114
-
115
- @mixin foundation-tabs {
116
- .tabs {
117
- @include tabs-container;
118
- }
119
-
120
- // Vertical
121
- .tabs.vertical {
122
- @include tabs-container-vertical;
123
- }
124
-
125
- // Simple
126
- .tabs.simple {
127
- > li > a {
128
- padding: 0;
129
-
130
- &:hover {
131
- background: transparent;
132
- }
133
- }
134
- }
135
-
136
- // Primary color
137
- .tabs.primary {
138
- background: $primary-color;
139
-
140
- > li > a {
141
- color: foreground($primary-color);
142
-
143
- &:hover,
144
- &:focus {
145
- background: smart-scale($primary-color);
146
- }
147
- }
148
- }
149
-
150
- .tabs-title {
151
- @include tabs-title;
152
- }
153
-
154
- .tabs-content {
155
- @include tabs-content;
156
- }
157
-
158
- .tabs-content.vertical {
159
- @include tabs-content-vertical;
160
- }
161
-
162
- .tabs-panel {
163
- @include tabs-panel;
164
- }
165
- }
@@ -1,54 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group thumbnail
7
- ////
8
-
9
- /// Border around thumbnail images.
10
- /// @type Border
11
- $thumbnail-border: solid 4px $white !default;
12
-
13
- /// Bottom margin for thumbnail images.
14
- /// @type Length
15
- $thumbnail-margin-bottom: $global-margin !default;
16
-
17
- /// Box shadow under thumbnail images.
18
- /// @type Shadow
19
- $thumbnail-shadow: 0 0 0 1px rgba($black, 0.2) !default;
20
-
21
- /// Box shadow under thumbnail images.
22
- /// @type Shadow
23
- $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5) !default;
24
-
25
- /// Transition proprties for thumbnail images.
26
- /// @type Transition
27
- $thumbnail-transition: box-shadow 200ms ease-out !default;
28
-
29
- /// Default radius for thumbnail images.
30
- /// @type Number
31
- $thumbnail-radius: $global-radius !default;
32
-
33
- /// Adds thumbnail styles to an element.
34
- @mixin thumbnail {
35
- border: $thumbnail-border;
36
- box-shadow: $thumbnail-shadow;
37
- display: inline-block;
38
- line-height: 0;
39
- max-width: 100%;
40
- transition: $thumbnail-transition;
41
- border-radius: $thumbnail-radius;
42
- margin-bottom: $thumbnail-margin-bottom;
43
-
44
- &:hover,
45
- &:focus {
46
- box-shadow: $thumbnail-shadow-hover;
47
- }
48
- }
49
-
50
- @mixin foundation-thumbnail {
51
- .thumbnail {
52
- @include thumbnail;
53
- }
54
- }
@@ -1,89 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group title-bar
7
- ////
8
-
9
- /// Background color of a title bar.
10
- /// @type Color
11
- $titlebar-background: $black !default;
12
-
13
- /// Color of text inside a title bar.
14
- /// @type Color
15
- $titlebar-color: $white !default;
16
-
17
- /// Padding inside a title bar.
18
- /// @type Length
19
- $titlebar-padding: 0.5rem !default;
20
-
21
- /// Font weight of text inside a title bar.
22
- /// @type Weight
23
- $titlebar-text-font-weight: bold !default;
24
-
25
- /// Color of menu icons inside a title bar.
26
- /// @type Color
27
- $titlebar-icon-color: $white !default;
28
-
29
- /// Color of menu icons inside a title bar on hover.
30
- /// @type Color
31
- $titlebar-icon-color-hover: $medium-gray !default;
32
-
33
- /// Spacing between the menu icon and text inside a title bar.
34
- /// @type Length
35
- $titlebar-icon-spacing: 0.25rem !default;
36
-
37
- @mixin foundation-title-bar {
38
- .title-bar {
39
- background: $titlebar-background;
40
- color: $titlebar-color;
41
- padding: $titlebar-padding;
42
-
43
- @if $global-flexbox {
44
- display: flex;
45
- align-items: center;
46
- justify-content: space-between;
47
- }
48
- @else {
49
- @include clearfix;
50
- }
51
-
52
- .menu-icon {
53
- margin-#{$global-left}: $titlebar-icon-spacing;
54
- margin-#{$global-right}: $titlebar-icon-spacing;
55
- }
56
- }
57
-
58
- @if $global-flexbox {
59
- // scss-lint:disable ZeroUnit
60
- .title-bar-left,
61
- .title-bar-right {
62
- flex: 1 1 0px;
63
- }
64
-
65
- .title-bar-right {
66
- text-align: right;
67
- }
68
- }
69
- @else {
70
- .title-bar-left {
71
- float: left;
72
- }
73
-
74
- .title-bar-right {
75
- float: right;
76
- text-align: right;
77
- }
78
- }
79
-
80
- .title-bar-title {
81
- font-weight: $titlebar-text-font-weight;
82
- vertical-align: middle;
83
- display: inline-block;
84
- }
85
-
86
- .menu-icon.dark {
87
- @include hamburger;
88
- }
89
- }
@@ -1,104 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group tooltip
7
- ////
8
-
9
- /// Default font weight of the defined term.
10
- /// @type Keyword | Number
11
- $has-tip-font-weight: $global-weight-bold !default;
12
-
13
- /// Default border bottom of the defined term.
14
- /// @type List
15
- $has-tip-border-bottom: dotted 1px $dark-gray !default;
16
-
17
- /// Default color of the tooltip background.
18
- /// @type Color
19
- $tooltip-background-color: $black !default;
20
-
21
- /// Default color of the tooltip font.
22
- /// @type Color
23
- $tooltip-color: $white !default;
24
-
25
- /// Default padding of the tooltip background.
26
- /// @type Number
27
- $tooltip-padding: 0.75rem !default;
28
-
29
- /// Default font size of the tooltip text. By default, we recommend a smaller font size than the body copy.
30
- /// @type Number
31
- $tooltip-font-size: $small-font-size !default;
32
-
33
- /// Default pip width for tooltips.
34
- /// @type Number
35
- $tooltip-pip-width: 0.75rem !default;
36
-
37
- /// Default pip height for tooltips. This is helpful for calculating the distance of the tooltip from the tooltip word.
38
- /// @type Number
39
- $tooltip-pip-height: $tooltip-pip-width * 0.866 !default;
40
-
41
- /// Default radius for tooltips.
42
- /// @type Number
43
- $tooltip-radius: $global-radius !default;
44
-
45
- @mixin has-tip {
46
- border-bottom: $has-tip-border-bottom;
47
- font-weight: $has-tip-font-weight;
48
- position: relative;
49
- display: inline-block;
50
- cursor: help;
51
- }
52
-
53
- @mixin tooltip {
54
- background-color: $tooltip-background-color;
55
- color: $tooltip-color;
56
- font-size: $tooltip-font-size;
57
- padding: $tooltip-padding;
58
- position: absolute;
59
- z-index: 10;
60
- top: calc(100% + #{$tooltip-pip-height});
61
- max-width: 10rem !important;
62
- border-radius: $tooltip-radius;
63
-
64
- &::before {
65
- @include css-triangle($tooltip-pip-width, $tooltip-background-color, up);
66
- bottom: 100%;
67
- position: absolute;
68
- left: 50%;
69
- transform: translateX(-50%);
70
- }
71
-
72
- &.top::before {
73
- @include css-triangle($tooltip-pip-width, $tooltip-background-color, down);
74
- top: 100%;
75
- bottom: auto;
76
- }
77
-
78
- &.left::before {
79
- @include css-triangle($tooltip-pip-width, $tooltip-background-color, right);
80
- bottom: auto;
81
- left: 100%;
82
- top: 50%;
83
- transform: translateY(-50%);
84
- }
85
-
86
- &.right::before {
87
- @include css-triangle($tooltip-pip-width, $tooltip-background-color, left);
88
- bottom: auto;
89
- left: auto;
90
- right: 100%;
91
- top: 50%;
92
- transform: translateY(-50%);
93
- }
94
- }
95
-
96
- @mixin foundation-tooltip {
97
- .has-tip {
98
- @include has-tip;
99
- }
100
-
101
- .tooltip {
102
- @include tooltip;
103
- }
104
- }
@@ -1,168 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group top-bar
7
- ////
8
-
9
- /// Padding for the top bar.
10
- /// @type Number
11
- $topbar-padding: 0.5rem !default;
12
-
13
- /// Background color for the top bar. This color also cascades to menus within the top bar.
14
- /// @type Color
15
- $topbar-background: $light-gray !default;
16
-
17
- /// Background color submenus within the top bar. Usefull if $topbar-background is transparent.
18
- /// @type Color
19
- $topbar-submenu-background: $topbar-background !default;
20
-
21
- /// Spacing for the top bar title.
22
- /// @type Number
23
- $topbar-title-spacing: 1rem !default;
24
-
25
- /// Maximum width of `<input>` elements inside the top bar.
26
- /// @type Number
27
- $topbar-input-width: 200px !default;
28
-
29
- /// Breakpoint at which top bar switches from mobile to desktop view.
30
- /// @type Breakpoint
31
- $topbar-unstack-breakpoint: medium !default;
32
-
33
- /// Adds styles for a top bar container.
34
- @mixin top-bar-container {
35
- @if $global-flexbox {
36
- display: flex;
37
- align-items: center;
38
- justify-content: space-between;
39
- flex-wrap: nowrap;
40
- }
41
- @else {
42
- @include clearfix;
43
- }
44
-
45
- padding: $topbar-padding;
46
-
47
- &,
48
- ul {
49
- background-color: $topbar-background;
50
- }
51
-
52
- // Check if $topbar-background is differnt from $topbar-background-submenu
53
- @if ($topbar-background != $topbar-submenu-background) {
54
- ul ul {
55
- background-color: $topbar-submenu-background;
56
- }
57
- }
58
-
59
- // Restrain width of inputs by default to make them easier to arrange
60
- input {
61
- max-width: $topbar-input-width;
62
- margin-#{$global-right}: 1rem;
63
- }
64
-
65
- // The above styles shouldn't apply to input group fields
66
- .input-group-field {
67
- width: 100%;
68
- margin-#{$global-right}: 0;
69
- }
70
-
71
- // scss-lint:disable QualifyingElement
72
- input.button {
73
- width: auto;
74
- }
75
- }
76
-
77
- /// Makes sections of a top bar stack on top of each other.
78
- @mixin top-bar-stacked {
79
- @if $global-flexbox {
80
- flex-wrap: wrap;
81
-
82
- // Sub-sections
83
- .top-bar-left,
84
- .top-bar-right {
85
- flex: 0 0 100%;
86
- max-width: 100%;
87
- }
88
- }
89
- @else {
90
- // Sub-sections
91
- .top-bar-left,
92
- .top-bar-right {
93
- width: 100%;
94
- }
95
- }
96
- }
97
-
98
- /// Undoes the CSS applied by the `top-bar-stacked()` mixin.
99
- @mixin top-bar-unstack {
100
- @if $global-flexbox {
101
- flex-wrap: nowrap;
102
-
103
- // scss-lint:disable ZeroUnit
104
- .top-bar-left,
105
- .top-bar-right {
106
- flex: 1 1 0px;
107
- }
108
- }
109
- @else {
110
- .top-bar-left,
111
- .top-bar-right {
112
- width: auto;
113
- }
114
- }
115
- }
116
-
117
- @mixin foundation-top-bar {
118
- // Top bar container
119
- .top-bar {
120
- @include top-bar-container;
121
-
122
- // Stack on small screens by default
123
- @include top-bar-stacked;
124
-
125
- @include breakpoint($topbar-unstack-breakpoint) {
126
- @include top-bar-unstack;
127
- }
128
-
129
- // Generate classes for stacking on each screen size (defined in $breakpoint-classes)
130
- @each $size in $breakpoint-classes {
131
- @if $size != $-zf-zero-breakpoint {
132
- &.stacked-for-#{$size} {
133
- @include breakpoint($size down) {
134
- @include top-bar-stacked;
135
- }
136
- }
137
- }
138
- }
139
- }
140
-
141
- // Sub-sections
142
- @if $global-flexbox {
143
- .top-bar-title {
144
- flex: 0 0 auto;
145
- margin-right: $topbar-title-spacing;
146
- }
147
-
148
- .top-bar-left,
149
- .top-bar-right {
150
- flex: 0 0 auto;
151
- }
152
- }
153
- @else {
154
- .top-bar-title {
155
- float: left;
156
- margin-right: $topbar-title-spacing;
157
-
158
- }
159
-
160
- .top-bar-left {
161
- float: left;
162
- }
163
-
164
- .top-bar-right {
165
- float: right;
166
- }
167
- }
168
- }