style: restore danger styling for stop sniffing button

This commit is contained in:
2026-02-27 07:43:12 +00:00
parent 45342d456a
commit e095c0190b
2 changed files with 17 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ const clearText = () => {
</button>
<button
v-else
class="btn-neon active"
class="btn-neon danger"
@click="stopListening"
v-ripple
>

View File

@@ -289,6 +289,22 @@ button:focus {
box-shadow: var(--button-active-shadow);
}
.btn-neon.danger {
background: rgba(239, 68, 68, 0.2);
border-color: rgba(239, 68, 68, 0.6);
color: #fee2e2;
}
.btn-neon.danger:hover {
background: rgba(239, 68, 68, 0.3);
border-color: rgba(239, 68, 68, 0.85);
box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}
:root[data-theme="light"] .btn-neon.danger {
color: #7f1d1d;
}
.icon-only {
padding: 8px;
border-radius: 50%;