大量修改UI
This commit is contained in:
@@ -1,48 +1,211 @@
|
||||
/* 自由创作页(free-create)· 私有样式,全部 .fc- 前缀。
|
||||
颜色/圆角/间距全部走 design-restraint token(§8 Don't List:禁裸 hex / >12px 圆角 / 灰阴影)。 */
|
||||
/* 自由生成页 · 对照影擎 video-free。不重写共享 .btn/.pill/.input/.chip。 */
|
||||
|
||||
.fc-page { display: flex; flex-direction: column; min-height: calc(100vh - 64px - 120px); }
|
||||
|
||||
/* —— 任务流 —— */
|
||||
.fc-feed-wrap { flex: 1; padding-bottom: 24px; }
|
||||
.fc-feed {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
gap: 14px;
|
||||
align-items: start;
|
||||
.content:has(.fc-page) {
|
||||
overflow: hidden;
|
||||
}
|
||||
.fc-loading, .fc-sentinel {
|
||||
padding: 28px 0;
|
||||
text-align: center;
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.04em;
|
||||
color: var(--black-alpha-48);
|
||||
}
|
||||
.fc-empty { margin: 48px auto; }
|
||||
|
||||
/* —— 任务卡 —— */
|
||||
.fc-card {
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border-faint);
|
||||
border-radius: var(--r-md);
|
||||
.fc-page {
|
||||
--klein: #002fa7;
|
||||
--klein-hover: #002680;
|
||||
--fc-black: #101012;
|
||||
--fc-muted: #6f747c;
|
||||
--fc-line: rgba(34, 42, 54, 0.10);
|
||||
--fc-wash: rgba(34, 42, 54, 0.045);
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
box-sizing: border-box;
|
||||
margin: -24px -28px -60px;
|
||||
padding: 52px clamp(40px, 3.2vw, 68px) 20px;
|
||||
height: calc(100vh - 116px);
|
||||
height: calc(100dvh - 116px);
|
||||
max-height: calc(100vh - 116px);
|
||||
max-height: calc(100dvh - 116px);
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
.fc-card.done { cursor: pointer; }
|
||||
.fc-card.done:hover { border-color: var(--black-alpha-48); }
|
||||
.fc-card-media {
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.fc-page { margin: -28px -24px -48px; }
|
||||
}
|
||||
|
||||
.fc-page .fc-head {
|
||||
min-height: 76px;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 30px;
|
||||
margin-bottom: 18px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.fc-page .fc-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 13px;
|
||||
min-width: 0;
|
||||
}
|
||||
.fc-page .fc-back {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
flex: 0 0 auto;
|
||||
border: 1px solid rgba(34, 42, 54, 0.12);
|
||||
border-radius: 12px;
|
||||
color: var(--accent-black);
|
||||
background: rgba(255, 255, 255, 0.82);
|
||||
cursor: pointer;
|
||||
transition: background-color 180ms ease, transform 180ms ease;
|
||||
}
|
||||
.fc-page .fc-back:hover {
|
||||
transform: translateX(-2px);
|
||||
background: rgba(34, 42, 54, 0.08);
|
||||
}
|
||||
.fc-page .fc-back svg { width: 19px; height: 19px; }
|
||||
.fc-page .fc-head h1 {
|
||||
margin: 0 0 10px;
|
||||
font-size: 32px;
|
||||
line-height: 1.2;
|
||||
font-weight: 600;
|
||||
letter-spacing: -.02em;
|
||||
color: var(--accent-black);
|
||||
}
|
||||
.fc-page .fc-head p { margin: 0; color: var(--fc-muted); font-size: 15px; }
|
||||
.fc-page .fc-material {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.fc-page .fc-ghost {
|
||||
min-width: 126px;
|
||||
height: 46px;
|
||||
padding: 0 18px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 9px;
|
||||
border: 1px solid rgba(28, 34, 43, 0.12);
|
||||
border-radius: 11px;
|
||||
color: var(--accent-black);
|
||||
background: rgba(34, 42, 54, 0.05);
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.fc-page .fc-ghost:hover { background: rgba(34, 42, 54, 0.10); }
|
||||
.fc-page .fc-ghost svg { width: 19px; height: 19px; }
|
||||
|
||||
.fc-page .fc-stage {
|
||||
position: relative;
|
||||
background: var(--background-base);
|
||||
max-height: 420px;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: auto;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
.fc-page .fc-stage:has(.system-loading) {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
.fc-page .fc-stage:has(.fc-empty) {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
.fc-page .fc-stage:has(.fc-empty)::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 5% 7%;
|
||||
background-image:
|
||||
linear-gradient(rgba(0, 47, 167, 0.075) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(0, 47, 167, 0.075) 1px, transparent 1px);
|
||||
background-size: 30px 30px;
|
||||
-webkit-mask-image: radial-gradient(circle at center, #000 0, rgba(0,0,0,.72) 35%, transparent 74%);
|
||||
mask-image: radial-gradient(circle at center, #000 0, rgba(0,0,0,.72) 35%, transparent 74%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.fc-page .fc-empty {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
text-align: center;
|
||||
color: var(--fc-muted);
|
||||
}
|
||||
.fc-page .fc-empty-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
margin: 0 auto 13px;
|
||||
border-radius: 12px;
|
||||
background: rgba(34, 42, 54, 0.07);
|
||||
}
|
||||
.fc-page .fc-empty-icon svg { width: 22px; height: 22px; }
|
||||
.fc-page .fc-empty strong {
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: var(--accent-black);
|
||||
}
|
||||
.fc-page .fc-empty p {
|
||||
margin: 8px 0 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.fc-page .fc-feed {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
||||
gap: 18px;
|
||||
align-items: start;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
.fc-page .fc-sentinel {
|
||||
padding: 28px 0;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: var(--fc-muted);
|
||||
}
|
||||
|
||||
.fc-page .fc-card {
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--fc-line);
|
||||
border-radius: 13px;
|
||||
background: rgba(34, 42, 54, 0.05);
|
||||
box-shadow: 0 8px 18px rgba(20, 27, 38, 0.075);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transition: transform 180ms ease, background-color 180ms ease;
|
||||
}
|
||||
.fc-page .fc-card.done { cursor: pointer; }
|
||||
.fc-page .fc-card:hover {
|
||||
transform: translateY(-3px);
|
||||
background: rgba(34, 42, 54, 0.08);
|
||||
}
|
||||
.fc-page .fc-card-media {
|
||||
position: relative;
|
||||
background: #e5e6e9;
|
||||
max-height: 280px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
.fc-card-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.fc-card-generating {
|
||||
.fc-page .fc-card-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
.fc-page .fc-dur {
|
||||
position: absolute;
|
||||
right: 9px;
|
||||
bottom: 9px;
|
||||
padding: 4px 7px;
|
||||
border-radius: 6px;
|
||||
color: #fff;
|
||||
background: rgba(16, 16, 18, 0.78);
|
||||
font-size: 11px;
|
||||
}
|
||||
.fc-page .fc-card-generating {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
@@ -50,25 +213,39 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
background: linear-gradient(110deg, var(--black-alpha-4) 30%, var(--black-alpha-7) 50%, var(--black-alpha-4) 70%);
|
||||
background: linear-gradient(110deg, rgba(34, 42, 54, 0.04) 30%, rgba(34, 42, 54, 0.08) 50%, rgba(34, 42, 54, 0.04) 70%);
|
||||
background-size: 200% 100%;
|
||||
animation: fc-shimmer 1.6s linear infinite;
|
||||
font-size: 11px;
|
||||
color: var(--black-alpha-56);
|
||||
color: var(--fc-muted);
|
||||
}
|
||||
@keyframes fc-shimmer {
|
||||
0% { background-position: 200% 0; }
|
||||
100% { background-position: -200% 0; }
|
||||
}
|
||||
.fc-progress {
|
||||
.fc-page .fc-progress {
|
||||
width: 60%;
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
background: var(--black-alpha-12);
|
||||
border-radius: 99px;
|
||||
background: #e2e5ea;
|
||||
overflow: hidden;
|
||||
}
|
||||
.fc-progress span { display: block; height: 100%; border-radius: 2px; background: var(--heat); transition: width 0.6s ease; }
|
||||
.fc-card-failed {
|
||||
.fc-page .fc-progress span,
|
||||
.fc-page .fc-progress-mini span {
|
||||
display: block;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: var(--klein);
|
||||
transition: width 0.6s ease;
|
||||
}
|
||||
.fc-page .fc-progress-mini {
|
||||
height: 4px;
|
||||
margin-top: 12px;
|
||||
overflow: hidden;
|
||||
border-radius: 99px;
|
||||
background: #e2e5ea;
|
||||
}
|
||||
.fc-page .fc-card-failed {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
@@ -78,9 +255,32 @@
|
||||
gap: 10px;
|
||||
padding: 16px;
|
||||
text-align: center;
|
||||
background: rgba(255, 255, 255, 0.82);
|
||||
}
|
||||
.fc-card-failed p { font-size: 12px; line-height: 1.65; color: var(--black-alpha-64); max-width: 90%; margin: 0; }
|
||||
.fc-card-hover {
|
||||
.fc-page .fc-card-failed p {
|
||||
font-size: 12px;
|
||||
line-height: 1.65;
|
||||
color: var(--fc-muted);
|
||||
max-width: 90%;
|
||||
margin: 0;
|
||||
}
|
||||
.fc-page .fc-failed-actions { display: flex; gap: 8px; }
|
||||
.fc-page .fc-mini {
|
||||
height: 30px;
|
||||
padding: 0 10px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
border: 1px solid rgba(28, 34, 43, 0.12);
|
||||
border-radius: 8px;
|
||||
color: var(--accent-black);
|
||||
background: #fff;
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.fc-page .fc-mini:hover { background: rgba(34, 42, 54, 0.06); }
|
||||
.fc-page .fc-card-hover {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
@@ -89,121 +289,149 @@
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
.fc-card:hover .fc-card-hover { opacity: 1; }
|
||||
.fc-hover-btn {
|
||||
.fc-page .fc-card:hover .fc-card-hover { opacity: 1; }
|
||||
.fc-page .fc-hover-btn {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: var(--r-md);
|
||||
border: 1px solid var(--border-faint);
|
||||
background: var(--surface);
|
||||
color: var(--black-alpha-56);
|
||||
border-radius: 8px;
|
||||
border: 0;
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
color: var(--fc-muted);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s, color 0.2s;
|
||||
}
|
||||
.fc-hover-btn:hover { background: var(--black-alpha-4); color: var(--accent-black); }
|
||||
.fc-hover-btn.fav { color: var(--heat); }
|
||||
.fc-hover-btn.danger:hover { color: var(--accent-crimson); }
|
||||
.fc-card-meta { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
|
||||
.fc-card-prompt {
|
||||
font-size: 13px;
|
||||
.fc-page .fc-hover-btn:hover { color: var(--accent-black); }
|
||||
.fc-page .fc-hover-btn.fav { color: var(--klein); }
|
||||
.fc-page .fc-hover-btn.danger:hover { color: var(--accent-crimson); }
|
||||
.fc-page .fc-card-meta { padding: 15px 16px 17px; }
|
||||
.fc-page .fc-card-meta h3 {
|
||||
margin: 0 0 6px;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: var(--accent-black);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.fc-card-sub { font-size: 11px; letter-spacing: 0.04em; color: var(--black-alpha-48); }
|
||||
|
||||
/* —— 底部输入条 —— */
|
||||
.fc-inputbar {
|
||||
position: sticky;
|
||||
bottom: 16px;
|
||||
z-index: 5;
|
||||
background: var(--surface-raised);
|
||||
border: 1px solid var(--border-muted);
|
||||
border-radius: var(--r-md);
|
||||
padding: 14px 16px 12px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
box-shadow: var(--shadow-floating);
|
||||
.fc-page .fc-card-meta p {
|
||||
margin: 0;
|
||||
color: var(--fc-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
.fc-inputbar.drag { border-color: var(--heat-40); }
|
||||
.fc-drop-hint {
|
||||
.fc-page .fc-card-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
margin-top: 13px;
|
||||
}
|
||||
.fc-page .fc-tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 25px;
|
||||
padding: 0 9px;
|
||||
border-radius: 7px;
|
||||
color: #4c5360;
|
||||
background: rgba(34, 42, 54, 0.08);
|
||||
font-size: 11px;
|
||||
}
|
||||
.fc-page .fc-tag.blue { color: var(--klein); background: rgba(0, 47, 167, 0.09); }
|
||||
.fc-page .fc-tag.green { color: #138d3f; background: rgba(22, 184, 78, 0.10); }
|
||||
.fc-page .fc-tag.danger { color: var(--accent-crimson); background: var(--crimson-bg); }
|
||||
|
||||
.fc-page .fc-composer {
|
||||
position: relative;
|
||||
z-index: 6;
|
||||
flex: 0 0 auto;
|
||||
margin-top: 14px;
|
||||
padding: 16px;
|
||||
border: 1px solid var(--fc-line);
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
box-shadow: 0 12px 30px rgba(20, 27, 38, 0.10);
|
||||
}
|
||||
.fc-page .fc-composer.drag { border-color: var(--klein); }
|
||||
.fc-page .fc-drop-hint {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--heat-12);
|
||||
border-radius: inherit;
|
||||
color: var(--heat);
|
||||
font-size: 12px;
|
||||
background: rgba(0, 47, 167, 0.08);
|
||||
color: var(--klein);
|
||||
font-size: 13px;
|
||||
pointer-events: none;
|
||||
z-index: 2;
|
||||
}
|
||||
.fc-input-top { display: flex; gap: 12px; align-items: flex-start; }
|
||||
|
||||
/* 参考素材条(universal) */
|
||||
.fc-refs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 300px; }
|
||||
.fc-add {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border-radius: var(--r-md);
|
||||
border: 1px dashed var(--black-alpha-24);
|
||||
background: var(--background-base);
|
||||
color: var(--black-alpha-56);
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 2px;
|
||||
.fc-page .fc-prompt-main {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 14px;
|
||||
align-items: start;
|
||||
}
|
||||
.fc-page .fc-refs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
align-items: flex-start;
|
||||
max-width: 220px;
|
||||
}
|
||||
.fc-page .fc-ref-btn {
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border: 1px dashed rgba(34, 42, 54, 0.18);
|
||||
border-radius: 10px;
|
||||
background: rgba(34, 42, 54, 0.035);
|
||||
color: var(--accent-black);
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
transition: border-color 0.2s, color 0.2s;
|
||||
}
|
||||
.fc-add:hover { border-color: var(--heat-40); color: var(--heat); }
|
||||
.fc-ref {
|
||||
.fc-page .fc-ref-btn:hover { background: rgba(34, 42, 54, 0.07); }
|
||||
.fc-page .fc-ref-btn svg { width: 18px; height: 18px; }
|
||||
.fc-page .fc-ref {
|
||||
position: relative;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border-radius: var(--r-md);
|
||||
border: 1px solid var(--border-faint);
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--fc-line);
|
||||
overflow: hidden;
|
||||
background: var(--background-base);
|
||||
background: var(--fc-wash);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.fc-ref img { width: 100%; height: 100%; object-fit: cover; }
|
||||
.fc-ref.uploading img { opacity: 0.4; }
|
||||
.fc-ref .spinner { position: absolute; }
|
||||
.fc-ref-kind { font-size: 11px; color: var(--black-alpha-48); }
|
||||
.fc-ref-dur {
|
||||
.fc-page .fc-ref img { width: 100%; height: 100%; object-fit: cover; }
|
||||
.fc-page .fc-ref.uploading img { opacity: 0.4; }
|
||||
.fc-page .fc-ref .spinner { position: absolute; }
|
||||
.fc-page .fc-ref-kind { font-size: 10px; color: var(--fc-muted); }
|
||||
.fc-page .fc-ref-dur {
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
bottom: 3px;
|
||||
font-size: 8.5px;
|
||||
padding: 1px 4px;
|
||||
border-radius: var(--r-sm);
|
||||
background: var(--black-alpha-56);
|
||||
color: var(--surface);
|
||||
border-radius: 4px;
|
||||
background: rgba(16, 16, 18, 0.72);
|
||||
color: #fff;
|
||||
}
|
||||
.fc-ref-label {
|
||||
.fc-page .fc-ref-label {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
font-size: 9px;
|
||||
padding: 1px 4px;
|
||||
background: var(--black-alpha-56);
|
||||
color: var(--surface);
|
||||
background: rgba(16, 16, 18, 0.72);
|
||||
color: #fff;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.fc-ref-x {
|
||||
.fc-page .fc-ref-x {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 2px;
|
||||
@@ -211,8 +439,8 @@
|
||||
height: 16px;
|
||||
border-radius: 999px;
|
||||
border: none;
|
||||
background: var(--black-alpha-56);
|
||||
color: var(--surface);
|
||||
background: rgba(16, 16, 18, 0.72);
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
@@ -220,19 +448,19 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.fc-ref:hover .fc-ref-x, .fc-kf-slot-wrap:hover .fc-ref-x { display: inline-flex; }
|
||||
.fc-page .fc-ref:hover .fc-ref-x,
|
||||
.fc-page .fc-kf-slot-wrap:hover .fc-ref-x { display: inline-flex; }
|
||||
|
||||
/* 首尾帧(keyframe) */
|
||||
.fc-keyframes { display: flex; align-items: center; gap: 8px; }
|
||||
.fc-kf-slot-wrap { position: relative; width: 88px; height: 66px; flex: 0 0 auto; }
|
||||
.fc-kf-slot {
|
||||
.fc-page .fc-keyframes { display: flex; align-items: center; gap: 8px; }
|
||||
.fc-page .fc-kf-slot-wrap { position: relative; width: 88px; height: 66px; flex: 0 0 auto; }
|
||||
.fc-page .fc-kf-slot {
|
||||
position: relative;
|
||||
width: 88px;
|
||||
height: 66px;
|
||||
border-radius: var(--r-md);
|
||||
border: 1px dashed var(--black-alpha-24);
|
||||
background: var(--background-base);
|
||||
color: var(--black-alpha-56);
|
||||
border-radius: 10px;
|
||||
border: 1px dashed rgba(34, 42, 54, 0.18);
|
||||
background: rgba(34, 42, 54, 0.035);
|
||||
color: var(--fc-muted);
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -241,84 +469,79 @@
|
||||
cursor: pointer;
|
||||
font-size: 11px;
|
||||
overflow: hidden;
|
||||
transition: border-color 0.2s, color 0.2s;
|
||||
}
|
||||
.fc-kf-slot-wrap > .fc-kf-slot { width: 100%; height: 100%; }
|
||||
.fc-kf-slot:hover { border-color: var(--heat-40); color: var(--heat); }
|
||||
.fc-kf-slot.filled { border-style: solid; border-color: var(--border-faint); }
|
||||
.fc-kf-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
||||
.fc-kf-slot .spinner { position: absolute; }
|
||||
.fc-kf-lib {
|
||||
.fc-page .fc-kf-slot-wrap > .fc-kf-slot { width: 100%; height: 100%; }
|
||||
.fc-page .fc-kf-slot:hover { color: var(--accent-black); background: rgba(34, 42, 54, 0.07); }
|
||||
.fc-page .fc-kf-slot.filled { border-style: solid; border-color: var(--fc-line); }
|
||||
.fc-page .fc-kf-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
||||
.fc-page .fc-kf-slot .spinner { position: absolute; }
|
||||
.fc-page .fc-kf-lib {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
border-radius: var(--r-md);
|
||||
border-radius: 10px;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
.fc-kf-slot-wrap > .fc-ref-x { z-index: 2; }
|
||||
.fc-kf-tag {
|
||||
.fc-page .fc-kf-slot-wrap > .fc-ref-x { z-index: 2; }
|
||||
.fc-page .fc-kf-tag {
|
||||
position: absolute;
|
||||
left: 3px;
|
||||
top: 3px;
|
||||
font-size: 8.5px;
|
||||
padding: 1px 4px;
|
||||
border-radius: var(--r-sm);
|
||||
background: var(--black-alpha-56);
|
||||
color: var(--surface);
|
||||
border-radius: 4px;
|
||||
background: rgba(16, 16, 18, 0.72);
|
||||
color: #fff;
|
||||
}
|
||||
.fc-kf-arrow { color: var(--black-alpha-48); font-size: 13px; }
|
||||
.fc-page .fc-kf-arrow { color: var(--fc-muted); font-size: 13px; }
|
||||
|
||||
/* 提示词编辑器(contenteditable) */
|
||||
.fc-prompt-wrap { flex: 1; min-width: 0; }
|
||||
.fc-prompt {
|
||||
min-height: 64px;
|
||||
.fc-page .fc-prompt-wrap { min-width: 0; }
|
||||
.fc-page .fc-prompt {
|
||||
min-height: 72px;
|
||||
max-height: 160px;
|
||||
overflow-y: auto;
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
line-height: 1.65;
|
||||
color: var(--accent-black);
|
||||
outline: none;
|
||||
padding: 6px 2px;
|
||||
word-break: break-word;
|
||||
}
|
||||
.fc-prompt:empty::before { content: attr(data-placeholder); color: var(--black-alpha-48); pointer-events: none; }
|
||||
.fc-mention {
|
||||
.fc-page .fc-prompt:empty::before { content: attr(data-placeholder); color: var(--fc-muted); pointer-events: none; }
|
||||
.fc-page .fc-mention {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 1px 6px;
|
||||
margin: 0 1px;
|
||||
border-radius: var(--r-sm);
|
||||
background: var(--heat-12);
|
||||
border: 1px solid var(--heat-20);
|
||||
color: var(--heat);
|
||||
border-radius: 6px;
|
||||
background: rgba(0, 47, 167, 0.09);
|
||||
color: var(--klein);
|
||||
font-size: 12px;
|
||||
vertical-align: middle;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.fc-mention img { width: 16px; height: 16px; border-radius: 3px; object-fit: cover; }
|
||||
.fc-page .fc-mention img { width: 16px; height: 16px; border-radius: 3px; object-fit: cover; }
|
||||
|
||||
/* @ 候选菜单(fixed,朝上弹) */
|
||||
.fc-mention-menu { position: fixed; z-index: 300; transform: translateY(-100%); }
|
||||
.fc-mention-menu-inner {
|
||||
min-width: 220px;
|
||||
max-width: 280px;
|
||||
max-height: 260px;
|
||||
overflow-y: auto;
|
||||
background: var(--surface-raised);
|
||||
border: 1px solid var(--border-muted);
|
||||
border-radius: var(--r-md);
|
||||
box-shadow: var(--shadow-floating);
|
||||
background: #fff;
|
||||
border: 1px solid rgba(34, 42, 54, 0.10);
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 12px 30px rgba(20, 27, 38, 0.12);
|
||||
padding: 6px;
|
||||
}
|
||||
.fc-mention-menu-head { font-size: 11px; letter-spacing: 0.04em; color: var(--black-alpha-48); padding: 4px 8px; }
|
||||
.fc-mention-menu-head { font-size: 11px; color: var(--fc-muted, #6f747c); padding: 4px 8px; }
|
||||
.fc-mention-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -326,82 +549,136 @@
|
||||
width: 100%;
|
||||
padding: 6px 8px;
|
||||
border: none;
|
||||
border-radius: var(--r-sm);
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
font-size: 12.5px;
|
||||
color: var(--accent-black);
|
||||
text-align: left;
|
||||
}
|
||||
.fc-mention-item.active { background: var(--black-alpha-4); }
|
||||
.fc-mention-item img { width: 24px; height: 24px; border-radius: var(--r-sm); object-fit: cover; }
|
||||
.fc-mention-ph { width: 24px; height: 24px; border-radius: var(--r-sm); background: var(--black-alpha-7); }
|
||||
.fc-mention-item.active { background: rgba(34, 42, 54, 0.06); }
|
||||
.fc-mention-item img { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
|
||||
.fc-mention-ph { width: 24px; height: 24px; border-radius: 6px; background: rgba(34, 42, 54, 0.08); }
|
||||
.fc-mention-item .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.fc-mention-item .lbl.lib { color: var(--black-alpha-56); }
|
||||
.fc-mention-item .lbl.lib { color: #6f747c; }
|
||||
|
||||
/* —— 工具栏 —— */
|
||||
.fc-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--border-faint); padding-top: 10px; }
|
||||
.fc-toolbar-l { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
||||
.fc-toolbar-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
|
||||
.fc-estimate { font-size: 11px; letter-spacing: 0.04em; color: var(--black-alpha-48); font-variant-numeric: tabular-nums; }
|
||||
.fc-page .fc-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding-top: 13px;
|
||||
border-top: 1px solid rgba(34, 42, 54, 0.08);
|
||||
}
|
||||
.fc-page .fc-chips {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.fc-page .fc-toolbar-r {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.fc-page .fc-estimate {
|
||||
font-size: 11px;
|
||||
color: var(--fc-muted);
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.fc-page .fc-clear {
|
||||
height: 32px;
|
||||
padding: 0 10px;
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
color: var(--fc-muted);
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.fc-page .fc-clear:hover { color: var(--accent-black); background: rgba(34, 42, 54, 0.06); }
|
||||
.fc-page .fc-gen {
|
||||
min-width: 100px;
|
||||
height: 42px;
|
||||
padding: 0 16px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
border: 0;
|
||||
border-radius: 11px;
|
||||
color: #fff;
|
||||
background: var(--klein);
|
||||
box-shadow: 0 9px 18px rgba(0, 47, 167, 0.18);
|
||||
font: inherit;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
}
|
||||
.fc-page .fc-gen:hover:not(:disabled) { transform: translateY(-1px); background: var(--klein-hover); }
|
||||
.fc-page .fc-gen:disabled { opacity: 0.38; transform: none; box-shadow: none; cursor: not-allowed; }
|
||||
.fc-page .fc-gen svg { width: 16px; height: 16px; }
|
||||
|
||||
.fc-dd { position: relative; }
|
||||
.fc-dd-btn {
|
||||
height: 28px;
|
||||
.fc-page .fc-dd { position: relative; }
|
||||
.fc-page .fc-chip {
|
||||
height: 32px;
|
||||
padding: 0 10px;
|
||||
border-radius: var(--r-md);
|
||||
border: 1px solid var(--border-faint);
|
||||
background: var(--surface);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 12px;
|
||||
color: var(--accent-black);
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
color: #4a4f57;
|
||||
background: rgba(34, 42, 54, 0.06);
|
||||
font: inherit;
|
||||
font-size: 11px;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s, border-color 0.2s;
|
||||
}
|
||||
.fc-dd-btn:hover { background: var(--black-alpha-4); border-color: var(--black-alpha-24); }
|
||||
.fc-dd-btn:disabled { color: var(--black-alpha-32); cursor: not-allowed; }
|
||||
.fc-dd-btn svg { color: var(--black-alpha-48); transition: transform 0.2s; }
|
||||
.fc-dd.open .fc-dd-btn svg { transform: rotate(180deg); }
|
||||
.fc-dd-lbl { font-size: 10.5px; letter-spacing: 0.04em; color: var(--black-alpha-48); }
|
||||
.fc-dd-val { font-weight: 500; }
|
||||
.fc-dd-menu {
|
||||
.fc-page .fc-chip strong { font-weight: 600; color: var(--accent-black); }
|
||||
.fc-page .fc-chip svg { width: 12px; height: 12px; color: #4a4f57; }
|
||||
.fc-page .fc-chip:hover { background: rgba(34, 42, 54, 0.10); }
|
||||
.fc-page .fc-chip:disabled { opacity: 0.45; cursor: not-allowed; }
|
||||
.fc-page .fc-dd.open .fc-chip svg { transform: rotate(180deg); }
|
||||
.fc-page .fc-dd-menu {
|
||||
position: absolute;
|
||||
bottom: calc(100% + 6px);
|
||||
left: 0;
|
||||
z-index: 60;
|
||||
min-width: 180px;
|
||||
background: var(--surface-raised);
|
||||
border: 1px solid var(--border-muted);
|
||||
border-radius: var(--r-md);
|
||||
box-shadow: var(--shadow-floating);
|
||||
background: #fff;
|
||||
border: 1px solid rgba(34, 42, 54, 0.10);
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 12px 30px rgba(20, 27, 38, 0.12);
|
||||
padding: 6px;
|
||||
}
|
||||
.fc-dd-item {
|
||||
.fc-page .fc-dd-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
width: 100%;
|
||||
padding: 7px 10px;
|
||||
border: none;
|
||||
border-radius: var(--r-sm);
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
}
|
||||
.fc-dd-item:hover { background: var(--black-alpha-4); }
|
||||
.fc-dd-item.selected { background: var(--heat-12); }
|
||||
.fc-dd-item.selected .ti { color: var(--heat); }
|
||||
.fc-dd-item.disabled { cursor: not-allowed; }
|
||||
.fc-dd-item.disabled .ti, .fc-dd-item.disabled .de { color: var(--black-alpha-32); }
|
||||
.fc-dd-item .ti { font-size: 12.5px; font-weight: 500; color: var(--accent-black); }
|
||||
.fc-dd-item .de { font-size: 10.5px; letter-spacing: 0.04em; color: var(--black-alpha-48); }
|
||||
.fc-seed-menu { min-width: 220px; padding: 10px; }
|
||||
.fc-seed-row { display: flex; gap: 8px; align-items: center; }
|
||||
.fc-seed-row .input { height: 30px; flex: 1; }
|
||||
.fc-seed-hint { margin-top: 6px; font-size: 10.5px; letter-spacing: 0.04em; color: var(--black-alpha-48); }
|
||||
.fc-fav-on { color: var(--heat); }
|
||||
.fc-page .fc-dd-item:hover { background: rgba(34, 42, 54, 0.06); }
|
||||
.fc-page .fc-dd-item.selected { background: rgba(0, 47, 167, 0.08); }
|
||||
.fc-page .fc-dd-item.selected .ti { color: var(--klein); }
|
||||
.fc-page .fc-dd-item.disabled { cursor: not-allowed; }
|
||||
.fc-page .fc-dd-item.disabled .ti,
|
||||
.fc-page .fc-dd-item.disabled .de { color: rgba(28, 34, 43, 0.36); }
|
||||
.fc-page .fc-dd-item .ti { font-size: 12.5px; font-weight: 500; color: var(--accent-black); }
|
||||
.fc-page .fc-dd-item .de { font-size: 10.5px; color: var(--fc-muted); }
|
||||
.fc-page .fc-seed-menu { min-width: 220px; padding: 10px; }
|
||||
.fc-page .fc-seed-row { display: flex; gap: 8px; align-items: center; }
|
||||
.fc-page .fc-seed-row .input { height: 30px; flex: 1; }
|
||||
.fc-page .fc-seed-hint { margin-top: 6px; font-size: 10.5px; color: var(--fc-muted); }
|
||||
.fc-fav-on { color: var(--klein); }
|
||||
|
||||
/* —— 全屏播放器 —— */
|
||||
.fc-player-bg {
|
||||
@@ -693,11 +970,15 @@
|
||||
.fc-lib-model-picks .btn { height: 24px; padding: 0 8px; font-size: 11.5px; }
|
||||
.fc-lib-more { display: flex; justify-content: center; padding-top: 14px; }
|
||||
|
||||
/* 移动端:输入条参数换行、任务流单列 */
|
||||
@media (max-width: 1100px) {
|
||||
.fc-page .fc-head { flex-direction: column; align-items: stretch; }
|
||||
.fc-page .fc-material .fc-ghost { min-width: 0; }
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.fc-feed { grid-template-columns: 1fr; }
|
||||
.fc-input-top { flex-direction: column; }
|
||||
.fc-refs { max-width: none; }
|
||||
.fc-page .fc-feed { grid-template-columns: 1fr; }
|
||||
.fc-page .fc-prompt-main { grid-template-columns: 1fr; }
|
||||
.fc-page .fc-refs { max-width: none; }
|
||||
.fc-page .fc-toolbar { flex-wrap: wrap; }
|
||||
.fc-player-bg { padding: 16px; }
|
||||
.fc-player-nav.prev { left: 6px; }
|
||||
.fc-player-nav.next { right: 6px; }
|
||||
|
||||
Reference in New Issue
Block a user