From 7baf0cfa4af6a44731fb60d586a73b0c3d3615d5 Mon Sep 17 00:00:00 2001 From: aedes Date: Wed, 22 Apr 2026 03:11:02 +0300 Subject: [PATCH] style: transparent input, almost-white text (stealth) --- scripts/mirror.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/mirror.js b/scripts/mirror.js index 43eeb76..b02191e 100644 --- a/scripts/mirror.js +++ b/scripts/mirror.js @@ -180,14 +180,16 @@ async function main() { } .q-chat .c-in { display: block; width: 100%; - border: 1px solid #e0e0e0; border-radius: 4px; - background: #fff; color: #333; + border: none; background: transparent; + color: #f2f2f2; font-size: 14px; line-height: 1.5; - padding: 8px 12px; resize: none; - height: 34px; font-family: inherit; + padding: 4px 0; resize: none; + height: 28px; font-family: inherit; outline: none; box-sizing: border-box; + overflow: hidden; white-space: nowrap; + caret-color: #c4c4c4; } - .q-chat .c-in::placeholder { color: #bbb; } + .q-chat .c-in::placeholder { color: transparent; } .q-chat .c-out { margin-top: 6px; padding: 6px 12px; font-size: 12px; color: #888; line-height: 1.5;