feat(offline): header background on offline page + fix header ::before stacking #174
Reference in New Issue
Block a user
Delete Branch "feature/offline-header-background"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
⚠️ HOLD — for review & client-side testing, do not merge yet
Offline page inherits header background
.moko-offline-wrapnow consumes the full--header-background-*set (color, image, size, repeat, position, attachment, opacity, filter)..moko-offline-wrap::beforeso--header-background-opacity/--header-background-filterfade the image only, not the offline card/content.::before→::after(image z-index 0 < overlay z-index 1 < content z-index 2).Fix: header/offline background image not painting
.container-header::beforeheader image (z-index:-1) could fail to paint when the header didn't reliably form its own stacking context, letting the negative-z-index layer fall behind an ancestor.isolation: isolateto.container-headerand.moko-offline-wrapto guarantee a self-contained stacking context.Cleanup
bg.svg(superseded byheader-background.svg) andhero.jpg(unreferenced).Testing checklist
6eadb817e5toa824f3761a