Address the first beta's bugs and requested changes
Startup now uses the Android iris animation, and playback can continue in a corner miniplayer while browsing (the video is drawn into a corner rectangle beneath a matching hole in the page). The player keeps the window controls, hides its chrome when the pointer leaves, and gains audio/subtitle tracks, audio sync, source bitrate and playback details in its options. Subtitles can be styled in Settings with a live preview. Categories replace Collections, the A–Z rail magnifies, descriptions expand in place, downloads can be removed in bulk, and search keeps its results while typing. Fixes scroll jank from per-card and scrolling backdrop blurs, the hidden colour wash, the cubic volume curve, loud theme music, the search focus ring, a stray nav indicator, Continue Watching previews and the TV Shows header overlap. Removes the star rating, the duplicate Settings menu entry and the server settings' Show advanced switch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
be865fa992
commit
43c168da95
35 changed files with 1771 additions and 327 deletions
|
|
@ -45,28 +45,125 @@
|
|||
.section-tabs button::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
right: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 2px;
|
||||
border-radius: 2px;
|
||||
background: #e2e8e5;
|
||||
opacity: 0;
|
||||
transform: scaleX(0);
|
||||
transition:
|
||||
left var(--t) var(--ease-out),
|
||||
right var(--t) var(--ease-out);
|
||||
transform var(--t) var(--ease-out),
|
||||
opacity var(--t) var(--ease-out);
|
||||
}
|
||||
.section-tabs button.active::after {
|
||||
left: 0;
|
||||
right: 0;
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
.section-picker {
|
||||
margin-left: auto;
|
||||
}
|
||||
.tab-library .section-header,
|
||||
.tab-collections .section-header {
|
||||
.tab-categories .section-header {
|
||||
padding-bottom: 18px;
|
||||
}
|
||||
|
||||
/* —— Categories ———————————————————————————————————————————— */
|
||||
.category-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
.category-tile {
|
||||
position: relative;
|
||||
aspect-ratio: 16 / 9;
|
||||
border-radius: var(--r);
|
||||
overflow: hidden;
|
||||
background: #171717;
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
isolation: isolate;
|
||||
}
|
||||
.category-tile .artwork {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -2;
|
||||
filter: saturate(0.65);
|
||||
transition: transform 400ms var(--ease-out);
|
||||
}
|
||||
.category-scrim {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
background: rgba(0, 0, 0, 0.62);
|
||||
transition: background var(--t);
|
||||
}
|
||||
.category-title {
|
||||
padding: 0 16px;
|
||||
font-size: 21px;
|
||||
line-height: 1.2;
|
||||
font-weight: 650;
|
||||
letter-spacing: -0.02em;
|
||||
text-align: center;
|
||||
text-shadow: 0 1px 5px #000;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
.category-tile::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.9);
|
||||
opacity: 0;
|
||||
transition: opacity var(--t-fast);
|
||||
}
|
||||
.category-tile:hover .category-scrim,
|
||||
.category-tile:focus-visible .category-scrim {
|
||||
background: rgba(0, 0, 0, 0.46);
|
||||
}
|
||||
.category-tile:hover .artwork {
|
||||
transform: scale(1.04);
|
||||
}
|
||||
.category-tile:hover::after,
|
||||
.category-tile:focus-visible::after {
|
||||
opacity: 1;
|
||||
}
|
||||
.category-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 0 var(--gutter) 14px;
|
||||
}
|
||||
.category-head h2 {
|
||||
margin: 0;
|
||||
font-size: 22px;
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
.category-back {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
height: 30px;
|
||||
padding: 0 12px 0 8px;
|
||||
border-radius: 15px;
|
||||
font-size: 12.5px;
|
||||
font-weight: 600;
|
||||
color: var(--muted);
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
transition: color var(--t-fast), background var(--t-fast);
|
||||
}
|
||||
.category-back:hover {
|
||||
color: #fff;
|
||||
background: rgba(255, 255, 255, 0.11);
|
||||
}
|
||||
|
||||
/* —— Library ————————————————————————————————————————————————— */
|
||||
.library {
|
||||
padding: 0 var(--gutter);
|
||||
|
|
@ -82,8 +179,7 @@
|
|||
position: sticky;
|
||||
top: var(--nav-h);
|
||||
z-index: 20;
|
||||
background: linear-gradient(180deg, rgba(9, 10, 12, 0.96) 0%, rgba(9, 10, 12, 0.92) 100%);
|
||||
backdrop-filter: blur(18px);
|
||||
background: rgba(9, 10, 12, 0.97);
|
||||
padding-top: 12px;
|
||||
margin-top: -12px;
|
||||
}
|
||||
|
|
@ -213,23 +309,57 @@ button.chip:hover {
|
|||
align-self: flex-start;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
max-height: calc(100vh - var(--nav-h) - 110px);
|
||||
overflow-y: auto;
|
||||
scrollbar-width: none;
|
||||
margin-right: -10px;
|
||||
/* Room on the left for the magnified letter. */
|
||||
padding: 8px 4px 8px 26px;
|
||||
margin: 0 -14px 0 -18px;
|
||||
}
|
||||
.alpha-rail::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 30px;
|
||||
border-radius: 15px;
|
||||
background: rgba(255, 255, 255, 0.055);
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
|
||||
pointer-events: none;
|
||||
}
|
||||
.alpha-rail button {
|
||||
position: relative;
|
||||
width: 22px;
|
||||
height: 19px;
|
||||
font-size: 10.5px;
|
||||
font-weight: 650;
|
||||
color: #8a9196;
|
||||
border-radius: 4px;
|
||||
height: 20px;
|
||||
font-size: 11.5px;
|
||||
font-weight: 700;
|
||||
color: #b4bbbf;
|
||||
flex: none;
|
||||
transform-origin: 70% 50%;
|
||||
transition:
|
||||
transform 120ms var(--ease-out),
|
||||
color 120ms;
|
||||
}
|
||||
.alpha-rail button.current {
|
||||
color: var(--accent-strong);
|
||||
}
|
||||
/* The letter under the pointer grows, and its neighbours a little, like a dock. */
|
||||
.alpha-rail button:hover {
|
||||
color: #fff;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
z-index: 2;
|
||||
transform: translateX(-10px) scale(1.9);
|
||||
}
|
||||
.alpha-rail button:has(+ button:hover),
|
||||
.alpha-rail button:hover + button {
|
||||
color: #e2e7e9;
|
||||
z-index: 1;
|
||||
transform: translateX(-5px) scale(1.35);
|
||||
}
|
||||
.alpha-rail button:has(+ button + button:hover),
|
||||
.alpha-rail button:hover + button + button {
|
||||
transform: translateX(-2px) scale(1.12);
|
||||
}
|
||||
|
||||
/* —— Detail pages ——————————————————————————————————————————— */
|
||||
|
|
@ -241,7 +371,10 @@ button.chip:hover {
|
|||
height: min(84vh, 900px);
|
||||
bottom: auto;
|
||||
}
|
||||
.detail-backdrop .backdrop-scrim {
|
||||
.backdrop-tint.detail-backdrop {
|
||||
height: calc(min(84vh, 900px) + 60vh);
|
||||
}
|
||||
.detail-backdrop:not(.washed) .backdrop-scrim {
|
||||
background:
|
||||
linear-gradient(90deg, rgba(9, 10, 12, 0.94) 0%, rgba(9, 10, 12, 0.7) 32%, rgba(9, 10, 12, 0.1) 66%, transparent 100%),
|
||||
linear-gradient(0deg, var(--bg) 0%, rgba(9, 10, 12, 0.7) 22%, transparent 55%);
|
||||
|
|
@ -311,9 +444,19 @@ button.chip:hover {
|
|||
overflow: hidden;
|
||||
text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.synopsis-more {
|
||||
margin-top: 2px;
|
||||
padding-left: 0;
|
||||
.synopsis.expandable {
|
||||
cursor: pointer;
|
||||
border-radius: 6px;
|
||||
transition: color var(--t-fast);
|
||||
}
|
||||
.synopsis.expandable:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.synopsis.open {
|
||||
display: block;
|
||||
white-space: pre-wrap;
|
||||
-webkit-line-clamp: unset;
|
||||
animation: fade-in 220ms var(--ease-out);
|
||||
}
|
||||
.synopsis-full {
|
||||
font-size: 14px;
|
||||
|
|
@ -381,8 +524,7 @@ button.chip:hover {
|
|||
top: calc(var(--nav-h) + 16px);
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
background: rgba(23, 25, 28, 0.82);
|
||||
backdrop-filter: blur(16px);
|
||||
background: rgba(21, 23, 26, 0.93);
|
||||
box-shadow: inset 0 0 0 1px var(--line);
|
||||
}
|
||||
.about-head {
|
||||
|
|
@ -436,19 +578,6 @@ button.chip:hover {
|
|||
color: #fff;
|
||||
text-decoration-color: currentColor;
|
||||
}
|
||||
.star-rating {
|
||||
display: inline-flex;
|
||||
color: #e6c46e;
|
||||
}
|
||||
.star-rating button {
|
||||
padding: 2px;
|
||||
color: inherit;
|
||||
opacity: 0.9;
|
||||
}
|
||||
.star-rating button:hover {
|
||||
transform: scale(1.15);
|
||||
}
|
||||
|
||||
/* Episodes */
|
||||
.episodes {
|
||||
margin-bottom: 36px;
|
||||
|
|
@ -667,6 +796,26 @@ button.chip:hover {
|
|||
border-bottom: 1px solid var(--line);
|
||||
margin-bottom: 26px;
|
||||
}
|
||||
/* The page fills the window so an empty state can sit in the middle of it. */
|
||||
.downloads-page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: calc(100vh - 80px);
|
||||
}
|
||||
.app-shell.offline .downloads-page {
|
||||
min-height: calc(100vh - 44px);
|
||||
}
|
||||
.downloads-empty {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* Sit at the window's centre rather than below the header's. */
|
||||
margin-top: -120px;
|
||||
}
|
||||
.download-intro-actions {
|
||||
margin-top: 14px;
|
||||
}
|
||||
.storage-card {
|
||||
padding: 18px 20px;
|
||||
border-radius: 12px;
|
||||
|
|
@ -938,6 +1087,65 @@ button.chip:hover {
|
|||
color: #868f94;
|
||||
word-break: break-word;
|
||||
}
|
||||
.subtitle-preview {
|
||||
position: relative;
|
||||
container-type: size;
|
||||
aspect-ratio: 16 / 9;
|
||||
max-height: 340px;
|
||||
margin: 4px 0 14px;
|
||||
border-radius: var(--r-lg);
|
||||
overflow: hidden;
|
||||
background: linear-gradient(160deg, #36404a 0%, #1b2024 55%, #0e1012 100%);
|
||||
box-shadow: inset 0 0 0 1px var(--line);
|
||||
}
|
||||
.subtitle-preview img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.subtitle-preview-line {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-family: Arial, 'Segoe UI', sans-serif;
|
||||
line-height: 1.22;
|
||||
pointer-events: none;
|
||||
}
|
||||
.subtitle-preview-line span {
|
||||
paint-order: stroke fill;
|
||||
-webkit-box-decoration-break: clone;
|
||||
box-decoration-break: clone;
|
||||
padding: 0 0.2em;
|
||||
}
|
||||
.subtitle-preview-line span.translucent {
|
||||
background: rgba(0, 0, 0, 0.63);
|
||||
}
|
||||
.subtitle-preview-line span.solid {
|
||||
background: #000;
|
||||
}
|
||||
.swatches {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
.swatches button {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
border-radius: 50%;
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(0, 0, 0, 0.25),
|
||||
0 0 0 2px transparent;
|
||||
transition: box-shadow var(--t-fast), transform var(--t-fast);
|
||||
}
|
||||
.swatches button:hover {
|
||||
transform: scale(1.08);
|
||||
}
|
||||
.swatches button.selected {
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(0, 0, 0, 0.25),
|
||||
0 0 0 2px var(--bg),
|
||||
0 0 0 4px #e8eeec;
|
||||
}
|
||||
.pref-control {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue