classic-jekyll-theme 1.9.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -359
  3. data/_data/setup.yml +62 -10
  4. data/_data/text-for.yml +3 -0
  5. data/_includes/banner-area.html +57 -0
  6. data/_includes/banner-icon.html +23 -0
  7. data/_includes/banner-title-area.html +30 -0
  8. data/_includes/cblock-row.html +15 -3
  9. data/_includes/cblock.html +16 -1
  10. data/_includes/disqus-comments.html +39 -0
  11. data/_includes/footer.html +11 -0
  12. data/_includes/google-analytics.html +18 -8
  13. data/_includes/head.html +71 -30
  14. data/_includes/menubar-icon.html +23 -0
  15. data/_includes/menubar.html +428 -0
  16. data/_includes/secondary-column.html +30 -9
  17. data/_includes/tertiary-column.html +7 -3
  18. data/_includes/vertical-menu.html +284 -0
  19. data/_includes/widgets/browser-info.html +5 -2
  20. data/_includes/widgets/categories.html +21 -0
  21. data/_includes/widgets/cookie-consent.html +10 -10
  22. data/_includes/widgets/older-posts.html +63 -42
  23. data/_includes/widgets/recent-posts.html +14 -8
  24. data/_includes/widgets/social-media-res/icon-github.html +7 -1
  25. data/_includes/widgets/social-media-res/icon-github.svg +1 -1
  26. data/_includes/widgets/social-media-res/icon-twitter.html +7 -1
  27. data/_includes/widgets/social-media-res/icon-twitter.svg +1 -1
  28. data/_includes/widgets/social-media.html +19 -10
  29. data/_includes/widgets/subscribe.html +9 -4
  30. data/_includes/widgets/youtube-player.html +8 -8
  31. data/_layouts/banner-layout.html +1 -0
  32. data/_layouts/category-page.html +33 -33
  33. data/_layouts/content-blocks.html +1 -3
  34. data/_layouts/default.html +129 -55
  35. data/_layouts/home.html +4 -4
  36. data/_layouts/page.html +13 -12
  37. data/_layouts/post.html +13 -12
  38. data/_sass/classic-jekyll-theme.scss +1143 -155
  39. data/_sass/classic/_banner-area.scss +548 -0
  40. data/_sass/classic/_body.scss +15 -0
  41. data/_sass/classic/_columns.scss +122 -0
  42. data/_sass/classic/{_support.scss → _custom.scss} +12 -4
  43. data/_sass/classic/_footer.scss +31 -0
  44. data/_sass/classic/_menubar.scss +509 -0
  45. data/_sass/classic/_normalize-override.scss +9 -9
  46. data/_sass/classic/_normalize.scss +13 -27
  47. data/_sass/classic/_page.scss +1 -1
  48. data/_sass/classic/_post.scss +1 -1
  49. data/_sass/classic/_theme-internal.scss +37 -0
  50. data/_sass/classic/_theme-library.scss +85 -0
  51. data/_sass/classic/_vertical-menu.scss +237 -0
  52. data/_sass/classic/_widgets.scss +88 -0
  53. data/assets/img/banner-area-layout.png +0 -0
  54. data/assets/img/cog-wheels-120x68.png +0 -0
  55. data/assets/img/cog-wheels-240x135.png +0 -0
  56. data/assets/img/cog-wheels-30x17.png +0 -0
  57. data/assets/img/cog-wheels-60x43.png +0 -0
  58. data/assets/img/column-panel-layout.png +0 -0
  59. data/assets/img/test-pattern-110x83.png +0 -0
  60. data/assets/img/test-pattern-1280x800.png +0 -0
  61. data/assets/img/test-pattern-220x165.png +0 -0
  62. data/assets/img/test-pattern-55x42.png +0 -0
  63. data/assets/img/test-pattern-640x400.png +0 -0
  64. data/assets/img/top-level-layout.png +0 -0
  65. data/icons/android-chrome-192x192.png +0 -0
  66. data/icons/apple-touch-icon.png +0 -0
  67. data/icons/browserconfig.xml +9 -0
  68. data/icons/favicon-16x16.png +0 -0
  69. data/icons/favicon-32x32.png +0 -0
  70. data/icons/favicon.ico +0 -0
  71. data/icons/manifest.json +13 -0
  72. data/icons/mstile-150x150.png +0 -0
  73. data/icons/safari-pinned-tab.svg +14 -0
  74. data/pages/about/about.md +4 -1
  75. data/pages/classic/01-features.md +36 -0
  76. data/pages/classic/02-setup.md +113 -0
  77. data/pages/classic/03-pages-and-posts.md +21 -0
  78. data/pages/classic/04-posts.md +18 -0
  79. data/pages/classic/05-menus.md +122 -0
  80. data/pages/classic/06-categories.md +38 -0
  81. data/pages/classic/07-terminology.md +35 -0
  82. data/pages/classic/08-versioning.md +23 -0
  83. data/pages/contact/contact.md +7 -2
  84. data/pages/jekyll/01-jekyll.md +42 -0
  85. data/pages/jekyll/02-speed.md +88 -0
  86. data/pages/jekyll/03-ruby.md +19 -0
  87. data/pages/layouts/banner-main.md +36 -0
  88. data/pages/{other → layouts}/blocks.md +4 -3
  89. data/pages/layouts/landing-page.md +21 -0
  90. data/pages/layouts/no-sec-no-ter.md +28 -0
  91. data/pages/layouts/sec-left-no-ter.md +28 -0
  92. data/pages/layouts/sec-left-ter-right.md +28 -0
  93. data/pages/layouts/sec-right-no-ter.md +28 -0
  94. data/pages/layouts/sec-right-ter-left.md +28 -0
  95. data/pages/{more/more.md → menus/landing-page.md} +2 -5
  96. data/pages/menus/submenu-subsections.md +72 -0
  97. data/pages/menus/submenu1.md +22 -0
  98. data/pages/menus/submenu2.md +21 -0
  99. data/pages/menus/submenu3.md +30 -0
  100. metadata +72 -24
  101. data/_includes/disqus_comments.html +0 -25
  102. data/_includes/navbanner.html +0 -232
  103. data/_layouts/navbanner-layout.html +0 -1
  104. data/_sass/classic/_formatting.scss +0 -336
  105. data/_sass/classic/_layout.scss +0 -331
  106. data/_sass/classic/_widget-support.scss +0 -42
  107. data/navbanner.md +0 -5
  108. data/pages/classic/categories.md +0 -13
  109. data/pages/classic/classic.md +0 -12
  110. data/pages/classic/known-problems.md +0 -14
  111. data/pages/classic/pages.md +0 -23
  112. data/pages/classic/posts.md +0 -19
  113. data/pages/other/example-page.md +0 -12
  114. data/pages/other/other.md +0 -10
@@ -0,0 +1,548 @@
1
+ #banner-menu-symbol {
2
+
3
+ // Don't display the checkbox
4
+ display: none;
5
+
6
+ // When selected, display the menu bar and bottom separator
7
+ &:checked ~ {
8
+ @include narrow-layout {
9
+ .banner-area .menubar {
10
+ @if $menubar-enabled-narrow { display: flex; } @else { display: none; }
11
+ }
12
+ .banner-area .menubar-bottom-separator,
13
+ .banner-area .add-to-banner-area-height {
14
+ @if $menubar-bottom-separator-enabled-narrow { display: block; } @else { display: none; }
15
+ }
16
+ }
17
+ @include medium-layout {
18
+ @if $banner-menu-symbol-enabled-medium {
19
+ .banner-area .menubar { display: none; }
20
+ .banner-area .menubar-bottom-separator,
21
+ .banner-area .add-to-banner-area-height { display: none }
22
+ } @else {
23
+ .banner-area .menubar {
24
+ @if $menubar-enabled-medium { display: flex; } @else { display: none; }
25
+ }
26
+ .banner-area .menubar-bottom-separator,
27
+ .banner-area .add-to-banner-area-height {
28
+ @if $menubar-bottom-separator-enabled-medium { display: block; } @else { display: none; }
29
+ }
30
+ }
31
+ }
32
+ @include widest-layout {
33
+ @if $banner-menu-symbol-enabled-widest {
34
+ .banner-area .menubar { display: none; }
35
+ .banner-area .menubar-bottom-separator,
36
+ .banner-area .add-to-banner-area-height { display: none }
37
+ } @else {
38
+ .banner-area .menubar {
39
+ @if $menubar-enabled-widest { display: flex; } @else { display: none; }
40
+ }
41
+ .banner-area .menubar-bottom-separator,
42
+ .banner-area .add-to-banner-area-height {
43
+ @if $menubar-bottom-separator-enabled-widest { display: block; } @else { display: none; }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+
50
+ .banner-area {
51
+
52
+ // Layout
53
+ width: 100%;
54
+
55
+ .banner {
56
+
57
+ // Sizing: The container occupies the entire width and height as specified
58
+ width: 100%;
59
+ @include narrow-layout { @if $banner-enabled-narrow { height: $banner-height-narrow; } }
60
+ @include medium-layout { @if $banner-enabled-medium { height: $banner-height-medium; } }
61
+ @include widest-layout { @if $banner-enabled-widest { height: $banner-height-widest; } }
62
+
63
+ // background
64
+ @include narrow-layout { background: $banner-background-narrow; }
65
+ @include medium-layout { background: $banner-background-medium; }
66
+ @include widest-layout { background: $banner-background-widest; }
67
+
68
+ z-index: 1;
69
+ }
70
+
71
+ .icon-container {
72
+
73
+ // Sizing: This is an overlay container over the entire banner
74
+ @extend .overlay;
75
+ @include narrow-layout { height: $banner-height-narrow; }
76
+ @include medium-layout { height: $banner-height-medium; }
77
+ @include widest-layout { height: $banner-height-widest; }
78
+
79
+ // Display or not
80
+ @include narrow-layout {
81
+ @if ($banner-enabled-narrow and $banner-icon-enabled-narrow) { display: flex; }
82
+ @else { display: none; }
83
+ }
84
+ @include medium-layout {
85
+ @if ($banner-enabled-medium and $banner-icon-enabled-medium) { display: flex; }
86
+ @else { display: none; }
87
+ }
88
+ @include widest-layout {
89
+ @if ($banner-enabled-widest and $banner-icon-enabled-widest) { display: flex; }
90
+ @else { display: none; }
91
+ }
92
+
93
+ // Position the icon
94
+ @include narrow-layout {
95
+ justify-content: $banner-icon-justify-content-narrow;
96
+ align-items: $banner-icon-align-items-narrow;
97
+ }
98
+ @include medium-layout {
99
+ justify-content: $banner-icon-justify-content-medium;
100
+ align-items: $banner-icon-align-items-medium;
101
+ }
102
+ @include widest-layout {
103
+ justify-content: $banner-icon-justify-content-widest;
104
+ align-items: $banner-icon-align-items-widest;
105
+ }
106
+
107
+ // Ordering
108
+ @include narrow-layout { z-index: $banner-icon-z-index-narrow; }
109
+ @include medium-layout { z-index: $banner-icon-z-index-medium; }
110
+ @include widest-layout { z-index: $banner-icon-z-index-widest; }
111
+
112
+
113
+ .banner-icon {
114
+
115
+ // Position tweaks
116
+ @include narrow-layout { padding: $banner-icon-padding-narrow; }
117
+ @include medium-layout { padding: $banner-icon-padding-medium; }
118
+ @include widest-layout { padding: $banner-icon-padding-widest; }
119
+
120
+ // Sizing
121
+ @include narrow-layout { width: $banner-icon-width-narrow; }
122
+ @include medium-layout { width: $banner-icon-width-medium; }
123
+ @include widest-layout { width: $banner-icon-width-widest; }
124
+
125
+ @include narrow-layout { height: $banner-icon-height-narrow; }
126
+ @include medium-layout { height: $banner-icon-height-medium; }
127
+ @include widest-layout { height: $banner-icon-height-widest; }
128
+
129
+ // Content (icon image)
130
+ @include narrow-layout { content: $banner-icon-url-narrow; }
131
+ @include medium-layout { content: $banner-icon-url-medium; }
132
+ @include widest-layout { content: $banner-icon-url-widest; }
133
+
134
+ // Background
135
+ @include narrow-layout { background: $banner-icon-background-narrow; }
136
+ @include medium-layout { background: $banner-icon-background-medium; }
137
+ @include widest-layout { background: $banner-icon-background-widest; }
138
+ }
139
+ }
140
+
141
+ .title-area-container {
142
+
143
+ // Sizing: This is an overlay container over the entire banner
144
+ @extend .overlay;
145
+ @include narrow-layout { height: $banner-height-narrow; }
146
+ @include medium-layout { height: $banner-height-medium; }
147
+ @include widest-layout { height: $banner-height-widest; }
148
+
149
+ // Display or not
150
+ @include narrow-layout {
151
+ @if ($banner-enabled-narrow and ($banner-title-enabled-narrow or $banner-subtitle-enabled-narrow)) { display: flex; }
152
+ @else { display: none; }
153
+ }
154
+ @include medium-layout {
155
+ @if ($banner-enabled-medium and ($banner-title-enabled-medium or $banner-subtitle-enabled-medium)) { display: flex; }
156
+ @else { display: none; }
157
+ }
158
+ @include widest-layout {
159
+ @if ($banner-enabled-widest and ($banner-title-enabled-widest or $banner-subtitle-enabled-widest)) { display: flex; }
160
+ @else { display: none; }
161
+ }
162
+
163
+ // Ordering
164
+ @include narrow-layout { z-index: $banner-title-area-z-index-narrow; }
165
+ @include medium-layout { z-index: $banner-title-area-z-index-medium; }
166
+ @include widest-layout { z-index: $banner-title-area-z-index-widest; }
167
+
168
+ // Position the title area
169
+ @include narrow-layout {
170
+ justify-content: $banner-title-area-justify-content-narrow;
171
+ align-items: $banner-title-area-align-items-narrow;
172
+ }
173
+ @include medium-layout {
174
+ justify-content: $banner-title-area-justify-content-medium;
175
+ align-items: $banner-title-area-align-items-medium;
176
+ }
177
+ @include widest-layout {
178
+ justify-content: $banner-title-area-justify-content-widest;
179
+ align-items: $banner-title-area-align-items-widest;
180
+ }
181
+
182
+ .title-area {
183
+
184
+ // Sizing
185
+ @include narrow-layout {
186
+ width: $banner-title-area-width-narrow;
187
+ height: $banner-title-area-height-narrow;
188
+ }
189
+ @include medium-layout {
190
+ width: $banner-title-area-width-medium;
191
+ height: $banner-title-area-height-medium;
192
+ }
193
+ @include widest-layout {
194
+ width: $banner-title-area-width-widest;
195
+ height: $banner-title-area-height-widest;
196
+ }
197
+
198
+ // Positioning of title and subtitle
199
+ display: flex;
200
+ @include narrow-layout {
201
+ flex-direction: $banner-title-subtitle-flex-direction-narrow;
202
+ justify-content: $banner-title-subtitle-justify-content-narrow;
203
+ align-items: $banner-title-subtitle-align-items-narrow;
204
+ }
205
+ @include medium-layout {
206
+ flex-direction: $banner-title-subtitle-flex-direction-medium;
207
+ justify-content: $banner-title-subtitle-justify-content-medium;
208
+ align-items: $banner-title-subtitle-align-items-medium;
209
+ }
210
+ @include widest-layout {
211
+ flex-direction: $banner-title-subtitle-flex-direction-widest;
212
+ justify-content: $banner-title-subtitle-justify-content-widest;
213
+ align-items: $banner-title-subtitle-align-items-widest;
214
+ }
215
+
216
+ // background
217
+ @include narrow-layout { background: $banner-title-area-background-narrow; }
218
+ @include medium-layout { background: $banner-title-area-background-medium; }
219
+ @include widest-layout { background: $banner-title-area-background-widest; }
220
+
221
+ // Title appearance
222
+ @include narrow-layout {
223
+ @if ($banner-title-enabled-narrow) {
224
+
225
+ .title p {
226
+
227
+ // Set the margins to zero to avoid shifts in placing.
228
+ margin: 0;
229
+
230
+ // Position fine tuning uses padding
231
+ padding: $banner-title-padding-narrow;
232
+
233
+ // Appearance of the title
234
+ font: $banner-title-font-narrow;
235
+ color: $banner-title-color-narrow;
236
+ }
237
+
238
+ } @else {
239
+
240
+ .title { display: none; }
241
+ }
242
+ }
243
+ @include medium-layout {
244
+ @if ($banner-title-enabled-medium) {
245
+
246
+ .title p {
247
+
248
+ // Set the margins to zero to avoid shifts in placing.
249
+ margin: 0;
250
+
251
+ // Position fine tuning uses padding
252
+ padding: $banner-title-padding-medium;
253
+
254
+ // Appearance of the title
255
+ font: $banner-title-font-medium;
256
+ color: $banner-title-color-medium;
257
+ }
258
+
259
+ } @else {
260
+
261
+ .title { display: none; }
262
+ }
263
+ }
264
+ @include widest-layout {
265
+ @if ($banner-title-enabled-widest) {
266
+
267
+ .title p {
268
+
269
+ // Set the margins to zero to avoid shifts in placing.
270
+ margin: 0;
271
+
272
+ // Position fine tuning uses padding
273
+ padding: $banner-title-padding-widest;
274
+
275
+ // Appearance of the title
276
+ font: $banner-title-font-widest;
277
+ color: $banner-title-color-widest;
278
+ }
279
+
280
+ } @else {
281
+
282
+ .title { display: none; }
283
+ }
284
+ }
285
+
286
+ // Subtitle appearance
287
+ @include narrow-layout {
288
+ @if ($banner-subtitle-enabled-narrow) {
289
+
290
+ .subtitle p {
291
+
292
+ // Set the margins to zero to avoid shifts in placing.
293
+ margin: 0;
294
+
295
+ // Position fine tuning uses padding
296
+ padding: $banner-subtitle-padding-narrow;
297
+
298
+ // Appearance of the title
299
+ font: $banner-subtitle-font-narrow;
300
+ color: $banner-subtitle-color-narrow;
301
+ }
302
+
303
+ } @else {
304
+
305
+ .subtitle { display: none; }
306
+ }
307
+ }
308
+ @include medium-layout {
309
+ @if ($banner-subtitle-enabled-medium) {
310
+
311
+ .subtitle p {
312
+
313
+ // Set the margins to zero to avoid shifts in placing.
314
+ margin: 0;
315
+
316
+ // Position fine tuning uses padding
317
+ padding: $banner-subtitle-padding-medium;
318
+
319
+ // Appearance of the title
320
+ font: $banner-subtitle-font-medium;
321
+ color: $banner-subtitle-color-medium;
322
+ }
323
+
324
+ } @else {
325
+
326
+ .subtitle { display: none; }
327
+ }
328
+ }
329
+ @include widest-layout {
330
+ @if ($banner-subtitle-enabled-widest) {
331
+
332
+ .subtitle p {
333
+
334
+ // Set the margins to zero to avoid shifts in placing.
335
+ margin: 0;
336
+
337
+ // Position fine tuning uses padding
338
+ padding: $banner-subtitle-padding-widest;
339
+
340
+ // Appearance of the title
341
+ font: $banner-subtitle-font-widest;
342
+ color: $banner-subtitle-color-widest;
343
+ }
344
+
345
+ } @else {
346
+
347
+ .subtitle { display: none; }
348
+ }
349
+ }
350
+ }
351
+ }
352
+
353
+ .label-container {
354
+
355
+ // The container occupies the entire banner area
356
+ @extend .overlay;
357
+ @include narrow-layout { height: $banner-height-narrow; }
358
+ @include medium-layout { height: $banner-height-medium; }
359
+ @include widest-layout { height: $banner-height-widest; }
360
+
361
+ // Display or not
362
+ @include narrow-layout {
363
+ @if ($banner-enabled-narrow and $banner-menu-symbol-enabled-narrow) { display: flex; }
364
+ @else { display: none; }
365
+ }
366
+ @include medium-layout {
367
+ @if ($banner-enabled-medium and $banner-menu-symbol-enabled-medium) { display: flex; }
368
+ @else { display: none; }
369
+ }
370
+ @include widest-layout {
371
+ @if ($banner-enabled-widest and $banner-menu-symbol-enabled-widest) { display: flex; }
372
+ @else { display: none; }
373
+ }
374
+
375
+ // Position the label (tap area)
376
+ display: flex;
377
+ @include narrow-layout {
378
+ justify-content: $banner-menu-symbol-justify-content-narrow;
379
+ align-items: $banner-menu-symbol-align-items-narrow;
380
+ }
381
+ @include medium-layout {
382
+ justify-content: $banner-menu-symbol-justify-content-medium;
383
+ align-items: $banner-menu-symbol-align-items-medium;
384
+ }
385
+ @include widest-layout {
386
+ justify-content: $banner-menu-symbol-justify-content-widest;
387
+ align-items: $banner-menu-symbol-align-items-widest;
388
+ }
389
+
390
+ // Ordering
391
+ @include narrow-layout { z-index: $banner-menu-symbol-z-index-narrow; }
392
+ @include medium-layout { z-index: $banner-menu-symbol-z-index-medium; }
393
+ @include widest-layout { z-index: $banner-menu-symbol-z-index-widest; }
394
+
395
+ label {
396
+
397
+ // Position the menu symbol
398
+ display:flex;
399
+ justify-content: center;
400
+ align-items: center;
401
+
402
+ // Insert the menu symbol
403
+ @include narrow-layout { p:after { content: $banner-menu-symbol-code-narrow; } }
404
+ @include medium-layout { p:after { content: $banner-menu-symbol-code-medium; } }
405
+ @include widest-layout { p:after { content: $banner-menu-symbol-code-widest; } }
406
+
407
+ // Size the tap area
408
+ @include narrow-layout { width: $banner-menu-symbol-tap-area-width-narrow; }
409
+ @include medium-layout { width: $banner-menu-symbol-tap-area-width-medium; }
410
+ @include widest-layout { width: $banner-menu-symbol-tap-area-width-widest; }
411
+
412
+ @include narrow-layout { height: $banner-menu-symbol-tap-area-height-narrow; }
413
+ @include medium-layout { height: $banner-menu-symbol-tap-area-height-medium; }
414
+ @include widest-layout { height: $banner-menu-symbol-tap-area-height-widest; }
415
+
416
+ // The background
417
+ @include narrow-layout { background: $banner-menu-symbol-tap-area-background-narrow; }
418
+ @include medium-layout { background: $banner-menu-symbol-tap-area-background-medium; }
419
+ @include widest-layout { background: $banner-menu-symbol-tap-area-background-widest; }
420
+
421
+ // The border
422
+ @include narrow-layout { border: $banner-menu-symbol-tap-area-border-narrow; }
423
+ @include medium-layout { border: $banner-menu-symbol-tap-area-border-medium; }
424
+ @include widest-layout { border: $banner-menu-symbol-tap-area-border-widest; }
425
+
426
+ // The label is used as checkbox-label, it should show a pointer when the mouse is above it.
427
+ cursor: pointer;
428
+
429
+ p {
430
+ // Fine tune the position of the menu symbol in the tap area
431
+ @include narrow-layout { padding: $banner-menu-symbol-padding-narrow; }
432
+ @include medium-layout { padding: $banner-menu-symbol-padding-medium; }
433
+ @include widest-layout { padding: $banner-menu-symbol-padding-widest; }
434
+
435
+ // The font
436
+ @include narrow-layout { font: $banner-menu-symbol-font-narrow; }
437
+ @include medium-layout { font: $banner-menu-symbol-font-medium; }
438
+ @include widest-layout { font: $banner-menu-symbol-font-widest; }
439
+
440
+ // The color
441
+ @include narrow-layout { color: $banner-menu-symbol-color-narrow; }
442
+ @include medium-layout { color: $banner-menu-symbol-color-medium; }
443
+ @include widest-layout { color: $banner-menu-symbol-color-widest; }
444
+ }
445
+ }
446
+ }
447
+
448
+ .menubar-top-separator {
449
+
450
+ // Use the entire width to force vertical appearance
451
+ width: 100%;
452
+
453
+ // Sizing
454
+ @include narrow-layout { height: $menubar-top-separator-height-narrow; }
455
+ @include medium-layout { height: $menubar-top-separator-height-medium; }
456
+ @include widest-layout { height: $menubar-top-separator-height-widest; }
457
+
458
+ // Appearance
459
+ @include narrow-layout { background: $menubar-top-separator-background-narrow; }
460
+ @include medium-layout { background: $menubar-top-separator-background-medium; }
461
+ @include widest-layout { background: $menubar-top-separator-background-widest; }
462
+
463
+ // Enable or disable display
464
+ @include narrow-layout {
465
+ @if $menubar-top-separator-enabled-narrow { display: block; } @else { display: none; }
466
+ }
467
+ @include medium-layout {
468
+ @if $menubar-top-separator-enabled-medium { display: block; } @else { display: none; }
469
+ }
470
+ @include widest-layout {
471
+ @if $menubar-top-separator-enabled-widest { display: block; } @else { display: none; }
472
+ }
473
+ }
474
+
475
+ .menubar-bottom-separator {
476
+
477
+ // Use the entire width to force vertical appearance
478
+ width: 100%;
479
+
480
+ // Sizing
481
+ @include narrow-layout { height: $menubar-bottom-separator-height-narrow; }
482
+ @include medium-layout { height: $menubar-bottom-separator-height-medium; }
483
+ @include widest-layout { height: $menubar-bottom-separator-height-widest; }
484
+
485
+ // Appearance
486
+ @include narrow-layout { background: $menubar-bottom-separator-background-narrow; }
487
+ @include medium-layout { background: $menubar-bottom-separator-background-medium; }
488
+ @include widest-layout { background: $menubar-bottom-separator-background-widest; }
489
+
490
+ // Enable or disable display
491
+ @include narrow-layout {
492
+ @if $menubar-bottom-separator-enabled-narrow { display: none; } @else { display: none; }
493
+ }
494
+ @include medium-layout {
495
+ @if $menubar-bottom-separator-enabled-medium { display: block; } @else { display: none; }
496
+ }
497
+ @include widest-layout {
498
+ @if $menubar-bottom-separator-enabled-widest { display: block; } @else { display: none; }
499
+ }
500
+ }
501
+
502
+ .add-to-banner-area-height {
503
+ width: 100%;
504
+ @include narrow-layout { height: $add-to-banner-area-height-narrow; }
505
+ @include medium-layout { height: $add-to-banner-area-height-medium; }
506
+ @include widest-layout { height: $add-to-banner-area-height-widest; }
507
+ }
508
+ }
509
+
510
+ // This bit is needed to fix the banner and menubar in place at the top of the screen.
511
+ //
512
+ .banner-area-outside-dom {
513
+
514
+ // Fix the banner to the top of the screen
515
+ position: fixed;
516
+ top: 0;
517
+ }
518
+
519
+ // The banner area is placed inside the DOM
520
+ //
521
+ .banner-area-in-dom {
522
+ position: relative;
523
+ }
524
+
525
+ // Added to the banner-area that is used as a placeholder to keep the column-panel from appearing below the
526
+ // banner-area. It does not seem to be necessary though. Still,it could prevent future problems, hence
527
+ //
528
+ .invisible {
529
+ width: 100%;
530
+ opacity: 0;
531
+ z-index: -1;
532
+ position: relative;
533
+ }
534
+
535
+ // For anchor links when using top-fixed banner positioning
536
+ //
537
+ .anchor::before {
538
+ display: block;
539
+ content: " ";
540
+ @include narrow-layout { margin-top: -$anchor-top-fixed-offset-narrow; }
541
+ @include narrow-layout { height: $anchor-top-fixed-offset-narrow; }
542
+ @include medium-layout { margin-top: -$anchor-top-fixed-offset-medium; }
543
+ @include medium-layout { height: $anchor-top-fixed-offset-medium; }
544
+ @include widest-layout { margin-top: -$anchor-top-fixed-offset-widest; }
545
+ @include widest-layout { height: $anchor-top-fixed-offset-widest; }
546
+ visibility: hidden;
547
+ pointer-events: none;
548
+ }