Spaces:
Sleeping
Sleeping
File size: 1,486 Bytes
f5e13ae 4148927 f5e13ae 4148927 f5e13ae | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | body {
margin: 0;
padding: 0;
color: rgba(255, 255, 255, 0.87);
background-color: #000000;
font-family: Arial, Helvetica, sans-serif;
}
#app {
width: 100%;
height: 100vh;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
.spritePosition {
margin: 10px 0 0 10px;
font-size: 0.8em;
}
.button {
width: 140px;
margin: 10px;
padding: 10px;
background-color: #000000;
color: rgba(255, 255, 255, 0.87);
border: 1px solid rgba(255, 255, 255, 0.87);
cursor: pointer;
transition: all 0.3s;
&:hover {
border: 1px solid #0ec3c9;
color: #0ec3c9;
}
&:active {
background-color: #0ec3c9;
}
/* Disabled styles */
&:disabled {
cursor: not-allowed;
border: 1px solid rgba(255, 255, 255, 0.3);
color: rgba(255, 255, 255, 0.3);
}
}
.audio-controls {
position: fixed;
top: 20px;
left: 20px;
z-index: 1000;
display: flex;
gap: 10px;
}
.audio-controls button {
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s ease;
}
.record-button {
background-color: #ff4444;
color: white;
}
.stop-button {
background-color: #444444;
color: white;
}
.play-button {
background-color: #44aa44;
color: white;
}
.audio-controls button:hover {
opacity: 0.8;
transform: scale(1.05);
} |