mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -07:00
@@ -15,7 +15,7 @@ import { readFile } from 'fs/promises';
|
||||
import file from 'gulp-file';
|
||||
import { CloudFrontClient, CreateInvalidationCommand } from '@aws-sdk/client-cloudfront';
|
||||
import log from 'fancy-log';
|
||||
import dartSass from 'sass';
|
||||
import * as dartSass from 'sass';
|
||||
import gulpSass from 'gulp-sass';
|
||||
import sourceMaps from 'gulp-sourcemaps';
|
||||
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
|
||||
// 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 stageFrontend = series(previewVersion, buildDist, uploadImagesPreview, uploadPreview, invalidatePreview);
|
||||
const stageFrontend = series(previewVersion, buildDist, uploadImagesPreview, uploadPreview, invalidatePreview, logVersion);
|
||||
|
||||
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) {
|
||||
// DOM not ready; defer enabling if set
|
||||
if (value) {
|
||||
deferredDomSettings.add('enhanced');
|
||||
deferredDomSettings.add('enhancedScreens');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -16,6 +16,13 @@
|
||||
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 */
|
||||
height: 0px;
|
||||
|
||||
@@ -135,6 +142,12 @@
|
||||
margin-left: p.$blue-box-margin;
|
||||
margin-right: p.$blue-box-margin;
|
||||
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}) %>
|
||||
<div class="main has-scroll has-box local-forecast">
|
||||
<div class="container">
|
||||
<div class="forecasts">
|
||||
<div class="forecast template">
|
||||
<div class="text">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%- include('scroll.ejs') %>
|
||||
<div class="main has-scroll has-box local-forecast can-enhance">
|
||||
<div class="container">
|
||||
<div class="forecasts">
|
||||
<div class="forecast template">
|
||||
<div class="text">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%- include('scroll.ejs') %>
|
||||
Reference in New Issue
Block a user