ultimate-jekyll-manager 0.0.58 → 0.0.59
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.
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
border-radius: 50%;
|
|
14
14
|
right: 20px;
|
|
15
15
|
bottom: 20px;
|
|
16
|
-
bottom: max(20px, calc(20px + env(safe-area-inset-bottom, 0px)));
|
|
17
16
|
transition: background 0.5s;
|
|
18
17
|
z-index: 11;
|
|
19
18
|
box-shadow: rgba(0, 0, 0, 0.16) 0px 2px 10px 0px;
|
|
@@ -43,6 +42,5 @@
|
|
|
43
42
|
@media (max-width: 768px) {
|
|
44
43
|
#prechat-btn {
|
|
45
44
|
bottom: 15px;
|
|
46
|
-
bottom: max(15px, calc(15px + env(safe-area-inset-bottom, 0px)));
|
|
47
45
|
}
|
|
48
46
|
}
|
|
@@ -25,19 +25,16 @@
|
|
|
25
25
|
// Position variants
|
|
26
26
|
&.cookie-consent-bottom-left {
|
|
27
27
|
bottom: 1rem;
|
|
28
|
-
bottom: max(1rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
|
|
29
28
|
left: 1rem;
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
&.cookie-consent-bottom-right {
|
|
33
32
|
bottom: 1rem;
|
|
34
|
-
bottom: max(1rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
|
|
35
33
|
right: 1rem;
|
|
36
34
|
}
|
|
37
35
|
|
|
38
36
|
&.cookie-consent-bottom {
|
|
39
37
|
bottom: 1rem;
|
|
40
|
-
bottom: max(1rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
|
|
41
38
|
left: 50%;
|
|
42
39
|
transform: translateX(-50%) translateY(1rem);
|
|
43
40
|
max-width: 90%;
|
|
@@ -196,21 +193,18 @@
|
|
|
196
193
|
// Bottom position variants
|
|
197
194
|
&.cookie-consent-minimized-bottom-left {
|
|
198
195
|
bottom: 0;
|
|
199
|
-
bottom: env(safe-area-inset-bottom, 0px);
|
|
200
196
|
left: 2rem;
|
|
201
197
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
202
198
|
}
|
|
203
199
|
|
|
204
200
|
&.cookie-consent-minimized-bottom-right {
|
|
205
201
|
bottom: 0;
|
|
206
|
-
bottom: env(safe-area-inset-bottom, 0px);
|
|
207
202
|
right: 2rem;
|
|
208
203
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
209
204
|
}
|
|
210
205
|
|
|
211
206
|
&.cookie-consent-minimized-bottom-center {
|
|
212
207
|
bottom: 0;
|
|
213
|
-
bottom: env(safe-area-inset-bottom, 0px);
|
|
214
208
|
left: 50%;
|
|
215
209
|
transform: translateX(-50%) translateY(100%);
|
|
216
210
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
.navbar-wrapper {
|
|
6
6
|
position: fixed;
|
|
7
7
|
top: 1rem;
|
|
8
|
-
top: max(1rem, env(safe-area-inset-top, 1rem));
|
|
9
8
|
left: 0;
|
|
10
9
|
right: 0;
|
|
11
10
|
z-index: 1030;
|
|
@@ -19,30 +18,30 @@
|
|
|
19
18
|
margin-left: auto;
|
|
20
19
|
padding-right: var(--bs-gutter-x, 0.75rem);
|
|
21
20
|
padding-left: var(--bs-gutter-x, 0.75rem);
|
|
22
|
-
|
|
21
|
+
|
|
23
22
|
// XS screens (less than 576px) - maintain margin
|
|
24
23
|
@media (max-width: 575.98px) {
|
|
25
24
|
max-width: calc(100% - 2rem);
|
|
26
25
|
margin-left: auto;
|
|
27
26
|
margin-right: auto;
|
|
28
27
|
}
|
|
29
|
-
|
|
28
|
+
|
|
30
29
|
@media (min-width: 576px) {
|
|
31
30
|
max-width: 540px;
|
|
32
31
|
}
|
|
33
|
-
|
|
32
|
+
|
|
34
33
|
@media (min-width: 768px) {
|
|
35
34
|
max-width: 720px;
|
|
36
35
|
}
|
|
37
|
-
|
|
36
|
+
|
|
38
37
|
@media (min-width: 992px) {
|
|
39
38
|
max-width: 960px;
|
|
40
39
|
}
|
|
41
|
-
|
|
40
|
+
|
|
42
41
|
@media (min-width: 1200px) {
|
|
43
42
|
max-width: 1140px;
|
|
44
43
|
}
|
|
45
|
-
|
|
44
|
+
|
|
46
45
|
@media (min-width: 1400px) {
|
|
47
46
|
max-width: 1320px;
|
|
48
47
|
}
|
|
@@ -64,7 +63,7 @@
|
|
|
64
63
|
.container-fluid {
|
|
65
64
|
padding: 0;
|
|
66
65
|
}
|
|
67
|
-
|
|
66
|
+
|
|
68
67
|
// Always show glassy background on mobile - matching .bg-glassy exactly
|
|
69
68
|
@media (max-width: 991.98px) {
|
|
70
69
|
background: transparent !important;
|
|
@@ -73,7 +72,7 @@
|
|
|
73
72
|
border: 1px solid rgba(255, 255, 255, 0.15) !important;
|
|
74
73
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
|
|
75
74
|
position: relative;
|
|
76
|
-
|
|
75
|
+
|
|
77
76
|
&::before {
|
|
78
77
|
content: "";
|
|
79
78
|
position: absolute;
|
|
@@ -84,11 +83,11 @@
|
|
|
84
83
|
z-index: -1;
|
|
85
84
|
pointer-events: none;
|
|
86
85
|
}
|
|
87
|
-
|
|
86
|
+
|
|
88
87
|
[data-bs-theme="dark"] & {
|
|
89
88
|
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
90
89
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
|
|
91
|
-
|
|
90
|
+
|
|
92
91
|
&::before {
|
|
93
92
|
opacity: 0.6;
|
|
94
93
|
}
|
|
@@ -158,7 +157,7 @@
|
|
|
158
157
|
background-color: rgba(0, 0, 0, 0.08);
|
|
159
158
|
}
|
|
160
159
|
}
|
|
161
|
-
|
|
160
|
+
|
|
162
161
|
// Dark mode nav links
|
|
163
162
|
[data-bs-theme="dark"] & {
|
|
164
163
|
.nav-link {
|
|
@@ -206,17 +205,17 @@
|
|
|
206
205
|
height: 1.25em;
|
|
207
206
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
|
|
208
207
|
}
|
|
209
|
-
|
|
208
|
+
|
|
210
209
|
// Dark mode styles for toggle button
|
|
211
210
|
[data-bs-theme="dark"] & {
|
|
212
211
|
background: rgba(33, 37, 41, 0.9);
|
|
213
212
|
border-color: rgba(255, 255, 255, 0.1);
|
|
214
|
-
|
|
213
|
+
|
|
215
214
|
&:hover {
|
|
216
215
|
background: rgba(33, 37, 41, 1);
|
|
217
216
|
border-color: rgba(255, 255, 255, 0.2);
|
|
218
217
|
}
|
|
219
|
-
|
|
218
|
+
|
|
220
219
|
.navbar-toggler-icon {
|
|
221
220
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
|
|
222
221
|
}
|
|
@@ -303,34 +302,34 @@
|
|
|
303
302
|
background: $primary;
|
|
304
303
|
color: white;
|
|
305
304
|
}
|
|
306
|
-
|
|
305
|
+
|
|
307
306
|
&:focus {
|
|
308
307
|
background: rgba($primary, 0.08);
|
|
309
308
|
outline: none;
|
|
310
309
|
}
|
|
311
|
-
|
|
310
|
+
|
|
312
311
|
// Support for text utility classes
|
|
313
312
|
&.text-danger {
|
|
314
313
|
color: $danger !important;
|
|
315
|
-
|
|
314
|
+
|
|
316
315
|
&:hover {
|
|
317
316
|
background: rgba($danger, 0.08);
|
|
318
317
|
color: $danger !important;
|
|
319
318
|
}
|
|
320
319
|
}
|
|
321
|
-
|
|
320
|
+
|
|
322
321
|
&.text-warning {
|
|
323
322
|
color: $warning !important;
|
|
324
|
-
|
|
323
|
+
|
|
325
324
|
&:hover {
|
|
326
325
|
background: rgba($warning, 0.08);
|
|
327
326
|
color: $warning !important;
|
|
328
327
|
}
|
|
329
328
|
}
|
|
330
|
-
|
|
329
|
+
|
|
331
330
|
&.text-success {
|
|
332
331
|
color: $success !important;
|
|
333
|
-
|
|
332
|
+
|
|
334
333
|
&:hover {
|
|
335
334
|
background: rgba($success, 0.08);
|
|
336
335
|
color: $success !important;
|
|
@@ -351,47 +350,47 @@
|
|
|
351
350
|
background: rgba(33, 37, 41, 0.98);
|
|
352
351
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
353
352
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
|
|
354
|
-
|
|
353
|
+
|
|
355
354
|
.dropdown-item {
|
|
356
355
|
color: var(--bs-body-color);
|
|
357
|
-
|
|
356
|
+
|
|
358
357
|
&:hover {
|
|
359
358
|
background: rgba(255, 255, 255, 0.1);
|
|
360
359
|
color: white;
|
|
361
360
|
}
|
|
362
|
-
|
|
361
|
+
|
|
363
362
|
&.active,
|
|
364
363
|
&:active {
|
|
365
364
|
background: $primary;
|
|
366
365
|
color: white;
|
|
367
366
|
}
|
|
368
|
-
|
|
367
|
+
|
|
369
368
|
&:focus {
|
|
370
369
|
background: rgba(255, 255, 255, 0.05);
|
|
371
370
|
}
|
|
372
|
-
|
|
371
|
+
|
|
373
372
|
// Support for text utility classes in dark mode
|
|
374
373
|
&.text-danger {
|
|
375
374
|
color: $danger !important;
|
|
376
|
-
|
|
375
|
+
|
|
377
376
|
&:hover {
|
|
378
377
|
background: rgba($danger, 0.15);
|
|
379
378
|
color: lighten($danger, 10%) !important;
|
|
380
379
|
}
|
|
381
380
|
}
|
|
382
|
-
|
|
381
|
+
|
|
383
382
|
&.text-warning {
|
|
384
383
|
color: $warning !important;
|
|
385
|
-
|
|
384
|
+
|
|
386
385
|
&:hover {
|
|
387
386
|
background: rgba($warning, 0.15);
|
|
388
387
|
color: lighten($warning, 10%) !important;
|
|
389
388
|
}
|
|
390
389
|
}
|
|
391
|
-
|
|
390
|
+
|
|
392
391
|
&.text-success {
|
|
393
392
|
color: $success !important;
|
|
394
|
-
|
|
393
|
+
|
|
395
394
|
&:hover {
|
|
396
395
|
background: rgba($success, 0.15);
|
|
397
396
|
color: lighten($success, 10%) !important;
|
|
@@ -88,6 +88,9 @@ async function jekyll(complete) {
|
|
|
88
88
|
// Build Jekyll
|
|
89
89
|
await execute(command.join(' '), {log: true});
|
|
90
90
|
|
|
91
|
+
// Log working URL
|
|
92
|
+
logger.log(`Your site is being served at: ${logger.format.cyan(Manager.getWorkingUrl())}`);
|
|
93
|
+
|
|
91
94
|
// Reposition "/blog/index.html" to "/blog.html" for compatibility
|
|
92
95
|
// This is needed because Jekyll creates a folder for the blog index page
|
|
93
96
|
// but we want it to be at the root level for compatibility with various hosting providers
|
|
@@ -196,7 +199,7 @@ async function launchBrowserSync() {
|
|
|
196
199
|
}
|
|
197
200
|
|
|
198
201
|
// Get external URL
|
|
199
|
-
const externalUrl =
|
|
202
|
+
const externalUrl = Manager.getWorkingUrl();
|
|
200
203
|
|
|
201
204
|
// Check if the tab is already open
|
|
202
205
|
const isOpen = await isBrowserTabOpen(externalUrl);
|
|
@@ -297,18 +300,18 @@ async function fixBlogIndex() {
|
|
|
297
300
|
try {
|
|
298
301
|
const blogIndexPath = '_site/blog/index.html';
|
|
299
302
|
const blogTargetPath = '_site/blog.html';
|
|
300
|
-
|
|
303
|
+
|
|
301
304
|
// Check if blog/index.html exists
|
|
302
305
|
if (jetpack.exists(blogIndexPath)) {
|
|
303
306
|
// Move blog/index.html to blog.html
|
|
304
307
|
jetpack.move(blogIndexPath, blogTargetPath, { overwrite: true });
|
|
305
|
-
|
|
308
|
+
|
|
306
309
|
// Remove empty blog directory if it exists and is empty
|
|
307
310
|
const blogDir = '_site/blog';
|
|
308
311
|
if (jetpack.exists(blogDir) && jetpack.list(blogDir).length === 0) {
|
|
309
312
|
jetpack.remove(blogDir);
|
|
310
313
|
}
|
|
311
|
-
|
|
314
|
+
|
|
312
315
|
logger.log('Moved blog/index.html to blog.html');
|
|
313
316
|
}
|
|
314
317
|
} catch (e) {
|