mirror of
https://github.com/WonderAliceUwU/OmniArr.git
synced 2026-11-22 11:35:56 +00:00
feature: add per chapter download
This commit is contained in:
1 parent
9c836201ea
commit
79c8072318
6 files changed
+278
-35
No files matched your search
+85
-15
@@ -1783,25 +1783,26 @@ img {
|
||||
}
|
||||
|
||||
.title-season-progress {
|
||||
width: 2.5rem;
|
||||
gap: 0.48rem;
|
||||
min-width: 4.1rem;
|
||||
}
|
||||
|
||||
.title-season-progress::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 0.28rem;
|
||||
.title-season-progress-ring {
|
||||
--season-download-progress: 0;
|
||||
width: 1.7rem;
|
||||
height: 1.7rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
background:
|
||||
radial-gradient(circle at center, #090b10 48%, transparent 50%),
|
||||
conic-gradient(#ffffff calc(var(--season-download-progress) * 1%), rgba(255, 255, 255, 0.14) 0);
|
||||
}
|
||||
|
||||
.title-season-progress-bar {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
height: 0.28rem;
|
||||
border-radius: 999px;
|
||||
background: #e50914;
|
||||
.title-season-progress-percent {
|
||||
color: #eef4ff;
|
||||
font-size: 0.74rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.episode-dock {
|
||||
@@ -2092,6 +2093,12 @@ img {
|
||||
opacity: 0.88;
|
||||
}
|
||||
|
||||
.episode-card-availability-button {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.episode-card-availability .title-action-icon {
|
||||
width: 0.98rem;
|
||||
height: 0.98rem;
|
||||
@@ -2101,6 +2108,58 @@ img {
|
||||
animation: episodeCardAvailabilityPulse 900ms ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
.episode-card-availability-processing {
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
width: 1.55rem;
|
||||
height: 1.55rem;
|
||||
}
|
||||
|
||||
.episode-card-processing-spinner {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
border: 2px solid rgba(255, 255, 255, 0.18);
|
||||
border-top-color: rgba(255, 255, 255, 0.88);
|
||||
border-radius: 999px;
|
||||
animation: episodeDockSpinner 720ms linear infinite;
|
||||
}
|
||||
|
||||
.episode-card-availability-progress {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
color: rgba(244, 247, 255, 0.9);
|
||||
}
|
||||
|
||||
.episode-card-availability-ring {
|
||||
--episode-download-progress: 0;
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
border-radius: 999px;
|
||||
background:
|
||||
radial-gradient(circle at center, #090b10 46%, transparent 48%),
|
||||
conic-gradient(#ffffff calc(var(--episode-download-progress) * 1%), rgba(255, 255, 255, 0.14) 0);
|
||||
}
|
||||
|
||||
.episode-card-availability-percent {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: calc(100% + 0.28rem);
|
||||
transform: translateX(-50%);
|
||||
opacity: 0;
|
||||
font-size: 0.66rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
white-space: nowrap;
|
||||
transition: opacity 160ms ease;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.episode-card-availability-progress:hover .episode-card-availability-percent {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.episode-card-watch-toggle svg {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
@@ -2419,13 +2478,24 @@ img {
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.download-delete-button {
|
||||
.download-action-button {
|
||||
width: 1.9rem;
|
||||
height: 1.9rem;
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.07);
|
||||
color: #dbe2ee;
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.download-action-button .title-action-icon {
|
||||
width: 0.92rem;
|
||||
height: 0.92rem;
|
||||
}
|
||||
|
||||
.download-delete-button {
|
||||
font-size: 1.1rem;
|
||||
line-height: 1;
|
||||
text-indent: 0.06rem;
|
||||
|
||||
Reference in new issue
Block a user