mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-22 11:39:30 -07:00
@@ -15,7 +15,7 @@ import { readFile } from 'fs/promises';
|
|||||||
import file from 'gulp-file';
|
import file from 'gulp-file';
|
||||||
import { CloudFrontClient, CreateInvalidationCommand } from '@aws-sdk/client-cloudfront';
|
import { CloudFrontClient, CreateInvalidationCommand } from '@aws-sdk/client-cloudfront';
|
||||||
import log from 'fancy-log';
|
import log from 'fancy-log';
|
||||||
import dartSass from 'sass';
|
import * as dartSass from 'sass';
|
||||||
import gulpSass from 'gulp-sass';
|
import gulpSass from 'gulp-sass';
|
||||||
import sourceMaps from 'gulp-sourcemaps';
|
import sourceMaps from 'gulp-sourcemaps';
|
||||||
import OVERRIDES from '../src/overrides.mjs';
|
import OVERRIDES from '../src/overrides.mjs';
|
||||||
@@ -222,7 +222,7 @@ const buildDist = series(clean, parallel(buildJs, compressJsVendor, buildCss, co
|
|||||||
// upload_images could be in parallel with upload, but _images logs a lot and has little changes
|
// upload_images could be in parallel with upload, but _images logs a lot and has little changes
|
||||||
// by running upload last the majority of the changes will be at the bottom of the log for easy viewing
|
// by running upload last the majority of the changes will be at the bottom of the log for easy viewing
|
||||||
const publishFrontend = series(buildDist, uploadImages, upload, invalidate, logVersion);
|
const publishFrontend = series(buildDist, uploadImages, upload, invalidate, logVersion);
|
||||||
const stageFrontend = series(previewVersion, buildDist, uploadImagesPreview, uploadPreview, invalidatePreview);
|
const stageFrontend = series(previewVersion, buildDist, uploadImagesPreview, uploadPreview, invalidatePreview, logVersion);
|
||||||
|
|
||||||
export default publishFrontend;
|
export default publishFrontend;
|
||||||
|
|
||||||
|
|||||||
BIN
server/images/backgrounds/1-wide-enhanced.png
Normal file
BIN
server/images/backgrounds/1-wide-enhanced.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
BIN
server/images/gimp/1-wide-enhanced.xcf
Normal file
BIN
server/images/gimp/1-wide-enhanced.xcf
Normal file
Binary file not shown.
BIN
server/images/gimp/1.xcf
Normal file
BIN
server/images/gimp/1.xcf
Normal file
Binary file not shown.
@@ -37,7 +37,7 @@ const enhancedScreenChange = (value) => {
|
|||||||
if (!container) {
|
if (!container) {
|
||||||
// DOM not ready; defer enabling if set
|
// DOM not ready; defer enabling if set
|
||||||
if (value) {
|
if (value) {
|
||||||
deferredDomSettings.add('enhanced');
|
deferredDomSettings.add('enhancedScreens');
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,13 @@
|
|||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wide.enhanced & {
|
||||||
|
&:has(.can-enhance) {
|
||||||
|
background-image: url(../images/backgrounds/1-wide-enhanced.png);
|
||||||
|
background-position-x: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* this method is required to hide blocks so they can be measured while off screen */
|
/* this method is required to hide blocks so they can be measured while off screen */
|
||||||
height: 0px;
|
height: 0px;
|
||||||
|
|
||||||
@@ -135,6 +142,12 @@
|
|||||||
margin-left: p.$blue-box-margin;
|
margin-left: p.$blue-box-margin;
|
||||||
margin-right: p.$blue-box-margin;
|
margin-right: p.$blue-box-margin;
|
||||||
width: calc(100% - 128px);
|
width: calc(100% - 128px);
|
||||||
|
|
||||||
|
.wide.enhanced & {
|
||||||
|
&.can-enhance {
|
||||||
|
width: calc(p.$wide-width - p.$blue-box-margin - p.$blue-box-margin)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
2
server/styles/ws.min.css
vendored
2
server/styles/ws.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,12 +1,12 @@
|
|||||||
<%- include('header.ejs', {titleDual:{ top: 'Local' , bottom: 'Forecast' }, hasTime: true, noaaLogo: true}) %>
|
<%- include('header.ejs', {titleDual:{ top: 'Local' , bottom: 'Forecast' }, hasTime: true, noaaLogo: true}) %>
|
||||||
<div class="main has-scroll has-box local-forecast">
|
<div class="main has-scroll has-box local-forecast can-enhance">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="forecasts">
|
<div class="forecasts">
|
||||||
<div class="forecast template">
|
<div class="forecast template">
|
||||||
<div class="text">
|
<div class="text">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<%- include('scroll.ejs') %>
|
<%- include('scroll.ejs') %>
|
||||||
Reference in New Issue
Block a user