Release Kaleido Desktop 0.1.0-beta.10
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m22s
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m22s
- Player controls centred under the timeline: previous episode, back 10 s, play/pause, forward 10 s, next episode; volume and time on the left. - Previous episode button and Shift+P. - Draggable miniplayer, kept inside the window and remembered. - Fix the next-episode card's buttons and the skip button being covered by the player's title row, and skip buttons also pausing playback. - Drop the "Highly rated"/"Recommended" label from the hero and restore the gap between its logo and the details line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
10103d0e77
commit
a38db53161
15 changed files with 220 additions and 61 deletions
|
|
@ -328,17 +328,31 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
}
|
||||
|
||||
/* Controls */
|
||||
/* Volume and time | playback, centred under the timeline | tracks and window. */
|
||||
.player-controls {
|
||||
display: flex;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto 1fr;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
.player-controls-left,
|
||||
.player-controls-center,
|
||||
.player-controls-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
.player-controls-right {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.player-controls-center {
|
||||
gap: 10px;
|
||||
}
|
||||
.player-icon:disabled {
|
||||
opacity: 0.32;
|
||||
pointer-events: none;
|
||||
}
|
||||
.player-icon {
|
||||
width: 44px;
|
||||
|
|
@ -364,11 +378,12 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
color: var(--accent-strong);
|
||||
}
|
||||
.player-icon.big {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
width: 54px;
|
||||
height: 54px;
|
||||
}
|
||||
.player-time {
|
||||
margin-left: 12px;
|
||||
margin-left: 8px;
|
||||
white-space: nowrap;
|
||||
font-size: 13px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: #f0f2f2;
|
||||
|
|
@ -410,6 +425,8 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
/* Panels */
|
||||
.player-panel {
|
||||
position: absolute;
|
||||
/* Above the skip and post-play cards. */
|
||||
z-index: 2;
|
||||
right: clamp(24px, 3.5vw, 56px);
|
||||
bottom: 84px;
|
||||
min-width: 300px;
|
||||
|
|
@ -638,7 +655,11 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
min-width: 340px;
|
||||
}
|
||||
|
||||
/* Skip & post-play */
|
||||
/* Skip & post-play: above the bottom chrome, whose title row spans the full width behind them. */
|
||||
.skip-button,
|
||||
.post-play {
|
||||
z-index: 1;
|
||||
}
|
||||
.skip-button {
|
||||
position: absolute;
|
||||
right: clamp(24px, 3.5vw, 56px);
|
||||
|
|
@ -765,10 +786,11 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
--mini-h: calc(var(--mini-w) * 9 / 16);
|
||||
--mini-gap: 24px;
|
||||
}
|
||||
/* --mini-x/-y: where it was dragged to, from the right and bottom (PlayerOverlay). */
|
||||
.mini-player {
|
||||
position: fixed;
|
||||
right: var(--mini-gap);
|
||||
bottom: var(--mini-gap);
|
||||
right: var(--mini-x, var(--mini-gap));
|
||||
bottom: var(--mini-y, var(--mini-gap));
|
||||
z-index: 600;
|
||||
width: var(--mini-w);
|
||||
height: var(--mini-h);
|
||||
|
|
@ -781,6 +803,9 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
.mini-player.loading {
|
||||
background: #000;
|
||||
}
|
||||
.mini-player.dragging {
|
||||
cursor: grabbing;
|
||||
}
|
||||
/* Opacity only: the video beneath can't follow a transform. */
|
||||
@keyframes mini-in {
|
||||
from {
|
||||
|
|
@ -804,6 +829,8 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
.mini-player:hover .mini-top,
|
||||
.mini-player:hover .mini-center,
|
||||
.mini-player:hover .mini-caption,
|
||||
.mini-player.dragging .mini-scrim,
|
||||
.mini-player.dragging .mini-caption,
|
||||
.mini-player.loading .mini-center,
|
||||
.mini-player:focus-within .mini-top,
|
||||
.mini-player:focus-within .mini-center {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue