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,163 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group forms
7
- ////
8
-
9
- /// Font color of text inputs.
10
- /// @type Color
11
- $input-color: $black !default;
12
-
13
- /// Font color of placeholder text within text inputs.
14
- /// @type Color
15
- $input-placeholder-color: $medium-gray !default;
16
-
17
- /// Font family of text inputs.
18
- /// @type Font
19
- $input-font-family: inherit !default;
20
-
21
- /// Font size of text inputs.
22
- /// @type Number
23
- $input-font-size: rem-calc(16) !default;
24
-
25
- /// Background color of text inputs.
26
- /// @type Color
27
- $input-background: $white !default;
28
-
29
- /// Background color of focused of text inputs.
30
- /// @type Color
31
- $input-background-focus: $white !default;
32
-
33
- /// Background color of disabled text inputs.
34
- /// @type Color
35
- $input-background-disabled: $light-gray !default;
36
-
37
- /// Border around text inputs.
38
- /// @type Border
39
- $input-border: 1px solid $medium-gray !default;
40
-
41
- /// Border around focused text inputs.
42
- /// @type Color
43
- $input-border-focus: 1px solid $dark-gray !default;
44
-
45
- /// Box shadow inside text inputs when not focused.
46
- /// @type Shadow
47
- $input-shadow: inset 0 1px 2px rgba($black, 0.1) !default;
48
-
49
- /// Box shadow outside text inputs when focused.
50
- /// @type Shadow
51
- $input-shadow-focus: 0 0 5px $medium-gray !default;
52
-
53
- /// Cursor to use when hovering over a disabled text input.
54
- /// @type Cursor
55
- $input-cursor-disabled: not-allowed !default;
56
-
57
- /// Properties to transition on text inputs.
58
- /// @type Transition
59
- $input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out !default;
60
-
61
- /// Enables the up/down buttons that Chrome and Firefox add to `<input type='number'>` elements.
62
- /// @type Boolean
63
- $input-number-spinners: true !default;
64
-
65
- /// Radius for text inputs.
66
- /// @type Border
67
- $input-radius: $global-radius !default;
68
-
69
- @mixin form-element {
70
- $height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1));
71
-
72
- display: block;
73
- box-sizing: border-box;
74
- width: 100%;
75
- height: $height;
76
- padding: $form-spacing / 2;
77
- border: $input-border;
78
- margin: 0 0 $form-spacing;
79
-
80
- font-family: $input-font-family;
81
- font-size: $input-font-size;
82
- color: $input-color;
83
- background-color: $input-background;
84
- box-shadow: $input-shadow;
85
- border-radius: $input-radius;
86
-
87
- @if has-value($input-transition) {
88
- transition: $input-transition;
89
- }
90
-
91
- // Focus state
92
- &:focus {
93
- border: $input-border-focus;
94
- background-color: $input-background-focus;
95
- outline: none;
96
- box-shadow: $input-shadow-focus;
97
-
98
- @if has-value($input-transition) {
99
- transition: $input-transition;
100
- }
101
- }
102
- }
103
-
104
- @mixin foundation-form-text {
105
- // Text inputs
106
- #{text-inputs()},
107
- textarea {
108
- @include form-element;
109
- -webkit-appearance: none;
110
- -moz-appearance: none;
111
- }
112
-
113
- // Text areas
114
- textarea {
115
- max-width: 100%;
116
-
117
- &[rows] {
118
- height: auto;
119
- }
120
- }
121
-
122
- input,
123
- textarea {
124
- // Placeholder text
125
- &::placeholder {
126
- color: $input-placeholder-color;
127
- }
128
-
129
- // Disabled/readonly state
130
- &:disabled,
131
- &[readonly] {
132
- background-color: $input-background-disabled;
133
- cursor: $input-cursor-disabled;
134
- }
135
- }
136
-
137
- // Reset styles on button-like inputs
138
- [type='submit'],
139
- [type='button'] {
140
- border-radius: $button-radius;
141
- -webkit-appearance: none;
142
- -moz-appearance: none;
143
- }
144
-
145
- // Reset Normalize setting content-box to search elements
146
- // scss-lint:disable QualifyingElement
147
- input[type='search'] {
148
- box-sizing: border-box;
149
- }
150
-
151
- // Number input styles
152
- [type='number'] {
153
- @if not $input-number-spinners {
154
- -moz-appearance: textfield;
155
-
156
- [type='number']::-webkit-inner-spin-button,
157
- [type='number']::-webkit-outer-spin-button {
158
- -webkit-appearance: none;
159
- margin: 0;
160
- }
161
- }
162
- }
163
- }
@@ -1,102 +0,0 @@
1
- /**
2
- * Foundation for Sites by ZURB
3
- * Version 6.2.3
4
- * foundation.zurb.com
5
- * Licensed under MIT Open Source
6
- */
7
-
8
- // Sass utilities
9
- @import 'util/util';
10
-
11
- // Global variables and styles
12
- @import 'global';
13
-
14
- // Components
15
- @import 'grid/grid';
16
- @import 'typography/typography';
17
- @import 'forms/forms';
18
- @import 'components/visibility';
19
- @import 'components/float';
20
- @import 'components/button';
21
- @import 'components/button-group';
22
- @import 'components/accordion-menu';
23
- @import 'components/accordion';
24
- @import 'components/badge';
25
- @import 'components/breadcrumbs';
26
- @import 'components/callout';
27
- @import 'components/close-button';
28
- @import 'components/drilldown';
29
- @import 'components/dropdown-menu';
30
- @import 'components/dropdown';
31
- @import 'components/flex';
32
- @import 'components/flex-video';
33
- @import 'components/label';
34
- @import 'components/media-object';
35
- @import 'components/menu';
36
- @import 'components/menu-icon';
37
- @import 'components/off-canvas';
38
- @import 'components/orbit';
39
- @import 'components/pagination';
40
- @import 'components/progress-bar';
41
- @import 'components/reveal';
42
- @import 'components/slider';
43
- @import 'components/sticky';
44
- @import 'components/switch';
45
- @import 'components/table';
46
- @import 'components/tabs';
47
- @import 'components/title-bar';
48
- @import 'components/top-bar';
49
- @import 'components/thumbnail';
50
- @import 'components/tooltip';
51
-
52
- @mixin foundation-everything($flex: false) {
53
- @if $flex {
54
- $global-flexbox: true !global;
55
- }
56
-
57
- @include foundation-global-styles;
58
- @if not $flex {
59
- @include foundation-grid;
60
- }
61
- @else {
62
- @include foundation-flex-grid;
63
- }
64
- @include foundation-typography;
65
- @include foundation-forms;
66
- @include foundation-button;
67
- @include foundation-accordion;
68
- @include foundation-accordion-menu;
69
- @include foundation-badge;
70
- @include foundation-breadcrumbs;
71
- @include foundation-button-group;
72
- @include foundation-callout;
73
- @include foundation-close-button;
74
- @include foundation-menu;
75
- @include foundation-menu-icon;
76
- @include foundation-drilldown-menu;
77
- @include foundation-dropdown;
78
- @include foundation-dropdown-menu;
79
- @include foundation-flex-video;
80
- @include foundation-label;
81
- @include foundation-media-object;
82
- @include foundation-off-canvas;
83
- @include foundation-orbit;
84
- @include foundation-pagination;
85
- @include foundation-progress-bar;
86
- @include foundation-slider;
87
- @include foundation-sticky;
88
- @include foundation-reveal;
89
- @include foundation-switch;
90
- @include foundation-table;
91
- @include foundation-tabs;
92
- @include foundation-thumbnail;
93
- @include foundation-title-bar;
94
- @include foundation-tooltip;
95
- @include foundation-top-bar;
96
- @include foundation-visibility-classes;
97
- @include foundation-float-classes;
98
-
99
- @if $flex {
100
- @include foundation-flex-classes;
101
- }
102
- }
@@ -1,151 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group grid
7
- ////
8
-
9
- /// Outputs CSS classes for the grid.
10
- /// @access private
11
- @mixin foundation-grid(
12
- $row: 'row',
13
- $column: 'column',
14
- $column-row: 'column-row',
15
- $push: 'push',
16
- $pull: 'pull',
17
- $center: 'centered',
18
- $uncenter: 'uncentered',
19
- $collapse: 'collapse',
20
- $uncollapse: 'uncollapse',
21
- $offset: 'offset',
22
- $end: 'end',
23
- $expanded: 'expanded'
24
- ) {
25
- // Row
26
- .#{$row} {
27
- @include grid-row;
28
-
29
- // Collapsing
30
- &.#{$collapse} {
31
- > .#{$column} {
32
- @include grid-col-collapse;
33
- }
34
- }
35
-
36
- // Nesting
37
- & & {
38
- @include grid-row-nest($grid-column-gutter);
39
-
40
- &.#{$collapse} {
41
- margin-left: 0;
42
- margin-right: 0;
43
- }
44
- }
45
-
46
- // Expanded (full-width) row
47
- &.#{$expanded} {
48
- max-width: none;
49
-
50
- .#{$row} {
51
- margin-left: auto;
52
- margin-right: auto;
53
- }
54
- }
55
- }
56
-
57
- // Column
58
- .#{$column} {
59
- @include grid-col;
60
-
61
- @if $grid-column-align-edge {
62
- &.#{$end} {
63
- @include grid-col-end;
64
- }
65
- }
66
- }
67
-
68
- // Column row
69
- // The double .row class is needed to bump up the specificity
70
- .#{$column}.#{$row}.#{$row} {
71
- float: none;
72
-
73
- // To properly nest a column row, padding and margin is removed
74
- .#{$row} & {
75
- padding-left: 0;
76
- padding-right: 0;
77
- margin-left: 0;
78
- margin-right: 0;
79
- }
80
- }
81
-
82
- @include -zf-each-breakpoint {
83
- @for $i from 1 through $grid-column-count {
84
- // Column width
85
- .#{$-zf-size}-#{$i} {
86
- @include grid-col-size($i);
87
- }
88
-
89
- // Source ordering
90
- @if $i < $grid-column-count {
91
- .#{$-zf-size}-#{$push}-#{$i} {
92
- @include grid-col-pos($i);
93
- }
94
-
95
- .#{$-zf-size}-#{$pull}-#{$i} {
96
- @include grid-col-pos(-$i);
97
- }
98
- }
99
-
100
- // Offsets
101
- $o: $i - 1;
102
-
103
- .#{$-zf-size}-#{$offset}-#{$o} {
104
- @include grid-col-off($o);
105
- }
106
- }
107
-
108
- // Block grid
109
- @for $i from 1 through $block-grid-max {
110
- .#{$-zf-size}-up-#{$i} {
111
- @include grid-layout($i, ".#{$column}");
112
- }
113
- }
114
-
115
- // Responsive collapsing
116
- .#{$-zf-size}-#{$collapse} {
117
- > .#{$column} { @include grid-col-collapse; }
118
-
119
- .#{$row},
120
- .#{$expanded}.#{$row} &.#{$row} {
121
- margin-left: 0;
122
- margin-right: 0;
123
- }
124
- }
125
-
126
- .#{$-zf-size}-#{$uncollapse} {
127
- $gutter: -zf-get-bp-val($grid-column-gutter, $-zf-size);
128
-
129
- > .#{$column} { @include grid-col-uncollapse($gutter); }
130
- }
131
-
132
- // Positioning
133
- .#{$-zf-size}-#{$center} {
134
- @include grid-col-pos(center);
135
- }
136
-
137
- // Gutter adjustment
138
- .#{$-zf-size}-#{$uncenter},
139
- .#{$-zf-size}-#{$push}-0,
140
- .#{$-zf-size}-#{$pull}-0 {
141
- @include grid-col-unpos;
142
- }
143
- }
144
-
145
- @if $column == 'column' {
146
- .columns {
147
- // scss-lint:disable PlaceholderInExtend
148
- @extend .column;
149
- }
150
- }
151
- }
@@ -1,126 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group grid
7
- ////
8
-
9
- /// Calculates the width of a column based on a number of factors.
10
- ///
11
- /// @param {Number|List} $columns
12
- /// Width of the column. Accepts multiple values:
13
- /// - A percentage value will make the column that exact size.
14
- /// - A single digit will make the column span that number of columns wide, taking into account the column count of the parent row.
15
- /// - A string of the format "x of y" will make a column that is *x* columns wide, assuming *y* total columns for the parent.
16
- ///
17
- /// @returns {Number} A calculated percentage value.
18
- @function grid-column($columns) {
19
- $width: 0%;
20
-
21
- // Parsing percents, decimals, and column counts
22
- @if type-of($columns) == 'number' {
23
- @if unit($columns) == '%' {
24
- $width: $columns;
25
- }
26
- @else if $columns < 1 {
27
- $width: percentage($columns);
28
- }
29
- @else {
30
- $width: percentage($columns / $grid-column-count);
31
- }
32
- }
33
-
34
- // Parsing "n of n" expressions
35
- @else if type-of($columns) == 'list' {
36
- @if length($columns) != 3 {
37
- @error 'Wrong syntax for grid-column(). Use the format "n of n".';
38
- }
39
- @else {
40
- $width: percentage(nth($columns, 1) / nth($columns, 3));
41
- }
42
- }
43
-
44
- // Anything else is incorrect
45
- @else {
46
- @error 'Wrong syntax for grid-column(). Use a number, decimal, percentage, or "n of n".';
47
- }
48
-
49
- @return $width;
50
- }
51
-
52
- /// Creates a grid column.
53
- ///
54
- /// @param {Mixed} $columns [$grid-column-count] - Width of the column. Refer to the `grid-column()` function to see possible values.
55
- /// @param {Number} $gutter [$grid-column-gutter] - Spacing between columns.
56
- @mixin grid-column(
57
- $columns: $grid-column-count,
58
- $gutter: $grid-column-gutter
59
- ) {
60
- @include grid-column-size($columns);
61
- float: $global-left;
62
-
63
- // Gutters
64
- @if type-of($gutter) == 'map' {
65
- @each $breakpoint, $value in $gutter {
66
- $padding: rem-calc($value) / 2;
67
-
68
- @include breakpoint($breakpoint) {
69
- padding-left: $padding;
70
- padding-right: $padding;
71
- }
72
- }
73
- }
74
- @else if type-of($gutter) == 'number' and strip-unit($gutter) > 0 {
75
- $padding: rem-calc($gutter) / 2;
76
- padding-left: $padding;
77
- padding-right: $padding;
78
- }
79
-
80
- // Last column alignment
81
- @if $grid-column-align-edge {
82
- &:last-child:not(:first-child) {
83
- float: $global-right;
84
- }
85
- }
86
- }
87
-
88
- /// Creates a grid column row. This is the equivalent of adding `.row` and `.column` to the same element.
89
- ///
90
- /// @param {Number} $gutter [$grid-column-gutter] - Width of the gutters on either side of the column row.
91
- @mixin grid-column-row(
92
- $gutter: $grid-column-gutter
93
- ) {
94
- @include grid-row;
95
- @include grid-column($gutter: $gutter);
96
-
97
- &,
98
- &:last-child {
99
- float: none;
100
- }
101
- }
102
-
103
- /// Shorthand for `grid-column()`.
104
- /// @alias grid-column
105
- @function grid-col(
106
- $columns: $grid-column-count
107
- ) {
108
- @return grid-column($columns);
109
- }
110
-
111
- /// Shorthand for `grid-column()`.
112
- /// @alias grid-column
113
- @mixin grid-col(
114
- $columns: $grid-column-count,
115
- $gutter: $grid-column-gutter
116
- ) {
117
- @include grid-column($columns, $gutter);
118
- }
119
-
120
- /// Shorthand for `grid-column-row()`.
121
- /// @alias grid-column-row
122
- @mixin grid-col-row(
123
- $gutter: $grid-column-gutter
124
- ) {
125
- @include grid-column-row($gutter);
126
- }