Spaces:
Sleeping
Sleeping
body { | |
font-family: Arial, sans-serif; | |
text-align: center; | |
margin: 50px; | |
} | |
audio { | |
width: 100%; | |
} | |
/* Add this to your existing styles.css file */ | |
.modal { | |
display: none; | |
position: fixed; | |
z-index: 1; | |
left: 0; | |
top: 0; | |
width: 100%; | |
height: 100%; | |
overflow: auto; | |
background-color: rgba(0,0,0,0.4); | |
} | |
.modal-content { | |
background-color: #fefefe; | |
margin: 15% auto; | |
padding: 20px; | |
border: 1px solid #888; | |
width: 80%; | |
max-width: 500px; | |
} | |
.close { | |
color: #aaa; | |
float: right; | |
font-size: 28px; | |
font-weight: bold; | |
cursor: pointer; | |
} | |
.close:hover, | |
.close:focus { | |
color: black; | |
text-decoration: none; | |
cursor: pointer; | |
} | |
#apiKey { | |
width: 100%; | |
padding: 5px; | |
margin: 10px 0; | |
} | |
#saveSettings { | |
background-color: #4CAF50; | |
color: white; | |
padding: 10px 15px; | |
border: none; | |
cursor: pointer; | |
} | |
#saveSettings:hover { | |
background-color: #45a049; | |
} | |
.api-key-container { | |
display: flex; | |
align-items: center; | |
margin: 10px 0; | |
} | |
#apiKey { | |
flex-grow: 1; | |
margin-right: 5px; | |
} | |
#toggleApiKey { | |
background-color: #f0f0f0; | |
border: 1px solid #ccc; | |
padding: 5px 10px; | |
cursor: pointer; | |
font-size: 16px; | |
} | |
#toggleApiKey:hover { | |
background-color: #e0e0e0; | |
} | |
#apiServer { | |
width: 100%; | |
padding: 5px; | |
margin: 10px 0; | |
} | |
/* ... existing styles ... */ | |
#audioControls { | |
width: 100%; | |
max-width: 500px; | |
margin: 20px auto; | |
} | |
#progressBarContainer { | |
width: 100%; | |
height: 10px; | |
background-color: #ddd; | |
cursor: pointer; | |
margin-bottom: 10px; | |
} | |
#progressBar { | |
height: 100%; | |
background-color: #4CAF50; | |
width: 0; | |
} | |
#timeDisplay { | |
text-align: right; | |
margin-bottom: 10px; | |
} | |
#controlButtons { | |
display: flex; | |
justify-content: space-between; | |
margin-bottom: 10px; | |
} | |
#controlButtons button { | |
padding: 5px 10px; | |
cursor: pointer; | |
} | |
#volumeControl { | |
width: 100%; | |
} | |
#volumeSlider { | |
width: 100%; | |
} | |
/* ... (existing styles) ... */ | |
#historySection { | |
margin-top: 20px; | |
text-align: left; | |
} | |
#historyList { | |
list-style-type: none; | |
padding: 0; | |
} | |
#historyList li { | |
margin-bottom: 10px; | |
} | |
#historyList button { | |
margin-left: 10px; | |
padding: 2px 5px; | |
cursor: pointer; | |
} | |
#clearHistory { | |
margin-top: 10px; | |
padding: 5px 10px; | |
cursor: pointer; | |
} | |