Release Kaleido Desktop 0.1.0-beta.18
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m29s
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 1m29s
Rebuild the Up Next screen on Kaleido's own components: - Backdrop, colour wash, buttons and cards from the title pages; the credits play in a top-left frame with a matching hole in the page. - Season and related rows use Shelf, so they scroll with side arrows instead of scrollbars; the season row starts at the playing episode. - Returning to the video at the end no longer restarts the episode. - Compact layout for short windows; Mac window buttons stay visible. - Restore the flat Episodes and markers settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2db7d8b272
commit
70530e30e2
12 changed files with 427 additions and 346 deletions
|
|
@ -704,252 +704,240 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
.skip-button > * {
|
||||
position: relative;
|
||||
}
|
||||
/* Up Next keeps a stationary opening over the native video;
|
||||
only the rows scroll. */
|
||||
/* —— Up Next ————————————————————————————————————————————————————————
|
||||
The credits keep playing in the top-left frame: the native video is drawn
|
||||
into its rectangle and the scene has a matching hole (PostPlay.tsx). Only
|
||||
the rows scroll, so the frame never moves. */
|
||||
.up-next {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
--up-gutter: clamp(28px, 4vw, 64px);
|
||||
--up-top: 44px;
|
||||
--up-video-w: clamp(320px, 34vw, 640px);
|
||||
}
|
||||
html.os-macos:not(.window-fullscreen) .up-next {
|
||||
--up-top: 64px;
|
||||
}
|
||||
.up-next-scene {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
background: var(--bg);
|
||||
pointer-events: none;
|
||||
}
|
||||
/* Up Next places copy on the right as well as the left. Keep every part of
|
||||
the artwork dark enough for text, including with the colour wash enabled.
|
||||
This layer shares the scene's video cutout, so it never dims the credits. */
|
||||
.up-next-scene::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 1;
|
||||
background: linear-gradient(180deg, rgba(9, 10, 12, 0.76), rgba(9, 10, 12, 0.9));
|
||||
}
|
||||
.up-next.placed .up-next-scene {
|
||||
-webkit-mask-image: linear-gradient(#000 0 0), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Crect width='160' height='90' rx='3'/%3E%3C/svg%3E");
|
||||
-webkit-mask-size: 100% 100%, var(--up-video-w) var(--up-video-h);
|
||||
-webkit-mask-position: 0 0, var(--up-video-x) var(--up-video-y);
|
||||
-webkit-mask-image: linear-gradient(#000 0 0), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Crect width='160' height='90' rx='2.4'/%3E%3C/svg%3E");
|
||||
-webkit-mask-size: 100% 100%, var(--up-w) var(--up-h);
|
||||
-webkit-mask-position: 0 0, var(--up-x) var(--up-y);
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
-webkit-mask-composite: xor;
|
||||
mask-composite: exclude;
|
||||
}
|
||||
.up-next-window-controls {
|
||||
.up-next-backdrop {
|
||||
height: min(78vh, 860px);
|
||||
bottom: auto;
|
||||
}
|
||||
.backdrop-tint.up-next-backdrop {
|
||||
height: 100%;
|
||||
}
|
||||
/* The next episode's details sit over the artwork, so it stays dimmer here
|
||||
than on a title page, with or without the colour wash. */
|
||||
.up-next-backdrop .backdrop-scrim,
|
||||
.up-next-backdrop.washed .backdrop-scrim {
|
||||
background:
|
||||
linear-gradient(90deg, rgba(9, 10, 12, 0.95) 0%, rgba(9, 10, 12, 0.86) 36%, rgba(9, 10, 12, 0.6) 64%, rgba(9, 10, 12, 0.28) 100%),
|
||||
linear-gradient(0deg, var(--bg) 0%, rgba(9, 10, 12, 0.6) 22%, transparent 55%);
|
||||
}
|
||||
.up-next-top {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 34px;
|
||||
z-index: 3;
|
||||
}
|
||||
.up-next-top .window-controls {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 2;
|
||||
height: 34px;
|
||||
margin: 0;
|
||||
}
|
||||
.up-next-header {
|
||||
.up-next-top .window-controls button {
|
||||
height: 34px;
|
||||
color: #e4e8e9;
|
||||
}
|
||||
.up-next-head {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(240px, 37%) minmax(0, 1fr);
|
||||
gap: clamp(28px, 4vw, 64px);
|
||||
padding: 36px var(--up-gutter) 26px;
|
||||
z-index: 1;
|
||||
flex: none;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: clamp(28px, 3vw, 48px);
|
||||
padding: var(--up-top) var(--gutter) 30px;
|
||||
animation: fade-in 320ms var(--ease);
|
||||
}
|
||||
.up-next-now {
|
||||
min-width: 0;
|
||||
flex: none;
|
||||
width: var(--up-video-w);
|
||||
}
|
||||
.up-next-video {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
border-radius: 8px;
|
||||
outline: 1px solid #ffffff30;
|
||||
outline-offset: 2px;
|
||||
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
|
||||
transition: box-shadow var(--t-fast);
|
||||
}
|
||||
.up-next-video:hover,
|
||||
.up-next-video:focus-visible {
|
||||
outline: 2px solid #fff;
|
||||
outline-offset: 2px;
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 2px #fff;
|
||||
}
|
||||
.up-next-caption {
|
||||
.up-next-progress {
|
||||
margin-top: 12px;
|
||||
}
|
||||
.up-next-progress-text {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin: 14px 0 8px;
|
||||
font-size: 12px;
|
||||
color: #cbd2d4;
|
||||
color: var(--muted);
|
||||
}
|
||||
.up-next-caption > span {
|
||||
.up-next-progress-text span {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.up-next-caption small {
|
||||
.up-next-progress-text small {
|
||||
flex: none;
|
||||
font-size: inherit;
|
||||
color: var(--dim);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.up-next-progress {
|
||||
.up-next-video:hover + .up-next-progress .up-next-progress-text span {
|
||||
color: #fff;
|
||||
}
|
||||
.up-next-progress-bar {
|
||||
height: 3px;
|
||||
border-radius: 2px;
|
||||
background: #ffffff25;
|
||||
margin-top: 8px;
|
||||
border-radius: 3px;
|
||||
background: rgba(255, 255, 255, 0.22);
|
||||
overflow: hidden;
|
||||
}
|
||||
.up-next-progress i {
|
||||
.up-next-progress-bar i {
|
||||
display: block;
|
||||
height: 100%;
|
||||
background: var(--accent);
|
||||
}
|
||||
.up-next-details {
|
||||
.up-next-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
align-self: center;
|
||||
max-width: 680px;
|
||||
padding-top: 6px;
|
||||
text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.up-next-details .micro {
|
||||
.up-next-info .micro {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
color: #c3cbcd;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.up-next-details .facts {
|
||||
color: #d0d6d8;
|
||||
.up-next-info .up-next-logo {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.up-next-details .title-art {
|
||||
margin-bottom: 10px;
|
||||
.up-next-info .title-text {
|
||||
font-size: clamp(26px, 2.4vw, 36px);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.up-next-details .title-text {
|
||||
.up-next-info h1 {
|
||||
margin: 0 0 10px;
|
||||
font-size: clamp(24px, 2.4vw, 34px);
|
||||
line-height: 1.1;
|
||||
}
|
||||
.up-next-details h1 {
|
||||
margin: 10px 0;
|
||||
font-size: clamp(22px, 2vw, 30px);
|
||||
font-size: clamp(20px, 1.7vw, 26px);
|
||||
line-height: 1.2;
|
||||
letter-spacing: -.025em;
|
||||
letter-spacing: -0.025em;
|
||||
font-weight: 680;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.up-next-summary {
|
||||
color: #d6dcde;
|
||||
margin: 14px 0 0;
|
||||
color: #d0d5d8;
|
||||
font-size: 14px;
|
||||
line-height: 1.65;
|
||||
margin: 12px 0 18px;
|
||||
line-height: 1.62;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
max-width: 720px;
|
||||
}
|
||||
/* The countdown: a lighter fill sweeps across the button, without numbers. */
|
||||
.up-next-play {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: 42px;
|
||||
padding: 0 20px;
|
||||
border-radius: 6px;
|
||||
background: #eee;
|
||||
color: #101214;
|
||||
font-size: 13px;
|
||||
font-weight: 650;
|
||||
isolation: isolate;
|
||||
margin-top: 22px;
|
||||
text-shadow: none;
|
||||
}
|
||||
.up-next-play.counting {
|
||||
background: #999;
|
||||
.up-next-play.counting,
|
||||
.up-next-play.counting:hover:not(:disabled) {
|
||||
background: #a3a8a9;
|
||||
}
|
||||
.up-next-play.counting::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0 auto 0 0;
|
||||
width: var(--p);
|
||||
background: #f4f4f4;
|
||||
transition: width 60ms linear;
|
||||
z-index: -1;
|
||||
width: var(--fill);
|
||||
background: #f6f7f7;
|
||||
}
|
||||
.up-next-play > span {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.up-next-play:hover {
|
||||
box-shadow: 0 0 0 2px #ffffff40;
|
||||
}
|
||||
.up-next-rows {
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
padding: 0 var(--up-gutter) 32px;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
.up-next-rail {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.up-next-rail h2 {
|
||||
font-size: 18px;
|
||||
font-weight: 650;
|
||||
margin: 0 0 14px;
|
||||
}
|
||||
.up-next-cards {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
overflow-x: auto;
|
||||
padding: 4px 4px 14px;
|
||||
scroll-snap-type: x proximity;
|
||||
}
|
||||
.up-next-card {
|
||||
flex: 0 0 clamp(190px, 20vw, 280px);
|
||||
min-width: 0;
|
||||
text-align: left;
|
||||
scroll-snap-align: start;
|
||||
}
|
||||
.up-next-card-art {
|
||||
position: relative;
|
||||
background: #202427;
|
||||
aspect-ratio: 16 / 9;
|
||||
border-radius: 7px;
|
||||
overflow: hidden;
|
||||
outline: 1px solid #ffffff15;
|
||||
}
|
||||
.up-next-card-art img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 180ms;
|
||||
}
|
||||
.up-next-card:hover .up-next-card-art,
|
||||
.up-next-card:focus-visible .up-next-card-art {
|
||||
outline: 2px solid #fff;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.up-next-card > b {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 550;
|
||||
margin-top: 10px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.up-next-card > small {
|
||||
display: block;
|
||||
margin-top: 5px;
|
||||
font-size: 11px;
|
||||
color: #aeb8bb;
|
||||
}
|
||||
.up-next button:focus-visible {
|
||||
.up-next-play:focus-visible {
|
||||
outline: 2px solid #fff;
|
||||
outline-offset: 3px;
|
||||
}
|
||||
@media (max-height: 720px) {
|
||||
.up-next-header {
|
||||
grid-template-columns: minmax(220px, 32%) minmax(0, 1fr);
|
||||
gap: 28px;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 22px;
|
||||
.up-next-rows {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 12px;
|
||||
animation: fade-in 420ms var(--ease);
|
||||
}
|
||||
.up-next-shelf {
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
.up-next-shelf .shelf .card.landscape {
|
||||
width: clamp(200px, 15.5vw, 290px);
|
||||
}
|
||||
.up-next-shelf .card {
|
||||
scroll-margin-left: 0;
|
||||
}
|
||||
@media (max-height: 760px) {
|
||||
.up-next-head {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.up-next-details .title-art {
|
||||
max-height: 38px;
|
||||
.up-next-info .micro {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.up-next-details h1 {
|
||||
font-size: 22px;
|
||||
margin: 6px 0;
|
||||
.up-next-info .up-next-logo {
|
||||
height: 44px !important;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.up-next-info .up-next-logo img {
|
||||
max-height: 44px !important;
|
||||
}
|
||||
.up-next-summary {
|
||||
-webkit-line-clamp: 2;
|
||||
margin: 8px 0 12px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.up-next-details .micro {
|
||||
margin-bottom: 6px;
|
||||
.up-next-play {
|
||||
margin-top: 16px;
|
||||
}
|
||||
.up-next-shelf {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
}
|
||||
.up-next .card:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
.player-error {
|
||||
position: absolute;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue