Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

Buttons: outlined buttons get one even edge, and note chips match their height

Eric Brownrout52df999d9883
diff --git a/app/src/renderer/src/setup.css b/app/src/renderer/src/setup.css
index 887dec7b..ad2b803f 100644
--- a/app/src/renderer/src/setup.css
+++ b/app/src/renderer/src/setup.css
@@ -24,16 +24,20 @@
.settings-action { flex:none; }
.settings-name-field { flex:none;width:185px;max-width:100%;height:32px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--ink);font-size:13px; }
.settings-select-wrap { position:relative;display:inline-flex;flex:none;max-width:100%; }
-.settings-select { appearance:none;width:auto;min-width:170px;max-width:100%;height:34px;padding-inline:12px 34px;border:1px solid var(--control-border);border-radius:7px;background:var(--control);box-shadow:0 1px 2px #00000008,inset 0 1px 0 #ffffff08;color:var(--ink);font-size:13px; }
+.settings-select { appearance:none;width:auto;min-width:170px;max-width:100%;height:34px;padding-inline:12px 34px;border:1px solid var(--line);border-radius:7px;background:var(--control);color:var(--ink);font-size:13px; }
+.settings-select:hover:not(:disabled) { background:var(--control-hover); }
+.settings-select:active:not(:disabled) { background:var(--control-pressed); }
+.settings-select:disabled { opacity:.5; }
.settings-select-wrap>svg { position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--muted); }
#settings-app-language,#settings-summary-language { width:240px; }
.settings-select:focus-visible { outline:2px solid var(--focus);outline-offset:2px; }
.settings-name-field:focus-visible { outline:2px solid var(--focus);outline-offset:2px; }
-.settings-toggle { position:relative;flex:none;width:38px;height:22px;border:1px solid var(--control-border);border-radius:12px;background:var(--control-pressed);box-shadow:inset 0 1px 2px #00000014;transition:background-color var(--dur-micro) ease,border-color var(--dur-micro) ease; }
+.settings-toggle { position:relative;flex:none;width:38px;height:22px;border:1px solid var(--line);border-radius:12px;background:var(--control-pressed);transition:background-color var(--dur-micro) ease,border-color var(--dur-micro) ease; }
.settings-toggle[aria-disabled=true] { opacity:.5;cursor:default; }
-.settings-toggle[aria-checked=true] { background:var(--primary);border-color:var(--primary); }
-.settings-toggle-knob { position:absolute;inset-block-start:2px;inset-inline-start:2px;width:16px;height:16px;border-radius:50%;background:linear-gradient(#fff,#f5f5f7);box-shadow:0 1px 3px #0003,inset 0 0 0 .5px #0000000a;transition:transform var(--dur-base) var(--ease-soft),width var(--dur-micro) var(--ease-out); }
-.settings-toggle[aria-checked=true] .settings-toggle-knob { transform:translateX(16px); }
+.settings-toggle[aria-checked=true] { background:var(--primary);border-color:var(--primary);box-shadow:inset 0 1px 2px #00000014; }
+.settings-toggle:hover:not([aria-checked=true],:disabled,[aria-disabled=true]) { border-color:var(--muted); }
+.settings-toggle-knob { position:absolute;inset-block-start:2px;inset-inline-start:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform var(--dur-base) var(--ease-soft),width var(--dur-micro) var(--ease-out); }
+.settings-toggle[aria-checked=true] .settings-toggle-knob { background:linear-gradient(#fff,#f5f5f7);box-shadow:0 1px 3px #0003,inset 0 0 0 .5px #0000000a;transform:translateX(16px); }
.settings-toggle:dir(rtl)[aria-checked=true] .settings-toggle-knob { transform:translateX(-16px); }
/* the knob slides past and settles, and stretches toward where it's going while pressed */
.settings-toggle:active:not(:disabled,[aria-disabled=true]) .settings-toggle-knob { width:20px; }
@@ -41,8 +45,9 @@
.settings-toggle:dir(rtl)[aria-checked=true]:active:not(:disabled,[aria-disabled=true]) .settings-toggle-knob { transform:translateX(-12px); }
.settings-spoken { display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:none;max-width:100%;gap:2px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--control); }
.settings-spoken-choice { white-space:nowrap;min-width:0;min-height:30px;padding:5px 10px;border:1px solid transparent;border-radius:5px;text-align:center;font-size:12px;line-height:18px;font-weight:500;color:var(--muted); }
-.settings-spoken-choice[aria-checked=true] { color:var(--ink);background:var(--float);border-color:var(--line);box-shadow:0 1px 2px #0000000d; }
+.settings-spoken-choice[aria-checked=true] { color:var(--ink);background:var(--float);border-color:var(--line); }
.settings-spoken-choice:hover:not([aria-checked=true]) { color:var(--ink);background:var(--control-hover); }
+.settings-spoken-choice:active:not(:disabled) { background:var(--control-pressed); }
.settings-shortcuts .settings-row { min-height:42px;padding-block:10px;justify-content:space-between;font-size:12px; }
.settings-shortcuts kbd { display:block;min-width:40px;text-align:center;padding:2px 6px;border:1px solid var(--line);border-radius:4px;font:11px var(--font-sans);color:var(--muted);background:var(--card); }
.settings-backup { padding:20px; }
@@ -203,12 +208,12 @@
.ob-button { display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;min-width:112px;padding:0 18px;border:1px solid transparent;border-radius:9px;font-size:13px;line-height:18px;font-weight:550;white-space:nowrap;transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease,box-shadow var(--dur-micro) ease,transform var(--dur-micro) var(--ease-out); }
.ob-button:active:not(:disabled) { transform:scale(.97); }
.ob-button:disabled { opacity:.55;cursor:default; }
-.ob-button:focus-visible { outline:2px solid #6F00FF38;outline-offset:2px; }
.ob-button.primary { color:#fff;background:linear-gradient(180deg,#8A3DFF,#6F00FF 60%,#6700EC);border-color:#6200E0;box-shadow:inset 0 1px 0 #FFFFFF40,0 1px 2px #4A00AA2E,0 4px 12px -4px #6F00FF73; }
.ob-button.primary:hover:not(:disabled) { background:linear-gradient(180deg,#8030FF,#6600EB); }
+.ob-button:focus-visible { outline:2px solid #6F00FF38;outline-offset:2px; }
@media (prefers-color-scheme: dark) {
- .ob-button:focus-visible { outline-color:#C599FF4D; }
.ob-button.primary { border-color:#7A1CFF;box-shadow:inset 0 1px 0 #FFFFFF33,0 1px 2px #00000066,0 6px 16px -6px #6F00FFA6; }
+ .ob-button:focus-visible { outline-color:#C599FF4D; }
}
.ob-note { display:flex;flex-direction:column;align-items:flex-start;gap:3px;max-width:372px;font-size:12px;line-height:18px;color:var(--muted); }
diff --git a/app/src/renderer/src/styles.css b/app/src/renderer/src/styles.css
index b376b01e..6bacc92e 100644
--- a/app/src/renderer/src/styles.css
+++ b/app/src/renderer/src/styles.css
@@ -11,6 +11,7 @@
}
:root {
+ --button-height: 30px;
--dur-micro: 120ms;
--dur-base: 180ms;
--dur-surface: 240ms;
@@ -233,7 +234,7 @@ html.widget, .widget-pill[data-illustration] { --pill:#232326;--pill-ink:#F7F7FA
.summary-regenerate-input::placeholder { color:var(--muted); }
.summary-regenerate-warning { margin-top:10px;font-size:12px;line-height:20px;color:var(--muted);overflow-wrap:anywhere; }
.summary-regenerate-actions { display:flex;justify-content:flex-end;margin-top:12px; }
-.note-chip, .note-record-action { height:32px; }
+.note-chip, .note-record-action { height:var(--button-height); }
.note-chip { transition: background-color var(--dur-micro) ease, color var(--dur-micro) ease, opacity var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) ease; }
.note-chip:hover, .note-chip[aria-expanded="true"] { background:var(--control-hover);color:var(--ink); }
.note-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@@ -544,6 +545,7 @@ input::selection, textarea::selection, .note-prose ::selection { background: var
.note-layout { min-height:0; }
.note-page-width { width:100%;max-width:860px;margin-inline:auto;padding-inline:clamp(20px,calc(10cqw - 42px),48px); }
.note-header { flex:none;padding-top:84px; }
+.note-metadata .note-chip { font-size:12px;line-height:18px; }
.note-metadata { display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0; }
.note-meta-row { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:16px; }
.note-header-actions { display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-inline-start:auto; }
@@ -588,9 +590,9 @@ input::selection, textarea::selection, .note-prose ::selection { background: var
.note-footer>[data-testid=note-stop-unsaved] { max-width:min(760px,calc(100% - 48px));margin-inline:auto; }
.note-record-hint { display:flex;align-items:flex-start;justify-content:center;gap:7px;max-width:760px;margin:8px auto 0;padding-inline:24px;font-size:12px;line-height:18px;color:var(--written); }
.note-record-hint>svg { margin-top:2px; }
-.note-recording-group { display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:30px; }
-.note-recording-group[data-recording=true] { height:30px;flex-wrap:nowrap;gap:0;border:1px solid var(--line);border-radius:6px;background:var(--float);box-shadow:var(--shadow-soft); }
-.note-recording-group[data-recording=true] .note-record-action { flex:none;height:28px;min-width:0;padding-inline:12px;border:0;border-inline-start:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;color:var(--muted); }
+.note-recording-group { display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:var(--button-height); }
+.note-recording-group[data-recording=true] { height:var(--button-height);flex-wrap:nowrap;gap:0;border:1px solid var(--line);border-radius:6px;background:var(--float); }
+.note-recording-group[data-recording=true] .note-record-action { flex:none;height:100%;min-width:0;padding-inline:12px;border:0;border-inline-start:1px solid var(--line);border-radius:0;background:transparent;color:var(--muted); }
.note-recording-group[data-recording=true] .note-pause-action { width:30px;padding:0;border-inline-start:0;border-start-start-radius:5px;border-end-start-radius:5px; }
.note-recording-group[data-recording=true] .note-record-action:last-child { border-start-end-radius:6px;border-end-end-radius:6px; }
.note-recording-group[data-recording=true] .note-record-action:hover:not(:disabled) { background:var(--control-hover);color:var(--ink); }
@@ -602,7 +604,7 @@ input::selection, textarea::selection, .note-prose ::selection { background: var
.note-recording-group[data-treatment=word] .note-finish-action { width:auto;padding-inline:12px;color:var(--ink); }
.note-recording-group[data-treatment=word] .note-stop-label { display:inline; }
@media (forced-colors:active) { .note-recording-group[data-treatment] .note-finish-action::before { forced-color-adjust:none;background:ButtonText; } }
-.note-finishing { display:flex;align-items:center;height:30px;padding-inline:10px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:12px; }
+.note-finishing { display:flex;align-items:center;height:var(--button-height);padding-inline:10px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:12px; }
.workspace .note-record-action:focus-visible { outline-offset:-2px; }
.chat-panel { position:fixed;z-index:70;inset-block:auto var(--chat-bottom,72px);inset-inline:auto 24px;width:420px;max-width:calc(100% - 32px);height:min(440px,var(--chat-height,440px),calc(100dvh - var(--chat-bottom,72px) - 68px));min-height:0;max-height:none;margin:0;padding:0;overflow:visible;border:1px solid var(--line);border-radius:12px;background:var(--float);color:var(--ink);box-shadow:0 16px 48px rgb(0 0 0 / .18),0 4px 12px rgb(0 0 0 / .08); }
@@ -656,12 +658,13 @@ input::selection, textarea::selection, .note-prose ::selection { background: var
@media(max-width:999px) and (max-height:420px) {
.chat-panel { inset-block:16px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px); }
}
-.note-record-action { display:flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;padding-inline:12px;border:1px solid var(--line);border-radius:6px;background:var(--float);box-shadow:var(--shadow-soft);color:var(--ink);font-size:12px;font-weight:500;white-space:nowrap;transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease; }
+.note-record-action { display:flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;padding-inline:12px;border:1px solid var(--line);border-radius:6px;background:var(--float);color:var(--ink);font-size:12px;font-weight:500;white-space:nowrap;transition:background-color var(--dur-micro) ease,color var(--dur-micro) ease; }
.note-record-action:hover:not(:disabled) { background:var(--control-hover); }
-.note-record-action:active:not(:disabled) { background:var(--control-pressed);box-shadow:none; }
+.note-record-action:active:not(:disabled) { background:var(--control-pressed); }
.note-record-action:disabled { opacity:.45; }
-.note-record-action.primary { background:var(--primary);border-color:var(--primary);color:#FFFFFF; }
+.note-record-action.primary { background:var(--primary);border-color:var(--primary);color:#FFFFFF;box-shadow:var(--shadow-soft); }
.note-record-action.primary:hover:not(:disabled) { background:var(--primary-hover); }
+.note-record-action.primary:active:not(:disabled) { box-shadow:none; }
@media(prefers-reduced-motion:reduce) { .note-record-action { transition:none; } }
[data-testid="transcript-panel"] { border-radius: 12px; }
.note-primary-tools { display:flex;align-items:center;align-self:flex-start;height:34px;margin-inline-start:auto;min-width:32px;flex:1;container-type:inline-size; }
@@ -761,7 +764,7 @@ html:not(.widget) button:focus-visible, html:not(.widget) input:focus-visible {
.page-loading { pointer-events:none; }
.loading-prose { display:grid;gap:12px;padding-block:6px; }
.note-title-type { font-size:28px;line-height:1.25;font-weight:600;letter-spacing:-.03em; }
-.loading-note-chip { height:32px;max-width:30%;border-radius:7px;background:var(--control); }
+.loading-note-chip { height:var(--button-height);max-width:30%;border-radius:6px;background:var(--control); }
.loading-transcript-turns { display:grid;gap:12px; }
.loading-folder-icon { width:16px;height:16px;flex:none;border-radius:4px;background:var(--control); }
.loading-checkbox { width:14px;height:14px;border-radius:3px;background:var(--control); }
@@ -938,7 +941,7 @@ html:not(.widget) button:focus-visible, html:not(.widget) input:focus-visible {
.summary-stop-icon { display:inline-grid;place-items:center;width:14px;height:14px; }
.summary-stop-icon>* { grid-area:1/1;transition:opacity var(--dur-base) var(--ease-out); }
.summary-stop-square { width:10px;height:10px;border-radius:2px;background:currentColor;opacity:0; }
-.note-resume-action[data-processing=true] { cursor:pointer;box-shadow:0 1px 2px #0000000A; }
+.note-resume-action[data-processing=true] { cursor:pointer; }
.note-resume-action[data-processing=true]:hover { background:var(--control-hover); }
.note-resume-action:is(:hover,:focus) .summary-stop-icon>svg { opacity:0; }
.note-resume-action:is(:hover,:focus) .summary-stop-square { opacity:1; }
@@ -963,9 +966,9 @@ html:not(.widget) button:focus-visible, html:not(.widget) input:focus-visible {
.text-action,.ghost-btn,.workspace-button { display:inline-flex;align-items:center;justify-content:center;flex:none;gap:6px;box-sizing:border-box;white-space:nowrap;text-decoration:none;line-height:18px; }
.text-action { padding:4px 0;border:0;border-radius:3px;background:transparent;color:var(--muted);font-size:inherit;line-height:inherit;font-weight:400; }
.text-action:hover:not(:disabled) { color:var(--ink); }
-.ghost-btn,.workspace-button { height:30px;padding:0 11px;border:1px solid transparent;border-radius:6px;font-size:12px; }
+.ghost-btn,.workspace-button { height:var(--button-height);padding:0 11px;border:1px solid transparent;border-radius:6px;font-size:12px; }
.ghost-btn { background:transparent;color:var(--muted);font-weight:400; }
-.workspace-button { border-color:var(--line);background:var(--float);color:var(--ink);font-weight:500;box-shadow:inset 0 1px 0 #FFFFFF0D,0 1px 2px #0000000A; }
+.workspace-button { border-color:var(--line);background:var(--float);color:var(--ink);font-weight:500; }
.ghost-btn:hover:not(:disabled),.ghost-btn:is(:where([aria-haspopup])[aria-expanded=true],[aria-pressed=true]):not(:disabled),.workspace-button:not(.primary):hover:not(:disabled) { color:var(--ink);background:var(--control-hover); }
.ghost-btn:active:not(:disabled),.workspace-button:not(.primary):active:not(:disabled) { background:var(--control-pressed); }
.text-action:disabled,.ghost-btn:disabled,.workspace-button:disabled { opacity:.45;cursor:default; }
@@ -994,7 +997,7 @@ html:not(.widget) button:focus-visible, html:not(.widget) input:focus-visible {
.audio-upload-actions { flex-direction:row;align-items:center;justify-content:flex-end;gap:16px;font-size:12px; }
.audio-upload-actions>.workspace-button { width:auto; }
.audio-upload-date-row { display:flex;align-items:center;gap:0;border:1px solid var(--line);border-radius:6px;padding:0;min-width:0;height:34px;color:var(--muted);font-size:12px; }
-.audio-upload-date { display:flex;align-items:center;gap:8px;min-width:0;color:var(--ink);font-size:12px;padding:0 10px;flex:1;border-start-start-radius:5px;border-end-start-radius:5px; }
+.audio-upload-date { height:32px;display:flex;align-items:center;gap:8px;min-width:0;color:var(--ink);font-size:12px;padding:0 10px;flex:1;border-start-start-radius:5px;border-end-start-radius:5px; }
.audio-upload-date span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.audio-upload-when { display:grid;grid-template-columns:minmax(0,1fr);gap:6px; }
.upload-time-error {color:var(--danger);font-size:12px;line-height:18px; }
diff --git a/app/src/renderer/src/workspace.css b/app/src/renderer/src/workspace.css
index 98e5096b..c35a0927 100644
--- a/app/src/renderer/src/workspace.css
+++ b/app/src/renderer/src/workspace.css
@@ -311,8 +311,10 @@
/* Source tabs share the quote card's available height, including the overflow group. */
.citation-content[data-tabbed=true] { display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden; }
.citation-tabs { display:flex;gap:2px;padding:2px;background:var(--control);border-radius:6px;margin-bottom:12px;min-width:0; }
-.citation-tabs button { flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 7px;border-radius:4px;font-size:12px;line-height:18px;color:var(--muted);font-weight:600; }
-.citation-tabs button[aria-selected=true] { color:var(--ink);background:var(--float);box-shadow:var(--shadow-soft); }
+.citation-tabs button { flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 6px;border:1px solid transparent;border-radius:4px;font-size:12px;line-height:18px;color:var(--muted);font-weight:600; }
+.citation-tabs button[aria-selected=true] { color:var(--ink);background:var(--float);border-color:var(--line); }
+.citation-tabs button:hover:not([aria-selected=true],:disabled) { background:var(--control-hover); }
+.citation-tabs button:active:not(:disabled) { background:var(--control-pressed); }
.citation-tabs button[data-overflow=true] { flex:0 0 38px; }
.citation-tabs button:focus-visible { outline:2px solid var(--focus);outline-offset:1px; }
.citation-tab-panels { display:grid;min-height:0;overflow:hidden; }
@@ -470,7 +472,7 @@ body:has(.chat-panel[open]) .app-toast-viewport:dir(rtl) { --toast-x:440px; }
.ask-turn:last-child { margin-bottom:0; }
.ask-question { width:fit-content;max-width:80%;margin:0;margin-inline-start:auto;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;background:var(--control);padding:8px 12px;font-size:14px;line-height:20px; }
.ask-composer { flex:none;min-width:0;container-type:inline-size; }
-.ask-box { position:relative;min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--float);box-shadow:var(--shadow-soft); }
+.ask-box { position:relative;min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--float); }
/* Composers are never lit; a short tapered flare invites typing instead. */
.ask-tracer { position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);overflow:visible;pointer-events:none;opacity:0;fill:none;stroke:var(--primary);stroke-width:3;stroke-linecap:round;filter:drop-shadow(0 0 4px color-mix(in srgb,var(--primary) 70%,transparent)) drop-shadow(0 0 10px color-mix(in srgb,var(--primary) 35%,transparent)); }
.ask-tracer rect { stroke-dasharray:1.05 98.95; }
@@ -573,7 +575,7 @@ body:has(.chat-panel[open]) .app-toast-viewport:dir(rtl) { --toast-x:440px; }
/* Keep the suggestion mounted while its actions collapse into the filed chip. */
.note-folder-proposal { width:max-content;max-width:min(256px,100%); }
.note-folder-proposal:hover { background:transparent;color:var(--muted); }
-.note-folder-name { display:flex;align-items:center;gap:6px;min-width:0;height:30px;padding:0 10px;border-radius:5px 0 0 5px; }
+.note-folder-name { display:flex;align-items:center;gap:6px;min-width:0;height:100%;padding:0 10px;border-radius:5px 0 0 5px; }
[dir="rtl"] .note-folder-name { border-radius:0 5px 5px 0; }
.note-folder-name:hover,.note-folder-name[aria-expanded="true"] { color:var(--ink);background:var(--control-hover); }
.note-folder-name:focus-visible { outline:2px solid var(--accent);outline-offset:2px; }
diff --git a/app/test/flatButtons.test.ts b/app/test/flatButtons.test.ts
new file mode 100644
index 00000000..3a9b2b2c
--- /dev/null
+++ b/app/test/flatButtons.test.ts
@@ -0,0 +1,38 @@
+import { readFileSync } from 'node:fs'
+import { expect, it } from 'vitest'
+
+const styles = ['styles', 'workspace', 'setup'].map(name =>
+ readFileSync(new URL(`../src/renderer/src/${name}.css`, import.meta.url), 'utf8'),
+).join('\n')
+
+it('keeps a flat face on bordered controls, including selected, paused and processing states', () => {
+ const controls = [
+ '.workspace-button', '.note-recording-group', '.note-record-action',
+ '.note-resume-action', '.citation-tabs button', '.modal-button', '.ob-button',
+ '.settings-select', '.settings-toggle', '.settings-spoken-choice',
+ ]
+ const rules = [...styles.matchAll(/([^{}]+)\{([^{}]*)\}/g)]
+ for (const control of controls) {
+ const matches = rules.filter(([, selector]) => selector.includes(control) && !selector.includes('.primary') && !selector.includes('.settings-toggle[aria-checked=true]'))
+ expect(matches.length, control).toBeGreaterThan(0)
+ for (const [, selector, declarations] of matches) {
+ expect(declarations, selector).not.toMatch(/box-shadow\s*:(?!\s*none\b)|gradient\(|drop-shadow\(/)
+ }
+ }
+})
+
+it('retains the original recording primary and its divider', () => {
+ expect(styles).toMatch(/\.workspace-button\.primary \{[^}]*background-image:linear-gradient\(180deg,#FFFFFF14,transparent 55%,#0000000A\);border-color:#00000014;/)
+ expect(styles).toMatch(/\.workspace-button\.primary:active:not\(:disabled\) \{[^}]*box-shadow:inset 0 1px 2px #35006533;/)
+ expect(styles).toMatch(/\.primary\.recording-chevron \{[^}]*border-inline-start:1px solid #FFFFFF26;/)
+})
+
+it('sizes the note header and its loading placeholders from the standard button height', () => {
+ expect(styles).toContain('--button-height: 30px')
+ for (const selector of ['.ghost-btn,.workspace-button', '.note-chip, .note-record-action', '.note-recording-group[data-recording=true]', '.note-finishing', '.loading-note-chip']) {
+ const rule = styles.split(`\n${selector} {`)[1]?.split('}')[0]
+ expect(rule, selector).toContain('height:var(--button-height)')
+ }
+ expect(styles).toMatch(/\.note-folder-name \{[^}]*height:100%/)
+ expect(styles).toMatch(/\.note-recording-group\[data-recording=true\] \.note-record-action \{[^}]*height:100%/)
+})
diff --git a/app/test/uploadPresentation.test.ts b/app/test/uploadPresentation.test.ts
index f7133793..0e13c7f4 100644
--- a/app/test/uploadPresentation.test.ts
+++ b/app/test/uploadPresentation.test.ts
@@ -35,8 +35,7 @@ it('keeps the shared busy button box and label, without the extra inset edge',()
const css=readFileSync(new URL('../src/renderer/src/styles.css',import.meta.url),'utf8')
const busy=css.match(/\.note-resume-action\[data-processing=true\] \{([^}]+)\}/)![1]
expect(busy).not.toMatch(/border-color:|background:/)
- expect(busy).toContain('box-shadow:0 1px 2px #0000000A')
- expect(busy).not.toContain('inset')
+ expect(busy).not.toMatch(/box-shadow|gradient/)
for(const state of ['preparing','transcribing'] as const) {
const control=TranscriptionControl({state,onStop:()=>{}})
expect(control.props.className).toContain('note-resume-action')