Configure PayPal integration and cart checkout error display
No files matched your search
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 8.6 KiB |
|
After Width: | Height: | Size: 13 KiB |
@@ -0,0 +1,9 @@
|
||||
(() => {
|
||||
const reminder = document.querySelector('[data-archive-reminder]');
|
||||
if (!reminder || typeof reminder.showModal !== 'function') return;
|
||||
try {
|
||||
if (sessionStorage.getItem('slx-archive-reminder')) return;
|
||||
sessionStorage.setItem('slx-archive-reminder', 'seen');
|
||||
} catch { /* The reminder still works when session storage is unavailable. */ }
|
||||
if (!document.querySelector('dialog[open]')) reminder.showModal();
|
||||
})();
|
||||
@@ -0,0 +1,25 @@
|
||||
.release-landing.countdown-showcase{padding:clamp(.75rem,2.5vw,2.25rem)}
|
||||
.countdown-showcase .compact-release{width:min(100%,72rem);display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);align-items:start;gap:clamp(.75rem,2vw,1.35rem)}
|
||||
.compact-release .release-stage{grid-column:1/-1;padding:0 .25rem clamp(1rem,3.5vw,2rem)}
|
||||
.compact-release .release-hover{width:min(100%,61rem);display:grid;justify-items:center}
|
||||
.compact-release .release-cover{display:block;width:auto;height:auto;max-width:100%;max-height:min(59svh,42rem);object-fit:contain}
|
||||
.compact-release .release-reflection{display:none}
|
||||
.compact-release .release-copy,.compact-release .release-message{min-width:0;text-align:left}
|
||||
.compact-release .release-timer-panel{padding:clamp(.85rem,2vw,1.35rem)}
|
||||
.compact-release .release-timer-panel h1{font-size:clamp(1.5rem,3.3vw,2.85rem);line-height:1.1;margin:.45rem 0 .7rem}
|
||||
.compact-release .release-clock .ticker{font-size:clamp(1.1rem,2.6vw,1.65rem)}
|
||||
.compact-release .release-progress{margin-top:.7rem}
|
||||
.compact-release .slx-author-note{margin:0;padding:clamp(.85rem,2vw,1.4rem)}
|
||||
.compact-release .slx-author-note-copy{font-size:clamp(.95rem,1.5vw,1.08rem);line-height:1.5}
|
||||
.compact-release .slx-author-note-copy p{margin:0 0 .65em}
|
||||
.compact-release .slx-author-note-signoff{margin-top:.55rem}
|
||||
.compact-release .slx-author-avatar{width:clamp(44px,6vw,76px);height:auto}
|
||||
.compact-release .slx-author-signature{max-width:min(38%,9rem)}
|
||||
@media(max-width:670px){
|
||||
.countdown-showcase .compact-release{grid-template-columns:minmax(0,1fr);gap:.65rem}
|
||||
.compact-release .release-stage{padding-bottom:.6rem}
|
||||
.compact-release .release-cover{max-height:min(47svh,24rem)}
|
||||
}
|
||||
.compact-release .release-reflection{display:grid;justify-items:center;top:100%;height:20%;opacity:.16}
|
||||
.compact-release .release-reflection img{display:block;width:auto;height:auto;max-width:100%;max-height:min(59svh,42rem);object-fit:contain}
|
||||
@media(max-width:670px){.compact-release .release-reflection{display:none}}
|
||||
|
After Width: | Height: | Size: 224 B |
|
After Width: | Height: | Size: 300 B |
|
After Width: | Height: | Size: 387 B |
|
After Width: | Height: | Size: 2.3 MiB |
|
After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 124 B |
|
After Width: | Height: | Size: 368 B |
|
After Width: | Height: | Size: 251 B |
|
After Width: | Height: | Size: 446 B |
|
After Width: | Height: | Size: 254 B |
|
After Width: | Height: | Size: 327 B |
|
After Width: | Height: | Size: 367 B |
|
After Width: | Height: | Size: 200 B |
|
After Width: | Height: | Size: 346 B |
|
After Width: | Height: | Size: 370 B |
|
After Width: | Height: | Size: 264 B |
|
After Width: | Height: | Size: 265 B |
|
After Width: | Height: | Size: 295 B |
|
After Width: | Height: | Size: 236 B |
|
After Width: | Height: | Size: 427 B |
|
After Width: | Height: | Size: 302 B |
|
After Width: | Height: | Size: 184 B |
|
After Width: | Height: | Size: 305 B |
|
After Width: | Height: | Size: 252 B |
|
After Width: | Height: | Size: 411 B |
|
After Width: | Height: | Size: 505 B |
|
After Width: | Height: | Size: 346 B |
@@ -0,0 +1,4 @@
|
||||
header.site-header{position:relative;isolation:isolate}
|
||||
header.site-header::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("solterra-map.jpg") center 44%/cover no-repeat;opacity:.16}
|
||||
.djinnii-page{max-width:68rem;margin-inline:auto;padding-inline:1rem}
|
||||
.djinnii-chart{display:block;width:100%;height:auto}
|
||||
@@ -0,0 +1,33 @@
|
||||
.shop-grid .member-plan-with-art {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
overflow: hidden;
|
||||
background: #121928;
|
||||
color: #fff;
|
||||
}
|
||||
.shop-grid .member-plan-with-art > .member-plan-art,
|
||||
.shop-grid .member-plan-with-art::before {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
.shop-grid .member-plan-with-art > .member-plan-art {
|
||||
display: block;
|
||||
object-fit: cover;
|
||||
opacity: .65;
|
||||
z-index: -2;
|
||||
}
|
||||
.shop-grid .member-plan-with-art::before {
|
||||
content: "";
|
||||
background: linear-gradient(90deg, rgb(9 14 25 / .78), rgb(9 14 25 / .44));
|
||||
z-index: -1;
|
||||
}
|
||||
.shop-grid .member-plan-with-art .member-plan-copy h2,
|
||||
.shop-grid .member-plan-with-art .member-plan-copy p {
|
||||
color: #fff;
|
||||
}
|
||||
.plan-comparison{width:100%;border-collapse:collapse;text-align:left}
|
||||
.plan-comparison caption{text-align:left;padding:.5rem}
|
||||
.plan-comparison :is(th,td){border-bottom:1px solid currentColor;padding:.65rem;text-align:left}
|
||||
|
After Width: | Height: | Size: 347 KiB |
@@ -0,0 +1,10 @@
|
||||
.slx-store{--store-ink:#122442;--store-paper:#fff;--store-card:#f1f3f7;color:var(--store-ink);background:var(--store-paper);max-width:76rem;margin:1.5rem auto;padding:clamp(.75rem,3vw,2rem)}
|
||||
.slx-store a{color:inherit}.store-bar{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0}
|
||||
.store-banner{text-align:center;background:var(--store-card);padding:1rem;margin:.5rem 0}
|
||||
.store-banner h1,.store-detail h1{margin:.3rem 0}.store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}
|
||||
.store-card{background:var(--store-card);text-align:center;padding:.65rem;display:flex;flex-direction:column;align-items:center;gap:.35rem;min-width:0}
|
||||
.store-card h2{font-size:1rem;margin:0;line-height:1.25}.store-stock{font-size:.85rem;margin:auto 0 0;padding-top:.35rem}.store-cover{width:100%;display:grid;place-items:center;aspect-ratio:3/4;overflow:hidden;background:#e5e9f2}.store-cover img{width:100%;height:100%;object-fit:contain}
|
||||
.store-card form{width:100%;margin:0}.slx-store .store-button{display:inline-block;color:#fff;background:#092951;border:0;border-radius:.2rem;padding:.4rem .75rem;cursor:pointer;font:inherit;text-decoration:none}.store-card .store-button{width:100%}
|
||||
.store-detail{display:grid;grid-template-columns:minmax(9rem,1fr) minmax(13rem,1.8fr) minmax(8rem,1fr);gap:1.5rem;align-items:start;margin:1rem 0 2rem}
|
||||
.store-product-info form{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.store-product-info input[type=number]{width:4rem}.store-price{font-size:1.35rem;font-weight:800}.store-format{padding:1rem;background:var(--store-card)}.store-format h2{font-size:1rem;margin:0}.store-section>h2{border-bottom:1px solid #092951;padding-bottom:.3rem}.store-sample details{margin:.5rem 0}.store-sample summary{cursor:pointer;font-weight:700}.store-sample img{display:block;max-width:min(100%,42rem);height:auto;margin:.5rem auto}
|
||||
@media(max-width:720px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-detail{grid-template-columns:minmax(7rem,1fr) minmax(0,1.5fr);gap:.75rem}.store-format{grid-column:1/-1}}
|
||||
@@ -0,0 +1,24 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const map = document.querySelector('[data-studio-map-picker]');
|
||||
const pin = document.querySelector('[data-studio-map-pin]');
|
||||
const x = document.getElementById('id_x');
|
||||
const y = document.getElementById('id_y');
|
||||
if (!map || !pin || !x || !y) return;
|
||||
const refresh = () => {
|
||||
pin.hidden = ![x, y].every(field => field.value !== '' && Number(field.value) >= 0 && Number(field.value) <= 100);
|
||||
if (!pin.hidden) {
|
||||
pin.style.left = x.value + '%';
|
||||
pin.style.top = y.value + '%';
|
||||
}
|
||||
};
|
||||
map.addEventListener('click', event => {
|
||||
const box = map.getBoundingClientRect();
|
||||
const percent = (value, size) => Math.max(0, Math.min(100, 100 * value / size)).toFixed(5);
|
||||
x.value = percent(event.clientX - box.left, box.width);
|
||||
y.value = percent(event.clientY - box.top, box.height);
|
||||
refresh();
|
||||
});
|
||||
x.addEventListener('input', refresh);
|
||||
y.addEventListener('input', refresh);
|
||||
refresh();
|
||||
});
|
||||
@@ -0,0 +1,61 @@
|
||||
.slx-world-map,.slx-world-resources{position:relative;max-width:72rem;margin:2rem auto;padding:1rem;box-sizing:border-box}
|
||||
.slx-world-map h2{margin:.25rem 0}
|
||||
.slx-world-stage{position:relative;isolation:isolate}
|
||||
.slx-world-stage img{display:block;width:100%;height:auto;border:0;filter:none;opacity:1}
|
||||
.slx-world-marker{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:clamp(25px,4vw,44px);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;color:#ffe141}
|
||||
.slx-world-marker::before,.slx-world-marker::after{content:"";grid-area:1/1;border:2px solid currentColor;border-radius:50%;width:48%;aspect-ratio:1;box-shadow:0 0 4px #161009;pointer-events:none}
|
||||
.slx-world-marker::after{animation:slx-map-scan 2.4s ease-out infinite}
|
||||
.slx-world-marker:nth-of-type(even)::after{animation-delay:-1.2s}
|
||||
.slx-world-marker:is(:hover,:focus-visible,[aria-current])::before{width:75%;border-width:3px}
|
||||
.slx-world-marker:focus-visible{outline:2px solid currentColor;outline-offset:1px}
|
||||
.slx-world-directory{display:flex;flex-wrap:wrap;gap:.4rem .85rem;list-style:none;margin:1rem 0 0;padding:0}
|
||||
.slx-world-directory a{display:inline-block;padding:.3rem 0;text-decoration:underline}
|
||||
.slx-world-resources{display:grid;gap:.65rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr))}
|
||||
[id^="map-"]{scroll-margin-top:6rem}
|
||||
[id^="map-"]:target{outline:2px solid #dfb900;outline-offset:3px}
|
||||
@keyframes slx-map-scan{from{transform:scale(1);opacity:.9}to{transform:scale(1.8);opacity:0}}
|
||||
@media(prefers-reduced-motion:reduce){.slx-world-marker::after{animation:none;display:none}}
|
||||
.slx-world-stage{container-type:inline-size}
|
||||
.slx-world-marker .slx-map-label{position:absolute;top:calc(50% + clamp(7px,1.1cqw,13px));left:50%;transform:translateX(-50%);display:grid;justify-items:center;gap:.2rem;width:max-content;max-width:21cqw;font-size:clamp(4px,1.05cqw,12px);padding:.2rem .3rem;background:#101522ed;border-radius:.3em;line-height:1}
|
||||
.slx-world-marker[data-map-destination="cart"] .slx-map-label{left:calc(50% + 2.8cqw);transform:translateX(-100%)}
|
||||
.slx-world-marker[data-map-destination="start"] .slx-map-label{left:calc(50% - 8.2cqw);transform:none}
|
||||
.djinn-sol-word{display:inline-flex;align-items:center;gap:.11em}
|
||||
.slx-world-stage img.djinn-sol-glyph{width:.62em;height:.81em;object-fit:contain;image-rendering:pixelated}
|
||||
|
||||
.slx-world-marker .djinn-sol-spelling{display:flex;gap:.28em;justify-content:center;flex-wrap:wrap}
|
||||
.slx-map-english{color:#fff;font-size:clamp(9px,1.25cqw,14px);font-weight:700;text-align:center;line-height:1.1;text-wrap:balance}
|
||||
.slx-world-marker:is(:hover,:focus-visible){z-index:2}
|
||||
.slx-world-marker[data-map-destination="start"] .slx-map-label{left:calc(50% - 8.2cqw)}
|
||||
@container (max-width: 540px){
|
||||
.slx-world-marker[data-map-destination="newsletter"] .slx-map-label{left:calc(50% - 10cqw);transform:none}
|
||||
.slx-world-marker[data-map-destination="library"] .slx-map-label{left:calc(50% + 6cqw);transform:none}
|
||||
}
|
||||
body.map-landing{margin:0;min-height:100svh;display:flex;flex-direction:column;background:#090e1a}
|
||||
.map-landing .slx-page-backdrop{display:none}
|
||||
.map-landing .site-header{flex:none}
|
||||
.map-landing-main{flex:1;display:flex;flex-direction:column;min-width:0}
|
||||
.map-landing .slx-world-map{flex:1;display:flex;flex-direction:column;width:100%;max-width:none;margin:0;padding:0;color:#f5f7ff}
|
||||
.slx-map-controls{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.45rem 1rem}
|
||||
.slx-map-controls h1{font-size:clamp(1rem,3vw,1.6rem);margin:0;color:inherit}
|
||||
.slx-map-controls button,.slx-map-list summary{color:#f5f7ff;background:#192339;border:1px solid #61708b;border-radius:.35rem;padding:.3rem .6rem;cursor:pointer}
|
||||
.slx-map-controls button[aria-pressed="false"]{opacity:.72}
|
||||
.slx-map-viewport{flex:1;display:grid;place-items:center;min-width:0;container-type:inline-size}
|
||||
.map-landing .slx-world-stage{width:min(100cqw,140svh);margin:auto}
|
||||
.slx-map-list{padding:.35rem 1rem}
|
||||
.slx-map-list summary{width:max-content}
|
||||
.slx-map-list a{color:#fff}
|
||||
@media(min-aspect-ratio: 4/3){.map-landing .slx-world-stage{width:min(100cqw,calc((100svh - 9rem) * 1.7504))}}
|
||||
body.map-landing{height:100svh}
|
||||
.map-landing .slx-map-viewport{container-type:size;min-height:10rem}
|
||||
.map-landing .slx-world-stage{width:min(100cqw,175.04cqh)}
|
||||
.map-landing .slx-map-list[open] .slx-world-directory{max-height:26svh;overflow:auto}
|
||||
.slx-world-stage .slx-map-avatar{width:auto;height:clamp(39px,7cqw,77px);position:absolute;z-index:5;transform:translate(-50%,-94%);pointer-events:none;filter:drop-shadow(0 0 5px #b3eaff) drop-shadow(0 0 10px #3387ff);image-rendering:pixelated}
|
||||
.slx-world-stage .slx-map-avatar[hidden]{display:none}
|
||||
.slx-world-stage.has-avatar-pointer,.slx-world-stage.has-avatar-pointer .slx-world-marker{cursor:none}
|
||||
.slx-world-marker{background:radial-gradient(circle at center,#e22118 0 3px,transparent 4px)}
|
||||
.countdown-showcase .slx-world-map{position:relative;isolation:isolate;color:#f5f7ff;background:#090e1a;border-radius:1rem}
|
||||
|
||||
/* The embedded map takes its size from its image, not a fixed viewport. */
|
||||
.countdown-showcase .slx-map-viewport{display:block;width:100%;container-type:normal}
|
||||
.countdown-showcase .slx-world-stage{width:100%;aspect-ratio:2048 / 1170}
|
||||
.countdown-showcase .slx-world-stage > img:first-child{width:100%;height:auto}
|
||||
@@ -0,0 +1,78 @@
|
||||
(() => {
|
||||
const map = document.querySelector('.slx-world-map');
|
||||
const Audio = window.AudioContext || window.webkitAudioContext;
|
||||
if (!map) return;
|
||||
const stage = map.querySelector('.slx-world-stage');
|
||||
const standing = stage.querySelector('.slx-map-avatar:not(.slx-map-avatar-selected)');
|
||||
const selected = stage.querySelector('.slx-map-avatar-selected');
|
||||
if (!standing || !selected) return;
|
||||
let landed = false;
|
||||
const move = (x,y) => {
|
||||
const avatar = landed ? selected : standing;
|
||||
avatar.style.left = x;
|
||||
avatar.style.top = y;
|
||||
avatar.hidden = false;
|
||||
};
|
||||
stage.addEventListener('pointermove', event => {
|
||||
if (landed || event.pointerType === 'touch') return;
|
||||
const bounds = stage.getBoundingClientRect();
|
||||
move(`${event.clientX-bounds.left}px`, `${event.clientY-bounds.top}px`);
|
||||
stage.classList.add('has-avatar-pointer');
|
||||
});
|
||||
stage.addEventListener('pointerleave', () => {
|
||||
standing.hidden = true;
|
||||
stage.classList.remove('has-avatar-pointer');
|
||||
});
|
||||
addEventListener('pageshow', () => { landed = false; standing.hidden = selected.hidden = true; stage.classList.remove('has-avatar-pointer'); });
|
||||
|
||||
const toggle = map.querySelector('[data-map-sound]');
|
||||
let enabled = true;
|
||||
try { enabled = localStorage.getItem('slx-map-sound') !== 'off'; } catch {}
|
||||
const reflect = () => toggle.setAttribute('aria-pressed', String(enabled));
|
||||
reflect();
|
||||
toggle.hidden = !Audio;
|
||||
toggle.addEventListener('click', () => {
|
||||
enabled = !enabled;
|
||||
reflect();
|
||||
try { localStorage.setItem('slx-map-sound', enabled ? 'on' : 'off'); } catch {}
|
||||
});
|
||||
let audio, navigating = false;
|
||||
map.addEventListener('click', event => {
|
||||
const link = event.target.closest('.slx-world-marker');
|
||||
if (!link || event.defaultPrevented || event.button !== 0 ||
|
||||
event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return;
|
||||
event.preventDefault();
|
||||
if (navigating) return;
|
||||
navigating = true;
|
||||
landed = true;
|
||||
standing.hidden = true;
|
||||
move(link.style.getPropertyValue('--x'), link.style.getPropertyValue('--y'));
|
||||
let timeout;
|
||||
const go = () => {
|
||||
if (!navigating) return;
|
||||
clearTimeout(timeout);
|
||||
navigating = false;
|
||||
location.assign(link.href);
|
||||
};
|
||||
timeout = setTimeout(go, enabled && Audio ? 420 : 280);
|
||||
if (!enabled || !Audio) return;
|
||||
try {
|
||||
audio ||= new Audio();
|
||||
audio.resume().then(() => {
|
||||
if (!navigating) return;
|
||||
const now = audio.currentTime;
|
||||
const tone = audio.createOscillator();
|
||||
const gain = audio.createGain();
|
||||
tone.frequency.setValueAtTime(1090, now);
|
||||
tone.frequency.exponentialRampToValueAtTime(510, now + .12);
|
||||
gain.gain.setValueAtTime(.001, now);
|
||||
gain.gain.exponentialRampToValueAtTime(.17, now + .014);
|
||||
gain.gain.exponentialRampToValueAtTime(.001, now + .14);
|
||||
tone.connect(gain).connect(audio.destination);
|
||||
tone.onended = () => setTimeout(go, 130);
|
||||
tone.start(now);
|
||||
tone.stop(now + .15);
|
||||
}).catch(() => {});
|
||||
} catch { /* The navigation timer still runs without audio. */ }
|
||||
});
|
||||
})();
|
||||