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.

ask's send button takes the ring's violet and its drifting sheen, with a white arrow in both themes

Eric Brownrout8a69d3899b7a
diff --git a/app/src/renderer/src/workspace.css b/app/src/renderer/src/workspace.css
index 7c70fdef..07b558dc 100644
--- a/app/src/renderer/src/workspace.css
+++ b/app/src/renderer/src/workspace.css
@@ -463,11 +463,12 @@ body:has(.chat-panel[open]) .app-toast-viewport { inset-inline-end:460px; }
}
.ask-box:not([data-busy=true]):has(textarea:focus) { --ask-ring-opacity:1;--ask-ring-play:running; }
@media (prefers-color-scheme:dark) {
- .ask-box { --ask-ring-color:var(--accent);--ask-ring-highlight:color-mix(in srgb,var(--focus) 18%,var(--ink)); }
+ /* deep enough for a white arrow on the matching send button, light enough to read on the dark surface */
+ .ask-box { --ask-ring-color:color-mix(in srgb,var(--primary) 35%,var(--accent));--ask-ring-highlight:color-mix(in srgb,var(--focus) 18%,var(--ink)); }
.ask-box::before { content:"";position:absolute;inset:-2px;border-radius:inherit;pointer-events:none;opacity:var(--ask-ring-opacity);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 9%,transparent),0 0 12px 2px color-mix(in srgb,var(--accent) 16%,transparent);transition:opacity 200ms ease-out; }
}
@keyframes ask-border-drift { from { transform:translate(-50%,-50%) rotate(0deg); } to { transform:translate(-50%,-50%) rotate(360deg); } }
-@media (prefers-reduced-motion:reduce) { .ask-border::before { animation:none;display:none; } .ask-box::before { display:none; } }
+@media (prefers-reduced-motion:reduce) { .ask-border::before,.ask-send::before { animation:none;display:none; } .ask-box::before { display:none; } }
.ask-field { padding:16px 10px 12px; }
.ask-box textarea { display:block;width:100%;field-sizing:content;min-height:38px;max-height:160px;resize:none;background:transparent;outline:none;color:var(--ink);font-size:14px;line-height:22px; }
.ask-box textarea:focus-visible { outline:none; }
@@ -477,9 +478,12 @@ body:has(.chat-panel[open]) .app-toast-viewport { inset-inline-end:460px; }
.ask-toolbar-button:hover:not(:disabled) { background:var(--control);color:var(--ink); }
.ask-toolbar-button:active:not(:disabled) { background:var(--control-hover); }
.ask-toolbar-button:disabled { color:var(--muted);opacity:.45; }
-.ask-send { background:var(--primary);color:#FFFFFF; }
-.ask-send:hover:not(:disabled) { background:var(--primary-hover);color:#FFFFFF; }
-.ask-send:active:not(:disabled) { background:var(--primary-hover);box-shadow:inset 0 1px 2px #0003; }
+.ask-send { position:relative;isolation:isolate;overflow:hidden;background:var(--ask-ring-color);color:#FFFFFF; }
+.ask-send:hover:not(:disabled) { background:color-mix(in srgb,var(--ask-ring-color) 88%,var(--ink));color:#FFFFFF; }
+.ask-send:active:not(:disabled) { background:color-mix(in srgb,var(--ask-ring-color) 88%,var(--ink));box-shadow:inset 0 1px 2px #0003; }
+/* the ring's drifting highlight passes through the button on the same clock */
+.ask-send::before { content:"";position:absolute;z-index:-1;left:50%;top:50%;width:200%;aspect-ratio:1;background:conic-gradient(transparent 0 54%,var(--ask-ring-highlight) 76%,var(--ask-ring-highlight) 81%,transparent 100%);opacity:0;animation:ask-border-drift 12s linear infinite;animation-play-state:var(--ask-ring-play);transition:opacity 200ms ease-out;pointer-events:none; }
+.ask-box:not([data-busy=true]) .ask-send:not(:disabled)::before { opacity:calc(var(--ask-ring-opacity) * .32); }
.ask-send:disabled { background:transparent;border-color:var(--line); }
/* while answering, Send becomes a quiet grey Stop: purple stays the colour of sending, so typing ahead never looks ready to send */
.ask-stop { background:var(--control);color:var(--ink); }