排版调整
This commit is contained in:
@@ -2821,3 +2821,260 @@ a.play-info-tag:focus-visible {
|
||||
.play-speed-sheet-option.is-active,
|
||||
.play-ep-sheet-tab--active { color: #ec237f; }
|
||||
}
|
||||
|
||||
/* 本站播放页布局:PC 播放器右侧选集面板、热门短剧横排置底;H5 圆底按钮与粉色选集栏 */
|
||||
@media (min-width: 768px) {
|
||||
.play-breadcrumb-sep {
|
||||
padding: 0 calc(2px * var(--play-s));
|
||||
color: rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
|
||||
.play-layout {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: calc(40px * var(--play-s));
|
||||
}
|
||||
|
||||
.content-column-divider {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.play-main {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) calc(400px * var(--play-s));
|
||||
column-gap: calc(20px * var(--play-s));
|
||||
row-gap: calc(28px * var(--play-s));
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.play-main > * {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.play-main > .play-player {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
border-radius: calc(12px * var(--play-s));
|
||||
}
|
||||
|
||||
.play-main > .play-episodes {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
/* 高度不参与行高计算,跟随播放器,集数多时面板内滚动 */
|
||||
height: 0;
|
||||
min-height: 100%;
|
||||
padding: calc(20px * var(--play-s));
|
||||
border-radius: calc(12px * var(--play-s));
|
||||
background: #181818;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.play-episodes-label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: calc(6px * var(--play-s));
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding-bottom: calc(14px * var(--play-s));
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||
font-size: calc(20px * var(--play-s));
|
||||
font-weight: 600;
|
||||
line-height: calc(26px * var(--play-s));
|
||||
}
|
||||
|
||||
.play-episodes-count {
|
||||
color: rgba(255, 255, 255, 0.45);
|
||||
font-size: calc(14px * var(--play-s));
|
||||
font-weight: 400;
|
||||
line-height: calc(20px * var(--play-s));
|
||||
}
|
||||
|
||||
.play-ep-grid {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
justify-content: stretch;
|
||||
align-content: start;
|
||||
gap: calc(10px * var(--play-s));
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.play-ep {
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
height: calc(44px * var(--play-s));
|
||||
border-radius: calc(6px * var(--play-s));
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
background: transparent;
|
||||
font-size: calc(16px * var(--play-s));
|
||||
transition: border-color 0.2s ease, color 0.2s ease;
|
||||
}
|
||||
|
||||
a.play-ep:hover {
|
||||
border-color: rgba(236, 35, 127, 0.6);
|
||||
color: #ec237f;
|
||||
}
|
||||
|
||||
.play-ep-num {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.play-ep--active,
|
||||
.play-ep--active .play-ep-num {
|
||||
border-color: #ec237f;
|
||||
background: #ec237f;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.play-ep-lock {
|
||||
top: calc(3px * var(--play-s));
|
||||
right: calc(3px * var(--play-s));
|
||||
}
|
||||
|
||||
.play-info {
|
||||
padding: calc(24px * var(--play-s));
|
||||
border-radius: calc(12px * var(--play-s));
|
||||
background: #181818;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.play-info-title {
|
||||
font-size: calc(28px * var(--play-s));
|
||||
line-height: calc(36px * var(--play-s));
|
||||
}
|
||||
|
||||
.play-info-tags { order: 2; }
|
||||
.play-info-meta { order: 3; }
|
||||
.play-info-desc { order: 4; }
|
||||
|
||||
.play-info-tags::before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.play-info-tag {
|
||||
padding: calc(4px * var(--play-s)) calc(12px * var(--play-s));
|
||||
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||
border-radius: 999px;
|
||||
background: transparent;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
|
||||
.play-info-tag::before {
|
||||
content: "#";
|
||||
margin-right: 2px;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.play-info-meta span + span::before {
|
||||
content: "·";
|
||||
margin-right: calc(18px * var(--play-s));
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.play-info-desc::before {
|
||||
content: "剧情:";
|
||||
}
|
||||
|
||||
/* 热门短剧:由右侧竖栏改为页面底部横排 */
|
||||
.play-sidebar,
|
||||
.play-sidebar .detail-related {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.play-sidebar .detail-related-title {
|
||||
padding-left: calc(12px * var(--play-s));
|
||||
border-left: calc(4px * var(--play-s)) solid #ec237f;
|
||||
height: auto;
|
||||
line-height: calc(30px * var(--play-s));
|
||||
}
|
||||
|
||||
.play-sidebar .detail-related .card-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: calc(20px * var(--play-s));
|
||||
}
|
||||
|
||||
.play-sidebar .detail-related .poster-card {
|
||||
width: auto;
|
||||
border-radius: calc(8px * var(--play-s));
|
||||
}
|
||||
|
||||
.play-sidebar .detail-related .poster-cover {
|
||||
aspect-ratio: 3 / 4;
|
||||
border-radius: calc(8px * var(--play-s));
|
||||
}
|
||||
|
||||
.play-sidebar .detail-related .poster-card-body {
|
||||
min-height: 0;
|
||||
padding: calc(10px * var(--play-s)) calc(2px * var(--play-s));
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.play-h5-top {
|
||||
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
|
||||
}
|
||||
|
||||
.play-h5-ep {
|
||||
flex: 0 0 auto;
|
||||
margin-right: auto;
|
||||
padding: 2px 10px;
|
||||
border-radius: 999px;
|
||||
background: rgba(236, 35, 127, 0.9);
|
||||
font-size: 14px;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.play-h5-side {
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.play-h5-side-item {
|
||||
gap: 4px;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
|
||||
.play-h5-side-item img {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
padding: 10px;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 0, 0, 0.38);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.play-h5-meta-title button {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.play-h5-meta-tag {
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
|
||||
.play-h5-meta-tag::before {
|
||||
content: "#";
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
.play-h5-meta-intro {
|
||||
padding-left: 8px;
|
||||
border-left: 2px solid rgba(236, 35, 127, 0.8);
|
||||
}
|
||||
|
||||
.play-h5-bottom {
|
||||
background: #111;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.play-h5-ep-picker {
|
||||
padding: 8px 14px;
|
||||
border-radius: 999px;
|
||||
background: rgba(236, 35, 127, 0.14);
|
||||
color: #ff6aa8;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user