Team panel: the drawer's edge is an inset hairline, not a border
Hosted CI on e1d8ff2 failed TestTaskLayoutRules twice: "forbidden CSS accent border-inline-start". The drawer drew its edge with border-inline-start, which the layout rule bans outright (no coloured left borders). The same 1px line is now an inset box-shadow on the drawer's start edge, mirrored for right-to-left.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+2
−2
internal/equipo/static/equipo.css+2 −2
CI passed — run details
Intent
diff --git a/internal/equipo/static/equipo.css b/internal/equipo/static/equipo.css| index 910a2362..88a6c737 100644 |
| --- a/internal/equipo/static/equipo.css |
| +++ b/internal/equipo/static/equipo.css |
| @@ -1250,12 +1250,12 @@ a[equipo-source]:hover { color: var(--rst-text); text-decoration: underline; tex |
| /* A specialist's drawer (the team panel, 2026-11-11): its own page, |
| /team/{specialist}, lifted by team-panel.js into a dialog at the |
| window's end edge, full width on a phone. Hairlines and tints only. */ |
| -dialog[equipo-drawer] { position: fixed; inset: 0 0 0 auto; box-sizing: border-box; margin: 0; padding: 0; border: 0; border-inline-start: 1px solid var(--rst-line); inline-size: min(30rem, 100vw); max-inline-size: 100vw; block-size: 100dvh; max-block-size: 100dvh; overflow: hidden; background: var(--rst-bg); color: var(--rst-text); box-shadow: -12px 0 32px -16px light-dark(rgba(16, 24, 40, .28), rgba(0, 0, 0, .7)); animation: equipo-drawer-in .32s cubic-bezier(.16, 1, .3, 1); } |
| +dialog[equipo-drawer] { position: fixed; inset: 0 0 0 auto; box-sizing: border-box; margin: 0; padding: 0; border: 0; inline-size: min(30rem, 100vw); max-inline-size: 100vw; block-size: 100dvh; max-block-size: 100dvh; overflow: hidden; background: var(--rst-bg); color: var(--rst-text); box-shadow: inset 1px 0 0 var(--rst-line), -12px 0 32px -16px light-dark(rgba(16, 24, 40, .28), rgba(0, 0, 0, .7)); animation: equipo-drawer-in .32s cubic-bezier(.16, 1, .3, 1); } |
| html:has(dialog[equipo-drawer][open]) { overflow: hidden; } |
| dialog[equipo-drawer]::backdrop { background: var(--rst-overlay); animation: equipo-fade .24s ease-out; } |
| dialog[equipo-drawer][data-leaving] { animation: equipo-drawer-out .18s cubic-bezier(.4, 0, 1, 1) forwards; } |
| dialog[equipo-drawer][data-leaving]::backdrop { opacity: 0; transition: opacity .18s ease-in; } |
| -[dir="rtl"] dialog[equipo-drawer] { inset: 0 auto 0 0; } |
| +[dir="rtl"] dialog[equipo-drawer] { inset: 0 auto 0 0; box-shadow: inset -1px 0 0 var(--rst-line), 12px 0 32px -16px light-dark(rgba(16, 24, 40, .28), rgba(0, 0, 0, .7)); } |
| @keyframes equipo-drawer-in { from { transform: translateX(100%); } } |
| @keyframes equipo-drawer-out { to { transform: translateX(100%); } } |
| dialog[equipo-drawer] > [equipo-team] { box-sizing: border-box; block-size: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--rst-sp-5) calc(var(--rst-sp-6) + env(safe-area-inset-bottom, 0px)); } |