Spaces:
Sleeping
Sleeping
File size: 2,416 Bytes
c13064d 9e47428 bf90d9e 0e9d836 |
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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
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;
}
|