165574f826
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 1s
CI/CD Pipeline / Check push changed paths (push) Successful in 4s
CI/CD Pipeline / Build Staging API Image (push) Successful in 25s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 27s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 1m2s
CI/CD Pipeline / Validate - Style (push) Successful in 1m49s
CI/CD Pipeline / Integration Tests (push) Successful in 2m14s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 2m21s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m15s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 1m26s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 4m7s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1m59s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 3m8s
CI/CD Pipeline / Validate - Security (push) Successful in 6m2s
CI/CD Pipeline / Unit Tests (push) Successful in 8m35s
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Canary Release to Production (push) Failing after 182h15m1s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 182h15m2s
CI/CD Pipeline / Deploy Production (push) Failing after 182h15m1s
CI/CD Pipeline / Build Production Web Image (push) Failing after 182h15m2s
CI/CD Pipeline / Build Production API Image (push) Failing after 182h15m3s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 182h22m36s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 182h22m37s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 182h23m45s
CI/CD Pipeline / PR Build Web Image (push) Failing after 182h23m45s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 182h23m46s
CI/CD Pipeline / CI Gate (push) Failing after 182h49m47s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 182h57m21s
CI/CD Pipeline / Frontend Lint (push) Failing after 182h58m26s
CI/CD Pipeline / PR Build API Image (push) Failing after 182h58m30s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
193 lines
4.2 KiB
CSS
193 lines
4.2 KiB
CSS
/* ============================================================
|
|
TitleStylePanel 标题样式面板 — 独立共用样式(#1809 ⑦)
|
|
|
|
从 generate.css 抽取的标题样式区块,供「智能剪辑」与「AI数字人」
|
|
两个页面共用。AI数字人页面不引入 generate.css,直接由
|
|
TitleStylePanel.tsx import 本文件,保证 24 个 T 预设格子的网格布局、
|
|
配色描边、选中态与智能剪辑页面完全一致。
|
|
|
|
注意:本文件规则与 generate.css 中同名规则一一对应、取值相同;
|
|
智能剪辑页面两处同时存在时同优先级同值,不改变其原有呈现。
|
|
============================================================ */
|
|
|
|
/* ── 区块容器 ── */
|
|
.xx-title-style-section {
|
|
margin-top: 22px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid var(--border-light);
|
|
}
|
|
|
|
.xx-section-subtitle {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
.xx-title-style-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 14px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.xx-half-field {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.xx-field-label-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.xx-field-label-row label {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.xx-field-value {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
/* ── 共用表单字段(位置/字体下拉) ── */
|
|
.xx-title-style-section .xx-form-field {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.xx-title-style-section .xx-form-field:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.xx-title-style-section .xx-form-field label {
|
|
display: block;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
font-size: 13px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.xx-title-style-section .xx-form-field select,
|
|
.xx-title-style-section .xx-form-field input {
|
|
width: 100%;
|
|
height: 44px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-primary);
|
|
padding: 0 14px;
|
|
font-size: 14px;
|
|
outline: 0;
|
|
transition: 0.15s ease;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.xx-title-style-section .xx-form-field select:focus,
|
|
.xx-title-style-section .xx-form-field input:focus {
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
|
|
}
|
|
|
|
/* ── 字号滑块 ── */
|
|
.xx-slider {
|
|
width: 100%;
|
|
height: 6px;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
background: var(--border-color);
|
|
border-radius: 3px;
|
|
outline: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.xx-slider::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 18px;
|
|
height: 18px;
|
|
background: var(--primary-color);
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
|
|
}
|
|
|
|
.xx-slider::-moz-range-thumb {
|
|
width: 18px;
|
|
height: 18px;
|
|
background: var(--primary-color);
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
border: none;
|
|
box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
|
|
}
|
|
|
|
/* ── 标题预设卡片网格(24 个 T 格子) ── */
|
|
.xx-title-presets-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 52px);
|
|
gap: 1px;
|
|
}
|
|
|
|
.xx-title-preset-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 52px;
|
|
height: 52px;
|
|
padding: 0;
|
|
background: #404040;
|
|
border: 2px solid transparent;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.xx-title-preset-card:hover {
|
|
border-color: #666;
|
|
background: #4d4d4d;
|
|
}
|
|
|
|
.xx-title-preset-card.active {
|
|
border-color: #409eff;
|
|
background: #4d4d4d;
|
|
}
|
|
|
|
.xx-title-preset-preview-text {
|
|
font-size: 32px;
|
|
line-height: 1;
|
|
user-select: none;
|
|
}
|
|
|
|
/* ── 样式按钮组(加粗/斜体/描边/阴影) ── */
|
|
.xx-style-btns {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.xx-style-btn {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-primary);
|
|
cursor: pointer;
|
|
font-size: 15px;
|
|
color: var(--text-secondary);
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.xx-style-btn:hover {
|
|
border-color: var(--primary-300);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.xx-style-btn.active {
|
|
background: var(--primary-color);
|
|
border-color: var(--primary-color);
|
|
color: #fff;
|
|
}
|