优化已发现问题
This commit is contained in:
@@ -360,13 +360,34 @@
|
||||
|
||||
.omni-result-card,
|
||||
.omni-process-card {
|
||||
width: min(760px, calc(100% - 44px));
|
||||
box-sizing: border-box;
|
||||
width: min(320px, calc(100% - 44px));
|
||||
max-width: 320px;
|
||||
margin: 0 0 24px 44px;
|
||||
border: 1px solid rgba(34, 42, 54, .09);
|
||||
border-radius: 15px;
|
||||
background: #fff;
|
||||
box-shadow: 0 10px 26px rgba(20, 27, 38, .06);
|
||||
animation: omniMessageIn 220ms ease both;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.omni-result-card.has-multiple,
|
||||
.omni-process-card.has-multiple {
|
||||
width: min(520px, calc(100% - 44px));
|
||||
max-width: 520px;
|
||||
}
|
||||
|
||||
.omni-result-card.has-single.is-ratio-16-9,
|
||||
.omni-process-card.has-single.is-ratio-16-9 {
|
||||
width: min(480px, calc(100% - 44px));
|
||||
max-width: 480px;
|
||||
}
|
||||
|
||||
.omni-result-card.has-single.is-ratio-1-1,
|
||||
.omni-process-card.has-single.is-ratio-1-1 {
|
||||
width: min(340px, calc(100% - 44px));
|
||||
max-width: 340px;
|
||||
}
|
||||
|
||||
.omni-strategy-card,
|
||||
@@ -1167,7 +1188,10 @@
|
||||
}
|
||||
|
||||
.omni-process-frame {
|
||||
height: 310px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
aspect-ratio: 9 / 16;
|
||||
min-height: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -1178,6 +1202,14 @@
|
||||
animation: omniShimmer 1.2s ease infinite;
|
||||
}
|
||||
|
||||
.is-ratio-16-9 .omni-process-frame {
|
||||
aspect-ratio: 16 / 9;
|
||||
}
|
||||
|
||||
.is-ratio-1-1 .omni-process-frame {
|
||||
aspect-ratio: 1 / 1;
|
||||
}
|
||||
|
||||
.omni-process-frame strong {
|
||||
color: #5c6570;
|
||||
font-size: 14px;
|
||||
@@ -1211,6 +1243,8 @@
|
||||
|
||||
.omni-result-media.is-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.omni-result-tile {
|
||||
@@ -1220,11 +1254,22 @@
|
||||
border-radius: var(--r-md, 12px);
|
||||
background: #edf0f4;
|
||||
box-shadow: 0 8px 20px rgba(20, 27, 38, .08);
|
||||
aspect-ratio: 9 / 16;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.is-ratio-16-9 .omni-result-tile {
|
||||
aspect-ratio: 16 / 9;
|
||||
}
|
||||
|
||||
.is-ratio-1-1 .omni-result-tile {
|
||||
aspect-ratio: 1 / 1;
|
||||
}
|
||||
|
||||
.omni-result-preview {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
@@ -1233,18 +1278,19 @@
|
||||
|
||||
.omni-result-tile img {
|
||||
width: 100%;
|
||||
height: 310px;
|
||||
height: 100%;
|
||||
aspect-ratio: inherit;
|
||||
display: block;
|
||||
object-fit: cover;
|
||||
background: #edf0f4;
|
||||
}
|
||||
|
||||
.omni-result-media.is-grid .omni-result-tile img {
|
||||
height: 220px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.omni-result-media.is-grid .omni-process-frame {
|
||||
height: 220px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.omni-result-play {
|
||||
@@ -1731,14 +1777,36 @@
|
||||
background: var(--klein);
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 160ms ease;
|
||||
}
|
||||
|
||||
.omni-elicit-actions button.cancel-btn {
|
||||
background: var(--surface, #fff);
|
||||
color: var(--text-secondary, #606a78);
|
||||
border: 1px solid var(--border-faint, #e2e8f0);
|
||||
}
|
||||
|
||||
.omni-elicit-actions button.cancel-btn:hover:not(:disabled) {
|
||||
background: var(--background-hover, #f8fafc);
|
||||
color: var(--accent-black, #1a202c);
|
||||
border-color: var(--border-subtle, #cbd5e1);
|
||||
}
|
||||
|
||||
.omni-elicit-actions button:disabled {
|
||||
background: rgba(34, 42, 54, .18);
|
||||
color: rgba(255, 255, 255, .7);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.omni-elicit-actions button.cancel-btn:disabled {
|
||||
background: var(--surface, #fff);
|
||||
color: var(--text-tertiary, #94a3b8);
|
||||
border-color: var(--border-faint, #e2e8f0);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
/* 已提交的追问卡变成只读回顾,不能再改 —— 重复提交后端会 409 */
|
||||
.omni-elicit-card.is-submitted .omni-elicit-options button,
|
||||
.omni-elicit-card.is-submitted .omni-elicit-assets button {
|
||||
@@ -2703,6 +2771,47 @@
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.omni-person-generate-panel {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
gap: 8px;
|
||||
margin-top: 4px;
|
||||
padding: 12px;
|
||||
border-radius: var(--r-md);
|
||||
background: var(--background-lighter);
|
||||
box-shadow: inset 0 0 0 1px var(--border-faint);
|
||||
}
|
||||
|
||||
.omni-person-generate-panel label {
|
||||
color: var(--accent-black);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.omni-person-generate-panel .textarea {
|
||||
width: 100%;
|
||||
min-height: 88px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.omni-person-generate-panel > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.omni-person-generate-panel > div > span {
|
||||
flex: 1 1 auto;
|
||||
color: var(--black-alpha-48);
|
||||
font-size: 11px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.omni-person-generate-panel > div > button {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
/* 单选追问直接点选即提交;长方向文案纵向铺开,避免挤成难扫读的小胶囊。 */
|
||||
.omni-chat-choice-actions {
|
||||
width: 100%;
|
||||
@@ -3079,6 +3188,105 @@
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.omni-model-picker-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.omni-model-picker-card {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding: 8px;
|
||||
border: 0;
|
||||
border-radius: var(--r-md);
|
||||
background: var(--surface);
|
||||
color: var(--accent-black);
|
||||
box-shadow: inset 0 0 0 1px var(--border-faint);
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
transition: background var(--t-base), box-shadow var(--t-base);
|
||||
}
|
||||
|
||||
.omni-model-picker-card:hover,
|
||||
.omni-model-picker-card.is-selected {
|
||||
background: var(--background-lighter);
|
||||
box-shadow: inset 0 0 0 1px var(--heat-40);
|
||||
}
|
||||
|
||||
.omni-model-picker-card.is-selected {
|
||||
color: var(--heat);
|
||||
}
|
||||
|
||||
.omni-model-picker-media {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
aspect-ratio: 3 / 4;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
border-radius: 6px;
|
||||
background: var(--background-base);
|
||||
color: var(--black-alpha-48);
|
||||
}
|
||||
|
||||
.omni-model-picker-media img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.omni-model-picker-media svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.omni-model-picker-copy {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
padding: 0 2px 2px;
|
||||
}
|
||||
|
||||
.omni-model-picker-copy strong,
|
||||
.omni-model-picker-copy small {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.omni-model-picker-copy strong {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.omni-model-picker-copy small {
|
||||
margin-top: 2px;
|
||||
color: var(--black-alpha-48);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.omni-model-picker-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 12px 20px;
|
||||
}
|
||||
|
||||
.omni-model-picker-selection {
|
||||
min-width: 0;
|
||||
flex: 1 1 auto;
|
||||
overflow: hidden;
|
||||
color: var(--black-alpha-48);
|
||||
font-family: var(--font-mono);
|
||||
font-size: 11px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media (min-width: 1101px) {
|
||||
.omni-session-page.has-assets-panel {
|
||||
box-sizing: border-box;
|
||||
@@ -3130,4 +3338,13 @@
|
||||
.omni-assets-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.omni-person-generate-panel > div {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.omni-person-generate-panel > div > button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user