若干更新迭代
This commit is contained in:
1 parent
deb9cc5bcf
commit
4ac786aafb
64 files changed
+3251
-291
No files matched your search
+357
-1
@@ -492,6 +492,88 @@ h3 {
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.create-center-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.creation-balance {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
max-width: 100%;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 10px;
|
||||
background: #f5faf9;
|
||||
color: #17645e;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.creation-balance-summary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.creation-balance-summary strong {
|
||||
white-space: nowrap;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.creation-balance-summary:hover,
|
||||
.creation-balance-exempt:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.creation-balance-refresh {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.creation-balance-refresh:hover:not(:disabled) {
|
||||
background: #e4f0ed;
|
||||
}
|
||||
|
||||
.creation-balance-refresh:disabled {
|
||||
cursor: wait;
|
||||
opacity: .6;
|
||||
}
|
||||
|
||||
.creation-balance-refresh:focus-visible,
|
||||
.creation-balance-summary:focus-visible,
|
||||
.creation-balance-exempt:focus-visible {
|
||||
outline: 2px solid currentColor;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.creation-balance-warning {
|
||||
background: #fff8ed;
|
||||
color: #87500d;
|
||||
}
|
||||
|
||||
.creation-balance-note {
|
||||
flex-basis: 100%;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.create-center-head .create-mode-bar {
|
||||
padding: 0;
|
||||
border-bottom: 0;
|
||||
@@ -1031,6 +1113,65 @@ h3 {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.generation-error {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid #f1c5bd;
|
||||
border-radius: 10px;
|
||||
background: #fff7f5;
|
||||
color: #9f3e30;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.generation-error-info {
|
||||
border-color: #e8d7a6;
|
||||
background: #fffbef;
|
||||
color: #775d1e;
|
||||
}
|
||||
|
||||
.generation-error p {
|
||||
margin: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.generation-error-details {
|
||||
margin-top: 6px;
|
||||
border-top: 1px solid currentColor;
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.generation-error-details summary {
|
||||
width: fit-content;
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.generation-error-details dl {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
margin: 9px 0 0;
|
||||
}
|
||||
|
||||
.generation-error-details dl > div {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(68px, 92px) minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.generation-error-details dt {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.generation-error-details dd {
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.image-template-rail-head {
|
||||
min-height: 34px;
|
||||
display: flex;
|
||||
@@ -9412,7 +9553,7 @@ button:active:not(:disabled),
|
||||
}
|
||||
|
||||
.account-members-panel .account-row {
|
||||
grid-template-columns: minmax(190px, 1.35fr) minmax(140px, 0.9fr) 78px auto;
|
||||
grid-template-columns: minmax(190px, 1.35fr) minmax(140px, 0.9fr) 78px 112px;
|
||||
min-height: 64px;
|
||||
padding: 11px 0;
|
||||
border-bottom-color: #e6ecee;
|
||||
@@ -9723,6 +9864,112 @@ button:active:not(:disabled),
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.account-org-item {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.account-org-view {
|
||||
padding: 6px 8px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 7px;
|
||||
background: var(--surface);
|
||||
color: var(--green-dark);
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.account-org-view:hover {
|
||||
background: var(--surface-soft);
|
||||
}
|
||||
|
||||
.account-org-view:focus-visible {
|
||||
outline: 2px solid var(--green-dark);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.account-members-panel {
|
||||
scroll-margin-top: 90px;
|
||||
}
|
||||
|
||||
.account-members-description {
|
||||
margin: 8px 0 0;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.account-member-groups {
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
margin-top: 22px;
|
||||
}
|
||||
|
||||
.account-member-group {
|
||||
min-width: 0;
|
||||
padding: 16px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.account-member-group-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.account-member-group-heading h3 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.account-member-group-heading h3 svg {
|
||||
flex: 0 0 auto;
|
||||
color: var(--green-dark);
|
||||
}
|
||||
|
||||
.account-member-count {
|
||||
margin-left: auto;
|
||||
padding: 3px 8px;
|
||||
border-radius: 6px;
|
||||
background: var(--surface-soft);
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.account-member-group-empty {
|
||||
margin: 18px 0 2px;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@media (max-width: 920px) {
|
||||
.account-management-grid {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.account-management-form + .account-management-form {
|
||||
padding: 20px 0 0;
|
||||
border-left: 0;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.account-members-heading,
|
||||
.account-members-tools {
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.account-members-panel .account-row {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
/* Create controls: keep the parameter choices and the resulting price in one visual row. */
|
||||
.generation-settings-row {
|
||||
display: grid;
|
||||
@@ -9749,6 +9996,11 @@ button:active:not(:disabled),
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
|
||||
.generation-settings-row.video-settings-row .inline-settings,
|
||||
.main.create-main .generation-settings-row.video-settings-row .inline-settings {
|
||||
grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
|
||||
}
|
||||
|
||||
.generation-settings-row .inline-settings .inline-field,
|
||||
.generation-settings-row .inline-settings .inline-field:nth-child(2) {
|
||||
width: auto;
|
||||
@@ -9880,3 +10132,107 @@ button:active:not(:disabled),
|
||||
gap: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.video-input-guidance {
|
||||
margin-top: 10px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid #c8ddd5;
|
||||
border-radius: 10px;
|
||||
background: #f5faf8;
|
||||
color: #28564b;
|
||||
font-size: 12px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.video-input-guidance p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.video-input-guidance > p:first-child {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.video-input-guidance > p:first-child svg {
|
||||
flex: 0 0 auto;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.video-input-guidance .video-input-problem {
|
||||
margin-top: 7px;
|
||||
color: #a63535;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.video-input-guidance details {
|
||||
margin-top: 5px;
|
||||
color: #52665f;
|
||||
}
|
||||
|
||||
.video-input-guidance summary {
|
||||
width: fit-content;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.video-material-number-hint {
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.video-submit-reason {
|
||||
max-width: 280px;
|
||||
color: #8f4b35;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.video-quote-retry {
|
||||
margin-top: 5px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
color: #146c5e;
|
||||
font: inherit;
|
||||
font-weight: 600;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Extra video controls must not collapse the prompt editor in short viewports. */
|
||||
.main.create-main .video-create-center .create-main-column {
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
scrollbar-gutter: stable;
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
.main.create-main .video-create-center .prompt-field {
|
||||
flex: 1 0 auto;
|
||||
min-height: 260px;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.main.create-main .video-create-center .prompt-field .prompt-editor-wrap {
|
||||
flex: 1 0 150px;
|
||||
min-height: 150px;
|
||||
}
|
||||
|
||||
.main.create-main .video-create-center .prompt-field textarea {
|
||||
min-height: 150px;
|
||||
}
|
||||
|
||||
@container create-main-column (max-width: 680px) {
|
||||
.generation-settings-row.video-settings-row {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.generation-settings-row.video-settings-row .billing-estimate {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.generation-settings-row.video-settings-row .billing-estimate-head {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user