修复了一点bug,然后增加了图层拆分更多的功能
This commit is contained in:
1 parent
1305a9cdd8
commit
ce8372e878
31 files changed
+2567
-391
No files matched your search
+450
-4
@@ -729,8 +729,7 @@ h3 {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 20px;
|
||||
background: rgba(15, 23, 42, 0.48);
|
||||
backdrop-filter: blur(8px);
|
||||
background: rgba(15, 23, 42, 0.56);
|
||||
}
|
||||
|
||||
.task-detail-dialog {
|
||||
@@ -4421,11 +4420,12 @@ h3 {
|
||||
}
|
||||
|
||||
.seedream-canvas-viewport {
|
||||
min-height: 220px;
|
||||
min-height: clamp(320px, 46vh, 560px);
|
||||
flex: 1 1 auto;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
overflow: auto;
|
||||
overscroll-behavior: contain;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
@@ -4450,7 +4450,7 @@ h3 {
|
||||
.seedream-canvas-stage > img {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
max-height: 390px;
|
||||
max-height: clamp(300px, 44vh, 540px);
|
||||
display: block;
|
||||
user-select: none;
|
||||
}
|
||||
@@ -5060,6 +5060,444 @@ h3 {
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.seedream-layer-project {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
}
|
||||
|
||||
.seedream-layer-project-status {
|
||||
min-height: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 5px 8px;
|
||||
border: 1px solid #d7e4e1;
|
||||
border-radius: 8px;
|
||||
background: #f5faf9;
|
||||
}
|
||||
|
||||
.seedream-layer-project-status small {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--muted);
|
||||
font-size: 9px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.seedream-layer-project-status > button {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--danger);
|
||||
font-size: 9px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.seedream-layer-save-state {
|
||||
flex: 0 0 auto;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
color: var(--muted-strong);
|
||||
font-size: 9px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.seedream-layer-save-state.is-saved {
|
||||
color: var(--green-dark);
|
||||
}
|
||||
|
||||
.seedream-layer-save-state.is-error {
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
.seedream-layer-save-state.is-dirty {
|
||||
color: #a16207;
|
||||
}
|
||||
|
||||
.seedream-layer-editor-toolbar .mini-button.icon-only {
|
||||
width: 30px;
|
||||
min-width: 30px;
|
||||
padding-inline: 0;
|
||||
}
|
||||
|
||||
.seedream-layer-rotation-stem {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: -21px;
|
||||
width: 1px;
|
||||
height: 20px;
|
||||
background: #2563eb;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.seedream-layer-rotation-handle {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: -34px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border: 2px solid #ffffff;
|
||||
border-radius: 50%;
|
||||
background: #2563eb;
|
||||
color: #ffffff;
|
||||
box-shadow: 0 2px 7px rgba(15, 23, 42, 0.24);
|
||||
cursor: grab;
|
||||
opacity: 0;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.seedream-layer-overlay.selected .seedream-layer-rotation-stem,
|
||||
.seedream-layer-overlay.selected .seedream-layer-rotation-handle {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.seedream-layer-rotation-handle:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.seedream-layer-inspector label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
margin-left: auto;
|
||||
color: var(--muted-strong);
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.seedream-layer-inspector input {
|
||||
width: 56px;
|
||||
height: 24px;
|
||||
padding: 0 4px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 5px;
|
||||
background: #ffffff;
|
||||
color: var(--ink);
|
||||
font: inherit;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.seedream-layer-action-notice {
|
||||
padding: 7px 9px;
|
||||
border: 1px solid #b9ddd4;
|
||||
border-radius: 7px;
|
||||
background: #eff9f6;
|
||||
color: var(--green-dark);
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.seedream-layer-list-column {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.seedream-layer-list-column > .seedream-layer-list-head {
|
||||
align-items: center;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.seedream-layer-list-head > div:first-child {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.seedream-layer-list-head > div:first-child small {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.seedream-layer-list-column .seedream-layer-list article {
|
||||
grid-template-columns: 30px 46px minmax(0, 1fr) 52px 82px;
|
||||
}
|
||||
|
||||
.seedream-layer-row-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.seedream-layer-row-actions > button,
|
||||
.seedream-layer-row-actions > a {
|
||||
width: 24px;
|
||||
height: 28px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 0;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 6px;
|
||||
background: #ffffff;
|
||||
color: var(--muted-strong);
|
||||
}
|
||||
|
||||
.seedream-layer-row-actions > button:hover,
|
||||
.seedream-layer-row-actions > a:hover {
|
||||
border-color: #91bcb2;
|
||||
color: var(--green-dark);
|
||||
}
|
||||
|
||||
.seedream-layer-row-actions > button:last-of-type:hover {
|
||||
border-color: #e7a49e;
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
.seedream-layer-library {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
padding: 8px;
|
||||
border: 1px solid #bdd8d2;
|
||||
border-radius: 9px;
|
||||
background: #f7fbfa;
|
||||
box-shadow: 0 8px 24px rgba(15, 46, 41, 0.08);
|
||||
}
|
||||
|
||||
.seedream-layer-library-actions {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(90px, 1fr) 30px;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.seedream-layer-library-actions > label {
|
||||
min-width: 0;
|
||||
height: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 0 7px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 7px;
|
||||
background: #ffffff;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.seedream-layer-library-actions input {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
background: transparent;
|
||||
color: var(--ink);
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.seedream-layer-library-grid {
|
||||
max-height: 210px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.seedream-layer-library-grid > button {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
grid-template-columns: 40px minmax(0, 1fr);
|
||||
grid-template-rows: 20px 20px;
|
||||
align-items: center;
|
||||
column-gap: 6px;
|
||||
padding: 4px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 7px;
|
||||
background: #ffffff;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.seedream-layer-library-grid > button:hover {
|
||||
border-color: #75aa9d;
|
||||
background: #eef7f5;
|
||||
}
|
||||
|
||||
.seedream-layer-library-grid img {
|
||||
grid-row: 1 / 3;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: block;
|
||||
border-radius: 5px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.seedream-layer-library-grid span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--ink);
|
||||
font-size: 9px;
|
||||
font-weight: 750;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.seedream-layer-library-grid small {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
color: var(--green-dark);
|
||||
font-size: 8px;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.seedream-layer-library-empty {
|
||||
grid-column: 1 / -1;
|
||||
padding: 16px 8px;
|
||||
color: var(--muted);
|
||||
font-size: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 80;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 20px;
|
||||
background: rgba(15, 23, 42, 0.52);
|
||||
}
|
||||
|
||||
.seedream-layer-edit-dialog {
|
||||
width: min(620px, 100%);
|
||||
max-height: min(760px, calc(100vh - 40px));
|
||||
display: grid;
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(255, 255, 255, 0.7);
|
||||
border-radius: 14px;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
|
||||
}
|
||||
|
||||
.seedream-layer-edit-dialog > header {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 15px 16px 12px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.seedream-layer-edit-dialog > header > div {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-dialog > header span {
|
||||
color: var(--green-dark);
|
||||
font-size: 9px;
|
||||
font-weight: 850;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-dialog > header h3 {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
color: var(--ink);
|
||||
font-size: 15px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-body {
|
||||
display: grid;
|
||||
gap: 11px;
|
||||
overflow-y: auto;
|
||||
padding: 15px 16px;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-preview {
|
||||
position: relative;
|
||||
min-height: 210px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
background-color: #f5f8f8;
|
||||
background-image: linear-gradient(45deg, #e7ecec 25%, transparent 25%), linear-gradient(-45deg, #e7ecec 25%, transparent 25%);
|
||||
background-size: 18px 18px;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-preview img {
|
||||
width: 100%;
|
||||
max-height: 360px;
|
||||
display: block;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-preview > span {
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
bottom: 8px;
|
||||
padding: 4px 7px;
|
||||
border-radius: 999px;
|
||||
background: rgba(15, 23, 42, 0.74);
|
||||
color: #ffffff;
|
||||
font-size: 9px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-body > label {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
color: var(--ink);
|
||||
font-size: 10px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-body textarea {
|
||||
min-height: 92px;
|
||||
resize: vertical;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 9px;
|
||||
outline: 0;
|
||||
color: var(--ink);
|
||||
font: inherit;
|
||||
font-weight: 500;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-body textarea:focus {
|
||||
border-color: #6ea89a;
|
||||
box-shadow: 0 0 0 3px rgba(20, 120, 105, 0.12);
|
||||
}
|
||||
|
||||
.seedream-layer-edit-body > p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 9px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-progress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 8px 9px;
|
||||
border-radius: 8px;
|
||||
background: #eef7f5;
|
||||
color: var(--green-dark);
|
||||
font-size: 10px;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.seedream-layer-edit-dialog > footer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
padding: 11px 16px 14px;
|
||||
border-top: 1px solid var(--line);
|
||||
background: #fbfdfd;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.seedream-workspace {
|
||||
min-height: 360px;
|
||||
@@ -5083,6 +5521,14 @@ h3 {
|
||||
max-height: 360px;
|
||||
}
|
||||
|
||||
.seedream-layer-list-column .seedream-layer-list article {
|
||||
grid-template-columns: 30px 42px minmax(0, 1fr) 52px 82px;
|
||||
}
|
||||
|
||||
.seedream-layer-library-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.main.create-main .prompt-field.specialized-prompt-field {
|
||||
flex-basis: 160px;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user