Spaces:
Sleeping
Sleeping
File size: 5,281 Bytes
21986a1 93b25cc 21986a1 93b25cc 21986a1 93b25cc 21986a1 93b25cc 21986a1 93b25cc 21986a1 93b25cc 21986a1 93b25cc 21986a1 96b94b7 21986a1 96b94b7 21986a1 93b25cc 21986a1 96b94b7 21986a1 93b25cc 21986a1 93b25cc 21986a1 ba6c831 21986a1 ba6c831 |
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 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 |
.player-maximized video {
width: auto;
height: 100vh;
}
.player-minimized video {
max-width: 18vh;
height: 10vh;
min-width: 18vh;
background-color: #000;
}
.music-title {
display: -webkit-box; /* Fallback for multi-line ellipsis */
-webkit-line-clamp: 1; /* Limits to one line */
-webkit-box-orient: vertical; /* Specifies the box orientation */
overflow: hidden;
text-overflow: ellipsis;
white-space: normal; /* Allows wrapping but limits line count */
line-height: 1.2em; /* Optional: Adjust line spacing */
max-height: 1.2em; /* Optional: Adjust to fit one line */
width: 100%;
}
.music-title.player-mini{
font-size: .85rem;
}
.player-minimized {
align-items: center;
width: 100%;
}
.player-maximized {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: black;
display: flex;
justify-content: center;
align-items: center;
}
.player-top {
display: flex;
}
.name-container{
display: flex;
align-items: center;
width: 100%;
}
.player-controls {
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.329);
width: 100%;
height: 100%;
z-index: 10;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
transition: opacity 0.5s;
}
.player-controls.hide {
opacity: 0;
pointer-events: none;
}
.player-controls.show {
opacity: 1;
}
.player-controls-top {
background-image: linear-gradient(black, transparent);
width: 100%;
height: 30%;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
display: flex;
flex-direction: row;
align-items: baseline;
justify-content: space-between;
}
.player-controls-center {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50%;
gap: 10%;
}
.player-controls-bottom {
background-image: linear-gradient(transparent, black);
width: 100%;
height: 30%;
display: flex;
flex-direction: column;
justify-content: end;
padding-bottom: 20px;
padding-left: 10px;
padding-right: 10px;
}
.player-control-bottom-top{
width: 100%;
display: flex;
gap: 5px;
}
.player-controls-down {
display: flex;
flex-direction: row;
width: 100%;
justify-content: center;
align-items: center;
padding-left: 5px;
padding-right: 5px;
}
.player-controls-left {
width: 100%;
display: flex;
justify-content: left;
gap: 10px;
}
.player-controls-right {
width: 100%;
display: flex;
justify-content: right;
gap: 10px;
}
.player-max-button {
font-size: 2.5rem;
}
.player-min-button {
font-size: 1.6rem;
}
.progress-bar-container {
position: relative;
background-color: #333;
overflow: hidden;
width: 100%;
height: 8px;
cursor: pointer;
margin: 7px 0;
border-radius: 10px;
}
.progress-bar-container.player-mini {
width: 100%;
height: 6px;
margin: 7px 0;
}
.buffer-bar {
position: absolute;
top: 0;
left: 0;
height: 100%;
background-color: rgba(255, 255, 255, 0.4);
z-index: 1;
}
.progress-bar {
position: absolute;
top: 0;
left: 0;
height: 100%;
background-color: var(--foreground-secondary);
z-index: 2;
}
.player-controls-mini {
background-image: linear-gradient(var(--background-2), var(--background-secondary));
width: 100%;
}
.player-mini-control-top {
display: flex;
justify-content: space-between;
padding-left: 5px;
padding-right: 5px;
}
.player-mini-control-center {
display: flex;
gap: 10px;
padding-left: 5px;
padding-right: 5px;
}
.player-mini-control-bottom {
display: flex;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 10px;
gap: 5px;
font-size: .8rem;
}
.player-mini-volume{
display: flex;
gap: 5px;
}
/********** Range Input Styles **********/
/*Range Reset*/
input[type="range"] {
-webkit-appearance: none;
appearance: none;
background: transparent;
cursor: pointer;
}
/* Removes default focus */
input[type="range"]:focus {
outline: none;
}
/***** Chrome, Safari, Opera and Edge Chromium styles *****/
/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
background-color: #403f4f;
border-radius: 0.5rem;
height: 0.3rem;
}
/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none; /* Override default look */
appearance: none;
margin-top: -5px; /* Centers thumb on the track */
/*custom styles*/
background-color: var(--foreground-secondary);
height: 1rem;
width: 0.8rem;
border-radius: 10px;
}
/******** Firefox styles ********/
/* slider track */
input[type="range"]::-moz-range-track {
background-color: var(--foreground-5);
border-radius: 0.5rem;
height: 0.5rem;
}
/* slider thumb */
input[type="range"]::-moz-range-thumb {
border: none; /*Removes extra border that FF applies*/
/*custom styles*/
background-color: var(--foreground-secondary);
height: 1.2rem;
width: 0.8rem;
border-radius: 10px;
}
::cue {
color: rgb(199, 199, 199);
background-color: rgba(0, 0, 0, 0.7);
font-size: 1.3em;
line-height: 1.2; /* Adjust line height for spacing */
}
button:disabled{
color: var(--foreground-5);
} |