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
data/_sass/_settings.scss CHANGED
@@ -40,7 +40,7 @@
40
40
  // 35. Tooltip
41
41
  // 36. Top Bar
42
42
 
43
- @import 'foundation/util/util';
43
+ @import 'foundation-sites/scss/util/util';
44
44
 
45
45
  // 1. Global
46
46
  // ---------
@@ -366,7 +366,6 @@
366
366
  }
367
367
  }
368
368
 
369
-
370
369
  h3 {
371
370
  font-family: "Open Sans",Helvetica,Roboto,Arial,sans-serif;
372
371
  font-weight: bold;
@@ -374,6 +373,12 @@
374
373
  font-size: 1.3rem;
375
374
  }
376
375
 
376
+ h4 {
377
+ font-family: "Open Sans",Helvetica,Roboto,Arial,sans-serif;
378
+ margin-bottom: .25em;
379
+ font-size: 1.2rem;
380
+ }
381
+
377
382
  a {
378
383
  text-decoration: underline;
379
384
  }
@@ -1,5 +1,5 @@
1
1
  .c-hero {
2
- background: url('../img/miscellaneous/slider-bg.png');
2
+ // background: url('../img/miscellaneous/slider-bg.png');
3
3
  background-size: cover;
4
4
  background-position: top center;
5
5
  background-repeat: no-repeat;
@@ -28,7 +28,7 @@
28
28
  position: absolute;
29
29
  width: 452px;
30
30
  height: 413px;
31
- background: url('../img/miscellaneous/header.png');
31
+ // background: url('../img/miscellaneous/header.png');
32
32
  background-repeat: no-repeat;
33
33
  background-position: right center;
34
34
  }
@@ -20,6 +20,10 @@ $icon-ns: '';
20
20
  background: #cc0303;
21
21
  }
22
22
 
23
+ .#{$icon-ns}c-icon.#{$icon-ns}c-icon--instagram {
24
+ background: #d10869;
25
+ }
26
+
23
27
  .#{$icon-ns}c-icon.#{$icon-ns}c-icon--rounded {
24
28
  border-radius: 20px;
25
- }
29
+ }
@@ -78,6 +78,10 @@ $program-item-ns: '';
78
78
  flex-wrap: wrap;
79
79
  }
80
80
 
81
+ .#{$program-item-ns}c-program-candidates__others {
82
+ width: 100%;
83
+ }
84
+
81
85
  .#{$program-item-ns}c-program-candidates__row {
82
86
  display: flex;
83
87
  flex-direction: row;
@@ -193,6 +197,6 @@ $program-item-ns: '';
193
197
  @include candidate-landscape();
194
198
  }
195
199
 
196
- .#{$program-item-ns}c-program-candidate-badge.c-program-candidate-badge--leader + .#{$program-item-ns}c-program-candidates__row {
200
+ .#{$program-item-ns}c-program-candidate-badge.c-program-candidate-badge--leader + .#{$program-item-ns}c-program-candidates__others {
197
201
  margin-top: 1.5rem;
198
202
  }
@@ -1,491 +1,236 @@
1
- .c-top-bar {
2
- position: relative;
3
- @include top-bar-container;
4
- }
5
-
6
- .c-top-bar-border {
7
- display: block;
8
- height: 5px;
9
- margin-top: -3px;
10
- background: #f3f3f3;
11
- position: relative;
12
- z-index: 9;
13
- }
14
-
15
- .c-top-bar .c-top-bar-inner {
16
- padding: 0 30px 0 20px;
17
-
18
- @include breakpoint(large down) {
19
- padding: 0 30px 0 10px;
20
- }
21
-
22
- @include breakpoint(medium down) {
23
- padding: 0 5px;
24
- }
25
-
26
- .top-bar-title {
27
- margin-right: 4.5rem;
28
- }
29
-
30
- .top-bar-title img {
31
- width: 100px;
32
- }
33
-
34
- @include breakpoint(large) {
35
- .top-bar-title img {
36
- transform: scale(1.3);
37
- transform-origin: left center;
38
- }
39
- }
40
- }
41
-
42
- .c-top-bar {
43
-
44
- .c-top-bar-searchbar {
45
- padding-bottom: 1px;
46
- border-bottom: 1px solid #e1e1e1;
47
- }
48
-
49
- .c-top-bar-searchbar input {
50
- background: #fff;
51
- border: 0;
52
- outline: none;
53
- box-shadow: none;
54
- }
55
-
56
- .c-top-bar-searchbar button {
57
- background: #fff;
58
- color: #343434;
59
- margin-right: -1rem;
60
- padding-bottom: 1px;
61
- }
62
-
63
- /*
64
- @media screen and (min-width: 1024px) and (max-width: 1200px) {
65
- .c-top-bar-searchbar {
66
- display: none;
67
- }
68
- }
69
- */
70
- }
71
-
72
- .c-top-bar {
73
-
74
- .menu-toggle-container {
75
- float: right;
76
- }
77
-
78
- .menu-toggle-container .menu-toggle-inner {
79
- display: inline-block;
80
- padding: 0.7rem 1.25rem;
81
- font-size: 1.15rem;
82
- border: 1px solid #e1e1e1;
83
- text-transform: uppercase;
84
- transition: border 0.2s;
85
-
86
- &:hover {
87
- border: 1px solid #343434;
88
- }
89
- }
90
-
91
- .menu-toggle-container > span button {
92
- vertical-align: top;
93
- padding-bottom: 1px;
94
- @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
95
- &:active {
96
- position: relative;
97
- top: -1px;
98
- left: -1px;
99
- }
100
- }
101
- }
102
-
103
- .menu-toggle-container > span button .menu-toggle-description {
104
- vertical-align: middle;
105
- margin-right: 5px;
106
- }
107
-
108
- .menu-toggle-container > span.js-button-toggled button .menu-icon:after {
109
- box-shadow: none;
110
- background: transparent;
111
- font-family: 'FontAwesome';
112
- content: '\f00d';
113
- font-style: normal;
114
- height: 100%;
115
- top: -1px;
116
- font-size: 1.3rem;
117
- }
118
-
119
- .menu a {
120
- position: relative;
121
- color: #343434;
122
- text-transform: uppercase;
123
- font-size: 1.15rem;
124
- transition: color 0.2s;
125
- padding: 0.7rem 1.25rem;
126
-
127
- &:after {
128
- content: '';
129
- display: block;
130
- position: absolute;
131
- bottom: 0;
132
- left: 1rem;
133
- right: 1rem;
134
- height: 4px;
135
- background: transparent;
136
- transition: background 0.2s;
137
- }
138
-
139
- }
140
-
141
-
142
- .dropdown.menu > {
143
-
144
- li + li > a::before {
145
- content: '/';
146
- width: 12px;
147
- display: inline-block;
148
- position: absolute;
149
- top: 0.5rem;
150
- left: 0rem;
151
- transform: translateX(-50%);
152
- font-size: 1.7rem;
153
- color: #ededed;
154
- border: 0px solid transparent;
155
- margin-top: 0;
156
- }
157
-
158
- li:first-child a {
159
-
160
- }
161
-
162
- }
163
-
164
- .menu a:hover,
165
- .menu .is-active > a,
166
- .dropdown.menu > li.is-dropdown-submenu-parent a:hover {
167
- color: #f3c289;
168
-
169
- &:after {
170
- background: #f3c289;
171
- }
172
- }
173
-
174
- .dropdown.menu > li.is-dropdown-submenu-parent > a {
175
- padding-right: 1.25rem;
176
- }
177
-
178
- .dropdown.menu > li.is-dropdown-submenu-parent > a:after {
179
- content: '';
180
- display: block;
181
- position: absolute;
182
- width: auto;
183
- bottom: 0;
184
- left: 1rem;
185
- right: 1rem;
186
- height: 4px;
187
- background: transparent;
188
- -webkit-transition: background 0.2s;
189
- transition: background 0.2s;
190
- border: none;
191
- }
192
-
193
- .is-dropdown-submenu-parent a::after {
194
- position: absolute;
195
- top: auto;
196
- right: 1rem;
197
- margin-top: 0;
198
- }
199
-
200
- .dropdown.menu > li.opens-right > .is-dropdown-submenu {
201
- right: auto;
202
- left: 50%;
203
- top: calc(100% + 1rem);
204
- transform: translateX(-50%);
205
- padding: 1rem 0.7rem;
206
- background: #e1e1e1;
207
- border: 0;
208
-
209
- a:hover {
210
- color: darken(#f3c289, 5%);
211
- &:after {
212
- content: none;
213
- }
214
- }
215
-
216
- }
217
-
218
- .dropdown.menu > li.opens-right > .is-dropdown-submenu:before {
219
- content: '';
220
- position: absolute;
221
- top: -8px;
222
- left: 50%;
223
- transform: translateX(-50%);
224
- width: 0;
225
- height: 0;
226
- border-left: 25px solid transparent;
227
- border-right: 25px solid transparent;
228
- border-bottom: 15px solid #e1e1e1;
229
- }
230
- }
231
-
232
- [data-dropdown-menu] ul {
233
- display: none;
234
- }
235
-
236
- .c-top-bar .c-top-bar-menu {
237
- width: 100%;
238
-
239
- @include breakpoint(medium down) {
240
- display: none;
241
-
242
- .responsive-menu-inner {
243
- display: table;
244
- width: 100%;
245
- }
246
-
247
- }
248
-
249
- }
250
-
251
- .c-top-bar .c-top-bar-menu {
252
- display: none;
253
-
254
- @include breakpoint(medium down) {
255
- display: block;
256
- position: absolute;
257
- top: 100%;
258
- left: 0;
259
- right: 0;
260
- background: #e1e1e1;
261
-
262
- ul {
263
- background: #e1e1e1;
264
- }
265
-
266
- box-sizing: border-box;
267
- z-index: 10;
268
- width: 100%;
269
-
270
- .top-bar-left,
271
- .top-bar-right {
272
- float: none;
273
- }
274
-
275
- .top-bar-header-group{
276
- display: table-header-group;
277
- }
278
-
279
- .top-bar-footer-group{
280
- display: table-footer-group;
281
- }
282
-
283
- .dropdown.menu {
284
-
285
- li + li > a::before {
286
- content: '';
287
- box-sizing: border-box;
288
- width: calc(100% - 3.6rem);
289
- height: 1px;
290
- display: inline-block;
291
- position: absolute;
292
- top: 0;
293
- left: 1.8rem;
294
- transform: none;
295
- background: #d3d3d3;
296
- }
297
- }
298
-
299
- .menu li {
300
- display: block;
301
- }
302
-
303
- .menu a {
304
- }
305
-
306
- .menu a {
307
- position: relative;
308
- color: #343434;
309
- text-transform: uppercase;
310
- font-size: 1.15rem;
311
- transition: color 0.2s;
312
- padding: 1rem 1.8rem;
313
-
314
- &:before {
315
- content: none;
316
- display: block;
317
- }
318
-
319
- }
320
-
321
- .menu a:hover,
322
- .menu .is-active > a {
323
- color: #f3c289;
324
-
325
- &:before {
326
- background: #f3c289;
327
- }
328
-
329
- &:after {
330
- background: transparent;
331
- }
332
- }
333
-
334
- .dropdown.menu > li.is-dropdown-submenu-parent a:hover:after {
335
- background: transparent;
336
- }
337
-
338
- .menu li.is-dropdown-submenu-parent > a:after {
339
- content: '\f196';
340
- position: static;
341
- display: inline-block;
342
- font-size: 1rem;
343
- margin-left: 5px;
344
- font-family: 'FontAwesome';
345
- border: 0;
346
- line-height: 1;
347
- height: auto;
348
- }
349
-
350
- .menu li.is-dropdown-submenu-parent.is-active > a:after {
351
- content: '\f147';
352
- }
353
-
354
- .dropdown.menu > li > .is-dropdown-submenu.js-dropdown-active {
355
- display: block;
356
- position: static;
357
- border: 0;
358
- margin-left: 1.8rem;
359
- margin-right: 1.8rem;
360
- padding-top: 0.25rem;
361
- padding-bottom: 0.25rem;
362
- background: #ececec;
363
- border-top: 1px solid #d3d3d3;
364
- text-decoration: underline;
365
-
366
- li {
367
- padding-left: 0.5rem;
368
- }
369
-
370
- a {
371
- text-transform: none;
372
- padding: 1rem 0.5rem;
373
- &:before {
374
- visibility: hidden;
375
- }
376
- }
377
-
378
- }
379
-
380
- .dropdown.menu > li.is-dropdown-submenu-parent > a {
381
- padding-right: 1.25rem;
382
- }
383
-
384
- .dropdown.menu > li.is-dropdown-submenu-parent > a:before {
385
-
386
- }
387
-
388
- .dropdown.menu > li.opens-right > .is-dropdown-submenu {
389
- position: static;
390
- background: #ececec;
391
-
392
- a:hover {
393
- color: darken(#f3c289, 5%);
394
- &:before {
395
- content: none;
396
- }
397
- }
398
-
399
- }
400
-
401
- .dropdown.menu > li.opens-right > .is-dropdown-submenu:before {
402
- content: '';
403
- position: absolute;
404
- top: -8px;
405
- left: 50%;
406
- transform: translateX(-50%);
407
- width: 0;
408
- height: 0;
409
- border-left: 25px solid transparent;
410
- border-right: 25px solid transparent;
411
- border-bottom: 15px solid #e1e1e1;
412
- }
413
-
414
- }
415
-
416
- }
417
-
418
-
419
- .c-top-bar {
420
-
421
- .menu.c-top-bar-searchbar.c-top-bar-searchbar--asTitle {
422
- display: inline-block;
423
- float: left;
424
- width: auto;
425
- padding: 0;
426
- }
427
-
428
- @include breakpoint(large) {
429
- .menu.c-top-bar-searchbar.c-top-bar-searchbar--asTitle {
430
- display: inline-block;
431
- float: right;
432
- padding-bottom: 1px;
433
- }
434
-
435
- }
436
-
437
- @include breakpoint(large) {
438
- .c-top-bar-menu .top-bar-left > .menu > li:first-child a {
439
- padding-left: 0rem;
440
-
441
- &:after {
442
- left: 0rem;
443
- }
444
- }
445
- }
446
-
447
- @include breakpoint(xlarge) {
448
- .c-top-bar-menu .top-bar-left > .menu > li:first-child a {
449
- padding-left: 0.65rem;
450
-
451
- &:after {
452
- left: 0.65rem;
453
- }
454
- }
455
- }
456
-
457
- @include breakpoint(medium down) {
458
-
459
- .c-top-bar-searchbar.menu {
460
- display: table;
461
- width: 100%;
462
- padding: 20px 1.8rem 10px 1.8rem;
463
- }
464
-
465
- .c-top-bar-searchbar.menu li {
466
- display: table-cell;
467
- height: 40px;
468
- background: #fff;
469
- }
470
-
471
- .c-top-bar-searchbar input {
472
- max-width: none;
473
- }
474
-
475
- .c-top-bar-searchbar .c-top-bar-searchbar__submit {
476
- width: 40px;
477
-
478
- button {
479
- padding: 0em 1em;
480
- font-size: 1.1rem;
481
- margin-right: 0;
482
- }
483
- }
484
-
485
- .c-top-bar-searchbar input,
486
- .c-top-bar-searchbar button {
487
- height: 100%;
488
- }
489
- }
490
-
491
- }
1
+ .c-search {
2
+ display: flex;
3
+ align-items: center;
4
+ border-bottom: 1px $medium-gray solid;
5
+ }
6
+
7
+ .c-search__input {
8
+ border: 0;
9
+ margin: 0;
10
+ box-shadow: none;
11
+
12
+ &:focus {
13
+ border: 0;
14
+ box-shadow: none;
15
+ }
16
+ }
17
+
18
+ .c-search__confirm {
19
+ padding: 0em 1em;
20
+ font-size: 1.1rem;
21
+ }
22
+
23
+ .c-responsive-menu-toggle {
24
+ display: inline-block;
25
+ font-size: 1.15rem;
26
+ border: 1px solid $medium-gray;
27
+ transition: border .2s;
28
+ }
29
+ .c-responsive-menu-toogle__button {
30
+ display: flex;
31
+ align-items: center;
32
+ padding: 0.7rem 1.25rem;
33
+ }
34
+
35
+ .c-responsive-menu-toggle__caption {
36
+ margin-right: .25rem;
37
+ text-transform: uppercase;
38
+ }
39
+
40
+ .c-responsive-menu {
41
+ display: block;
42
+ padding: .5rem 0;
43
+
44
+ @include breakpoint(medium down) {
45
+ position: absolute;
46
+ top: 100%;
47
+ left: 0;
48
+ z-index: 10;
49
+ background: $light-gray;
50
+
51
+ width: calc(100% + 2.5rem);
52
+ margin-left: -1.25rem;
53
+ margin-right: -1.25rem;
54
+ }
55
+
56
+ @include breakpoint(small down) {
57
+ width: calc(100% + 1.25rem);
58
+ margin-left: -0.625rem;
59
+ margin-right: -0.625rem;
60
+ }
61
+ }
62
+
63
+ .c-responsive-menu__items {
64
+ list-style-type: none;
65
+ margin: 0;
66
+ }
67
+
68
+ .c-responsive-menu__item {
69
+ display: inline-block;
70
+
71
+ @include breakpoint(medium down) {
72
+ display: block;
73
+ }
74
+ }
75
+
76
+ .c-responsive-menu__item a {
77
+ display: block;
78
+ position: relative;
79
+ color: map-get($foundation-palette, dark);
80
+ text-transform: uppercase;
81
+ font-size: 1.15rem;
82
+ transition: color 0.2s;
83
+ padding: 0.7rem 1.25rem;
84
+
85
+ @include breakpoint(medium down) {
86
+ padding: 1rem 1.8rem;
87
+ }
88
+ }
89
+
90
+ // Highlight active item in the menu.
91
+ .c-responsive-menu__item--active a,
92
+ .c-responsive-menu__item a:hover, {
93
+ color: map-get($foundation-palette, warning);
94
+ }
95
+
96
+ // On mobile view, display a divider between items.
97
+ .c-responsive-menu__item:not(:first-child) a {
98
+ @include breakpoint(medium down) {
99
+ &:before {
100
+ content: '';
101
+ box-sizing: border-box;
102
+ width: calc(100% - 3.6rem);
103
+ height: 1px;
104
+ display: inline-block;
105
+ position: absolute;
106
+ top: 0;
107
+ left: 1.8rem;
108
+ transform: none;
109
+ background: #d3d3d3;
110
+ }
111
+ }
112
+ }
113
+
114
+ // On desktop view, display 'underline' block under the menu link.
115
+ .c-responsive-menu__item a {
116
+ @include breakpoint(large) {
117
+ &:after {
118
+ content: '';
119
+ display: block;
120
+ position: absolute;
121
+ bottom: 0;
122
+ left: 1rem;
123
+ right: 1rem;
124
+ height: 4px;
125
+ background: transparent;
126
+ transition: background 0.2s;
127
+ }
128
+ }
129
+ }
130
+
131
+ // Highlights underline block when item is active.
132
+ .c-responsive-menu__item a:hover:after,
133
+ .c-responsive-menu__item--active a:after {
134
+ background: map-get($foundation-palette, warning);
135
+ }
136
+
137
+ // Display '/' divider between menu items on desktop view.
138
+ .c-responsive-menu__item + .c-responsive-menu__item a {
139
+ @include breakpoint(large) {
140
+ &:before {
141
+ content: '/';
142
+ width: 12px;
143
+ display: inline-block;
144
+ position: absolute;
145
+ top: 0.25rem;
146
+ left: 0;
147
+ transform: translateX(-50%);
148
+ font-size: 1.7rem;
149
+ color: $medium-gray;
150
+ border: 0px solid transparent;
151
+ margin-top: 0;
152
+ }
153
+ }
154
+ }
155
+
156
+ .c-top-bar {
157
+ position: relative;
158
+ display: flex;
159
+ align-items: center;
160
+
161
+ @include breakpoint(large) {
162
+ padding: .5rem;
163
+ }
164
+
165
+ @include breakpoint(medium down) {
166
+ padding: 1.5rem 1rem;
167
+ }
168
+ }
169
+
170
+ // Brand goes first.
171
+ .c-top-bar__brand {
172
+ order: 1;
173
+ width: 130px; // a little bit bigger on large screens
174
+ flex-shrink: 0;
175
+ display: flex;
176
+ align-items: center;
177
+ margin-right: 1.5rem;
178
+
179
+ @include breakpoint(medium down) {
180
+ width: 115px;
181
+ }
182
+
183
+ @include breakpoint(small down) {
184
+ display: none;
185
+ }
186
+ }
187
+
188
+ // Responsive menu is second.
189
+ .c-top-bar .c-responsive-menu {
190
+ order: 2;
191
+ }
192
+
193
+ // Search is last.
194
+ .c-top-bar__search {
195
+ order: 3;
196
+
197
+ @include breakpoint(large) {
198
+ flex: 1; // search spreads to available space
199
+ max-width: 200px; // ... but max 200px
200
+ margin-left: auto;
201
+ }
202
+
203
+ @include breakpoint(medium down) {
204
+ flex: 1;
205
+ margin-right: 1.5rem;
206
+ }
207
+
208
+ .c-search {
209
+ @include breakpoint(large) {
210
+ margin: 1rem 0;
211
+ }
212
+
213
+ // On large screen, search confirm is at the very right of the container.
214
+ // @see: order: 3.
215
+ .c-search__confirm {
216
+ @include breakpoint(large) {
217
+ padding-right: 0;
218
+ }
219
+ }
220
+ }
221
+ }
222
+
223
+ .c-top-bar .c-responsive-menu-toggle {
224
+ order: 4;
225
+ }
226
+
227
+ // Divides top bar from the rest of the page.
228
+ .c-top-bar__divider {
229
+ display: block;
230
+ height: 5px;
231
+ margin-top: -3px;
232
+ background: $light-gray;
233
+ position: relative;
234
+ z-index: 9;
235
+ }
236
+