1
This commit is contained in:
106
src/index.css
106
src/index.css
@@ -2391,11 +2391,13 @@ body {
|
||||
}
|
||||
|
||||
.platform-mobile-recommend-stage {
|
||||
position: relative;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
flex-direction: column;
|
||||
gap: 0.28rem;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
@@ -2421,6 +2423,108 @@ body {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
background: var(--platform-recommend-runtime-fill);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-stage {
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-rail {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-rail--settled,
|
||||
.platform-recommend-swipe-rail--committing {
|
||||
transition: transform 180ms cubic-bezier(0.2, 0.78, 0.2, 1);
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-rail--dragging {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-page {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-page--previous {
|
||||
transform: translate3d(0, -100%, 0);
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-page--current {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-page--next {
|
||||
transform: translate3d(0, 100%, 0);
|
||||
}
|
||||
|
||||
.platform-recommend-runtime-preview {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
background: var(--platform-recommend-runtime-fill);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-card {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
flex-direction: column;
|
||||
gap: 0.28rem;
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-card__visual {
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--platform-recommend-runtime-border);
|
||||
border-radius: 1.65rem;
|
||||
background: var(--platform-recommend-runtime-fill);
|
||||
box-shadow: var(--platform-recommend-runtime-shadow);
|
||||
}
|
||||
|
||||
.platform-recommend-swipe-card__meta {
|
||||
flex: 0 0 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.platform-recommend-runtime-preview__body {
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
bottom: 1rem;
|
||||
left: 1rem;
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.52rem;
|
||||
}
|
||||
|
||||
.platform-recommend-runtime-preview__title {
|
||||
display: -webkit-box;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
font-size: clamp(1.45rem, 6.4vw, 2.15rem);
|
||||
font-weight: 950;
|
||||
line-height: 1.05;
|
||||
letter-spacing: 0;
|
||||
text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
|
||||
}
|
||||
|
||||
.platform-recommend-cover-only {
|
||||
@@ -2495,7 +2599,7 @@ body {
|
||||
flex: 0 0 auto;
|
||||
min-width: 0;
|
||||
color: var(--platform-text-strong);
|
||||
touch-action: pan-y;
|
||||
touch-action: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user