Release Kaleido Desktop 0.1.0-beta.15
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 2m7s
All checks were successful
Validate Kaleido Desktop / validate (push) Successful in 2m7s
This commit is contained in:
parent
59e00cde4b
commit
0361a98fa4
13 changed files with 711 additions and 128 deletions
|
|
@ -655,9 +655,8 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
min-width: 340px;
|
||||
}
|
||||
|
||||
/* Skip & post-play: above the bottom chrome, whose title row spans the full width behind them. */
|
||||
.skip-button,
|
||||
.post-play {
|
||||
/* The skip button sits above the bottom chrome. */
|
||||
.skip-button {
|
||||
z-index: 1;
|
||||
}
|
||||
.skip-button {
|
||||
|
|
@ -705,74 +704,281 @@ html.os-macos:not(.window-fullscreen) .player-top {
|
|||
.skip-button > * {
|
||||
position: relative;
|
||||
}
|
||||
.post-play {
|
||||
position: absolute;
|
||||
right: clamp(24px, 3.5vw, 56px);
|
||||
bottom: 150px;
|
||||
/* Up Next keeps a stationary opening over the native video;
|
||||
only the rows scroll. */
|
||||
.up-next {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
align-items: center;
|
||||
width: min(520px, calc(100vw - 48px));
|
||||
padding: 14px;
|
||||
border-radius: 14px;
|
||||
background: rgba(20, 22, 24, 0.88);
|
||||
backdrop-filter: blur(20px);
|
||||
box-shadow:
|
||||
0 24px 70px rgba(0, 0, 0, 0.6),
|
||||
inset 0 0 0 1px rgba(255, 255, 255, 0.12);
|
||||
animation: rise-in 360ms var(--ease-out);
|
||||
flex-direction: column;
|
||||
--up-gutter: clamp(28px, 4vw, 64px);
|
||||
}
|
||||
.post-play-art {
|
||||
.up-next-scene {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: var(--bg);
|
||||
pointer-events: none;
|
||||
}
|
||||
.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-repeat: no-repeat;
|
||||
-webkit-mask-composite: xor;
|
||||
mask-composite: exclude;
|
||||
}
|
||||
.up-next-toolbar {
|
||||
position: relative;
|
||||
width: 180px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
flex: none;
|
||||
height: 62px;
|
||||
padding: 0 var(--up-gutter);
|
||||
}
|
||||
.up-next-toolbar > .up-next-back:first-child {
|
||||
margin-right: auto;
|
||||
}
|
||||
.up-next-toolbar .window-controls {
|
||||
margin-right: calc(-1 * var(--up-gutter));
|
||||
}
|
||||
html.os-macos:not(.window-fullscreen) .up-next-toolbar {
|
||||
padding-left: max(var(--up-gutter), var(--traffic-lights));
|
||||
}
|
||||
.up-next-back, .up-next-cancel {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 13px;
|
||||
color: #b6bdbf;
|
||||
padding: 8px 0;
|
||||
}
|
||||
.up-next-back:hover, .up-next-cancel:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.up-next-header {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(240px, 37%) minmax(0, 1fr);
|
||||
gap: clamp(28px, 4vw, 64px);
|
||||
padding: 14px var(--up-gutter) 26px;
|
||||
flex: none;
|
||||
}
|
||||
.up-next-now {
|
||||
min-width: 0;
|
||||
}
|
||||
.up-next-video {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
flex: none;
|
||||
background: #000;
|
||||
outline: 1px solid #ffffff30;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.post-play-art img {
|
||||
.up-next-video > span {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: inherit;
|
||||
background: #0007;
|
||||
opacity: 0;
|
||||
transition: opacity 150ms;
|
||||
font-size: 14px;
|
||||
}
|
||||
.up-next-video:hover > span, .up-next-video:focus-visible > span {
|
||||
opacity: 1;
|
||||
}
|
||||
.up-next-caption {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin: 14px 0 8px;
|
||||
font-size: 12px;
|
||||
color: #b8bfc1;
|
||||
}
|
||||
.up-next-caption > span {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.up-next-caption small {
|
||||
flex: none;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.up-next-progress {
|
||||
height: 3px;
|
||||
border-radius: 2px;
|
||||
background: #ffffff25;
|
||||
overflow: hidden;
|
||||
}
|
||||
.up-next-progress i {
|
||||
display: block;
|
||||
height: 100%;
|
||||
background: var(--accent);
|
||||
}
|
||||
.up-next-details {
|
||||
min-width: 0;
|
||||
align-self: center;
|
||||
}
|
||||
.up-next-details .micro {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
color: #a5adaf;
|
||||
}
|
||||
.up-next-details .title-art {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.up-next-details h1 {
|
||||
margin: 10px 0;
|
||||
font-size: clamp(22px, 2vw, 30px);
|
||||
line-height: 1.2;
|
||||
letter-spacing: -.025em;
|
||||
}
|
||||
.up-next-summary {
|
||||
color: #b6bdbf;
|
||||
font-size: 13px;
|
||||
line-height: 1.65;
|
||||
margin: 12px 0 18px;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
max-width: 720px;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.up-next-play.counting {
|
||||
background: #999;
|
||||
}
|
||||
.up-next-play.counting::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0 auto 0 0;
|
||||
width: var(--p);
|
||||
background: #f4f4f4;
|
||||
transition: width 60ms linear;
|
||||
}
|
||||
.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-hint {
|
||||
font-size: 11px;
|
||||
color: #90999c;
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.post-play-ring {
|
||||
.up-next-card:hover img {
|
||||
transform: scale(1.035);
|
||||
}
|
||||
.up-next-card-art > span {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
margin: auto;
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
transform: rotate(-90deg);
|
||||
left: 8px;
|
||||
bottom: 8px;
|
||||
background: #0b0d0fe6;
|
||||
border-radius: 4px;
|
||||
padding: 4px 7px;
|
||||
font-size: 10px;
|
||||
font-weight: 650;
|
||||
}
|
||||
.post-play-ring circle {
|
||||
fill: rgba(0, 0, 0, 0.45);
|
||||
stroke: #fff;
|
||||
stroke-width: 3;
|
||||
stroke-dasharray: 107;
|
||||
animation: ring 8s linear forwards;
|
||||
}
|
||||
@keyframes ring {
|
||||
from {
|
||||
stroke-dashoffset: 107;
|
||||
}
|
||||
to {
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
}
|
||||
.post-play-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
.post-play-text b {
|
||||
font-size: 14px;
|
||||
.up-next-card > b {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 550;
|
||||
margin-top: 10px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.post-play-text .actions {
|
||||
margin-top: 6px;
|
||||
.up-next-card.poster {
|
||||
flex-basis: clamp(120px, 12vw, 170px);
|
||||
}
|
||||
.up-next-card.poster .up-next-card-art {
|
||||
aspect-ratio: 2 / 3;
|
||||
}
|
||||
.up-next button: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: 8px;
|
||||
padding-bottom: 22px;
|
||||
}
|
||||
.up-next-details .title-art {
|
||||
max-height: 38px;
|
||||
}
|
||||
.up-next-details h1 {
|
||||
font-size: 22px;
|
||||
margin: 6px 0;
|
||||
}
|
||||
.up-next-summary {
|
||||
-webkit-line-clamp: 2;
|
||||
margin: 8px 0 12px;
|
||||
}
|
||||
.up-next-details .micro {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
}
|
||||
.player-error {
|
||||
position: absolute;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue