Files
marketplaces/src/app/pages/static-page/static-page.component.scss
sdarbinyan 2734734752 fix(storefront): polish static-pages
Add role=status/aria-live to the CMS static-page loading state
(matching the pattern applied across home/search/catalog/product) and
a :focus-visible outline to the 404 back-home link.

The per-locale legal/info pages (about, contacts, delivery, faq,
guarantee, privacy-policy, public-offer, return-policy, payment-terms,
company-details) are static translated marketing content with no
interactive elements — reviewed, no changes needed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-19 23:41:36 +04:00

45 lines
667 B
SCSS

.static-page {
min-height: 45vh;
}
.static-page__state {
text-align: center;
padding: 2rem 0;
color: var(--text-secondary, #667a77);
h1 {
margin-bottom: 0.5rem;
color: var(--text-primary, #1e3c38);
}
a {
color: var(--primary-color, #497671);
text-decoration: none;
&:focus-visible {
outline: 2px solid var(--primary-color, #497671);
outline-offset: 2px;
}
}
}
.static-page__content {
display: grid;
gap: 1rem;
h1 {
color: var(--text-primary, #1e3c38);
margin: 0;
}
}
.static-page__html {
color: var(--text-primary, #1e3c38);
line-height: 1.6;
h2,
h3 {
margin-top: 1.25rem;
}
}