mirror of
https://github.com/bitbaum/vitareba.git
synced 2026-12-04 04:17:20 +01:00
* chore: add a formatter, matching the style this repo already writes singleQuote=false was chosen by counting this repo's own imports, not by fleet decree. The fleet is genuinely split and the two repos that already had a .prettierrc disagreed with each other, so there was no standard to restore. Quote style does not cross repo boundaries; having a gate does. Markdown is ignored for now — prettier rewraps prose, which would bury the real diff. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * style: format with prettier (304 files) Mechanical. No behaviour change. This SHA is listed in .git-blame-ignore-revs so `git blame` skips it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * chore: teach git blame to skip the reformat Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * style: format the two files the reformat pass missed prettier --check flagged app/shared.module.css and lib/domain/clinicians.test.ts on a branch whose whole point was that everything had been formatted. Re-running the same command with the same version fixes both, so the rollout's write step did not finish what it reported. The rollout now runs --check straight after --write and refuses to open a PR unless it comes back clean, so a partial reformat fails at the source instead of in CI. --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
87 lines
1.6 KiB
CSS
87 lines
1.6 KiB
CSS
.root {
|
|
position: relative;
|
|
}
|
|
|
|
.trigger {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
background: none;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
font-family: var(--font-dm-sans), sans-serif;
|
|
font-size: 0.72rem;
|
|
font-weight: 400;
|
|
letter-spacing: 0.1em;
|
|
color: var(--ink2);
|
|
padding: 0.35rem 0.55rem;
|
|
line-height: 1;
|
|
transition:
|
|
border-color var(--transition-fast),
|
|
color var(--transition-fast);
|
|
min-height: 2rem;
|
|
}
|
|
|
|
.trigger:hover,
|
|
.trigger:focus-visible {
|
|
border-color: var(--ink2);
|
|
color: var(--ink);
|
|
outline: none;
|
|
}
|
|
|
|
.chevron {
|
|
transition: transform var(--transition-fast);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.chevronOpen {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 0.4rem);
|
|
right: 0;
|
|
background: var(--white);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-sm);
|
|
padding: 0.25rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 4rem;
|
|
z-index: 100;
|
|
}
|
|
|
|
.option {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-family: var(--font-dm-sans), sans-serif;
|
|
font-size: 0.72rem;
|
|
font-weight: 400;
|
|
letter-spacing: 0.1em;
|
|
color: var(--muted);
|
|
padding: 0.4rem 0.65rem;
|
|
border-radius: var(--radius-sm);
|
|
text-align: left;
|
|
transition:
|
|
background var(--transition-fast),
|
|
color var(--transition-fast);
|
|
line-height: 1;
|
|
}
|
|
|
|
.option:hover,
|
|
.option:focus-visible {
|
|
background: var(--off);
|
|
color: var(--ink);
|
|
outline: none;
|
|
}
|
|
|
|
.optionActive {
|
|
color: var(--ink);
|
|
font-weight: 500;
|
|
background: var(--light);
|
|
}
|