178 lines
3.3 KiB
CSS
178 lines
3.3 KiB
CSS
/* V21 视频剪辑页面 */
|
|
|
|
/* ========== 布局 ========== */
|
|
.xx-project-generation {
|
|
padding: var(--space-xl);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.xx-generation-layout {
|
|
display: grid;
|
|
grid-template-columns: 1fr 360px;
|
|
gap: var(--space-lg);
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.xx-generation-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ========== 模板网格 - V21 卡片 ========== */
|
|
.xx-template-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: var(--space-md);
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.xx-template-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.xx-template-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
/* ========== 模板选择卡片 ========== */
|
|
.xx-choice-card {
|
|
position: relative;
|
|
border: 2px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
background: rgba(255, 255, 255, 0.94);
|
|
padding: 14px;
|
|
cursor: pointer;
|
|
transition: all 0.25s ease;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.xx-choice-card:hover {
|
|
border-color: var(--primary-color);
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.xx-choice-card.selected {
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.16);
|
|
}
|
|
|
|
/* 选中标记 */
|
|
.xx-choice-card .check {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 10px;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: var(--gradient-primary);
|
|
color: white;
|
|
display: grid;
|
|
place-items: center;
|
|
font-weight: 900;
|
|
font-size: 14px;
|
|
box-shadow: var(--shadow-primary);
|
|
}
|
|
|
|
/* 模板封面 - 渐变背景 */
|
|
.xx-template-cover {
|
|
height: 90px;
|
|
border-radius: var(--radius-md);
|
|
display: grid;
|
|
place-items: center;
|
|
color: white;
|
|
font-size: 32px;
|
|
font-weight: 850;
|
|
margin-bottom: 12px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.xx-template-cover::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
|
|
}
|
|
|
|
/* 渐变预设 */
|
|
.gradient-1 {
|
|
background: linear-gradient(135deg, #4f46e5, #6366f1);
|
|
}
|
|
|
|
.gradient-2 {
|
|
background: linear-gradient(135deg, #10b981, #14b8a6);
|
|
}
|
|
|
|
.gradient-3 {
|
|
background: linear-gradient(135deg, #f59e0b, #f97316);
|
|
}
|
|
|
|
.gradient-4 {
|
|
background: linear-gradient(135deg, #ec4899, #8b5cf6);
|
|
}
|
|
|
|
/* 模板信息 */
|
|
.xx-template-info b {
|
|
display: block;
|
|
font-size: 15px;
|
|
font-weight: 850;
|
|
color: var(--text-primary);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.xx-template-info p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* ========== 预览区域 ========== */
|
|
.xx-preview-section {
|
|
position: sticky;
|
|
top: var(--space-xl);
|
|
}
|
|
|
|
.xx-preview-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-md);
|
|
padding: var(--space-md);
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius-md);
|
|
margin-bottom: var(--space-sm);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.xx-preview-item:hover {
|
|
background: var(--primary-soft);
|
|
}
|
|
|
|
.xx-preview-item .icon {
|
|
font-size: 28px;
|
|
width: 52px;
|
|
height: 52px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-xs);
|
|
}
|
|
|
|
.xx-preview-item h4 {
|
|
font-size: 14px;
|
|
font-weight: 850;
|
|
color: var(--text-primary);
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.xx-preview-item p {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
}
|