Update templates/index.html

This commit is contained in:
Adolfo Delorenzo 2025-04-05 17:52:57 +00:00
parent bef1e69f4f
commit 34e3a18a9e

View File

@ -20,7 +20,7 @@
.record-btn { .record-btn {
width: 80px; width: 80px;
height: 80px; height: 80px;
border-radius: 50%; border-radius: 50%; /* This makes the button circular */
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -28,15 +28,20 @@
margin: 20px auto; margin: 20px auto;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: all 0.3s; transition: all 0.3s;
padding: 0; /* Remove padding to ensure perfect circle */
border: none; /* Remove border for cleaner look */
} }
.record-btn:active { .record-btn:active {
transform: scale(0.95); transform: scale(0.95);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} }
.recording { .recording {
background-color: #dc3545 !important; background-color: #dc3545 !important;
animation: pulse 1.5s infinite; animation: pulse 1.5s infinite;
} }
@keyframes pulse { @keyframes pulse {
0% { 0% {
transform: scale(1); transform: scale(1);