Pages made at different times used their own greys (slate here, neutral there) and accents (sky, violet, indigo), and most ignored the Abyssal Scarlet theme. About 1,850 literal colours in web/styles and in CSS and inline styles written from JS now use the --amb-* tokens by what they are for: surfaces, text (new --amb-text-soft and --amb-text-dim), borders (new --amb-border-strong), the primary button, and one accent (new --amb-link, tinted with color-mix). Both themes define the new tokens. Literal colours stay where the colour is the meaning: status, prompt roles, voice emotions, canvas node colours, shadows and overlays; theme override rules are untouched. The share-code dialogs move from inline styles to .anomalous-share-* classes. Stylesheet versions are bumped. Checked: text contrast on every rail page, Prompt Studio, Prompt Notes, Model Sources, settings, model detail and editor, share codes, in both themes; structure check and JS tests pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2224 lines
56 KiB
CSS
2224 lines
56 KiB
CSS
/* Material Snapshot Progressive Disclosure Styles */
|
|
/* ========================================================================== */
|
|
|
|
.anomalous-material-section-label {
|
|
margin: 4px 0 0;
|
|
color: #8d96a8;
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.anomalous-material-metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 7px;
|
|
}
|
|
|
|
.anomalous-material-metric-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
padding: 9px 10px;
|
|
border-radius: 9px;
|
|
background: rgba(255, 255, 255, 0.035);
|
|
border: 1px solid var(--amb-border);
|
|
}
|
|
|
|
.anomalous-material-metric-card.is-wide {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.anomalous-material-metric-label {
|
|
font-size: 0.66rem;
|
|
color: #8b95a7;
|
|
}
|
|
|
|
.anomalous-material-metric-val {
|
|
color: #eef3f9;
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
line-height: 1.25;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.anomalous-material-prompt-card {
|
|
position: relative;
|
|
padding: 10px 12px 10px 13px;
|
|
border: 1px solid var(--amb-border);
|
|
border-left-width: 3px;
|
|
border-radius: 9px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: var(--amb-text-soft);
|
|
font-size: 0.8rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.anomalous-material-prompt-card.is-positive {
|
|
border-left-color: var(--amb-link);
|
|
}
|
|
|
|
.anomalous-material-prompt-card.is-negative {
|
|
border-left-color: #f87171;
|
|
}
|
|
|
|
.anomalous-material-prompt-content {
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
max-height: 4.6em;
|
|
overflow: hidden;
|
|
color: #d5dce8;
|
|
font-size: 0.76rem;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.anomalous-material-prompt-content.is-expanded {
|
|
max-height: none !important;
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.anomalous-material-prompt-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.anomalous-material-prompt-bar-label {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--amb-text-muted);
|
|
}
|
|
|
|
.anomalous-material-prompt-bar-btns {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.anomalous-material-mini-btn {
|
|
padding: 2px 7px;
|
|
border-radius: 5px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--amb-border);
|
|
color: var(--amb-text-soft);
|
|
font-size: 0.7rem;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.anomalous-material-mini-btn:hover {
|
|
background: rgba(255, 255, 255, 0.14);
|
|
color: var(--amb-text-main);
|
|
}
|
|
|
|
.anomalous-material-model-peek {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.anomalous-material-model-card-item.is-primary {
|
|
padding: 9px 11px;
|
|
border-color: var(--amb-border-strong);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.theme-abyssal-scarlet .anomalous-material-model-card-item.is-primary {
|
|
border-color: rgba(220, 20, 60, 0.22);
|
|
background: rgba(220, 20, 60, 0.06);
|
|
}
|
|
|
|
.anomalous-material-model-peek-counts {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.anomalous-material-peek-chip {
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 0.68rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.anomalous-material-accordion {
|
|
border-radius: 9px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid var(--amb-border);
|
|
}
|
|
|
|
.anomalous-material-accordion > summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 9px 12px;
|
|
font-size: 0.78rem;
|
|
font-weight: 500;
|
|
color: var(--amb-text-soft);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
list-style: none;
|
|
background: rgba(255, 255, 255, 0.025);
|
|
border-radius: 9px;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.anomalous-material-accordion > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.anomalous-material-accordion > summary::after {
|
|
content: '';
|
|
flex-shrink: 0;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-right: 1.5px solid #9aa3b5;
|
|
border-bottom: 1.5px solid #9aa3b5;
|
|
transform: rotate(45deg);
|
|
transition: transform 0.15s;
|
|
}
|
|
|
|
.anomalous-material-accordion > summary:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--amb-text-main);
|
|
}
|
|
|
|
.anomalous-material-accordion[open] > summary {
|
|
border-bottom: 1px solid var(--amb-border);
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
.anomalous-material-accordion[open] > summary::after {
|
|
transform: rotate(225deg);
|
|
}
|
|
|
|
.anomalous-material-accordion-content {
|
|
padding: 10px 12px;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
/* Chips list for node types */
|
|
.anomalous-material-chip-flow {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.anomalous-material-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 3px 8px;
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid var(--amb-border);
|
|
color: var(--amb-text-muted);
|
|
font-size: 0.73rem;
|
|
}
|
|
|
|
.anomalous-material-chip-count {
|
|
font-size: 0.68rem;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* Lazy, two-level disclosure for the exact serialized node parameters. */
|
|
.anomalous-material-node-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.anomalous-material-node-detail {
|
|
overflow: hidden;
|
|
border: 1px solid var(--amb-border);
|
|
border-radius: 7px;
|
|
background: rgba(5, 7, 11, 0.22);
|
|
}
|
|
|
|
.anomalous-material-node-detail.is-selected {
|
|
border-color: color-mix(in srgb, var(--amb-link) 34%, transparent);
|
|
background: color-mix(in srgb, var(--amb-link) 4%, transparent);
|
|
}
|
|
|
|
.anomalous-material-node-select {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
width: 16px;
|
|
height: 16px;
|
|
flex: 0 0 16px;
|
|
margin: 0;
|
|
border-radius: 4px;
|
|
border: 1.5px solid var(--amb-border-strong);
|
|
background-color: rgba(20, 10, 16, 0.6);
|
|
cursor: pointer;
|
|
position: relative;
|
|
outline: none;
|
|
display: inline-grid;
|
|
place-content: center;
|
|
vertical-align: middle;
|
|
transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.anomalous-material-node-select:hover {
|
|
border-color: color-mix(in srgb, var(--amb-link) 60%, transparent);
|
|
background-color: color-mix(in srgb, var(--amb-link) 8%, transparent);
|
|
}
|
|
|
|
.anomalous-material-node-select:checked {
|
|
background-color: var(--amb-btn-primary-bg);
|
|
border-color: var(--amb-link);
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230b0f17' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
|
|
background-size: 11px 11px;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
box-shadow: 0 0 8px color-mix(in srgb, var(--amb-link) 35%, transparent);
|
|
}
|
|
|
|
.anomalous-material-node-select:focus-visible {
|
|
outline: 2px solid var(--amb-link);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.anomalous-material-node-detail > summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 8px 10px;
|
|
color: #d8dee9;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
list-style: none;
|
|
}
|
|
|
|
.anomalous-material-node-detail > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.anomalous-material-node-detail > summary:hover { background: rgba(255, 255, 255, 0.035); }
|
|
.anomalous-material-node-detail[open] > summary { border-bottom: 1px solid var(--amb-border); }
|
|
|
|
.anomalous-material-node-heading {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 1;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.anomalous-material-node-heading strong,
|
|
.anomalous-material-node-heading small {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.anomalous-material-node-heading strong { font-size: 0.77rem; font-weight: 600; }
|
|
.anomalous-material-node-heading small { color: #788396; font-size: 0.67rem; font-family: monospace; }
|
|
.anomalous-material-node-count { flex-shrink: 0; color: #8290a5; font-size: 0.68rem; }
|
|
|
|
.anomalous-material-prompt-role-select {
|
|
width: auto;
|
|
max-width: 190px;
|
|
flex: 0 1 190px;
|
|
padding-block: 5px;
|
|
font-size: 0.68rem;
|
|
}
|
|
|
|
.anomalous-material-node-save,
|
|
.anomalous-workbench-save-selected-btn {
|
|
flex: 0 0 auto;
|
|
padding: 5px 9px;
|
|
border: 1px solid color-mix(in srgb, var(--amb-link) 24%, transparent);
|
|
border-radius: 6px;
|
|
background: color-mix(in srgb, var(--amb-link) 8%, transparent);
|
|
color: #8fe1d4;
|
|
font-size: 0.66rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.anomalous-material-node-save:hover,
|
|
.anomalous-workbench-save-selected-btn:hover:not(:disabled) {
|
|
border-color: color-mix(in srgb, var(--amb-link) 42%, transparent);
|
|
background: color-mix(in srgb, var(--amb-link) 14%, transparent);
|
|
color: #d8fff8;
|
|
}
|
|
|
|
.anomalous-material-node-save:disabled,
|
|
.anomalous-workbench-save-selected-btn:disabled {
|
|
cursor: default;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.anomalous-material-node-parameter-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
padding: 9px;
|
|
}
|
|
|
|
.anomalous-material-node-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 7px;
|
|
color: #7f8a9d;
|
|
font-size: 0.67rem;
|
|
}
|
|
|
|
.anomalous-material-node-meta button { margin-left: auto; }
|
|
|
|
.anomalous-material-parameter-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
|
|
gap: 10px;
|
|
align-items: start;
|
|
padding: 7px 8px;
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.025);
|
|
}
|
|
|
|
.anomalous-material-parameter-label {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
padding-top: 2px;
|
|
color: #aab3c2;
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.anomalous-material-parameter-label code {
|
|
color: #687487;
|
|
font-size: 0.62rem;
|
|
}
|
|
|
|
.anomalous-material-volatile-badge {
|
|
padding: 1px 5px;
|
|
border: 1px solid rgba(245, 158, 11, 0.22);
|
|
border-radius: 999px;
|
|
background: rgba(245, 158, 11, 0.08);
|
|
color: #d6a756;
|
|
font-size: 0.59rem;
|
|
}
|
|
|
|
.anomalous-material-parameter-value {
|
|
max-height: 150px;
|
|
overflow: auto;
|
|
margin: 0;
|
|
padding: 6px 8px;
|
|
border: 1px solid var(--amb-border);
|
|
border-radius: 5px;
|
|
background: rgba(0, 0, 0, 0.18);
|
|
color: #d5dae4;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
font-size: 0.67rem;
|
|
line-height: 1.4;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.anomalous-material-parameter-row { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.anomalous-material-blocks-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin: 18px 0 10px;
|
|
}
|
|
|
|
.anomalous-material-blocks-header .anomalous-material-section-label {
|
|
margin: 0;
|
|
}
|
|
|
|
.anomalous-material-toggle-all-btn {
|
|
padding: 3px 9px;
|
|
border: 1px solid var(--amb-border-strong);
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--amb-text-muted);
|
|
font-size: 0.68rem;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.anomalous-material-toggle-all-btn:hover {
|
|
border-color: rgba(81, 221, 190, 0.35);
|
|
background: rgba(81, 221, 190, 0.08);
|
|
color: var(--amb-text-main);
|
|
}
|
|
|
|
/* Material Prompt Station */
|
|
.anomalous-material-prompt-station {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
border: 1px solid rgba(81, 221, 190, 0.2);
|
|
border-radius: 8px;
|
|
background: rgba(13, 17, 23, 0.65);
|
|
}
|
|
|
|
.anomalous-material-prompt-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.anomalous-material-prompt-title-sec {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.anomalous-material-prompt-title {
|
|
font-size: 0.76rem;
|
|
font-weight: 600;
|
|
color: #6ee7b7;
|
|
}
|
|
|
|
.anomalous-material-prompt-count {
|
|
font-size: 0.68rem;
|
|
color: var(--amb-text-dim);
|
|
}
|
|
|
|
.anomalous-material-copy-prompt-btn {
|
|
padding: 3px 8px;
|
|
border: 1px solid rgba(81, 221, 190, 0.3);
|
|
border-radius: 5px;
|
|
background: rgba(81, 221, 190, 0.1);
|
|
color: #8fe1d4;
|
|
font-size: 0.68rem;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.anomalous-material-copy-prompt-btn:hover {
|
|
background: rgba(81, 221, 190, 0.22);
|
|
border-color: rgba(81, 221, 190, 0.5);
|
|
color: var(--amb-text-main);
|
|
}
|
|
|
|
.anomalous-material-prompt-body {
|
|
max-height: 180px;
|
|
overflow-y: auto;
|
|
font-family: inherit;
|
|
font-size: 0.74rem;
|
|
line-height: 1.45;
|
|
color: var(--amb-text-soft);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
padding: 7px 9px;
|
|
background: rgba(0, 0, 0, 0.28);
|
|
border-radius: 5px;
|
|
border: 1px solid var(--amb-border);
|
|
}
|
|
|
|
/* Model Categorized Groups */
|
|
.anomalous-material-model-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.anomalous-material-model-group:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.anomalous-material-model-group-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
color: var(--amb-text-muted);
|
|
padding-bottom: 3px;
|
|
border-bottom: 1px solid var(--amb-border);
|
|
}
|
|
|
|
.anomalous-material-model-card-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 6px 10px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.025);
|
|
border: 1px solid var(--amb-border);
|
|
}
|
|
|
|
.anomalous-material-model-card-item.is-clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.anomalous-material-model-card-item.is-active {
|
|
border-color: color-mix(in srgb, var(--amb-link) 45%, transparent);
|
|
background: color-mix(in srgb, var(--amb-link) 8%, transparent);
|
|
}
|
|
|
|
.theme-abyssal-scarlet .anomalous-material-model-card-item.is-active {
|
|
border-color: rgba(220, 20, 60, 0.45);
|
|
background: rgba(220, 20, 60, 0.08);
|
|
}
|
|
|
|
.anomalous-material-model-thumb {
|
|
flex: 0 0 48px;
|
|
width: 48px;
|
|
height: 48px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--amb-border);
|
|
border-radius: 7px;
|
|
background: var(--amb-bg-page);
|
|
}
|
|
|
|
.anomalous-material-model-thumb img,
|
|
.anomalous-material-model-thumb video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.anomalous-material-model-side {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.anomalous-material-model-notes {
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
color: #c4b48a;
|
|
font-size: 0.7rem;
|
|
line-height: 1.35;
|
|
white-space: pre-wrap;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.anomalous-material-model-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.anomalous-material-model-filename {
|
|
color: var(--amb-text-main);
|
|
font-size: 0.79rem;
|
|
font-weight: 500;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.anomalous-material-model-params {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.71rem;
|
|
color: var(--amb-text-muted);
|
|
}
|
|
|
|
.anomalous-material-model-tag-badge {
|
|
padding: 2px 7px;
|
|
border-radius: 4px;
|
|
font-size: 0.68rem;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.anomalous-tag-base {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--amb-text-soft);
|
|
border: 1px solid var(--amb-border-strong);
|
|
}
|
|
|
|
.theme-abyssal-scarlet .anomalous-tag-base {
|
|
background: rgba(220, 20, 60, 0.18);
|
|
color: #ff3366;
|
|
border: 1px solid rgba(220, 20, 60, 0.45);
|
|
}
|
|
|
|
.anomalous-tag-lora {
|
|
background: rgba(192, 132, 252, 0.12);
|
|
color: #c084fc;
|
|
border: 1px solid rgba(192, 132, 252, 0.25);
|
|
}
|
|
|
|
.anomalous-tag-vae {
|
|
background: rgba(251, 146, 60, 0.12);
|
|
color: #fb923c;
|
|
border: 1px solid rgba(251, 146, 60, 0.25);
|
|
}
|
|
|
|
.anomalous-tag-clip {
|
|
background: color-mix(in srgb, var(--amb-link) 12%, transparent);
|
|
color: var(--amb-link);
|
|
border: 1px solid color-mix(in srgb, var(--amb-link) 25%, transparent);
|
|
}
|
|
|
|
.anomalous-tag-other {
|
|
background: rgba(148, 163, 184, 0.12);
|
|
color: var(--amb-text-muted);
|
|
border: 1px solid rgba(148, 163, 184, 0.25);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Image Detail Studio Workbench (Studio Windowed Modal & Bento Design)
|
|
========================================================================== */
|
|
|
|
.anomalous-workbench-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
padding: clamp(16px, 2.5vw, 24px);
|
|
box-sizing: border-box;
|
|
background: rgba(3, 4, 7, 0.88);
|
|
backdrop-filter: blur(16px);
|
|
overflow: hidden;
|
|
user-select: none;
|
|
}
|
|
|
|
.anomalous-workbench-overlay.is-suspended {
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.anomalous-workbench-dialog {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(1600px, 96vw);
|
|
height: min(940px, 94vh);
|
|
background: var(--amb-bg-page);
|
|
border-radius: 16px;
|
|
border: 1px solid var(--amb-border);
|
|
box-shadow: 0 32px 96px rgba(0, 0, 0, 0.88), 0 0 0 1px rgba(255, 255, 255, 0.05);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Workbench Top Header */
|
|
.anomalous-workbench-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-shrink: 0;
|
|
height: 54px;
|
|
padding: 0 18px;
|
|
border-bottom: 1px solid var(--amb-border);
|
|
background: var(--amb-bg-page);
|
|
gap: 16px;
|
|
}
|
|
|
|
.anomalous-workbench-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.anomalous-workbench-back-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--amb-border);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--amb-text-soft);
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
line-height: 1;
|
|
}
|
|
|
|
.anomalous-workbench-back-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: var(--amb-text-main);
|
|
border-color: var(--amb-border-strong);
|
|
}
|
|
|
|
.anomalous-workbench-title-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.anomalous-workbench-title-filename {
|
|
font-size: 0.92rem;
|
|
font-weight: 600;
|
|
color: var(--amb-text-main);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.anomalous-workbench-title-tags {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.anomalous-workbench-tag {
|
|
padding: 2px 7px;
|
|
border-radius: 5px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--amb-border);
|
|
color: var(--amb-text-muted);
|
|
font-size: 0.68rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.anomalous-workbench-tag.is-ext {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: var(--amb-border-strong);
|
|
color: var(--amb-text-soft);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.theme-abyssal-scarlet .anomalous-workbench-tag.is-ext {
|
|
background: rgba(220, 20, 60, 0.1);
|
|
border-color: rgba(220, 20, 60, 0.25);
|
|
color: #dc143c;
|
|
}
|
|
|
|
/* Center switcher counter */
|
|
.anomalous-workbench-header-center {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-shrink: 0;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
padding: 3px 8px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--amb-border);
|
|
}
|
|
|
|
.anomalous-workbench-nav-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--amb-text-soft);
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
line-height: 1;
|
|
}
|
|
|
|
.anomalous-workbench-nav-btn:not(:disabled):hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: var(--amb-text-main);
|
|
}
|
|
|
|
.anomalous-workbench-nav-btn:disabled {
|
|
opacity: 0.25;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.anomalous-workbench-counter {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: var(--amb-text-main);
|
|
font-variant-numeric: tabular-nums;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
/* Right buttons */
|
|
.anomalous-workbench-header-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.anomalous-workbench-tool-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--amb-border);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--amb-text-soft);
|
|
font-size: 15px;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.anomalous-workbench-tool-btn:hover,
|
|
.anomalous-workbench-tool-btn.is-active {
|
|
background: color-mix(in srgb, var(--amb-link) 15%, transparent);
|
|
border-color: color-mix(in srgb, var(--amb-link) 35%, transparent);
|
|
color: var(--amb-link);
|
|
}
|
|
|
|
.anomalous-workbench-close-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--amb-border);
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #fca5a5;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
line-height: 1;
|
|
}
|
|
|
|
.anomalous-workbench-close-btn:hover {
|
|
background: rgba(239, 68, 68, 0.25);
|
|
color: var(--amb-text-main);
|
|
border-color: rgba(239, 68, 68, 0.4);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* Main Body: Left Thumbnail Rail + Center Stage Area + Right Inspector */
|
|
.anomalous-workbench-body {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1.45fr) minmax(460px, 0.95fr);
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Left Canvas Stage Area */
|
|
.anomalous-workbench-stage-area {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
height: 100%;
|
|
background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.035) 0%, transparent 68%), #07080c;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.anomalous-workbench-stage {
|
|
position: relative;
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.anomalous-workbench-stage-img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
user-select: none;
|
|
pointer-events: auto;
|
|
transition: transform 0.06s ease-out;
|
|
transform-origin: center center;
|
|
filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.6));
|
|
}
|
|
|
|
/* Floating Prev/Next Glass Nav Arrows */
|
|
.anomalous-workbench-float-nav {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
z-index: 12;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 44px;
|
|
height: 84px;
|
|
border-radius: 12px;
|
|
background: rgba(15, 18, 26, 0.55);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid var(--amb-border);
|
|
color: var(--amb-text-main);
|
|
font-size: 32px;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
line-height: 1;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.anomalous-workbench-float-nav.is-prev { left: 16px; }
|
|
.anomalous-workbench-float-nav.is-next { right: 16px; }
|
|
|
|
.anomalous-workbench-float-nav:hover {
|
|
opacity: 1;
|
|
background: color-mix(in srgb, var(--amb-link) 20%, transparent);
|
|
border-color: color-mix(in srgb, var(--amb-link) 45%, transparent);
|
|
color: var(--amb-text-main);
|
|
transform: translateY(-50%) scale(1.08);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px color-mix(in srgb, var(--amb-link) 25%, transparent);
|
|
}
|
|
|
|
/* Floating Zoom Bar */
|
|
.anomalous-workbench-zoom-bar {
|
|
position: absolute;
|
|
bottom: 18px;
|
|
right: 18px;
|
|
z-index: 12;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 8px;
|
|
border-radius: 9px;
|
|
background: rgba(14, 17, 24, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
border: 1px solid var(--amb-border-strong);
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.anomalous-workbench-zoom-bar button {
|
|
padding: 3px 8px;
|
|
border-radius: 5px;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: var(--amb-text-soft);
|
|
font-size: 0.72rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.anomalous-workbench-zoom-bar button:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: var(--amb-text-main);
|
|
}
|
|
|
|
/* Left Filmstrip Rail */
|
|
.anomalous-workbench-filmstrip {
|
|
width: 116px;
|
|
height: 100%;
|
|
min-height: 0;
|
|
padding: 12px 10px;
|
|
border-right: 1px solid var(--amb-border);
|
|
background: var(--amb-bg-page);
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
box-sizing: border-box;
|
|
transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
|
|
padding 0.22s cubic-bezier(0.16, 1, 0.3, 1),
|
|
opacity 0.18s ease;
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip.is-hidden {
|
|
width: 0 !important;
|
|
min-width: 0 !important;
|
|
padding: 0 !important;
|
|
border-right: none !important;
|
|
overflow: hidden !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.14);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip::-webkit-scrollbar-thumb:hover {
|
|
background: color-mix(in srgb, var(--amb-link) 45%, transparent);
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip-track {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip-thumb {
|
|
position: relative;
|
|
flex: 0 0 92px;
|
|
width: 92px;
|
|
height: 92px;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
border: 2px solid var(--amb-border);
|
|
background: var(--amb-bg-panel);
|
|
cursor: pointer;
|
|
box-sizing: border-box;
|
|
transition: border-color 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease;
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip-thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip-thumb:hover {
|
|
border-color: rgba(255, 255, 255, 0.45);
|
|
transform: scale(1.04);
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip-thumb.is-active {
|
|
border-color: var(--amb-link);
|
|
box-shadow: 0 0 8px color-mix(in srgb, var(--amb-link) 35%, transparent), inset 0 0 0 1px var(--amb-link);
|
|
transform: scale(1.04);
|
|
}
|
|
|
|
.anomalous-workbench-thumb-index {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 4px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
color: var(--amb-text-muted);
|
|
background: rgba(10, 13, 20, 0.82);
|
|
backdrop-filter: blur(4px);
|
|
padding: 2px 5px;
|
|
border-radius: 4px;
|
|
pointer-events: none;
|
|
transition: color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.anomalous-workbench-filmstrip-thumb.is-active .anomalous-workbench-thumb-index {
|
|
color: var(--amb-link);
|
|
background: rgba(13, 23, 27, 0.92);
|
|
font-weight: 800;
|
|
}
|
|
|
|
/* Right Inspector Panel */
|
|
.anomalous-workbench-inspector {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
height: 100%;
|
|
border-left: 1px solid var(--amb-border);
|
|
background: var(--amb-bg-page);
|
|
}
|
|
|
|
.anomalous-workbench-inspector-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 16px 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
user-select: text;
|
|
}
|
|
|
|
/* Inspector Top Actions Toolbar */
|
|
.anomalous-workbench-inspector-toolbar {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.anomalous-workbench-action-btn {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
height: 36px;
|
|
padding: 0 14px;
|
|
border-radius: 3px 10px 3px 10px;
|
|
border: 1px solid var(--amb-border-strong);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--amb-text-main);
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
white-space: nowrap;
|
|
user-select: none;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.anomalous-workbench-action-icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
flex-shrink: 0;
|
|
stroke: currentColor;
|
|
transition: transform 0.18s ease;
|
|
}
|
|
|
|
.anomalous-workbench-action-btn:hover .anomalous-workbench-action-icon {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.anomalous-workbench-action-btn:hover {
|
|
background: rgba(255, 255, 255, 0.09);
|
|
color: var(--amb-text-main);
|
|
border-color: var(--amb-border-strong);
|
|
}
|
|
|
|
.anomalous-workbench-action-btn.is-primary {
|
|
background: var(--amb-btn-primary-bg);
|
|
border-color: var(--amb-border-hover);
|
|
color: var(--amb-btn-primary-text);
|
|
}
|
|
|
|
.anomalous-workbench-action-btn.is-primary:hover {
|
|
background: var(--amb-btn-primary-hover);
|
|
border-color: var(--amb-border-hover);
|
|
color: var(--amb-btn-primary-text);
|
|
box-shadow: none;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.anomalous-workbench-action-btn.is-primary:active {
|
|
transform: translateY(0) scale(0.98);
|
|
}
|
|
|
|
.anomalous-workbench-action-btn.is-save {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border-color: var(--amb-border-strong);
|
|
box-shadow: none;
|
|
color: var(--amb-text-soft);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.anomalous-workbench-action-btn.is-save:hover {
|
|
background: rgba(255, 255, 255, 0.09);
|
|
color: var(--amb-text-main);
|
|
border-color: color-mix(in srgb, var(--amb-link) 40%, transparent);
|
|
box-shadow: none;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.anomalous-workbench-action-btn.is-save.is-active,
|
|
.anomalous-workbench-action-btn.is-save[aria-expanded="true"] {
|
|
background: color-mix(in srgb, var(--amb-link) 20%, transparent);
|
|
border-color: color-mix(in srgb, var(--amb-link) 50%, transparent);
|
|
color: var(--amb-text-main);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.anomalous-workbench-action-btn.is-save:active {
|
|
transform: translateY(0) scale(0.98);
|
|
}
|
|
|
|
/* Segmented Tabs Bar */
|
|
.anomalous-workbench-tabs-bar {
|
|
display: flex;
|
|
background: rgba(0, 0, 0, 0.38);
|
|
padding: 3px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--amb-border);
|
|
gap: 3px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.anomalous-workbench-tab-btn {
|
|
flex: 1;
|
|
padding: 7px 8px;
|
|
border-radius: 7px;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--amb-text-muted);
|
|
font-size: 0.74rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.anomalous-workbench-tab-btn:hover {
|
|
color: var(--amb-text-main);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.anomalous-workbench-tab-btn.is-active {
|
|
background: rgba(255, 255, 255, 0.09);
|
|
color: var(--amb-link);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.anomalous-workbench-tab-btn:active {
|
|
transform: scale(0.97);
|
|
}
|
|
|
|
/* Tab Panels */
|
|
.anomalous-workbench-tab-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* Bento Specs Grid */
|
|
.anomalous-workbench-specs-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.anomalous-workbench-spec-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
padding: 8px 10px;
|
|
border-radius: var(--amb-radius-control, 6px);
|
|
background: var(--amb-bg-card, var(--amb-bg-card-hover));
|
|
border: 1px solid var(--amb-border, var(--amb-border));
|
|
transition: background-color 0.15s ease, border-color 0.15s ease;
|
|
position: relative;
|
|
user-select: text;
|
|
}
|
|
|
|
.anomalous-workbench-spec-card:hover {
|
|
background: var(--amb-bg-card-hover, var(--amb-bg-card-hover));
|
|
border-color: var(--amb-border-hover, var(--amb-border-strong));
|
|
}
|
|
|
|
.anomalous-workbench-spec-card.is-wide {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.anomalous-workbench-spec-card.is-seed {
|
|
border-color: rgba(245, 158, 11, 0.28);
|
|
background: rgba(245, 158, 11, 0.035);
|
|
}
|
|
|
|
.anomalous-workbench-spec-card.is-seed:hover {
|
|
border-color: rgba(245, 158, 11, 0.45);
|
|
background: rgba(245, 158, 11, 0.06);
|
|
}
|
|
|
|
.anomalous-workbench-spec-card.is-res {
|
|
border-color: color-mix(in srgb, var(--amb-link) 25%, transparent);
|
|
background: color-mix(in srgb, var(--amb-link) 4%, transparent);
|
|
}
|
|
|
|
.theme-abyssal-scarlet .anomalous-workbench-spec-card.is-res {
|
|
border-color: rgba(220, 20, 60, 0.25);
|
|
background: rgba(220, 20, 60, 0.035);
|
|
}
|
|
|
|
/* Card Click-to-copy interaction */
|
|
.anomalous-workbench-spec-card.is-copyable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.anomalous-workbench-spec-card.is-copyable:hover {
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.anomalous-workbench-spec-card.is-copyable:active {
|
|
transform: translateY(0) scale(0.99);
|
|
}
|
|
|
|
.anomalous-workbench-spec-card.is-copied {
|
|
border-color: color-mix(in srgb, var(--amb-link) 60%, transparent) !important;
|
|
background: color-mix(in srgb, var(--amb-link) 8%, transparent) !important;
|
|
box-shadow: 0 0 14px color-mix(in srgb, var(--amb-link) 25%, transparent) !important;
|
|
}
|
|
|
|
.anomalous-workbench-spec-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 6px;
|
|
}
|
|
|
|
.anomalous-workbench-spec-label {
|
|
font-size: 0.68rem;
|
|
color: #8a96a8;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.anomalous-workbench-copy-indicator {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 10px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
opacity: 0;
|
|
transition: opacity 0.15s ease, transform 0.15s ease;
|
|
color: var(--amb-text-muted);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.anomalous-workbench-spec-card.is-copyable:hover .anomalous-workbench-copy-indicator,
|
|
.anomalous-workbench-spec-card.is-copyable:focus-visible .anomalous-workbench-copy-indicator {
|
|
opacity: 1;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.anomalous-workbench-spec-card.is-copyable:focus-visible {
|
|
outline: 2px solid color-mix(in srgb, var(--amb-link) 55%, transparent);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
.anomalous-workbench-spec-copy-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
stroke: currentColor;
|
|
}
|
|
|
|
.anomalous-workbench-spec-copy-icon.is-success {
|
|
stroke: var(--amb-link);
|
|
}
|
|
|
|
.anomalous-workbench-spec-copy-icon.is-error {
|
|
stroke: #f87171;
|
|
}
|
|
|
|
.anomalous-workbench-copy-badge {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: var(--amb-link);
|
|
animation: anomalous-fade-in 0.15s ease forwards;
|
|
}
|
|
|
|
.anomalous-workbench-copy-badge.is-error {
|
|
color: #f87171;
|
|
}
|
|
|
|
.anomalous-workbench-spec-card.is-copy-failed {
|
|
border-color: rgba(239, 68, 68, 0.5) !important;
|
|
background: rgba(239, 68, 68, 0.06) !important;
|
|
}
|
|
|
|
@keyframes anomalous-fade-in {
|
|
from { opacity: 0; transform: translateX(2px); }
|
|
to { opacity: 1; transform: translateX(0); }
|
|
}
|
|
|
|
.anomalous-workbench-spec-val {
|
|
color: var(--amb-text-main);
|
|
font-size: 0.94rem;
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.anomalous-workbench-spec-val.is-mono {
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* Generation Parameter Preset Section */
|
|
.anomalous-workbench-generation-save {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 10px 14px;
|
|
border-radius: 10px;
|
|
background: linear-gradient(135deg, color-mix(in srgb, var(--amb-link) 6%, transparent) 0%, color-mix(in srgb, var(--amb-link) 4%, transparent) 100%);
|
|
border: 1px solid color-mix(in srgb, var(--amb-link) 20%, transparent);
|
|
margin-top: 4px;
|
|
transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
|
|
}
|
|
|
|
.anomalous-workbench-generation-save:hover {
|
|
background: linear-gradient(135deg, color-mix(in srgb, var(--amb-link) 10%, transparent) 0%, color-mix(in srgb, var(--amb-link) 8%, transparent) 100%);
|
|
border-color: color-mix(in srgb, var(--amb-link) 35%, transparent);
|
|
box-shadow: 0 3px 12px color-mix(in srgb, var(--amb-link) 8%, transparent);
|
|
}
|
|
|
|
.anomalous-workbench-generation-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.anomalous-workbench-generation-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
color: var(--amb-text-main);
|
|
}
|
|
|
|
.anomalous-workbench-generation-icon {
|
|
width: 13px;
|
|
height: 13px;
|
|
stroke: var(--amb-link);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.anomalous-workbench-generation-hint {
|
|
font-size: 0.66rem;
|
|
color: #8e9dae;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.anomalous-workbench-generation-btn {
|
|
flex-shrink: 0;
|
|
padding: 6px 13px;
|
|
border-radius: 7px;
|
|
background: var(--amb-btn-primary-bg);
|
|
border: 1px solid color-mix(in srgb, var(--amb-link) 45%, transparent);
|
|
color: var(--amb-btn-primary-text);
|
|
font-size: 0.74rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
|
|
white-space: nowrap;
|
|
user-select: none;
|
|
border-color: var(--amb-border-hover);
|
|
}
|
|
|
|
.anomalous-workbench-generation-btn:hover:not(:disabled) {
|
|
background: var(--amb-btn-primary-hover);
|
|
border-color: var(--amb-border-hover);
|
|
color: var(--amb-btn-primary-text);
|
|
box-shadow: none;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.anomalous-workbench-generation-btn:active:not(:disabled) {
|
|
transform: translateY(0) scale(0.97);
|
|
}
|
|
|
|
.anomalous-workbench-generation-btn:disabled {
|
|
opacity: 0.55;
|
|
cursor: default;
|
|
}
|
|
|
|
/* Prompts Station */
|
|
.anomalous-workbench-prompts-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.anomalous-workbench-prompt-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 12px 14px;
|
|
border-radius: 11px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid var(--amb-border);
|
|
border-left-width: 3.5px;
|
|
}
|
|
|
|
.anomalous-workbench-prompt-card.is-positive {
|
|
border-left-color: var(--amb-link);
|
|
background: linear-gradient(90deg, color-mix(in srgb, var(--amb-link) 4%, transparent) 0%, rgba(255, 255, 255, 0.02) 40%);
|
|
}
|
|
|
|
.anomalous-workbench-prompt-card.is-negative {
|
|
border-left-color: #f43f5e;
|
|
background: linear-gradient(90deg, rgba(244, 63, 94, 0.04) 0%, rgba(255, 255, 255, 0.02) 40%);
|
|
}
|
|
|
|
.anomalous-workbench-prompt-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.anomalous-workbench-prompt-title-section {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.anomalous-workbench-prompt-title {
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
color: var(--amb-text-main);
|
|
}
|
|
|
|
.anomalous-workbench-prompt-count {
|
|
padding: 1px 6px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #8b95a5;
|
|
font-size: 0.65rem;
|
|
}
|
|
|
|
.anomalous-workbench-prompt-btns {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.anomalous-workbench-mini-action-btn {
|
|
padding: 3px 8px;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--amb-border);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--amb-text-soft);
|
|
font-size: 0.7rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.anomalous-workbench-mini-action-btn:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: var(--amb-text-main);
|
|
border-color: var(--amb-border-strong);
|
|
}
|
|
|
|
.anomalous-workbench-mini-action-btn.is-copied {
|
|
background: color-mix(in srgb, var(--amb-link) 20%, transparent);
|
|
color: var(--amb-link);
|
|
border-color: var(--amb-link);
|
|
}
|
|
|
|
.anomalous-workbench-prompt-content {
|
|
color: #d1d9e6;
|
|
font-size: 0.8rem;
|
|
line-height: 1.55;
|
|
max-height: 5.6em;
|
|
overflow: hidden;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
transition: max-height 0.25s ease;
|
|
}
|
|
|
|
.anomalous-workbench-prompt-content.is-expanded {
|
|
max-height: none;
|
|
overflow-y: visible;
|
|
}
|
|
|
|
/* Models & LoRA Section */
|
|
.anomalous-workbench-models-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.anomalous-workbench-model-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.anomalous-workbench-model-group-title {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
color: var(--amb-text-muted);
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.anomalous-workbench-model-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 10px;
|
|
border-radius: 9px;
|
|
background: rgba(255, 255, 255, 0.025);
|
|
border: 1px solid var(--amb-border);
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.anomalous-workbench-model-card:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-color: var(--amb-border-strong);
|
|
}
|
|
|
|
.anomalous-workbench-model-thumb {
|
|
flex: 0 0 46px;
|
|
width: 46px;
|
|
height: 46px;
|
|
border-radius: 7px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--amb-border);
|
|
background: var(--amb-bg-page);
|
|
}
|
|
|
|
.anomalous-workbench-model-thumb img,
|
|
.anomalous-workbench-model-thumb video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.anomalous-workbench-model-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.anomalous-workbench-model-name {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: var(--amb-text-main);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.anomalous-workbench-lora-badge {
|
|
display: inline-block;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
background: rgba(192, 132, 252, 0.12);
|
|
color: #c084fc;
|
|
border: 1px solid rgba(192, 132, 252, 0.25);
|
|
font-size: 0.68rem;
|
|
font-weight: 600;
|
|
width: fit-content;
|
|
}
|
|
|
|
.anomalous-workbench-model-notes {
|
|
font-size: 0.68rem;
|
|
color: #c4b48a;
|
|
line-height: 1.3;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.anomalous-workbench-model-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 5px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.anomalous-workbench-model-tag {
|
|
padding: 2px 7px;
|
|
border-radius: 999px;
|
|
font-size: 0.66rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.anomalous-workbench-model-tag.is-base {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--amb-text-soft);
|
|
border: 1px solid var(--amb-border-strong);
|
|
}
|
|
|
|
.theme-abyssal-scarlet .anomalous-workbench-model-tag.is-base {
|
|
background: rgba(220, 20, 60, 0.18);
|
|
color: #ff3366;
|
|
border: 1px solid rgba(220, 20, 60, 0.45);
|
|
}
|
|
|
|
.anomalous-workbench-model-tag.is-lora {
|
|
background: rgba(192, 132, 252, 0.12);
|
|
color: #c084fc;
|
|
border: 1px solid rgba(192, 132, 252, 0.25);
|
|
}
|
|
|
|
.anomalous-workbench-model-tag.is-clip {
|
|
background: color-mix(in srgb, var(--amb-link) 12%, transparent);
|
|
color: var(--amb-link);
|
|
border: 1px solid color-mix(in srgb, var(--amb-link) 25%, transparent);
|
|
}
|
|
|
|
.anomalous-workbench-model-tag.is-vae {
|
|
background: rgba(251, 146, 60, 0.12);
|
|
color: #fb923c;
|
|
border: 1px solid rgba(251, 146, 60, 0.25);
|
|
}
|
|
|
|
.anomalous-workbench-model-tag.is-other {
|
|
background: rgba(148, 163, 184, 0.12);
|
|
color: var(--amb-text-muted);
|
|
border: 1px solid rgba(148, 163, 184, 0.25);
|
|
}
|
|
|
|
/* Nodes Section */
|
|
.anomalous-workbench-nodes-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.anomalous-workbench-action-row {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.anomalous-workbench-node-list-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.anomalous-workbench-node-selection-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 7px;
|
|
padding: 8px 10px;
|
|
border: 1px solid color-mix(in srgb, var(--amb-link) 14%, transparent);
|
|
border-radius: 8px;
|
|
background: color-mix(in srgb, var(--amb-link) 4%, transparent);
|
|
}
|
|
|
|
.anomalous-workbench-node-selection-count {
|
|
flex: 1 1 180px;
|
|
color: #8fa0b5;
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.anomalous-workbench-save-selected-btn {
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Sticky Footer Snapshot Drawer */
|
|
.anomalous-workbench-inspector-footer {
|
|
flex-shrink: 0;
|
|
padding: 12px 18px;
|
|
border-top: 1px solid var(--amb-border);
|
|
background: var(--amb-bg-page);
|
|
}
|
|
|
|
.anomalous-workbench-save-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.anomalous-workbench-save-input-wrap {
|
|
display: flex;
|
|
flex: 1 1 220px;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
|
|
.anomalous-workbench-save-hint {
|
|
min-height: 1em;
|
|
color: #748196;
|
|
font-size: 0.62rem;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.anomalous-material-scope-badge {
|
|
flex: 0 0 auto;
|
|
align-self: flex-start;
|
|
padding: 2px 7px;
|
|
border: 1px solid rgba(148, 163, 184, 0.24);
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.08);
|
|
color: var(--amb-text-soft);
|
|
font-size: 0.65rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.anomalous-material-scope-badge.is-workflow {
|
|
border-color: color-mix(in srgb, var(--amb-link) 24%, transparent);
|
|
background: color-mix(in srgb, var(--amb-link) 8%, transparent);
|
|
color: #9cc7ff;
|
|
}
|
|
|
|
.anomalous-material-scope-badge.is-prompt {
|
|
border-color: rgba(168, 85, 247, 0.28);
|
|
background: rgba(168, 85, 247, 0.08);
|
|
color: #c084fc;
|
|
}
|
|
|
|
.anomalous-material-scope-badge.is-nodes {
|
|
border-color: rgba(148, 163, 184, 0.24);
|
|
background: rgba(148, 163, 184, 0.08);
|
|
color: var(--amb-text-muted);
|
|
}
|
|
|
|
.anomalous-material-card-title-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.anomalous-material-card-title-text {
|
|
margin: 0;
|
|
font-size: 0.94rem;
|
|
font-weight: 600;
|
|
color: var(--amb-text-main);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
flex: 1;
|
|
}
|
|
|
|
.anomalous-material-card-edit-btn {
|
|
opacity: 0;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 3px;
|
|
cursor: pointer;
|
|
color: var(--amb-text-muted);
|
|
border-radius: 4px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: opacity 0.15s ease, color 0.15s ease, background-color 0.15s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.anomalous-material-card-edit-btn svg {
|
|
width: 13px;
|
|
height: 13px;
|
|
}
|
|
|
|
.anomalous-material-card:hover .anomalous-material-card-edit-btn,
|
|
.anomalous-material-card:focus-within .anomalous-material-card-edit-btn {
|
|
opacity: 1;
|
|
}
|
|
|
|
.anomalous-material-card-edit-btn:hover {
|
|
color: var(--amb-text-main);
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.anomalous-material-inline-input {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 4px 8px;
|
|
font-size: 0.88rem;
|
|
background: rgba(10, 12, 18, 0.92);
|
|
border: 1px solid color-mix(in srgb, var(--amb-link) 55%, transparent);
|
|
border-radius: 6px;
|
|
color: var(--amb-text-main);
|
|
outline: none;
|
|
box-shadow: 0 0 10px color-mix(in srgb, var(--amb-link) 20%, transparent);
|
|
}
|
|
|
|
.anomalous-material-card-subinfo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
font-size: 0.68rem;
|
|
color: var(--amb-text-dim);
|
|
margin-top: -2px;
|
|
}
|
|
|
|
.anomalous-material-card-date {
|
|
color: var(--amb-text-dim);
|
|
font-size: 0.68rem;
|
|
}
|
|
|
|
.anomalous-material-card-use-hint {
|
|
flex: 1;
|
|
color: #8591a5;
|
|
font-size: 0.68rem;
|
|
}
|
|
|
|
.anomalous-workbench-save-input-wrap input {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--amb-border-strong);
|
|
background: rgba(0, 0, 0, 0.35);
|
|
color: var(--amb-text-main);
|
|
font-size: 0.82rem;
|
|
outline: none;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.anomalous-workbench-save-input-wrap input:focus {
|
|
border-color: var(--amb-link);
|
|
box-shadow: 0 0 0 2px color-mix(in srgb, var(--amb-link) 20%, transparent);
|
|
}
|
|
|
|
/* Loading & Error Box */
|
|
.anomalous-workbench-loading-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 14px;
|
|
padding: 40px 20px;
|
|
color: var(--amb-text-muted);
|
|
font-size: 0.82rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.anomalous-workbench-spinner {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
border: 3px solid color-mix(in srgb, var(--amb-link) 15%, transparent);
|
|
border-top-color: var(--amb-link);
|
|
animation: anomalous-spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes anomalous-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.anomalous-workbench-error-box {
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: #f87171;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.anomalous-workbench-muted {
|
|
color: var(--amb-text-dim);
|
|
font-size: 0.78rem;
|
|
font-style: italic;
|
|
}
|
|
/* Progressive disclosure shared by material capture surfaces. */
|
|
.anomalous-workbench-inspector-footer[hidden],
|
|
.anomalous-recipe-prompt-role-select[hidden],
|
|
.anomalous-recipe-material-selection[hidden],
|
|
.anomalous-recipe-material-node-select[hidden] { display: none !important; }
|
|
.anomalous-material-receipt {
|
|
position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
|
|
z-index: 1000010; display: flex; align-items: center; gap: 16px;
|
|
max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px;
|
|
background: #22372e; color: #f0f7f3; border: 1px solid #537360;
|
|
box-shadow: 0 8px 32px #0008;
|
|
}
|
|
.anomalous-material-receipt button { cursor: pointer; color: inherit; background: transparent; border: 0; white-space: nowrap; }
|
|
.anomalous-material-receipt button:first-of-type { text-decoration: underline; }
|
|
.anomalous-notebook-fold, .anomalous-secondary-actions { padding: 8px; }
|
|
.anomalous-notebook-fold > summary, .anomalous-secondary-actions > summary { cursor: pointer; color: var(--input-text, var(--amb-text-soft)); padding: 4px; }
|
|
.anomalous-notebook-fold > p { color: var(--amb-text-muted); font-size: 13px; }
|
|
.anomalous-notebook-fold > button { margin: 6px 8px 0 0; }
|
|
/* duplicate workbench-generation-save selector cleaned up */
|
|
.anomalous-material-note-text { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.7; }
|
|
.anomalous-notebook-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
|
|
.anomalous-nb-editor .anomalous-nb-textarea { font: inherit; line-height: 1.6; padding: 12px; box-sizing: border-box; }
|
|
/* Material application and prompt composition: structural styling, no animation or blur. */
|
|
.anomalous-prompt-composer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
gap: 12px;
|
|
width: 100%;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 16px;
|
|
box-sizing: border-box;
|
|
}
|
|
.anomalous-prompt-composer > * { flex-shrink: 0; }
|
|
.anomalous-prompt-actions,
|
|
.anomalous-prompt-target,
|
|
.anomalous-material-application-result {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.anomalous-prompt-actions h3 { margin: 0; }
|
|
.anomalous-prompt-field { display: flex; flex-direction: column; gap: 6px; }
|
|
.anomalous-prompt-composer textarea,
|
|
.anomalous-prompt-composer input:not([type="checkbox"]),
|
|
.anomalous-prompt-composer select {
|
|
box-sizing: border-box;
|
|
max-width: 100%;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--border-color, var(--amb-border-strong));
|
|
border-radius: 6px;
|
|
background: var(--comfy-input-bg, var(--amb-bg-card));
|
|
color: var(--input-text, var(--amb-text-soft));
|
|
font: inherit;
|
|
}
|
|
.anomalous-prompt-composer textarea { width: 100%; resize: vertical; min-height: 72px; }
|
|
.anomalous-prompt-composer textarea[readonly] { min-height: 100px; }
|
|
.anomalous-prompt-parts { display: flex; flex-direction: column; gap: 10px; }
|
|
.anomalous-prompt-part {
|
|
padding: 12px;
|
|
border: 1px solid var(--border-color, var(--amb-border-strong));
|
|
border-radius: 8px;
|
|
}
|
|
.anomalous-prompt-part > *:not(summary) { margin-top: 10px; }
|
|
.anomalous-prompt-part summary { cursor: pointer; overflow-wrap: anywhere; }
|
|
.anomalous-prompt-part summary input { margin-right: 8px; }
|
|
.anomalous-prompt-part summary small { margin-left: 10px; color: var(--descrip-text, var(--amb-text-muted)); }
|
|
.anomalous-material-target-context { padding: 12px 16px; border-bottom: 1px solid var(--border-color, var(--amb-border-strong)); }
|
|
.anomalous-material-target-context > button { margin-left: 10px; }
|
|
.anomalous-material-target-context > small { display: block; margin-top: 6px; color: var(--descrip-text, var(--amb-text-muted)); }
|
|
.anomalous-material-application-result { margin-top: 10px; }
|
|
.anomalous-material-choice {
|
|
max-width: min(560px, calc(100vw - 32px));
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
border: 1px solid var(--border-color, var(--amb-border-strong));
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
background: var(--comfy-menu-bg, var(--amb-bg-card));
|
|
color: var(--input-text, var(--amb-text-soft));
|
|
}
|
|
.anomalous-material-choice > button { display: block; margin: 10px 0; }
|
|
.anomalous-material-choice::backdrop { background: rgba(0, 0, 0, .55); }
|
|
.anomalous-material-inspect-action { position: absolute; bottom: 10px; right: 10px; z-index: 2; }
|
|
.anomalous-material-dragging { opacity: 0 !important; }
|
|
.anomalous-material-dragging, .anomalous-material-dragging * { pointer-events: none !important; }
|
|
.anomalous-material-drag-hint {
|
|
position: fixed;
|
|
left: 24px;
|
|
top: 24px;
|
|
max-width: 240px;
|
|
z-index: 1000002;
|
|
pointer-events: none;
|
|
padding: 10px 14px;
|
|
border: 1px solid #68cdb9;
|
|
border-radius: 8px;
|
|
background: var(--amb-bg-card-hover);
|
|
color: var(--amb-text-main);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Prompt Composer & Paper Note Studio / Material Drag System
|
|
========================================================================== */
|
|
|
|
/* 1. Modal Dragging State: Instantly ghost modal to reveal ComfyUI canvas */
|
|
#anomalous-modal.anomalous-material-dragging {
|
|
pointer-events: none !important;
|
|
}
|
|
|
|
#anomalous-modal.anomalous-material-dragging #anomalous-container {
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
transform: scale(0.985);
|
|
transition: opacity 0.16s cubic-bezier(0.4, 0, 0.2, 1), transform 0.16s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
/* 2. Drag Cursor & Hover Feedback */
|
|
.anomalous-material-card[draggable="true"],
|
|
.anomalous-paper-note[draggable="true"] {
|
|
cursor: grab;
|
|
}
|
|
|
|
.anomalous-material-card[draggable="true"]:active,
|
|
.anomalous-paper-note[draggable="true"]:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
/* Hide legacy bulky drag label to restore clean card visuals */
|
|
.anomalous-material-drag-label {
|
|
display: none !important;
|
|
}
|
|
|
|
/* 3. Drag Follower Floating Badge */
|
|
.anomalous-material-drag-hint {
|
|
position: fixed;
|
|
z-index: 999999;
|
|
pointer-events: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 12px;
|
|
border-radius: var(--amb-radius-control, 6px);
|
|
background: var(--amb-bg-panel, var(--amb-bg-panel));
|
|
border: 1px solid var(--amb-border, var(--amb-border-strong));
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
|
|
color: var(--amb-text-main, var(--amb-text-main));
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
backdrop-filter: blur(8px);
|
|
transition: border-color 0.15s ease, background-color 0.15s ease;
|
|
}
|
|
|
|
.anomalous-material-drag-hint.is-target-valid {
|
|
border-color: var(--amb-border-hover, var(--amb-border-strong));
|
|
background: var(--amb-bg-card-hover, var(--amb-bg-card-hover));
|
|
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
|
|
color: var(--amb-text-main);
|
|
}
|
|
|
|
.anomalous-material-drag-hint.is-target-refused {
|
|
border-color: rgba(245, 158, 11, 0.55);
|
|
color: #fcd34d;
|
|
}
|
|
|
|
/* Prompt boxes on the canvas while a prompt is dragged: outlined by role, the target solid. */
|
|
.anomalous-prompt-box {
|
|
outline: 2px dashed rgba(156, 163, 175, 0.75);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.anomalous-prompt-box.is-positive { outline-color: rgba(74, 222, 128, 0.85); }
|
|
.anomalous-prompt-box.is-negative { outline-color: rgba(248, 113, 113, 0.9); }
|
|
.anomalous-prompt-box.is-both { outline-color: rgba(192, 132, 252, 0.9); }
|
|
|
|
.anomalous-prompt-box.is-hover {
|
|
outline-style: solid;
|
|
outline-width: 3px;
|
|
box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
/* What a release would write, laid over the target box (and its partner) while the pointer is on it. */
|
|
.anomalous-prompt-preview {
|
|
position: fixed;
|
|
z-index: 999998;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
padding: 6px 8px;
|
|
border-radius: var(--amb-radius-control);
|
|
background: var(--amb-bg-input);
|
|
color: var(--amb-text-main);
|
|
line-height: 1.35;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
pointer-events: none;
|
|
opacity: 0.94;
|
|
}
|
|
|
|
.anomalous-prompt-preview-tag {
|
|
float: right;
|
|
margin: 0 0 4px 8px;
|
|
padding: 0 6px;
|
|
border-radius: 999px;
|
|
background: var(--amb-bg-card-hover);
|
|
color: var(--amb-text-muted);
|
|
font-size: 10px;
|
|
line-height: 16px;
|
|
}
|
|
|
|
.anomalous-prompt-preview.is-positive .anomalous-prompt-preview-tag { color: rgba(74, 222, 128, 0.95); }
|
|
.anomalous-prompt-preview.is-negative .anomalous-prompt-preview-tag { color: rgba(248, 113, 113, 0.95); }
|
|
.anomalous-prompt-preview.is-both .anomalous-prompt-preview-tag { color: rgba(192, 132, 252, 0.95); }
|
|
|