Phase A — Gate Reliability: - Fix typography token violations in app-breadcrumb.css - Switch QG-006 from composer cs:check to direct php-cs-fixer - Align all docs/skills with new gate command Phase B — Production Profile: - Multi-stage Dockerfile: dev (xdebug) / prod (no xdebug) - Compose files target explicit build stages Phase C — Module Runtime Hardening: - Atomic staging+swap build in ModuleRuntimePageBuilder - SHA-256 fingerprint from manifest content + page entries - 11 new regression tests for build safety and fingerprint drift Task: STARTERKIT-HARDENING-ONPREM-001 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
75 lines
1.7 KiB
CSS
75 lines
1.7 KiB
CSS
@layer components {
|
|
/*
|
|
* Breadcrumb navigation — WAI-ARIA breadcrumb pattern with CSS-only separators.
|
|
*
|
|
* Self-contained: explicitly resets inherited shell nav/ol/li rules
|
|
* (app-shell.css lines 2844-2956) to avoid layout side-effects.
|
|
*/
|
|
.app-breadcrumb {
|
|
display: block;
|
|
justify-content: initial;
|
|
overflow: initial;
|
|
margin-bottom: 0.375rem;
|
|
font-size: var(--text-xs);
|
|
line-height: var(--app-line-height);
|
|
}
|
|
|
|
.app-breadcrumb ol {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 0.375rem;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.app-breadcrumb li {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.app-breadcrumb li::before {
|
|
content: none;
|
|
}
|
|
|
|
.app-breadcrumb li + li::before {
|
|
content: "/";
|
|
color: var(--app-muted-color);
|
|
font-size: 0.75em; /* em-relative sizing — intentional */
|
|
margin-inline-end: 0.375rem;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.app-breadcrumb a {
|
|
display: inline;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: var(--app-muted-color);
|
|
text-decoration: none;
|
|
border-radius: var(--app-border-radius);
|
|
transition: color var(--app-transition);
|
|
}
|
|
|
|
.app-breadcrumb a:hover {
|
|
color: var(--app-primary-hover);
|
|
text-decoration: underline;
|
|
text-underline-offset: var(--app-text-underline-offset);
|
|
}
|
|
|
|
.app-breadcrumb a:focus-visible {
|
|
background: color-mix(in srgb, var(--app-contrast) 8%, transparent);
|
|
color: var(--app-contrast);
|
|
outline: var(--app-outline-width) solid var(--app-primary-focus);
|
|
outline-offset: 0.125rem;
|
|
}
|
|
|
|
.app-breadcrumb [aria-current="page"] {
|
|
color: var(--app-color);
|
|
font-weight: var(--font-medium);
|
|
pointer-events: none;
|
|
}
|
|
}
|