Initial commit

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
fish03
2026-09-23 14:43:16 +07:00
co-authored by Claude Opus 5.5
commit bef9f8b4ed
663 changed files with 81305 additions and 0 deletions
+552
View File
@@ -0,0 +1,552 @@
.history-layout {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.history-layout .site-header,
.history-layout .footer-box {
flex-shrink: 0;
}
.history-page {
width: 100%;
flex: 1 1 auto;
min-height: 0;
padding: 36px 0;
background: #0A0A0A;
display: flex;
flex-direction: column;
align-items: center;
gap: 24px;
box-sizing: border-box;
}
.history-pc {
width: min(1800px, calc(100% - 120px));
max-width: none;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 24px;
}
.history-nav {
display: none;
}
.history-main {
width: min(1800px, calc(100% - 120px));
max-width: none;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 24px;
}
.history-breadcrumb {
align-self: stretch;
overflow: hidden;
display: inline-flex;
justify-content: flex-start;
align-items: center;
gap: 10px;
}
.history-breadcrumb-link {
color: #EC237F;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
text-decoration: none;
}
.history-breadcrumb-sep {
color: #666666;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.history-breadcrumb-current {
color: #8A8A8A;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
}
.history-head {
align-self: stretch;
overflow: hidden;
display: flex;
justify-content: flex-start;
align-items: center;
gap: 6px;
}
.history-head-text {
flex: 1 1 0;
min-width: 0;
overflow: hidden;
display: flex;
justify-content: flex-start;
align-items: center;
gap: 12px;
}
.history-title {
margin: 0;
color: white;
font-size: 30px;
font-family: PingFang SC;
font-weight: 400;
line-height: 36px;
flex-shrink: 0;
}
.history-desc {
margin: 0;
color: #A3A3A3;
font-size: 14px;
font-family: PingFang SC;
font-weight: 400;
line-height: 20px;
}
.history-clear-btn {
width: 96px;
height: 36px;
background: rgba(255, 255, 255, 0.10);
overflow: hidden;
border: none;
border-radius: 18px;
color: #F5F5F5;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
line-height: 18px;
cursor: pointer;
flex-shrink: 0;
display: flex;
justify-content: center;
align-items: center;
}
.history-clear-btn:hover {
background: rgba(255, 255, 255, 0.14);
color: #fff;
}
.history-confirm-mask {
position: fixed;
inset: 0;
z-index: 1000;
display: none;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.55);
padding: 24px;
box-sizing: border-box;
}
.history-confirm-mask.is-open {
display: flex;
}
.history-confirm-mask[hidden] {
display: none !important;
}
.history-confirm-card {
width: 420px;
max-width: 100%;
padding: 32px 28px 28px;
position: relative;
background: linear-gradient(90deg, #21142E 0%, #0A0A17 100%);
box-shadow: 0 20px 48px rgba(0, 0, 0, 0.46);
border-radius: 20px;
border: 1px solid rgba(241, 43, 158, 0.44);
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
box-sizing: border-box;
}
.history-confirm-close {
width: 28px;
height: 28px;
right: 14px;
top: 14px;
position: absolute;
overflow: hidden;
border: none;
padding: 0;
background: transparent;
cursor: pointer;
}
.history-confirm-close-ring {
width: 26px;
height: 26px;
left: 1px;
top: 1px;
position: absolute;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 50%;
box-sizing: border-box;
}
.history-confirm-close-x {
width: 8px;
height: 8px;
left: 10px;
top: 10px;
position: absolute;
box-sizing: border-box;
}
.history-confirm-close-x::before,
.history-confirm-close-x::after {
content: "";
position: absolute;
left: 50%;
top: 50%;
width: 10px;
height: 1.5px;
background: #C5C0D0;
border-radius: 1px;
}
.history-confirm-close-x::before {
transform: translate(-50%, -50%) rotate(45deg);
}
.history-confirm-close-x::after {
transform: translate(-50%, -50%) rotate(-45deg);
}
.history-confirm-title {
margin-top: 4px;
text-align: center;
color: #fff;
font-size: 20px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 700;
line-height: 28px;
}
.history-confirm-desc {
text-align: center;
color: #B2ABC4;
font-size: 14px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 400;
line-height: 20px;
}
.history-confirm-actions {
width: 100%;
margin-top: 8px;
display: flex;
align-items: center;
gap: 12px;
}
.history-confirm-btn {
flex: 1 1 0;
height: 44px;
border: none;
border-radius: 12px;
font-size: 14px;
font-family: "Noto Sans SC", "PingFang SC", sans-serif;
font-weight: 500;
line-height: 20px;
cursor: pointer;
}
.history-confirm-btn--cancel {
background: rgba(255, 255, 255, 0.08);
color: #C5C0D0;
}
.history-confirm-btn--cancel:hover {
background: rgba(255, 255, 255, 0.12);
color: #fff;
}
.history-confirm-btn--ok {
background: #EC237F;
color: #181818;
}
.history-confirm-btn--ok:hover {
background: #ffe56a;
}
.history-grid {
align-self: stretch;
width: 100%;
display: grid;
grid-template-columns: repeat(8, minmax(0, 1fr));
justify-content: stretch;
align-items: stretch;
gap: 14px 16px;
}
.history-card.poster-card {
width: 100%;
min-width: 0;
overflow: hidden;
border-radius: 14px;
text-decoration: none;
color: inherit;
}
.history-empty {
width: 100%;
}
.history-card .poster-card-spacer {
flex: 1 1 0;
min-width: 8px;
height: 9px;
}
.history-progress {
color: #808080 !important;
}
.history-info {
display: none;
}
.history-pagination {
align-self: stretch;
width: 100%;
overflow: hidden;
margin-top: 0;
}
@media (max-width: 767px) {
body.is-history-page {
background: #0A0A0A;
}
body.is-history-page .site-header,
body.is-history-page .footer-box,
body.is-history-page .floating-action,
body.is-history-page .download-fab {
display: none !important;
height: 0 !important;
min-height: 0 !important;
overflow: hidden !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
}
body.is-history-page .history-layout {
min-height: 100vh;
background: #0A0A0A;
}
body.is-history-page .history-page {
padding: 0;
background: #0A0A0A;
align-items: stretch;
justify-content: flex-start;
gap: 0;
min-height: 100vh;
}
body.is-history-page .history-pc {
display: none;
}
body.is-history-page .history-nav {
position: sticky;
top: 0;
z-index: 40;
width: 100%;
height: 48px;
padding: 0 16px;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
flex-shrink: 0;
background: #181818;
}
body.is-history-page .history-nav-back {
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
body.is-history-page .history-nav-back img {
width: 24px;
height: 24px;
display: block;
opacity: 0.65;
filter: brightness(0) invert(1);
}
body.is-history-page .history-nav-title {
margin: 0;
flex: 1 1 0;
height: 24px;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-size: 16px;
font-family: "Noto Sans SC", PingFang SC, sans-serif;
font-weight: 700;
line-height: 22px;
}
body.is-history-page .history-nav-clear {
min-width: 24px;
height: 24px;
padding: 0;
border: none;
background: transparent;
color: rgba(255, 255, 255, 0.60);
font-size: 12px;
font-family: "Noto Sans SC", PingFang SC, sans-serif;
font-weight: 700;
line-height: 18px;
cursor: pointer;
flex-shrink: 0;
-webkit-tap-highlight-color: transparent;
}
body.is-history-page .history-main {
width: calc(100% - 32px);
max-width: 343px;
margin: 0 auto;
padding: 12px 0;
align-items: stretch;
gap: 12px;
box-sizing: border-box;
}
body.is-history-page .history-grid {
width: 100%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
gap: 12px;
}
body.is-history-page .history-card.poster-card {
width: 100%;
max-width: none;
padding: 10px 12px;
background: rgba(255, 255, 255, 0.05);
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.08);
overflow: hidden;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
gap: 12px;
box-sizing: border-box;
}
body.is-history-page .history-card .poster-cover {
width: 90px;
height: 120px;
padding-bottom: 0;
border-radius: 10px;
overflow: hidden;
position: relative;
flex-shrink: 0;
}
body.is-history-page .history-card .poster-cover-img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
body.is-history-page .history-card .free-badge-large,
body.is-history-page .history-card .hot-badge-large,
body.is-history-page .history-card .community-badge,
body.is-history-page .history-card .poster-corner-badges,
body.is-history-page .history-card .episode-badge,
body.is-history-page .history-card .poster-card-body,
body.is-history-page .history-pagination {
display: none !important;
}
body.is-history-page .history-info {
flex: 1 1 0;
min-width: 0;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 4px;
}
body.is-history-page .history-name {
width: 100%;
color: rgba(255, 255, 255, 0.95);
font-size: 14px;
font-family: "Noto Sans SC", PingFang SC, sans-serif;
font-weight: 700;
line-height: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
body.is-history-page .history-intro {
width: 100%;
color: rgba(255, 255, 255, 0.60);
font-size: 12px;
font-family: PingFang SC, sans-serif;
font-weight: 400;
line-height: 18px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
overflow: hidden;
}
body.is-history-page .history-watch {
width: 100%;
color: #EC237F;
font-size: 12px;
font-family: "Noto Sans SC", PingFang SC, sans-serif;
font-weight: 400;
line-height: 18px;
}
body.is-history-page .history-watch--done {
color: rgba(255, 255, 255, 0.45);
}
body.is-history-page .history-time {
color: rgba(255, 255, 255, 0.45);
font-size: 12px;
font-family: "Noto Sans SC", PingFang SC, sans-serif;
font-weight: 400;
line-height: 18px;
}
}