swiftfire-jekyll-theme 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +23 -0
- data/README.md +107 -0
- data/_data/cblocks.yml +31 -0
- data/_data/setup.yml +135 -0
- data/_data/text-for.yml +53 -0
- data/_includes/account-menus.html +82 -0
- data/_includes/banner-area.html +57 -0
- data/_includes/banner-icon.html +23 -0
- data/_includes/banner-title-area.html +30 -0
- data/_includes/cblock-row.html +18 -0
- data/_includes/cblock.html +20 -0
- data/_includes/disqus-comments.html +39 -0
- data/_includes/footer.html +16 -0
- data/_includes/google-analytics.html +21 -0
- data/_includes/head.html +74 -0
- data/_includes/menubar-icon.html +23 -0
- data/_includes/menubar.html +487 -0
- data/_includes/secondary-column.html +37 -0
- data/_includes/tertiary-column.html +8 -0
- data/_includes/vertical-menu.html +378 -0
- data/_includes/widgets/browser-info.html +16 -0
- data/_includes/widgets/categories.html +32 -0
- data/_includes/widgets/cookie-consent.html +21 -0
- data/_includes/widgets/older-posts.html +71 -0
- data/_includes/widgets/recent-posts.html +24 -0
- data/_includes/widgets/social-media-res/icon-github.html +7 -0
- data/_includes/widgets/social-media-res/icon-github.svg +1 -0
- data/_includes/widgets/social-media-res/icon-twitter.html +7 -0
- data/_includes/widgets/social-media-res/icon-twitter.svg +1 -0
- data/_includes/widgets/social-media.html +29 -0
- data/_includes/widgets/subscribe.html +18 -0
- data/_includes/widgets/youtube-player.html +38 -0
- data/_layouts/banner-layout.html +1 -0
- data/_layouts/category-page.html +51 -0
- data/_layouts/content-blocks.html +6 -0
- data/_layouts/default.html +152 -0
- data/_layouts/home.html +22 -0
- data/_layouts/page.html +30 -0
- data/_layouts/post.html +20 -0
- data/_sass/classic-jekyll-theme.scss +1178 -0
- data/_sass/classic/_banner-area.scss +552 -0
- data/_sass/classic/_body.scss +15 -0
- data/_sass/classic/_columns.scss +122 -0
- data/_sass/classic/_custom.scss +138 -0
- data/_sass/classic/_footer.scss +31 -0
- data/_sass/classic/_menubar.scss +530 -0
- data/_sass/classic/_normalize-override.scss +22 -0
- data/_sass/classic/_normalize.scss +447 -0
- data/_sass/classic/_page.scss +12 -0
- data/_sass/classic/_post.scss +10 -0
- data/_sass/classic/_swiftfire.scss +54 -0
- data/_sass/classic/_syntax-highlighting.scss +71 -0
- data/_sass/classic/_theme-internal.scss +37 -0
- data/_sass/classic/_theme-library.scss +85 -0
- data/_sass/classic/_vertical-menu.scss +252 -0
- data/_sass/classic/_widgets.scss +88 -0
- data/assets/img/banner-area-layout.png +0 -0
- data/assets/img/cog-wheels-120x68.png +0 -0
- data/assets/img/cog-wheels-240x135.png +0 -0
- data/assets/img/cog-wheels-30x17.png +0 -0
- data/assets/img/cog-wheels-60x43.png +0 -0
- data/assets/img/column-panel-layout.png +0 -0
- data/assets/img/test-pattern-110x83.png +0 -0
- data/assets/img/test-pattern-1280x800.png +0 -0
- data/assets/img/test-pattern-220x165.png +0 -0
- data/assets/img/test-pattern-55x42.png +0 -0
- data/assets/img/test-pattern-640x400.png +0 -0
- data/assets/img/top-level-layout.png +0 -0
- data/assets/js/cookieconsent.min.js +1 -0
- data/assets/main.scss +9 -0
- data/assets/templates/comment-section.sf.html +137 -0
- data/assets/templates/email-verification-text.sf.html +6 -0
- data/assets/templates/request-new-password-text.sf.txt +7 -0
- data/icons/android-chrome-192x192.png +0 -0
- data/icons/apple-touch-icon.png +0 -0
- data/icons/browserconfig.xml +9 -0
- data/icons/favicon-16x16.png +0 -0
- data/icons/favicon-32x32.png +0 -0
- data/icons/favicon.ico +0 -0
- data/icons/manifest.json +13 -0
- data/icons/mstile-150x150.png +0 -0
- data/icons/safari-pinned-tab.svg +14 -0
- data/pages/about/about.md +15 -0
- data/pages/account/comment-edit.sf.md +60 -0
- data/pages/account/comment-review.sf.md +80 -0
- data/pages/account/email-verification-failed.sf.md +11 -0
- data/pages/account/email-verification-success.sf.md +7 -0
- data/pages/account/error.sf.md +13 -0
- data/pages/account/forgot-password-continue.sf.md +9 -0
- data/pages/account/forgot-password.sf.md +25 -0
- data/pages/account/login.sf.md +19 -0
- data/pages/account/not-allowed.sf.md +7 -0
- data/pages/account/register-continue.sf.md +11 -0
- data/pages/account/register.sf.md +30 -0
- data/pages/account/request-new-password-failed.sf.md +13 -0
- data/pages/account/set-new-password-success.sf.md +7 -0
- data/pages/account/set-new-password.sf.md +25 -0
- data/pages/categories/classic.md +10 -0
- data/pages/categories/example.md +10 -0
- data/pages/categories/jekyll.md +10 -0
- data/pages/categories/update.md +10 -0
- data/pages/classic/01-features.md +36 -0
- data/pages/classic/02-setup.md +113 -0
- data/pages/classic/03-pages-and-posts.md +25 -0
- data/pages/classic/04-posts.md +18 -0
- data/pages/classic/05-menus.md +118 -0
- data/pages/classic/06-categories.md +38 -0
- data/pages/classic/07-terminology.md +35 -0
- data/pages/classic/08-versioning.md +23 -0
- data/pages/classic/09-problems.md +25 -0
- data/pages/contact/contact.md +18 -0
- data/pages/cookie-consent/cookie-consent.md +7 -0
- data/pages/download/download.md +10 -0
- data/pages/jekyll/01-jekyll.md +42 -0
- data/pages/jekyll/02-speed.md +88 -0
- data/pages/jekyll/03-ruby.md +19 -0
- data/pages/jekyll/04-cron-job.md +163 -0
- data/pages/layouts/banner-main.md +36 -0
- data/pages/layouts/blocks.md +11 -0
- data/pages/layouts/landing-page.md +21 -0
- data/pages/layouts/no-sec-no-ter.md +28 -0
- data/pages/layouts/sec-left-no-ter.md +28 -0
- data/pages/layouts/sec-left-ter-right.md +28 -0
- data/pages/layouts/sec-right-no-ter.md +28 -0
- data/pages/layouts/sec-right-ter-left.md +28 -0
- data/pages/menus/external-url.md +28 -0
- data/pages/menus/landing-page.md +8 -0
- data/pages/menus/submenu-subsections.md +72 -0
- data/pages/menus/submenu1.md +22 -0
- data/pages/menus/submenu2.md +21 -0
- data/pages/menus/submenu3.md +47 -0
- data/pages/menus/submenu4.md +36 -0
- data/pages/menus/subsubmenu3-1.md +21 -0
- data/pages/menus/subsubmenu3-2.md +21 -0
- data/pages/menus/subsubmenu4-1.md +31 -0
- data/pages/menus/subsubmenu4-2.md +31 -0
- metadata +269 -0
|
@@ -0,0 +1,552 @@
|
|
|
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
|
+
// Background
|
|
130
|
+
@include narrow-layout { background: $banner-icon-background-narrow; }
|
|
131
|
+
@include medium-layout { background: $banner-icon-background-medium; }
|
|
132
|
+
@include widest-layout { background: $banner-icon-background-widest; }
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Content (icon image)
|
|
136
|
+
// Note: Firefox needs the 'after' attribute to display the icon. Other browsers seem fine without it.
|
|
137
|
+
// Issue no 19.
|
|
138
|
+
.banner-icon::after {
|
|
139
|
+
@include narrow-layout { content: $banner-icon-url-narrow; }
|
|
140
|
+
@include medium-layout { content: $banner-icon-url-medium; }
|
|
141
|
+
@include widest-layout { content: $banner-icon-url-widest; }
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.title-area-container {
|
|
146
|
+
|
|
147
|
+
// Sizing: This is an overlay container over the entire banner
|
|
148
|
+
@extend .overlay;
|
|
149
|
+
@include narrow-layout { height: $banner-height-narrow; }
|
|
150
|
+
@include medium-layout { height: $banner-height-medium; }
|
|
151
|
+
@include widest-layout { height: $banner-height-widest; }
|
|
152
|
+
|
|
153
|
+
// Display or not
|
|
154
|
+
@include narrow-layout {
|
|
155
|
+
@if ($banner-enabled-narrow and ($banner-title-enabled-narrow or $banner-subtitle-enabled-narrow)) { display: flex; }
|
|
156
|
+
@else { display: none; }
|
|
157
|
+
}
|
|
158
|
+
@include medium-layout {
|
|
159
|
+
@if ($banner-enabled-medium and ($banner-title-enabled-medium or $banner-subtitle-enabled-medium)) { display: flex; }
|
|
160
|
+
@else { display: none; }
|
|
161
|
+
}
|
|
162
|
+
@include widest-layout {
|
|
163
|
+
@if ($banner-enabled-widest and ($banner-title-enabled-widest or $banner-subtitle-enabled-widest)) { display: flex; }
|
|
164
|
+
@else { display: none; }
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// Ordering
|
|
168
|
+
@include narrow-layout { z-index: $banner-title-area-z-index-narrow; }
|
|
169
|
+
@include medium-layout { z-index: $banner-title-area-z-index-medium; }
|
|
170
|
+
@include widest-layout { z-index: $banner-title-area-z-index-widest; }
|
|
171
|
+
|
|
172
|
+
// Position the title area
|
|
173
|
+
@include narrow-layout {
|
|
174
|
+
justify-content: $banner-title-area-justify-content-narrow;
|
|
175
|
+
align-items: $banner-title-area-align-items-narrow;
|
|
176
|
+
}
|
|
177
|
+
@include medium-layout {
|
|
178
|
+
justify-content: $banner-title-area-justify-content-medium;
|
|
179
|
+
align-items: $banner-title-area-align-items-medium;
|
|
180
|
+
}
|
|
181
|
+
@include widest-layout {
|
|
182
|
+
justify-content: $banner-title-area-justify-content-widest;
|
|
183
|
+
align-items: $banner-title-area-align-items-widest;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.title-area {
|
|
187
|
+
|
|
188
|
+
// Sizing
|
|
189
|
+
@include narrow-layout {
|
|
190
|
+
width: $banner-title-area-width-narrow;
|
|
191
|
+
height: $banner-title-area-height-narrow;
|
|
192
|
+
}
|
|
193
|
+
@include medium-layout {
|
|
194
|
+
width: $banner-title-area-width-medium;
|
|
195
|
+
height: $banner-title-area-height-medium;
|
|
196
|
+
}
|
|
197
|
+
@include widest-layout {
|
|
198
|
+
width: $banner-title-area-width-widest;
|
|
199
|
+
height: $banner-title-area-height-widest;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
// Positioning of title and subtitle
|
|
203
|
+
display: flex;
|
|
204
|
+
@include narrow-layout {
|
|
205
|
+
flex-direction: $banner-title-subtitle-flex-direction-narrow;
|
|
206
|
+
justify-content: $banner-title-subtitle-justify-content-narrow;
|
|
207
|
+
align-items: $banner-title-subtitle-align-items-narrow;
|
|
208
|
+
}
|
|
209
|
+
@include medium-layout {
|
|
210
|
+
flex-direction: $banner-title-subtitle-flex-direction-medium;
|
|
211
|
+
justify-content: $banner-title-subtitle-justify-content-medium;
|
|
212
|
+
align-items: $banner-title-subtitle-align-items-medium;
|
|
213
|
+
}
|
|
214
|
+
@include widest-layout {
|
|
215
|
+
flex-direction: $banner-title-subtitle-flex-direction-widest;
|
|
216
|
+
justify-content: $banner-title-subtitle-justify-content-widest;
|
|
217
|
+
align-items: $banner-title-subtitle-align-items-widest;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// background
|
|
221
|
+
@include narrow-layout { background: $banner-title-area-background-narrow; }
|
|
222
|
+
@include medium-layout { background: $banner-title-area-background-medium; }
|
|
223
|
+
@include widest-layout { background: $banner-title-area-background-widest; }
|
|
224
|
+
|
|
225
|
+
// Title appearance
|
|
226
|
+
@include narrow-layout {
|
|
227
|
+
@if ($banner-title-enabled-narrow) {
|
|
228
|
+
|
|
229
|
+
.title p {
|
|
230
|
+
|
|
231
|
+
// Set the margins to zero to avoid shifts in placing.
|
|
232
|
+
margin: 0;
|
|
233
|
+
|
|
234
|
+
// Position fine tuning uses padding
|
|
235
|
+
padding: $banner-title-padding-narrow;
|
|
236
|
+
|
|
237
|
+
// Appearance of the title
|
|
238
|
+
font: $banner-title-font-narrow;
|
|
239
|
+
color: $banner-title-color-narrow;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
} @else {
|
|
243
|
+
|
|
244
|
+
.title { display: none; }
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
@include medium-layout {
|
|
248
|
+
@if ($banner-title-enabled-medium) {
|
|
249
|
+
|
|
250
|
+
.title p {
|
|
251
|
+
|
|
252
|
+
// Set the margins to zero to avoid shifts in placing.
|
|
253
|
+
margin: 0;
|
|
254
|
+
|
|
255
|
+
// Position fine tuning uses padding
|
|
256
|
+
padding: $banner-title-padding-medium;
|
|
257
|
+
|
|
258
|
+
// Appearance of the title
|
|
259
|
+
font: $banner-title-font-medium;
|
|
260
|
+
color: $banner-title-color-medium;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
} @else {
|
|
264
|
+
|
|
265
|
+
.title { display: none; }
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
@include widest-layout {
|
|
269
|
+
@if ($banner-title-enabled-widest) {
|
|
270
|
+
|
|
271
|
+
.title p {
|
|
272
|
+
|
|
273
|
+
// Set the margins to zero to avoid shifts in placing.
|
|
274
|
+
margin: 0;
|
|
275
|
+
|
|
276
|
+
// Position fine tuning uses padding
|
|
277
|
+
padding: $banner-title-padding-widest;
|
|
278
|
+
|
|
279
|
+
// Appearance of the title
|
|
280
|
+
font: $banner-title-font-widest;
|
|
281
|
+
color: $banner-title-color-widest;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
} @else {
|
|
285
|
+
|
|
286
|
+
.title { display: none; }
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// Subtitle appearance
|
|
291
|
+
@include narrow-layout {
|
|
292
|
+
@if ($banner-subtitle-enabled-narrow) {
|
|
293
|
+
|
|
294
|
+
.subtitle p {
|
|
295
|
+
|
|
296
|
+
// Set the margins to zero to avoid shifts in placing.
|
|
297
|
+
margin: 0;
|
|
298
|
+
|
|
299
|
+
// Position fine tuning uses padding
|
|
300
|
+
padding: $banner-subtitle-padding-narrow;
|
|
301
|
+
|
|
302
|
+
// Appearance of the title
|
|
303
|
+
font: $banner-subtitle-font-narrow;
|
|
304
|
+
color: $banner-subtitle-color-narrow;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
} @else {
|
|
308
|
+
|
|
309
|
+
.subtitle { display: none; }
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
@include medium-layout {
|
|
313
|
+
@if ($banner-subtitle-enabled-medium) {
|
|
314
|
+
|
|
315
|
+
.subtitle p {
|
|
316
|
+
|
|
317
|
+
// Set the margins to zero to avoid shifts in placing.
|
|
318
|
+
margin: 0;
|
|
319
|
+
|
|
320
|
+
// Position fine tuning uses padding
|
|
321
|
+
padding: $banner-subtitle-padding-medium;
|
|
322
|
+
|
|
323
|
+
// Appearance of the title
|
|
324
|
+
font: $banner-subtitle-font-medium;
|
|
325
|
+
color: $banner-subtitle-color-medium;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
} @else {
|
|
329
|
+
|
|
330
|
+
.subtitle { display: none; }
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
@include widest-layout {
|
|
334
|
+
@if ($banner-subtitle-enabled-widest) {
|
|
335
|
+
|
|
336
|
+
.subtitle p {
|
|
337
|
+
|
|
338
|
+
// Set the margins to zero to avoid shifts in placing.
|
|
339
|
+
margin: 0;
|
|
340
|
+
|
|
341
|
+
// Position fine tuning uses padding
|
|
342
|
+
padding: $banner-subtitle-padding-widest;
|
|
343
|
+
|
|
344
|
+
// Appearance of the title
|
|
345
|
+
font: $banner-subtitle-font-widest;
|
|
346
|
+
color: $banner-subtitle-color-widest;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
} @else {
|
|
350
|
+
|
|
351
|
+
.subtitle { display: none; }
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.label-container {
|
|
358
|
+
|
|
359
|
+
// The container occupies the entire banner area
|
|
360
|
+
@extend .overlay;
|
|
361
|
+
@include narrow-layout { height: $banner-height-narrow; }
|
|
362
|
+
@include medium-layout { height: $banner-height-medium; }
|
|
363
|
+
@include widest-layout { height: $banner-height-widest; }
|
|
364
|
+
|
|
365
|
+
// Display or not
|
|
366
|
+
@include narrow-layout {
|
|
367
|
+
@if ($banner-enabled-narrow and $banner-menu-symbol-enabled-narrow) { display: flex; }
|
|
368
|
+
@else { display: none; }
|
|
369
|
+
}
|
|
370
|
+
@include medium-layout {
|
|
371
|
+
@if ($banner-enabled-medium and $banner-menu-symbol-enabled-medium) { display: flex; }
|
|
372
|
+
@else { display: none; }
|
|
373
|
+
}
|
|
374
|
+
@include widest-layout {
|
|
375
|
+
@if ($banner-enabled-widest and $banner-menu-symbol-enabled-widest) { display: flex; }
|
|
376
|
+
@else { display: none; }
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
// Position the label (tap area)
|
|
380
|
+
display: flex;
|
|
381
|
+
@include narrow-layout {
|
|
382
|
+
justify-content: $banner-menu-symbol-justify-content-narrow;
|
|
383
|
+
align-items: $banner-menu-symbol-align-items-narrow;
|
|
384
|
+
}
|
|
385
|
+
@include medium-layout {
|
|
386
|
+
justify-content: $banner-menu-symbol-justify-content-medium;
|
|
387
|
+
align-items: $banner-menu-symbol-align-items-medium;
|
|
388
|
+
}
|
|
389
|
+
@include widest-layout {
|
|
390
|
+
justify-content: $banner-menu-symbol-justify-content-widest;
|
|
391
|
+
align-items: $banner-menu-symbol-align-items-widest;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
// Ordering
|
|
395
|
+
@include narrow-layout { z-index: $banner-menu-symbol-z-index-narrow; }
|
|
396
|
+
@include medium-layout { z-index: $banner-menu-symbol-z-index-medium; }
|
|
397
|
+
@include widest-layout { z-index: $banner-menu-symbol-z-index-widest; }
|
|
398
|
+
|
|
399
|
+
label {
|
|
400
|
+
|
|
401
|
+
// Position the menu symbol
|
|
402
|
+
display:flex;
|
|
403
|
+
justify-content: center;
|
|
404
|
+
align-items: center;
|
|
405
|
+
|
|
406
|
+
// Insert the menu symbol
|
|
407
|
+
@include narrow-layout { p:after { content: $banner-menu-symbol-code-narrow; } }
|
|
408
|
+
@include medium-layout { p:after { content: $banner-menu-symbol-code-medium; } }
|
|
409
|
+
@include widest-layout { p:after { content: $banner-menu-symbol-code-widest; } }
|
|
410
|
+
|
|
411
|
+
// Size the tap area
|
|
412
|
+
@include narrow-layout { width: $banner-menu-symbol-tap-area-width-narrow; }
|
|
413
|
+
@include medium-layout { width: $banner-menu-symbol-tap-area-width-medium; }
|
|
414
|
+
@include widest-layout { width: $banner-menu-symbol-tap-area-width-widest; }
|
|
415
|
+
|
|
416
|
+
@include narrow-layout { height: $banner-menu-symbol-tap-area-height-narrow; }
|
|
417
|
+
@include medium-layout { height: $banner-menu-symbol-tap-area-height-medium; }
|
|
418
|
+
@include widest-layout { height: $banner-menu-symbol-tap-area-height-widest; }
|
|
419
|
+
|
|
420
|
+
// The background
|
|
421
|
+
@include narrow-layout { background: $banner-menu-symbol-tap-area-background-narrow; }
|
|
422
|
+
@include medium-layout { background: $banner-menu-symbol-tap-area-background-medium; }
|
|
423
|
+
@include widest-layout { background: $banner-menu-symbol-tap-area-background-widest; }
|
|
424
|
+
|
|
425
|
+
// The border
|
|
426
|
+
@include narrow-layout { border: $banner-menu-symbol-tap-area-border-narrow; }
|
|
427
|
+
@include medium-layout { border: $banner-menu-symbol-tap-area-border-medium; }
|
|
428
|
+
@include widest-layout { border: $banner-menu-symbol-tap-area-border-widest; }
|
|
429
|
+
|
|
430
|
+
// The label is used as checkbox-label, it should show a pointer when the mouse is above it.
|
|
431
|
+
cursor: pointer;
|
|
432
|
+
|
|
433
|
+
p {
|
|
434
|
+
// Fine tune the position of the menu symbol in the tap area
|
|
435
|
+
@include narrow-layout { padding: $banner-menu-symbol-padding-narrow; }
|
|
436
|
+
@include medium-layout { padding: $banner-menu-symbol-padding-medium; }
|
|
437
|
+
@include widest-layout { padding: $banner-menu-symbol-padding-widest; }
|
|
438
|
+
|
|
439
|
+
// The font
|
|
440
|
+
@include narrow-layout { font: $banner-menu-symbol-font-narrow; }
|
|
441
|
+
@include medium-layout { font: $banner-menu-symbol-font-medium; }
|
|
442
|
+
@include widest-layout { font: $banner-menu-symbol-font-widest; }
|
|
443
|
+
|
|
444
|
+
// The color
|
|
445
|
+
@include narrow-layout { color: $banner-menu-symbol-color-narrow; }
|
|
446
|
+
@include medium-layout { color: $banner-menu-symbol-color-medium; }
|
|
447
|
+
@include widest-layout { color: $banner-menu-symbol-color-widest; }
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.menubar-top-separator {
|
|
453
|
+
|
|
454
|
+
// Use the entire width to force vertical appearance
|
|
455
|
+
width: 100%;
|
|
456
|
+
|
|
457
|
+
// Sizing
|
|
458
|
+
@include narrow-layout { height: $menubar-top-separator-height-narrow; }
|
|
459
|
+
@include medium-layout { height: $menubar-top-separator-height-medium; }
|
|
460
|
+
@include widest-layout { height: $menubar-top-separator-height-widest; }
|
|
461
|
+
|
|
462
|
+
// Appearance
|
|
463
|
+
@include narrow-layout { background: $menubar-top-separator-background-narrow; }
|
|
464
|
+
@include medium-layout { background: $menubar-top-separator-background-medium; }
|
|
465
|
+
@include widest-layout { background: $menubar-top-separator-background-widest; }
|
|
466
|
+
|
|
467
|
+
// Enable or disable display
|
|
468
|
+
@include narrow-layout {
|
|
469
|
+
@if $menubar-top-separator-enabled-narrow { display: block; } @else { display: none; }
|
|
470
|
+
}
|
|
471
|
+
@include medium-layout {
|
|
472
|
+
@if $menubar-top-separator-enabled-medium { display: block; } @else { display: none; }
|
|
473
|
+
}
|
|
474
|
+
@include widest-layout {
|
|
475
|
+
@if $menubar-top-separator-enabled-widest { display: block; } @else { display: none; }
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.menubar-bottom-separator {
|
|
480
|
+
|
|
481
|
+
// Use the entire width to force vertical appearance
|
|
482
|
+
width: 100%;
|
|
483
|
+
|
|
484
|
+
// Sizing
|
|
485
|
+
@include narrow-layout { height: $menubar-bottom-separator-height-narrow; }
|
|
486
|
+
@include medium-layout { height: $menubar-bottom-separator-height-medium; }
|
|
487
|
+
@include widest-layout { height: $menubar-bottom-separator-height-widest; }
|
|
488
|
+
|
|
489
|
+
// Appearance
|
|
490
|
+
@include narrow-layout { background: $menubar-bottom-separator-background-narrow; }
|
|
491
|
+
@include medium-layout { background: $menubar-bottom-separator-background-medium; }
|
|
492
|
+
@include widest-layout { background: $menubar-bottom-separator-background-widest; }
|
|
493
|
+
|
|
494
|
+
// Enable or disable display
|
|
495
|
+
@include narrow-layout {
|
|
496
|
+
@if $menubar-bottom-separator-enabled-narrow { display: none; } @else { display: none; }
|
|
497
|
+
}
|
|
498
|
+
@include medium-layout {
|
|
499
|
+
@if $menubar-bottom-separator-enabled-medium { display: block; } @else { display: none; }
|
|
500
|
+
}
|
|
501
|
+
@include widest-layout {
|
|
502
|
+
@if $menubar-bottom-separator-enabled-widest { display: block; } @else { display: none; }
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.add-to-banner-area-height {
|
|
507
|
+
width: 100%;
|
|
508
|
+
@include narrow-layout { height: $add-to-banner-area-height-narrow; }
|
|
509
|
+
@include medium-layout { height: $add-to-banner-area-height-medium; }
|
|
510
|
+
@include widest-layout { height: $add-to-banner-area-height-widest; }
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
// This bit is needed to fix the banner and menubar in place at the top of the screen.
|
|
515
|
+
//
|
|
516
|
+
.banner-area-outside-dom {
|
|
517
|
+
|
|
518
|
+
// Fix the banner to the top of the screen
|
|
519
|
+
position: fixed;
|
|
520
|
+
top: 0;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
// The banner area is placed inside the DOM
|
|
524
|
+
//
|
|
525
|
+
.banner-area-in-dom {
|
|
526
|
+
position: relative;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
// Added to the banner-area that is used as a placeholder to keep the column-panel from appearing below the
|
|
530
|
+
// banner-area. It does not seem to be necessary though. Still,it could prevent future problems, hence
|
|
531
|
+
//
|
|
532
|
+
.invisible {
|
|
533
|
+
width: 100%;
|
|
534
|
+
opacity: 0;
|
|
535
|
+
z-index: -1;
|
|
536
|
+
position: relative;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// For anchor links when using top-fixed banner positioning
|
|
540
|
+
//
|
|
541
|
+
.anchor::before {
|
|
542
|
+
display: block;
|
|
543
|
+
content: " ";
|
|
544
|
+
@include narrow-layout { margin-top: -$anchor-top-fixed-offset-narrow; }
|
|
545
|
+
@include narrow-layout { height: $anchor-top-fixed-offset-narrow; }
|
|
546
|
+
@include medium-layout { margin-top: -$anchor-top-fixed-offset-medium; }
|
|
547
|
+
@include medium-layout { height: $anchor-top-fixed-offset-medium; }
|
|
548
|
+
@include widest-layout { margin-top: -$anchor-top-fixed-offset-widest; }
|
|
549
|
+
@include widest-layout { height: $anchor-top-fixed-offset-widest; }
|
|
550
|
+
visibility: hidden;
|
|
551
|
+
pointer-events: none;
|
|
552
|
+
}
|