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,133 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- // [TODO] Check how plugin confirms disabled or vertical status
6
- // [TODO] Check if transition: all; is necessary
7
-
8
- ////
9
- /// @group slider
10
- ////
11
-
12
- /// Default slider width of a vertical slider. (Doesn't apply to the native slider.)
13
- /// @type Number
14
- $slider-width-vertical: 0.5rem !default;
15
-
16
- /// Transition properties to apply to the slider handle and fill. (Doesn't apply to the native slider.)
17
- /// @type Transition
18
- $slider-transition: all 0.2s ease-in-out !default;
19
-
20
- /// Adds the general styles for sliders.
21
- @mixin slider-container {
22
- position: relative;
23
- height: $slider-height;
24
- margin-top: 1.25rem;
25
- margin-bottom: 2.25rem;
26
- background-color: $slider-background;
27
- cursor: pointer;
28
- user-select: none;
29
- touch-action: none;
30
- }
31
-
32
- /// Adds the general styles for active fill for sliders.
33
- @mixin slider-fill {
34
- position: absolute;
35
- top: 0;
36
- left: 0;
37
- display: inline-block;
38
- max-width: 100%;
39
- height: $slider-height;
40
- background-color: $slider-fill-background;
41
- transition: $slider-transition;
42
-
43
- &.is-dragging {
44
- transition: all 0s linear;
45
- }
46
- }
47
-
48
- /// Adds the general styles for the slider handles.
49
- @mixin slider-handle {
50
- @include disable-mouse-outline;
51
- @include vertical-center;
52
- position: absolute;
53
- left: 0;
54
- z-index: 1;
55
- display: inline-block;
56
- width: $slider-handle-width;
57
- height: $slider-handle-height;
58
- background-color: $slider-handle-background;
59
- transition: $slider-transition;
60
- touch-action: manipulation;
61
- border-radius: $slider-radius;
62
-
63
- &:hover {
64
- background-color: scale-color($slider-handle-background, $lightness: -15%);
65
- }
66
-
67
- &.is-dragging {
68
- transition: all 0s linear;
69
- }
70
- }
71
-
72
- @mixin slider-disabled {
73
- opacity: $slider-opacity-disabled;
74
- cursor: not-allowed;
75
- }
76
-
77
- @mixin slider-vertical {
78
- display: inline-block;
79
- width: $slider-width-vertical;
80
- height: 12.5rem;
81
- margin: 0 1.25rem;
82
- transform: scale(1, -1);
83
-
84
- .slider-fill {
85
- top: 0;
86
- width: $slider-width-vertical;
87
- max-height: 100%;
88
- }
89
-
90
- .slider-handle {
91
- position: absolute;
92
- top: 0;
93
- left: 50%;
94
- width: $slider-handle-height;
95
- height: $slider-handle-width;
96
- transform: translateX(-50%);
97
- }
98
- }
99
-
100
- @mixin foundation-slider {
101
- // Container
102
- .slider {
103
- @include slider-container;
104
- }
105
-
106
- // Fill area
107
- .slider-fill {
108
- @include slider-fill;
109
- }
110
-
111
- // Draggable handle
112
- .slider-handle {
113
- @include slider-handle;
114
- }
115
-
116
- // Disabled state
117
- .slider.disabled,
118
- .slider[disabled] {
119
- @include slider-disabled;
120
- }
121
-
122
- // Vertical slider
123
- .slider.vertical {
124
- @include slider-vertical;
125
- }
126
-
127
- // RTL support
128
- @if $global-text-direction == rtl {
129
- .slider:not(.vertical) {
130
- transform: scale(-1, 1);
131
- }
132
- }
133
- }
@@ -1,38 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @mixin foundation-sticky {
6
- .sticky-container {
7
- position: relative;
8
- }
9
-
10
- .sticky {
11
- position: absolute;
12
- z-index: 0;
13
- transform: translate3d(0, 0, 0);
14
- }
15
-
16
- .sticky.is-stuck {
17
- position: fixed;
18
- z-index: 5;
19
-
20
- &.is-at-top {
21
- top: 0;
22
- }
23
-
24
- &.is-at-bottom {
25
- bottom: 0;
26
- }
27
- }
28
-
29
- .sticky.is-anchored {
30
- position: absolute;
31
- left: auto;
32
- right: auto;
33
-
34
- &.is-at-bottom {
35
- bottom: 0;
36
- }
37
- }
38
- }
@@ -1,232 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- ////
6
- /// @group switch
7
- ////
8
-
9
- /// Background color of a switch.
10
- /// @type Color
11
- $switch-background: $medium-gray !default;
12
-
13
- /// Background active color of a switch.
14
- /// @type Color
15
- $switch-background-active: $primary-color !default;
16
-
17
- /// Height of a switch, with no class applied.
18
- /// @type Number
19
- $switch-height: 2rem !default;
20
-
21
- /// Height of a switch with .tiny class.
22
- /// @type Number
23
- $switch-height-tiny: 1.5rem !default;
24
-
25
- /// Height of a switch with .small class.
26
- /// @type Number
27
- $switch-height-small: 1.75rem !default;
28
-
29
- /// Height of a switch with .large class.
30
- /// @type Number
31
- $switch-height-large: 2.5rem !default;
32
-
33
- /// Border radius of the switch
34
- /// @type Number
35
- $switch-radius: $global-radius !default;
36
-
37
- /// border around a modal.
38
- /// @type Number
39
- $switch-margin: $global-margin !default;
40
-
41
- /// Background color for the switch container and paddle.
42
- /// @type Color
43
- $switch-paddle-background: $white !default;
44
-
45
- /// Spacing between a switch paddle and the edge of the body.
46
- /// @type Number
47
- $switch-paddle-offset: 0.25rem !default;
48
-
49
- /// border radius of the switch paddle
50
- /// @type Number
51
- $switch-paddle-radius: $global-radius !default;
52
-
53
- /// switch transition.
54
- /// @type Number
55
- $switch-paddle-transition: all 0.25s ease-out !default;
56
-
57
- // make them variables
58
- // ask about accessibility on label
59
- // change class name for text
60
-
61
- /// Adds styles for a switch container. Apply this to a container class.
62
- @mixin switch-container {
63
- margin-bottom: $switch-margin;
64
- outline: 0;
65
- position: relative;
66
- user-select: none;
67
-
68
- // These properties cascade down to the switch text
69
- color: $white;
70
- font-weight: bold;
71
- font-size: rem-calc(14);
72
- }
73
-
74
- /// Adds styles for a switch input. Apply this to an `<input>` within a switch.
75
- @mixin switch-input {
76
- opacity: 0;
77
- position: absolute;
78
- }
79
-
80
- /// Adds styles for the background and paddle of a switch. Apply this to a `<label>` within a switch.
81
- @mixin switch-paddle {
82
- background: $switch-background;
83
- cursor: pointer;
84
- display: block;
85
- position: relative;
86
- width: 4rem;
87
- height: $switch-height;
88
- transition: $switch-paddle-transition;
89
- border-radius: $switch-radius;
90
-
91
- // Resetting these <label> presets so type styles cascade down
92
- color: inherit;
93
- font-weight: inherit;
94
-
95
- // Needed to override specificity
96
- input + & {
97
- margin: 0;
98
- }
99
-
100
- // The paddle itself
101
- &::after {
102
- background: $switch-paddle-background;
103
- content: '';
104
- display: block;
105
- position: absolute;
106
- height: 1.5rem;
107
- #{$global-left}: 0.25rem;
108
- top: 0.25rem;
109
- width: 1.5rem;
110
- transition: $switch-paddle-transition;
111
- transform: translate3d(0, 0, 0);
112
- border-radius: $switch-paddle-radius;
113
- }
114
-
115
- // Change the visual style when the switch is active
116
- input:checked ~ & {
117
- background: $switch-background-active;
118
-
119
- &::after {
120
- #{$global-left}: 2.25rem;
121
- }
122
- }
123
-
124
- input:focus ~ & {
125
- @include disable-mouse-outline;
126
- }
127
- }
128
-
129
- /// Adds base styles for active/inactive text inside a switch. Apply this to text elements inside the switch `<label>`.
130
- @mixin switch-text {
131
- position: absolute;
132
- top: 50%;
133
- transform: translateY(-50%);
134
- }
135
-
136
- /// Adds styles for the active state text within a switch.
137
- @mixin switch-text-active {
138
- #{$global-left}: 8%;
139
- display: none;
140
-
141
- input:checked + label > & {
142
- display: block;
143
- }
144
- }
145
-
146
- /// Adds styles for the inactive state text within a switch.
147
- @mixin switch-text-inactive {
148
- #{$global-right}: 15%;
149
-
150
- input:checked + label > & {
151
- display: none;
152
- }
153
- }
154
-
155
- /// Changes the size of a switch by modifying the size of the body and paddle. Apply this to a switch container.
156
- /// @param {Number} $font-size [1rem] - Font size of label text within the switch.
157
- /// @param {Number} $width [4rem] - Width of the switch body.
158
- /// @param {Number} $height [2rem] - Height of the switch body.
159
- /// @param {Number} $paddle-width [1.5rem] - Width of the switch paddle.
160
- /// @param {Number} $paddle-offset [0.25rem] - Spacing between the switch paddle and the edge of the switch body.
161
- @mixin switch-size(
162
- $font-size: 1rem,
163
- $width: 4rem,
164
- $height: 2rem,
165
- $paddle-width: 1.5rem,
166
- $paddle-offset: 0.25rem
167
- ) {
168
- $paddle-height: $height - ($paddle-offset * 2);
169
- $paddle-left-active: $width - $paddle-width - $paddle-offset;
170
-
171
- .switch-paddle {
172
- width: $width;
173
- height: $height;
174
- font-size: $font-size;
175
- }
176
-
177
- .switch-paddle::after {
178
- width: $paddle-width;
179
- height: $paddle-height;
180
- }
181
-
182
- input:checked ~ .switch-paddle::after {
183
- #{$global-left}: $paddle-left-active;
184
- }
185
- }
186
-
187
- @mixin foundation-switch {
188
- // Container class
189
- .switch {
190
- @include switch-container;
191
- }
192
-
193
- // <input> element
194
- .switch-input {
195
- @include switch-input;
196
- }
197
-
198
- // <label> element
199
- .switch-paddle {
200
- @include switch-paddle;
201
- }
202
-
203
- // Base label text styles
204
- %switch-text {
205
- @include switch-text;
206
- }
207
-
208
- // Active label text styles
209
- .switch-active {
210
- @extend %switch-text;
211
- @include switch-text-active;
212
- }
213
-
214
- // Inactive label text styles
215
- .switch-inactive {
216
- @extend %switch-text;
217
- @include switch-text-inactive;
218
- }
219
-
220
- // Switch sizes
221
- .switch.tiny {
222
- @include switch-size(rem-calc(10), 3rem, $switch-height-tiny, 1rem, $switch-paddle-offset);
223
- }
224
-
225
- .switch.small {
226
- @include switch-size(rem-calc(12), 3.5rem, $switch-height-small, 1.25rem, $switch-paddle-offset);
227
- }
228
-
229
- .switch.large {
230
- @include switch-size(rem-calc(16), 5rem, $switch-height-large, 2rem, $switch-paddle-offset);
231
- }
232
- }
@@ -1,234 +0,0 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- // scss-lint:disable MergeableSelector, QualifyingElement
6
-
7
- ////
8
- /// @group table
9
- ////
10
-
11
- /// Default color for table background.
12
- /// @type Color
13
- $table-background: $white !default;
14
-
15
- /// Default scale for darkening the striped table rows and the table border.
16
- /// @type Number
17
- $table-color-scale: 5% !default;
18
-
19
- /// Default style for table border.
20
- /// @type List
21
- $table-border: 1px solid smart-scale($table-background, $table-color-scale) !default;
22
-
23
- /// Default padding for table.
24
- /// @type Number
25
- $table-padding: rem-calc(8 10 10) !default;
26
-
27
- /// Default scale for darkening the table rows on hover.
28
- /// @type Number
29
- $table-hover-scale: 2% !default;
30
-
31
- /// Default color of standard rows on hover.
32
- /// @type List
33
- $table-row-hover: darken($table-background, $table-hover-scale) !default;
34
-
35
- /// Default color of striped rows on hover.
36
- /// @type List
37
- $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale) !default;
38
-
39
- /// Default background color for striped rows.
40
- /// @type Color
41
- $table-striped-background: smart-scale($table-background, $table-color-scale) !default;
42
-
43
- /// Default value for showing the stripe on rows of the tables, excluding the header and footer. If even, the even rows will have a background color. If odd, the odd rows will have a background color. If empty, or any other value, the table rows will have no striping.
44
- /// @type Keyword
45
- $table-stripe: even !default;
46
-
47
- /// Default color for header background.
48
- /// @type Color
49
- $table-head-background: smart-scale($table-background, $table-color-scale / 2) !default;
50
-
51
- /// Default color for footer background.
52
- /// @type Color
53
- $table-foot-background: smart-scale($table-background, $table-color-scale) !default;
54
-
55
- /// Default font color for header.
56
- /// @type Color
57
- $table-head-font-color: $body-font-color !default;
58
-
59
- /// Default value for showing the header when using stacked tables.
60
- /// @type Boolean
61
- $show-header-for-stacked: false !default;
62
-
63
- @mixin -zf-table-children-styles($stripe: $table-stripe) {
64
- thead,
65
- tbody,
66
- tfoot {
67
- border: $table-border;
68
- background-color: $table-background;
69
- }
70
-
71
- // Caption
72
- caption {
73
- font-weight: $global-weight-bold;
74
- padding: $table-padding;
75
- }
76
-
77
- // Table head and foot
78
- thead,
79
- tfoot {
80
- background: $table-head-background;
81
- color: $table-head-font-color;
82
-
83
- // Rows within head and foot
84
- tr {
85
- background: transparent;
86
- }
87
-
88
- // Cells within head and foot
89
- th,
90
- td {
91
- padding: $table-padding;
92
- font-weight: $global-weight-bold;
93
- text-align: #{$global-left};
94
- }
95
- }
96
-
97
- // Table rows
98
- tbody {
99
- tr {
100
- // If stripe is set to even, darken the even rows.
101
- @if $stripe == even {
102
- &:nth-child(even) {
103
- background-color: $table-striped-background;
104
- }
105
- }
106
-
107
- // If stripe is set to odd, darken the odd rows.
108
- @else if $stripe == odd {
109
- &:nth-child(odd) {
110
- background-color: $table-striped-background;
111
- }
112
- }
113
- }
114
-
115
- th,
116
- td {
117
- padding: $table-padding;
118
- }
119
- }
120
- }
121
-
122
- /// Adds the general styles for tables.
123
- /// @param {Keyword} $stripe [$table-stripe] - Uses keywords even, odd, or none to darken rows of the table. The default value is even.
124
- @mixin table(
125
- $stripe: $table-stripe,
126
- $nest: false
127
- ) {
128
- width: 100%;
129
- margin-bottom: $global-margin;
130
- border-radius: $global-radius;
131
-
132
- @if $nest {
133
- @include -zf-table-children-styles($stripe);
134
- }
135
- @else {
136
- @at-root {
137
- @include -zf-table-children-styles($stripe);
138
- }
139
- }
140
- }
141
-
142
- /// Adds the ability to horizontally scroll the table when the content overflows horizontally.
143
- @mixin table-scroll {
144
- display: block;
145
- width: 100%;
146
- overflow-x: auto;
147
- }
148
-
149
- /// Slightly darkens the table rows on hover.
150
- @mixin table-hover {
151
- tr {
152
- //Darkens the non-striped table rows on hover.
153
- &:hover {
154
- background-color: $table-row-hover;
155
- }
156
-
157
- //Darkens the even striped table rows.
158
- @if($table-stripe == even) {
159
- &:nth-of-type(even):hover {
160
- background-color: $table-row-stripe-hover;
161
- }
162
- }
163
-
164
- //Darkens the odd striped table rows.
165
- @elseif($table-stripe == odd) {
166
- &:nth-of-type(odd):hover {
167
- background-color: $table-row-stripe-hover;
168
- }
169
- }
170
- }
171
- }
172
-
173
- /// Adds styles for a stacked table. Useful for small-screen layouts.
174
- /// @param {Boolean} $header [$show-header-for-stacked] - Show the first th of header when stacked.
175
- @mixin table-stack($header: $show-header-for-stacked) {
176
- @if $header {
177
- thead {
178
- th:first-child {
179
- display: block;
180
- }
181
-
182
- th {
183
- display: none;
184
- }
185
- }
186
- }
187
- @else {
188
- thead {
189
- display: none;
190
- }
191
- }
192
-
193
- tfoot {
194
- display: none;
195
- }
196
-
197
- tr,
198
- th,
199
- td {
200
- display: block;
201
- }
202
-
203
- td {
204
- border-top: 0;
205
- }
206
- }
207
-
208
- @mixin foundation-table($nest: false) {
209
- table {
210
- @include table($nest: $nest);
211
- }
212
-
213
- table.stack {
214
- @include breakpoint(medium down) {
215
- @include table-stack;
216
- }
217
- }
218
-
219
- table.scroll {
220
- @include table-scroll;
221
- }
222
-
223
- table.hover {
224
- @include table-hover;
225
- }
226
-
227
- .table-scroll {
228
- overflow-x: auto;
229
-
230
- table {
231
- width: auto;
232
- }
233
- }
234
- }