205 lines
3.9 KiB
CSS
205 lines
3.9 KiB
CSS
/* V21 成片库页面 - 9:16 竖屏紧凑卡片 */
|
|
|
|
/* ========== 布局 ========== */
|
|
.xx-project-results {
|
|
padding: var(--space-xl);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* ========== 竖屏卡片网格 ========== */
|
|
.xx-vertical-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
.xx-vertical-grid.compact {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.xx-vertical-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.xx-vertical-grid.compact {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.xx-vertical-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.xx-vertical-grid.compact {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ========== 竖屏卡片 - V21 大圆角 ========== */
|
|
.xx-vertical-card {
|
|
border: 1px solid var(--border-color);
|
|
background: rgba(255, 255, 255, 0.94);
|
|
border-radius: var(--radius-xl);
|
|
padding: 14px;
|
|
transition: all 0.25s ease;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.xx-vertical-card:hover {
|
|
border-color: var(--primary-color);
|
|
box-shadow: var(--shadow-md);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
/* ========== 竖屏缩略图 - 9:16 ========== */
|
|
.xx-vertical-thumb {
|
|
aspect-ratio: 9 / 16;
|
|
border-radius: var(--radius-lg);
|
|
background: linear-gradient(135deg, #4f46e5, #6366f1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: grid;
|
|
place-items: center;
|
|
color: white;
|
|
margin-bottom: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* 缩略图渐变变体 */
|
|
.xx-vertical-thumb.orange {
|
|
background: linear-gradient(135deg, #f97316, #ef4444);
|
|
}
|
|
|
|
.xx-vertical-thumb.gray {
|
|
background: linear-gradient(135deg, #64748b, #334155);
|
|
}
|
|
|
|
.xx-vertical-thumb.green {
|
|
background: linear-gradient(135deg, #10b981, #0284c7);
|
|
}
|
|
|
|
.xx-vertical-thumb.purple {
|
|
background: linear-gradient(135deg, #8b5cf6, #a855f7);
|
|
}
|
|
|
|
/* 视频/图片填充 */
|
|
.xx-vertical-thumb video,
|
|
.xx-vertical-thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* 播放按钮 - 毛玻璃效果 */
|
|
.mini-play {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 50%;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(255, 255, 255, 0.22);
|
|
border: 2px solid rgba(255, 255, 255, 0.4);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
font-size: 20px;
|
|
color: white;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.mini-play:hover {
|
|
background: rgba(255, 255, 255, 0.35);
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
/* 卡片文字 */
|
|
.xx-vertical-card .row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.xx-vertical-card b {
|
|
display: block;
|
|
color: var(--text-primary);
|
|
font-weight: 850;
|
|
font-size: 14px;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.xx-vertical-card p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* ========== 状态标签 ========== */
|
|
.pill {
|
|
font-size: 11px;
|
|
padding: 4px 10px;
|
|
border-radius: var(--radius-full);
|
|
font-weight: 850;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pill.ok {
|
|
background: var(--success-soft);
|
|
color: #15803d;
|
|
}
|
|
|
|
.pill.warn {
|
|
background: var(--warning-soft);
|
|
color: #b45309;
|
|
}
|
|
|
|
.pill.bad {
|
|
background: var(--error-soft);
|
|
color: #be123c;
|
|
}
|
|
|
|
/* ========== 操作按钮组 ========== */
|
|
.assist-actions {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.assist-actions .btn {
|
|
border: 0;
|
|
border-radius: var(--radius-md);
|
|
padding: 10px 14px;
|
|
font-weight: 850;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.assist-actions .btn.primary {
|
|
background: var(--gradient-primary);
|
|
color: white;
|
|
box-shadow: var(--shadow-primary);
|
|
}
|
|
|
|
.assist-actions .btn.primary:hover {
|
|
box-shadow: var(--shadow-hover);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.assist-actions .btn.ghost {
|
|
background: white;
|
|
border: 1px solid var(--border-color);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.assist-actions .btn.ghost:hover {
|
|
border-color: var(--primary-color);
|
|
color: var(--primary-color);
|
|
}
|