diff --git a/public/index.html b/public/index.html index 7315ac3..c0ae255 100644 --- a/public/index.html +++ b/public/index.html @@ -3,69 +3,152 @@ - Say — Voice Assistant + Say — Голосовой ассистент -

Say

+ +

🎙️ Say

- +
+
+ +
+ +
+ + +
+ +
+
-
- - -
- \ No newline at end of file diff --git a/public/style.css b/public/style.css index cc76e75..1a65576 100644 --- a/public/style.css +++ b/public/style.css @@ -1,11 +1,22 @@ -body { font-family: system-ui, sans-serif; max-width: 600px; margin: 0 auto; padding: 20px; background: #111; color: #eee; } -h1 { text-align: center; color: #6c5ce7; } -#models { display: flex; gap: 8px; justify-content: center; margin: 16px 0; } -.model-btn { padding: 8px 16px; border: 1px solid #6c5ce7; background: transparent; color: #6c5ce7; border-radius: 6px; cursor: pointer; } -.model-btn.active { background: #6c5ce7; color: #fff; } -#chat { border: 1px solid #333; border-radius: 8px; padding: 16px; min-height: 300px; max-height: 400px; overflow-y: auto; margin: 16px 0; } -.user { color: #00cec9; margin: 8px 0; } -.bot { color: #a29bfe; margin: 8px 0; } -#recorder { text-align: center; } -#mic-btn { padding: 12px 32px; background: #e84393; color: #fff; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; } -#status { display: inline-block; margin-left: 12px; color: #999; } \ No newline at end of file +* { box-sizing: border-box; } +body { font-family: system-ui, -apple-system, sans-serif; max-width: 640px; margin: 0 auto; padding: 20px; background: #0d0d1a; color: #e0e0e0; } +h1 { text-align: center; color: #7c6ff7; margin-bottom: 8px; } + +#models { display: flex; gap: 8px; justify-content: center; margin: 12px 0; } +.model-btn { padding: 6px 14px; border: 1px solid #7c6ff7; background: transparent; color: #7c6ff7; border-radius: 6px; font-size: 13px; cursor: default; } +.model-btn.active { background: #7c6ff7; color: #fff; } + +#visualizer { text-align: center; margin: 10px 0; } +#meter { border-radius: 6px; background: #1a1a2e; } + +#controls { display: flex; gap: 10px; justify-content: center; margin: 12px 0; } +#btnRecord { padding: 10px 28px; background: #e84393; color: #fff; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; } +#btnRecord:disabled { opacity: 0.5; cursor: not-allowed; } +#btnPlay { padding: 10px 20px; background: #00b894; color: #fff; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; } +#btnPlay:disabled { opacity: 0.4; cursor: not-allowed; } + +#status { text-align: center; color: #888; font-size: 14px; min-height: 20px; margin: 8px 0; } + +#chat { border: 1px solid #2a2a3e; border-radius: 8px; padding: 14px; min-height: 240px; max-height: 380px; overflow-y: auto; margin: 12px 0; background: #13132a; } +.user { color: #00cec9; margin: 8px 0; word-break: break-word; } +.bot { color: #a29bfe; margin: 8px 0; word-break: break-word; } \ No newline at end of file