Changeset ddecd9a in Klonkt for src/assets/css/audio.css
- Timestamp:
- 06/14/2026 10:17:23 PM (3 months ago)
- Branches:
- main
- Children:
- 102d2f0
- Parents:
- a1c8cb8
- File:
-
- 1 edited
-
src/assets/css/audio.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/assets/css/audio.css
ra1c8cb8 rddecd9a 148 148 .audio-player-expand-trigger:hover { 149 149 background: color-mix(in srgb, var(--ink, #000) 6%, transparent); 150 } 151 /* DESKTOP (≥1200px): geen full player — de expand-trigger opent niets (JS), 152 dus 'm niet als klikbaar laten ogen. */ 153 @media (min-width: 1200px) { 154 .audio-player-expand-trigger { cursor: default; } 155 .audio-player-expand-trigger:hover { background: none; } 150 156 } 151 157 … … 350 356 body.audio-sheet-locked { overflow: hidden; } 351 357 352 /* MOBILE (<720px): full-width sheet, slide up from bottom */353 @media (max-width: 7 19.98px) {358 /* TELEFOON (<768px): full-width sheet, slide up from bottom */ 359 @media (max-width: 767.98px) { 354 360 .audio-sheet-panel { 355 361 /* Real full-screen, edge-to-edge, no rounded corners or shadow */ … … 371 377 } 372 378 373 /* DESKTOP (≥720px): 480px wide, horizontally centered (v9 design intent). 374 We MUST set width here because v9's style.css sets width:480px and 375 we don't want left/right:0 stretching to override it. 376 The -50% horizontal centering is preserved during drag by composing 377 --pcms-drag-y into the existing translate(-50%, ...) transform. */ 378 @media (min-width: 720px) { 379 /* TABLET / AUTO (768–1199px): grote, landscape, knop-vriendelijke full-player 380 voor tablets + een tablet-in-de-auto. Bewust full-screen + grote touch-targets. 381 Desktop (≥1200px) opent de full player NIET (afgehandeld in audio-player.js), 382 dus daar is geen sheet-styling nodig. */ 383 @media (min-width: 768px) and (max-width: 1199.98px) { 379 384 .audio-sheet-panel { 380 left: 50%; 381 right: auto; 382 width: 480px; 383 transform: translate(-50%, 100%); 384 border-top-left-radius: 20px; 385 border-top-right-radius: 20px; 385 inset: 0; left: 0; right: 0; width: auto; 386 max-height: none; 387 border-radius: 0; 388 box-shadow: none; 389 transform: translateY(100%); 390 padding: clamp(2rem, 5vh, 4rem) clamp(2rem, 6vw, 5rem); 391 gap: clamp(1.25rem, 3vh, 2.5rem); 392 justify-content: center; 393 align-items: center; 386 394 } 387 .audio-sheet.is-open .audio-sheet-panel { 388 transform: translate(-50%, var(--pcms-drag-y, 0px)); 389 } 395 .audio-sheet.is-open .audio-sheet-panel { transform: translateY(var(--pcms-drag-y, 0px)); } 396 397 .audio-sheet-drag-zone { align-items: center; width: 100%; margin: 0; padding: 0; } 398 .audio-sheet-cover { width: min(48vh, 460px); max-width: none; border-radius: 20px; } 399 .audio-sheet-cover svg { width: 26%; height: 26%; } 400 .audio-sheet-info { width: 100%; max-width: 660px; } 401 .audio-sheet-title { font-size: clamp(2rem, 4vw, 3rem); } 402 .audio-sheet-artist { font-size: clamp(1.1rem, 2vw, 1.5rem); margin-top: .5rem; } 403 .audio-sheet-album { font-size: 1rem; margin-top: .25rem; } 404 .audio-sheet-progress { width: 100%; max-width: 660px; gap: 1.25rem; } 405 .audio-sheet-progress .audio-time { font-size: 1.05rem; min-width: 3.2em; } 406 .audio-sheet-controls { gap: clamp(1.5rem, 5vw, 3.5rem); } 407 .audio-sheet-btn { width: 76px; height: 76px; } 408 .audio-sheet-btn svg { width: 34px; height: 34px; } 409 .audio-sheet-play { width: 108px; height: 108px; } 410 .audio-sheet-play svg { width: 46px; height: 46px; } 390 411 } 391 412
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)