Add visual CMS, media library and product directory

This commit is contained in:
2026-11-21 19:27:46 +08:00
parent 188a63fb2f
commit 474008b06e
42 changed files with 1710 additions and 134 deletions
+71
View File
@@ -371,3 +371,74 @@ progress { width: 100%; height: .8rem; accent-color: var(--accent); }
.payment-methods { display: flex; gap: .65rem; align-items: center; margin-block: .5rem; }
.payment-methods img { width: 1.625rem; height: 1.625rem; object-fit: contain; }
.hero-inner.hero-text-only { grid-template-columns: minmax(0, 1fr); min-height: 28rem; }
.hero-directory > .directory-label { border-inline-start: 0; }
.catalog-hero { background: var(--paper); padding-block: clamp(3rem, 6vw, 6rem); }
.catalog-hero h1 { margin-bottom: .85rem; }
.catalog-hero p { margin: 0; font-size: 1.15rem; }
.catalog-listing { padding-block: clamp(3rem, 6vw, 6rem); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.catalog-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.catalog-image { aspect-ratio: 16 / 8; padding: clamp(.8rem, 3vw, 1.8rem); background: var(--paper); display: grid; place-items: center; }
.catalog-image img { max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.catalog-content { padding: clamp(1.25rem, 3vw, 2rem); flex: 1; display: flex; flex-direction: column; }
.catalog-content h2 { font-size: clamp(1.45rem, 3vw, 2.6rem); margin-bottom: .7rem; }
.catalog-content .overline { margin-bottom: .4rem; }
.catalog-content .actions { margin-top: auto; padding-top: 1rem; }
.copyright-service #materials .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.copyright-service #why .choice-card { background: #e9f0ff; border-color: #7599ec; box-shadow: inset 0 3px var(--accent); }
.copyright-service #why .choice-card h3 { color: var(--accent-deep); }
.copyright-service #options .feature-card { display: flex; flex-direction: column; align-items: flex-start; }
.copyright-service #options .feature-card > img { width: 3.6rem; height: 3.6rem; margin-bottom: .95rem; }
.copyright-service #options .feature-card > a { margin-top: auto; }
.copyright-service #faq .faq { max-width: none; }
.copyright-service #faq summary { font-size: clamp(1.05rem, 1.35vw, 1.2rem); min-height: 3.75rem; }
.copyright-service #faq details > div { max-width: 75ch; }
.copyright-service #go { padding-block: clamp(2rem, 5vw, 4rem); background: var(--white); }
.copyright-service #go > .wrap {
position: relative;
padding: clamp(1.5rem, 5vw, 4.5rem);
padding-right: clamp(11rem, 29vw, 23rem);
border-radius: var(--radius);
background: radial-gradient(ellipse at 88% 110%, #264b9a 0, transparent 59%), #132443;
color: var(--white);
min-height: 16rem;
display: flex;
flex-direction: column;
justify-content: center;
}
.copyright-service #go .section-heading { margin-bottom: .8rem; }
.copyright-service #go h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); }
.copyright-service #go .contact-panel { display: block; }
.copyright-service #go .contact-panel p { color: #d9e8ff; max-width: 40ch; }
.copyright-service #go .contact-panel img {
position: absolute;
top: 50%;
right: clamp(1.5rem, 6vw, 6rem);
transform: translateY(-50%);
width: clamp(8rem, 13vw, 12rem);
padding: .5rem;
border: 0;
border-radius: .85rem;
background: white;
}
.copyright-service #go .button { color: #142956; background: #eef4ff; border-color: #eef4ff; }
.copyright-service #terms { padding-block: 1.4rem 2.5rem; border-top: 0; }
.copyright-service #terms .section-heading { margin-bottom: .35rem; }
.copyright-service #terms h2 { font-size: .95rem; letter-spacing: 0; }
.copyright-service #terms .rich { font-size: .875rem; color: var(--muted); }
@media (max-width: 62rem) {
.copyright-service #materials .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 44rem) {
.catalog-grid, .copyright-service #materials .feature-grid { grid-template-columns: 1fr; }
.hero-directory > .directory-label { grid-column: 1 / -1; border-top: 0; }
.copyright-service #go > .wrap { padding: 1.55rem; min-height: 0; }
.copyright-service #go .contact-panel { display: flex; gap: 1rem; }
.copyright-service #go .contact-panel img { position: static; transform: none; width: 7rem; }
}
.hero h1 .hero-heading-primary { color: inherit; }
[data-studio-field][contenteditable] { min-height: 1em; outline: 1px dashed #7896d5; outline-offset: 3px; }