1
This commit is contained in:
244
src/index.css
244
src/index.css
@@ -2091,12 +2091,245 @@ body {
|
||||
}
|
||||
|
||||
.platform-mobile-recommend-stage {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
flex-direction: column;
|
||||
gap: 0.55rem;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
backdrop-filter: none;
|
||||
padding: 0 0 0.2rem;
|
||||
padding: 0 0 0.1rem;
|
||||
}
|
||||
|
||||
.platform-recommend-runtime-panel {
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 1.65rem;
|
||||
background: #030303;
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(255, 255, 255, 0.025),
|
||||
0 18px 44px rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.platform-recommend-runtime-viewport {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
background: #030303;
|
||||
}
|
||||
|
||||
.platform-recommend-runtime-state {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: grid;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
place-items: center;
|
||||
background: #030303;
|
||||
color: rgba(255, 255, 255, 0.92);
|
||||
font-size: clamp(1.8rem, 10vw, 2.45rem);
|
||||
font-weight: 950;
|
||||
letter-spacing: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.platform-recommend-runtime-state--button {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.platform-recommend-work-meta {
|
||||
flex: 0 0 auto;
|
||||
min-width: 0;
|
||||
color: var(--platform-text-strong);
|
||||
}
|
||||
|
||||
.platform-recommend-work-meta__stats {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
gap: 1.05rem;
|
||||
padding: 0 0.28rem;
|
||||
}
|
||||
|
||||
.platform-recommend-work-meta__stat {
|
||||
display: inline-flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
gap: 0.28rem;
|
||||
font-size: 1rem;
|
||||
font-weight: 850;
|
||||
line-height: 1;
|
||||
color: var(--platform-text-strong);
|
||||
}
|
||||
|
||||
.platform-recommend-work-meta__row {
|
||||
margin-top: 0.55rem;
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
.platform-recommend-work-meta__identity {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex: 1 1 auto;
|
||||
align-items: center;
|
||||
gap: 0.55rem;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.platform-recommend-work-meta__avatar {
|
||||
display: inline-grid;
|
||||
width: 2.45rem;
|
||||
height: 2.45rem;
|
||||
flex: 0 0 auto;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(255, 255, 255, 0.24);
|
||||
border-radius: 9999px;
|
||||
background: linear-gradient(135deg, #f6e7cf, #9dc7ff);
|
||||
color: #111827;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 950;
|
||||
}
|
||||
|
||||
.platform-recommend-work-meta__text {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-direction: column;
|
||||
gap: 0.12rem;
|
||||
}
|
||||
|
||||
.platform-recommend-work-meta__author {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.platform-recommend-work-meta__title {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 0.78rem;
|
||||
color: var(--platform-text-soft);
|
||||
}
|
||||
|
||||
.platform-recommend-work-meta__detail-button {
|
||||
display: inline-flex;
|
||||
width: 2.35rem;
|
||||
height: 2.35rem;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid var(--platform-surface-border);
|
||||
border-radius: 9999px;
|
||||
background: var(--platform-button-secondary-fill);
|
||||
color: var(--platform-text-strong);
|
||||
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.platform-recommend-switcher {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
min-width: 0;
|
||||
gap: 0.55rem;
|
||||
margin-right: -0.25rem;
|
||||
overflow-x: auto;
|
||||
overscroll-behavior-x: contain;
|
||||
padding: 0.05rem 0.25rem 0.2rem 0;
|
||||
scroll-snap-type: x mandatory;
|
||||
scrollbar-width: none;
|
||||
touch-action: pan-x;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.platform-recommend-switcher::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.platform-recommend-switch-card {
|
||||
display: grid;
|
||||
width: min(9.1rem, 42vw);
|
||||
min-height: 4.25rem;
|
||||
flex: 0 0 auto;
|
||||
scroll-snap-align: start;
|
||||
gap: 0.18rem;
|
||||
border: 1px solid color-mix(in srgb, var(--platform-surface-border) 72%, transparent);
|
||||
border-radius: 1.05rem;
|
||||
background: color-mix(in srgb, var(--platform-panel-fill) 90%, #050505);
|
||||
padding: 0.58rem 0.65rem;
|
||||
color: var(--platform-text-strong);
|
||||
text-align: left;
|
||||
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.platform-recommend-switch-card--active {
|
||||
border-color: color-mix(
|
||||
in srgb,
|
||||
var(--platform-warm-text) 72%,
|
||||
var(--platform-surface-border)
|
||||
);
|
||||
background: color-mix(
|
||||
in srgb,
|
||||
var(--platform-button-secondary-fill) 84%,
|
||||
#151515
|
||||
);
|
||||
box-shadow:
|
||||
0 14px 34px rgba(0, 0, 0, 0.16),
|
||||
inset 0 0 0 1px color-mix(in srgb, var(--platform-warm-text) 42%, transparent);
|
||||
}
|
||||
|
||||
.platform-recommend-switch-card__kind {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 0.64rem;
|
||||
font-weight: 850;
|
||||
color: var(--platform-text-soft);
|
||||
}
|
||||
|
||||
.platform-recommend-switch-card__title {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 0.88rem;
|
||||
font-weight: 950;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.platform-recommend-switch-card__stats {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
gap: 0.55rem;
|
||||
font-size: 0.68rem;
|
||||
font-weight: 850;
|
||||
color: var(--platform-text-base);
|
||||
}
|
||||
|
||||
.platform-recommend-switch-card__stats span {
|
||||
display: inline-flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
gap: 0.18rem;
|
||||
}
|
||||
|
||||
.platform-mobile-home-stage .platform-desktop-search {
|
||||
@@ -5024,13 +5257,16 @@ button {
|
||||
}
|
||||
|
||||
/* 玩法参考图卡片始终压在暗色图像蒙版上,需绕过浅色主题的深色文字重映射。 */
|
||||
.platform-theme--light
|
||||
.platform-creation-reference-card,
|
||||
.platform-theme--light .platform-creation-reference-card * {
|
||||
.platform-theme .platform-creation-reference-card,
|
||||
.platform-theme .platform-creation-reference-card *,
|
||||
.platform-theme--light .platform-remap-surface .platform-creation-reference-card,
|
||||
.platform-theme--light .platform-remap-surface .platform-creation-reference-card * {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.platform-theme .platform-creation-reference-card .platform-pill--neutral,
|
||||
.platform-theme--light
|
||||
.platform-remap-surface
|
||||
.platform-creation-reference-card
|
||||
.platform-pill--neutral {
|
||||
border-color: rgba(255, 255, 255, 0.28) !important;
|
||||
|
||||
Reference in New Issue
Block a user