bedee3ba8d
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
16957 lines
365 KiB
CSS
16957 lines
365 KiB
CSS
/* Legacy page layer. Page-by-page extraction now happens beside this file. */
|
|
.workspace-page-shell {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Latest generate page pixel menu/sidebar overrides */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-generation-menu__panel {
|
|
top: calc(100% + 12px) !important;
|
|
width: 255px !important;
|
|
padding: 16px 12px 10px 14px !important;
|
|
border: 2px solid #71efac !important;
|
|
border-radius: 0 !important;
|
|
background: #f0fff4 !important;
|
|
background-size: auto !important;
|
|
box-shadow:
|
|
8px 8px 0 #111,
|
|
inset 0 0 36px rgba(56, 215, 118, 0.13) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-generation-menu__panel button {
|
|
justify-content: flex-start !important;
|
|
min-height: 56px !important;
|
|
padding: 0 14px !important;
|
|
border: 0 !important;
|
|
border-radius: 0 !important;
|
|
background: transparent !important;
|
|
color: #11251a !important;
|
|
box-shadow: none !important;
|
|
font-size: 16px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-generation-menu__panel button .anticon {
|
|
color: #38d776 !important;
|
|
font-size: 18px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-generation-menu__panel button:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-generation-menu__panel button.is-active {
|
|
background: rgba(56, 215, 118, 0.16) !important;
|
|
color: #22ca68 !important;
|
|
transform: none !important;
|
|
box-shadow: 6px 6px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-generation-trigger {
|
|
min-width: 178px !important;
|
|
height: 48px !important;
|
|
border: 4px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #21f29a !important;
|
|
color: #111 !important;
|
|
box-shadow: 5px 5px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-generation-trigger:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-generation-trigger[aria-expanded="true"] {
|
|
background: #21f29a !important;
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
transform: translate(2px, 2px) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar {
|
|
position: fixed !important;
|
|
top: 62px !important;
|
|
right: 0 !important;
|
|
bottom: 0 !important;
|
|
z-index: 48 !important;
|
|
width: 228px !important;
|
|
min-height: 0 !important;
|
|
border-width: 3px 0 0 3px !important;
|
|
border-style: solid !important;
|
|
border-color: #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #101916 !important;
|
|
background-size: auto !important;
|
|
color: #f6fff8 !important;
|
|
box-shadow: -5px 0 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: 42px !important;
|
|
box-shadow: -4px 0 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__toolbar {
|
|
display: grid !important;
|
|
grid-template-columns: 38px minmax(0, 1fr) 38px !important;
|
|
align-items: center !important;
|
|
gap: 10px !important;
|
|
padding: 14px 10px !important;
|
|
border-bottom: 3px solid #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar__toolbar {
|
|
grid-template-columns: 1fr !important;
|
|
padding: 14px 5px !important;
|
|
border-bottom: 0 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__icon,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__new {
|
|
min-height: 40px !important;
|
|
border: 2px solid #39443f !important;
|
|
border-radius: 0 !important;
|
|
background: #17211e !important;
|
|
color: #f6fff8 !important;
|
|
box-shadow: none !important;
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__new {
|
|
background: #17211e !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__icon:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__new:hover {
|
|
border-color: #38d776 !important;
|
|
background: #10271f !important;
|
|
color: #38d776 !important;
|
|
transform: none !important;
|
|
}
|
|
|
|
/* Pixel workbench and canvas menu refinements */
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas .studio-canvas-context-menu,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas .studio-canvas-context-menu button,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas .studio-canvas-context-menu kbd {
|
|
color: #111 !important;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif !important;
|
|
font-weight: 1000 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas .studio-canvas-context-menu button:disabled {
|
|
color: #8aa196 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page {
|
|
background: #f5fff4;
|
|
background-size: auto;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-title {
|
|
color: #11251a;
|
|
font-weight: 1000;
|
|
text-shadow: 3px 3px 0 #d9f8dd;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-subtitle {
|
|
color: #557466;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-shell,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-preferences__panel {
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
background-size: auto;
|
|
box-shadow: 7px 7px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip {
|
|
color: #11251a;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip.is-active {
|
|
border-color: #111;
|
|
background: #d9f8dd;
|
|
box-shadow: 5px 5px 0 #111;
|
|
transform: translate(2px, 2px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip__icon {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip.is-active .workbench-mode-chip__icon {
|
|
background: #38d776;
|
|
color: #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-textarea {
|
|
color: #11251a;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-textarea::placeholder {
|
|
color: #557466;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-shell {
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-footer {
|
|
border-top: 2px solid #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-tool,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-send,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-preferences__resize,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-ratio-option,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-resolution-grid button,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-size-grid input {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 #111;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-tool:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-send:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-ratio-option:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-ratio-option.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-resolution-grid button.is-active {
|
|
border-color: #111;
|
|
background: #d9f8dd;
|
|
color: #11251a;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transform: translate(1px, 1px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-send {
|
|
background: #38d776;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-send:disabled {
|
|
background: #dce8df;
|
|
color: #8aa196;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-preferences,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-preferences__scrim {
|
|
background: transparent;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-preferences__section-label,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-size-grid label span,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-size-grid > span {
|
|
color: #557466;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-ratio-option__icon {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #d9f8dd;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-size-grid input:focus {
|
|
outline: none;
|
|
border-color: #111;
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
/* Final override: remove the green gap above the generate right sidebar */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar {
|
|
position: fixed !important;
|
|
top: 137px !important;
|
|
right: 0 !important;
|
|
bottom: 0 !important;
|
|
z-index: 80 !important;
|
|
width: 228px !important;
|
|
min-height: 0 !important;
|
|
border-width: 3px 0 0 3px !important;
|
|
border-style: solid !important;
|
|
border-color: #111 !important;
|
|
border-radius: 0 0 0 0 !important;
|
|
background: #101916 !important;
|
|
background-size: auto !important;
|
|
box-shadow: -5px 0 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: 42px !important;
|
|
}
|
|
|
|
/* Final override: draggable sidebar and local reference image preview */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-shell {
|
|
display: grid !important;
|
|
grid-template-columns: 76px minmax(0, 1fr) !important;
|
|
column-gap: 14px !important;
|
|
align-items: start !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card {
|
|
grid-column: 1 !important;
|
|
grid-row: 1 !important;
|
|
display: grid !important;
|
|
place-items: center !important;
|
|
gap: 6px !important;
|
|
width: 72px !important;
|
|
height: 72px !important;
|
|
padding: 8px !important;
|
|
border: 2px solid #0b6f4e !important;
|
|
border-radius: 10px !important;
|
|
background: #10271f !important;
|
|
color: #21f29a !important;
|
|
box-shadow: inset 0 0 20px rgba(33, 242, 154, 0.1) !important;
|
|
cursor: pointer !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card span {
|
|
font-size: 11px !important;
|
|
font-weight: 1000 !important;
|
|
line-height: 1 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card .anticon {
|
|
font-size: 20px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card.has-image {
|
|
padding: 0 !important;
|
|
border-color: #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fffdf5 !important;
|
|
box-shadow: 4px 4px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card img {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
object-fit: cover !important;
|
|
display: block !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-textarea {
|
|
grid-column: 2 !important;
|
|
grid-row: 1 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-footer {
|
|
grid-column: 1 / -1 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-tool {
|
|
min-width: 128px !important;
|
|
gap: 8px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar {
|
|
width: var(--workbench-sidebar-width, 228px) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: var(--workbench-sidebar-collapsed-width, 42px) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__resize {
|
|
position: absolute !important;
|
|
left: -7px !important;
|
|
top: 0 !important;
|
|
bottom: 0 !important;
|
|
z-index: 3 !important;
|
|
width: 10px !important;
|
|
padding: 0 !important;
|
|
border: 0 !important;
|
|
border-radius: 0 !important;
|
|
background: transparent !important;
|
|
cursor: ew-resize !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__resize::after {
|
|
content: "" !important;
|
|
position: absolute !important;
|
|
left: 3px !important;
|
|
top: 0 !important;
|
|
bottom: 0 !important;
|
|
width: 3px !important;
|
|
background: #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__resize:hover::after {
|
|
background: #21f29a !important;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar {
|
|
top: 137px !important;
|
|
right: 0 !important;
|
|
bottom: 0 !important;
|
|
width: 228px !important;
|
|
height: auto !important;
|
|
min-height: 0 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: 42px !important;
|
|
height: auto !important;
|
|
}
|
|
}
|
|
|
|
/* Final sidebar dock position: align with the pale yellow top action band */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar {
|
|
position: fixed !important;
|
|
top: 62px !important;
|
|
right: 0 !important;
|
|
bottom: 0 !important;
|
|
width: 228px !important;
|
|
min-height: 0 !important;
|
|
border-width: 3px 0 0 3px !important;
|
|
border-style: solid !important;
|
|
border-color: #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #101916 !important;
|
|
background-size: auto !important;
|
|
box-shadow: -5px 0 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: 42px !important;
|
|
}
|
|
|
|
/* Restore generate composer size and dock the conversation sidebar to the page edge */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-scroll {
|
|
width: min(100%, 860px) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed {
|
|
display: block !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar {
|
|
position: fixed !important;
|
|
top: 70px !important;
|
|
right: 0 !important;
|
|
bottom: 0 !important;
|
|
z-index: 48 !important;
|
|
width: 220px !important;
|
|
min-height: 0 !important;
|
|
border-width: 0 0 0 2px !important;
|
|
border-style: solid !important;
|
|
border-color: rgba(255, 255, 255, 0.08) !important;
|
|
background: rgba(13, 18, 17, 0.96) !important;
|
|
color: rgba(245, 255, 248, 0.86) !important;
|
|
box-shadow: -8px 0 24px rgba(0, 0, 0, 0.22) !important;
|
|
transform: translateX(0) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: 42px !important;
|
|
box-shadow: -5px 0 18px rgba(0, 0, 0, 0.2) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__toolbar {
|
|
grid-template-columns: 32px minmax(0, 1fr) 32px !important;
|
|
gap: 8px !important;
|
|
padding: 10px 8px !important;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar__toolbar {
|
|
grid-template-columns: 1fr !important;
|
|
padding: 10px 5px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__icon,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new {
|
|
min-height: 30px !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
background: rgba(255, 255, 255, 0.04) !important;
|
|
color: rgba(245, 255, 248, 0.86) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new {
|
|
background: rgba(255, 255, 255, 0.035) !important;
|
|
color: #f6fff8 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__icon:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new:hover {
|
|
background: rgba(56, 215, 118, 0.16) !important;
|
|
color: #38d776 !important;
|
|
transform: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__body {
|
|
padding: 46px 12px 14px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__body > strong {
|
|
display: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__empty {
|
|
padding: 20px 10px !important;
|
|
color: rgba(245, 255, 248, 0.42) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__list {
|
|
display: none !important;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar {
|
|
top: auto !important;
|
|
width: 100% !important;
|
|
height: 188px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: 100% !important;
|
|
height: 42px !important;
|
|
}
|
|
}
|
|
|
|
/* Final generate page mode menu and right conversation sidebar */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-scroll {
|
|
width: min(100%, 1120px) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 278px;
|
|
align-items: stretch;
|
|
gap: 18px;
|
|
width: 100%;
|
|
transition: grid-template-columns 180ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed {
|
|
grid-template-columns: minmax(0, 1fr) 46px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar button {
|
|
border-radius: 0 !important;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger {
|
|
border: 3px solid #111 !important;
|
|
background: #38d776 !important;
|
|
color: #111 !important;
|
|
box-shadow: 4px 4px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger[aria-expanded="true"] {
|
|
background: #21f29a !important;
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel {
|
|
top: calc(100% + 10px) !important;
|
|
width: 205px !important;
|
|
padding: 8px !important;
|
|
border: 3px solid #111 !important;
|
|
background: #10271f !important;
|
|
background-size: auto !important;
|
|
box-shadow:
|
|
5px 5px 0 #111,
|
|
0 0 0 3px #38d776 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button {
|
|
justify-content: flex-start !important;
|
|
min-height: 46px !important;
|
|
border: 2px solid transparent !important;
|
|
background: transparent !important;
|
|
color: #f6fff8 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button .anticon {
|
|
color: #38d776 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button.is-active {
|
|
border-color: #111 !important;
|
|
background: #d9f8dd !important;
|
|
color: #111 !important;
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button:hover .anticon,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button.is-active .anticon {
|
|
color: #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar {
|
|
min-height: 100%;
|
|
border: 3px solid #111;
|
|
background: #17201c;
|
|
background-size: auto;
|
|
color: #f6fff8;
|
|
box-shadow: 7px 7px 0 #111;
|
|
overflow: hidden;
|
|
transition:
|
|
width 180ms ease,
|
|
transform 180ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__toolbar {
|
|
display: grid;
|
|
grid-template-columns: 34px minmax(0, 1fr) 34px;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-bottom: 3px solid #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar__toolbar {
|
|
grid-template-columns: 1fr;
|
|
padding: 8px 5px;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__icon,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
min-height: 34px;
|
|
border: 2px solid #111;
|
|
background: #fffdf5;
|
|
color: #111;
|
|
box-shadow: 3px 3px 0 #111;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new {
|
|
background: #38d776;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__icon:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new:hover {
|
|
background: #21f29a;
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__body {
|
|
display: grid;
|
|
gap: 12px;
|
|
padding: 14px 12px;
|
|
animation: workbenchSidebarRefresh 180ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__body > strong {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 34px;
|
|
padding: 0 10px;
|
|
border-bottom: 3px solid #38d776;
|
|
color: #f6fff8;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__empty {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 8px;
|
|
padding: 36px 10px;
|
|
color: rgba(246, 255, 248, 0.62);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__empty .anticon {
|
|
color: rgba(56, 215, 118, 0.72);
|
|
font-size: 22px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__list button {
|
|
justify-content: flex-start;
|
|
min-height: 38px;
|
|
padding: 0 10px;
|
|
border: 2px solid #111;
|
|
background: #fffdf5;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 #111;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__list button:hover {
|
|
background: #d9f8dd;
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
@keyframes workbenchSidebarRefresh {
|
|
from {
|
|
opacity: 0.4;
|
|
transform: translateY(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar {
|
|
min-height: 180px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
min-height: 46px;
|
|
}
|
|
}
|
|
|
|
/* Final generate page mode menu and right conversation sidebar */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-scroll {
|
|
width: min(100%, 1120px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 278px;
|
|
align-items: stretch;
|
|
gap: 18px;
|
|
width: 100%;
|
|
transition: grid-template-columns 180ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed {
|
|
grid-template-columns: minmax(0, 1fr) 46px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar button {
|
|
border-radius: 0 !important;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger {
|
|
border: 3px solid #111 !important;
|
|
background: #38d776 !important;
|
|
color: #111 !important;
|
|
box-shadow: 4px 4px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger[aria-expanded="true"] {
|
|
background: #21f29a !important;
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel {
|
|
top: calc(100% + 10px);
|
|
width: 205px;
|
|
padding: 8px;
|
|
border: 3px solid #111;
|
|
background: #10271f;
|
|
background-size: auto;
|
|
box-shadow:
|
|
5px 5px 0 #111,
|
|
0 0 0 3px #38d776;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button {
|
|
justify-content: flex-start;
|
|
min-height: 46px;
|
|
border: 2px solid transparent;
|
|
background: transparent;
|
|
color: #f6fff8;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button .anticon {
|
|
color: #38d776;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button.is-active {
|
|
border-color: #111;
|
|
background: #d9f8dd;
|
|
color: #111;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button:hover .anticon,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button.is-active .anticon {
|
|
color: #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar {
|
|
min-height: 100%;
|
|
border: 3px solid #111;
|
|
background: #17201c;
|
|
background-size: auto;
|
|
color: #f6fff8;
|
|
box-shadow: 7px 7px 0 #111;
|
|
overflow: hidden;
|
|
transition:
|
|
width 180ms ease,
|
|
transform 180ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__toolbar {
|
|
display: grid;
|
|
grid-template-columns: 34px minmax(0, 1fr) 34px;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-bottom: 3px solid #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar__toolbar {
|
|
grid-template-columns: 1fr;
|
|
padding: 8px 5px;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__icon,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
min-height: 34px;
|
|
border: 2px solid #111;
|
|
background: #fffdf5;
|
|
color: #111;
|
|
box-shadow: 3px 3px 0 #111;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new {
|
|
background: #38d776;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__icon:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new:hover {
|
|
background: #21f29a;
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__body {
|
|
display: grid;
|
|
gap: 12px;
|
|
padding: 14px 12px;
|
|
animation: workbenchSidebarRefresh 180ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__body > strong {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 34px;
|
|
padding: 0 10px;
|
|
border-bottom: 3px solid #38d776;
|
|
color: #f6fff8;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__empty {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 8px;
|
|
padding: 36px 10px;
|
|
color: rgba(246, 255, 248, 0.62);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__empty .anticon {
|
|
color: rgba(56, 215, 118, 0.72);
|
|
font-size: 22px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__list button {
|
|
justify-content: flex-start;
|
|
min-height: 38px;
|
|
padding: 0 10px;
|
|
border: 2px solid #111;
|
|
background: #fffdf5;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 #111;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__list button:hover {
|
|
background: #d9f8dd;
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
@keyframes workbenchSidebarRefresh {
|
|
from {
|
|
opacity: 0.4;
|
|
transform: translateY(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar {
|
|
min-height: 180px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
min-height: 46px;
|
|
}
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-scroll {
|
|
width: min(100%, 1120px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 278px;
|
|
align-items: stretch;
|
|
gap: 18px;
|
|
width: 100%;
|
|
transition: grid-template-columns 180ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed {
|
|
grid-template-columns: minmax(0, 1fr) 46px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar button {
|
|
border-radius: 0 !important;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger {
|
|
border: 3px solid #111 !important;
|
|
background: #38d776 !important;
|
|
color: #111 !important;
|
|
box-shadow: 4px 4px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-trigger[aria-expanded="true"] {
|
|
background: #21f29a !important;
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel {
|
|
top: calc(100% + 10px);
|
|
width: 205px;
|
|
padding: 8px;
|
|
border: 3px solid #111;
|
|
background: #10271f;
|
|
background-size: auto;
|
|
box-shadow:
|
|
5px 5px 0 #111,
|
|
0 0 0 3px #38d776;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button {
|
|
justify-content: flex-start;
|
|
min-height: 46px;
|
|
border: 2px solid transparent;
|
|
background: transparent;
|
|
color: #f6fff8;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button .anticon {
|
|
color: #38d776;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button.is-active {
|
|
border-color: #111;
|
|
background: #d9f8dd;
|
|
color: #111;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button:hover .anticon,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-generation-menu__panel button.is-active .anticon {
|
|
color: #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar {
|
|
min-height: 100%;
|
|
border: 3px solid #111;
|
|
background: #17201c;
|
|
background-size: auto;
|
|
color: #f6fff8;
|
|
box-shadow: 7px 7px 0 #111;
|
|
overflow: hidden;
|
|
transition:
|
|
width 180ms ease,
|
|
transform 180ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__toolbar {
|
|
display: grid;
|
|
grid-template-columns: 34px minmax(0, 1fr) 34px;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-bottom: 3px solid #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar__toolbar {
|
|
grid-template-columns: 1fr;
|
|
padding: 8px 5px;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__icon,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
min-height: 34px;
|
|
border: 2px solid #111;
|
|
background: #fffdf5;
|
|
color: #111;
|
|
box-shadow: 3px 3px 0 #111;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new {
|
|
background: #38d776;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__icon:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__new:hover {
|
|
background: #21f29a;
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__body {
|
|
display: grid;
|
|
gap: 12px;
|
|
padding: 14px 12px;
|
|
animation: workbenchSidebarRefresh 180ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__body > strong {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 34px;
|
|
padding: 0 10px;
|
|
border-bottom: 3px solid #38d776;
|
|
color: #f6fff8;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__empty {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 8px;
|
|
padding: 36px 10px;
|
|
color: rgba(246, 255, 248, 0.62);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__empty .anticon {
|
|
color: rgba(56, 215, 118, 0.72);
|
|
font-size: 22px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__list button {
|
|
justify-content: flex-start;
|
|
min-height: 38px;
|
|
padding: 0 10px;
|
|
border: 2px solid #111;
|
|
background: #fffdf5;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 #111;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar__list button:hover {
|
|
background: #d9f8dd;
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
@keyframes workbenchSidebarRefresh {
|
|
from {
|
|
opacity: 0.4;
|
|
transform: translateY(4px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-conversation-sidebar {
|
|
min-height: 180px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
min-height: 46px;
|
|
}
|
|
}
|
|
|
|
/* Final ecommerce composer toolbar parity with generate page */
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-shell {
|
|
border: 3px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fffdf5 !important;
|
|
background-size: auto !important;
|
|
box-shadow: 7px 7px 0 #111 !important;
|
|
backdrop-filter: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-footer {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: space-between !important;
|
|
gap: 14px !important;
|
|
border-top: 2px solid #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-toolbar {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 10px !important;
|
|
min-width: 0;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-file-input {
|
|
display: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send {
|
|
border: 2px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
color: #11251a !important;
|
|
font-weight: 1000 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool {
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
gap: 4px !important;
|
|
min-width: 40px !important;
|
|
height: 40px !important;
|
|
padding: 0 12px !important;
|
|
background: #fff !important;
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool--ratio {
|
|
min-width: 190px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool__text {
|
|
font-size: 13px !important;
|
|
font-weight: 1000 !important;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool:hover,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send:hover {
|
|
background: #d9f8dd !important;
|
|
color: #e60012 !important;
|
|
box-shadow: 2px 2px 0 #111 !important;
|
|
transform: translate(1px, 1px) !important;
|
|
filter: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send {
|
|
background: #38d776 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send:disabled {
|
|
background: #dce8df !important;
|
|
color: #8aa196 !important;
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
transform: none !important;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-footer {
|
|
flex-direction: column !important;
|
|
align-items: stretch !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-toolbar {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool--ratio {
|
|
min-width: 0 !important;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/* Final ecommerce composer matches generate page pixel UI */
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-shell {
|
|
position: relative;
|
|
width: 100%;
|
|
padding: 12px 14px 14px;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
background-size: auto;
|
|
box-shadow: 7px 7px 0 #111;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-textarea {
|
|
width: 100%;
|
|
min-height: 90px;
|
|
max-height: 180px;
|
|
padding: 4px 2px;
|
|
border: 0;
|
|
outline: none;
|
|
resize: vertical;
|
|
background: transparent;
|
|
color: #11251a;
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-textarea::placeholder {
|
|
color: #557466;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
margin-top: 10px;
|
|
padding-top: 12px;
|
|
border-top: 2px solid #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-hint {
|
|
color: #557466;
|
|
font-size: 12px;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-file-input {
|
|
display: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
min-width: 40px;
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 #111;
|
|
font-size: 13px;
|
|
font-weight: 1000;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool--ratio {
|
|
min-width: 190px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool__text {
|
|
font-size: 13px;
|
|
font-weight: 1000;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool:hover {
|
|
border-color: #111;
|
|
background: #d9f8dd;
|
|
color: #e60012;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transform: translate(1px, 1px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
min-height: 40px;
|
|
padding: 0 18px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #38d776;
|
|
color: #111;
|
|
box-shadow: 3px 3px 0 #111;
|
|
font-size: 13px;
|
|
font-weight: 1000;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send:hover {
|
|
border-color: #111;
|
|
background: #d9f8dd;
|
|
color: #e60012;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transform: translate(1px, 1px);
|
|
filter: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send:disabled {
|
|
background: #dce8df;
|
|
color: #8aa196;
|
|
box-shadow: 3px 3px 0 #111;
|
|
transform: none;
|
|
filter: none;
|
|
}
|
|
|
|
/* Pixel ecommerce page */
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page {
|
|
--ecommerce-pixel-red: #e60012;
|
|
--ecommerce-pixel-cream: #fff8e7;
|
|
--ecommerce-pixel-green: #d9f8dd;
|
|
--ecommerce-pixel-ink: #111;
|
|
padding: 24px 28px 34px;
|
|
background: #f5fff4 !important;
|
|
background-size: auto;
|
|
color: #11251a;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-scroll,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content {
|
|
position: relative;
|
|
width: min(100%, 1220px);
|
|
border: 3px solid var(--ecommerce-pixel-ink);
|
|
background: var(--ecommerce-pixel-cream);
|
|
background-size: auto;
|
|
box-shadow: 7px 7px 0 var(--ecommerce-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-scroll {
|
|
padding: 28px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content {
|
|
margin: 28px auto 0;
|
|
padding: 24px 28px 34px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-scroll::before,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content::before,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-shell::before,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content .project-card::before,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-case-card::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -3px;
|
|
left: -3px;
|
|
z-index: 4;
|
|
width: 42px;
|
|
height: 10px;
|
|
border-right: 3px solid var(--ecommerce-pixel-ink);
|
|
border-bottom: 3px solid var(--ecommerce-pixel-ink);
|
|
background: var(--ecommerce-pixel-red);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel {
|
|
border: 3px solid var(--ecommerce-pixel-ink);
|
|
border-radius: 0;
|
|
background: var(--ecommerce-pixel-cream);
|
|
box-shadow: 7px 7px 0 var(--ecommerce-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__slide {
|
|
border: 3px solid var(--ecommerce-pixel-ink);
|
|
border-radius: 0;
|
|
background-image: var(--carousel-image);
|
|
background-position: center;
|
|
background-size: cover;
|
|
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.58);
|
|
opacity: 1;
|
|
filter: saturate(1.1) contrast(1.05);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__slide::before {
|
|
display: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__slide::after {
|
|
background: rgba(17, 17, 17, 0.68);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__slide span {
|
|
display: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__slide strong {
|
|
color: #fff;
|
|
font-weight: 1000;
|
|
text-shadow:
|
|
3px 3px 0 var(--ecommerce-pixel-ink),
|
|
-1px 0 0 var(--ecommerce-pixel-ink),
|
|
0 -1px 0 var(--ecommerce-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__arrow,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__dots button,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-carousel-upload,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-filter-chip,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-filter-search,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-case-card button,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content .studio-pill {
|
|
border: 2px solid var(--ecommerce-pixel-ink);
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 var(--ecommerce-pixel-ink);
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__arrow:hover,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-carousel-upload:hover,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send:hover,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-tool:hover,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-filter-chip:hover,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-filter-chip.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-case-card button:hover {
|
|
border-color: var(--ecommerce-pixel-ink);
|
|
background: var(--ecommerce-pixel-green);
|
|
color: var(--ecommerce-pixel-red);
|
|
box-shadow: 2px 2px 0 var(--ecommerce-pixel-ink);
|
|
transform: translate(1px, 1px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__arrow--prev,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__arrow--next {
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__arrow--prev:hover,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__arrow--next:hover {
|
|
transform: translateY(calc(-50% + 1px)) translateX(1px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__dots button {
|
|
width: 12px;
|
|
height: 12px;
|
|
background: var(--ecommerce-pixel-cream);
|
|
transition: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-generate-carousel .community-carousel__dots button.is-active {
|
|
width: 28px;
|
|
background: var(--ecommerce-pixel-red);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-carousel-upload {
|
|
right: 18px;
|
|
background: var(--ecommerce-pixel-cream);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-carousel-upload:active {
|
|
box-shadow: 2px 2px 0 var(--ecommerce-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-shell {
|
|
position: relative;
|
|
border: 3px solid var(--ecommerce-pixel-ink);
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
background-size: auto;
|
|
box-shadow: 7px 7px 0 var(--ecommerce-pixel-ink);
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-textarea {
|
|
color: #11251a;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-textarea::placeholder,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-hint {
|
|
color: #557466;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-footer {
|
|
border-top: 2px solid var(--ecommerce-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send {
|
|
background: var(--ecommerce-pixel-red);
|
|
color: #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-composer-send:disabled {
|
|
background: #dce8df;
|
|
color: #8aa196;
|
|
box-shadow: 3px 3px 0 var(--ecommerce-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-divider {
|
|
display: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content .community-section__head h2 {
|
|
color: #11251a;
|
|
font-weight: 1000;
|
|
text-shadow: 3px 3px 0 var(--ecommerce-pixel-green);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content .project-card {
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content .project-card > img,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content .project-card__empty {
|
|
border: 3px solid var(--ecommerce-pixel-ink);
|
|
border-radius: 0;
|
|
background: var(--ecommerce-pixel-cream);
|
|
box-shadow: 5px 5px 0 var(--ecommerce-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content .project-card:hover > img,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-case-card:hover {
|
|
box-shadow: 3px 3px 0 var(--ecommerce-pixel-ink);
|
|
transform: translate(2px, 2px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content .project-card__caption,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-case-card__caption {
|
|
border-top: 2px solid var(--ecommerce-pixel-ink);
|
|
background: rgba(17, 17, 17, 0.82);
|
|
color: #fff;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-filter-bar,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-case-card {
|
|
position: relative;
|
|
border: 3px solid var(--ecommerce-pixel-ink);
|
|
border-radius: 0;
|
|
background: var(--ecommerce-pixel-cream);
|
|
background-size: auto;
|
|
box-shadow: 7px 7px 0 var(--ecommerce-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-filter-search {
|
|
background: #fff;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-filter-search input {
|
|
color: #11251a;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-filter-search input::placeholder {
|
|
color: #557466;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-case-card {
|
|
transition: transform 140ms ease, box-shadow 140ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-case-card > img {
|
|
filter: saturate(1.04) contrast(1.02);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-case-card__body span {
|
|
width: fit-content;
|
|
padding: 3px 8px;
|
|
border: 2px solid var(--ecommerce-pixel-ink);
|
|
background: var(--ecommerce-pixel-cream);
|
|
color: var(--ecommerce-pixel-red);
|
|
box-shadow: 3px 3px 0 var(--ecommerce-pixel-ink);
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-template-library .community-case-card strong {
|
|
color: #11251a;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page {
|
|
padding: 16px 14px 28px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-scroll,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-community-content {
|
|
padding: 18px;
|
|
}
|
|
}
|
|
|
|
/* Pixel assets and more pages */
|
|
.web-shell[data-ui-theme="pixel"] .assets-page,
|
|
.web-shell[data-ui-theme="pixel"] .more-page {
|
|
--utility-pixel-red: #e60012;
|
|
--utility-pixel-cream: #fff8e7;
|
|
--utility-pixel-green: #d9f8dd;
|
|
--utility-pixel-ink: #111;
|
|
background: #f5fff4;
|
|
background-size: auto;
|
|
color: #11251a;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page {
|
|
background: #f5fff4;
|
|
background-size: auto;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page__head,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page__footer,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-toolstrip,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-panel,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-status-bar,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .more-tool,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-card--desktop {
|
|
position: relative;
|
|
border: 3px solid var(--utility-pixel-ink);
|
|
border-radius: 0;
|
|
background: var(--utility-pixel-cream);
|
|
background-size: auto;
|
|
box-shadow: 6px 6px 0 var(--utility-pixel-ink);
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page__head::before,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-toolstrip::before,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-panel::before,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .more-tool::before,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-card--desktop::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -3px;
|
|
left: -3px;
|
|
z-index: 2;
|
|
width: 42px;
|
|
height: 10px;
|
|
border-right: 3px solid var(--utility-pixel-ink);
|
|
border-bottom: 3px solid var(--utility-pixel-ink);
|
|
background: var(--utility-pixel-red);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page__head {
|
|
margin: 18px 24px 0;
|
|
border-bottom: 3px solid var(--utility-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page__body .asset-grid--desktop {
|
|
padding: 24px 30px;
|
|
gap: 20px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page__footer {
|
|
flex: 0 0 auto;
|
|
min-height: 42px;
|
|
margin: 0 24px 18px;
|
|
color: #11251a;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-card--desktop {
|
|
padding: 10px;
|
|
color: #11251a;
|
|
transition: transform 140ms ease, box-shadow 140ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-card--desktop:hover,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .more-tool:hover {
|
|
border-color: var(--utility-pixel-ink);
|
|
box-shadow: 3px 3px 0 var(--utility-pixel-ink);
|
|
transform: translate(3px, 3px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-card__thumb {
|
|
border: 3px solid var(--utility-pixel-ink);
|
|
border-radius: 0;
|
|
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.56);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-card__head strong,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .more-tool strong,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-panel__section-title {
|
|
color: #11251a;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-card__desc,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .more-tool span,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .canvas-meta__note {
|
|
color: #557466;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .studio-tabs button,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-search,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .studio-generate-btn,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .studio-status-bar__badge,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-card__tags span,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-tabs button,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-generate-btn,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-status-bar__badge {
|
|
border: 2px solid var(--utility-pixel-ink);
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 var(--utility-pixel-ink);
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .studio-tabs button:hover,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .studio-tabs button.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .studio-generate-btn:hover,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-tabs button:hover,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-tabs button.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-generate-btn:hover {
|
|
background: var(--utility-pixel-green);
|
|
color: var(--utility-pixel-red);
|
|
box-shadow: 2px 2px 0 var(--utility-pixel-ink);
|
|
transform: translate(1px, 1px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-search {
|
|
min-height: 38px;
|
|
background: #fff;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-search input {
|
|
color: #11251a;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .asset-search input::placeholder {
|
|
color: #557466;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .studio-status-bar__badge--success,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-status-bar__badge--idle {
|
|
background: var(--utility-pixel-cream);
|
|
color: var(--utility-pixel-red);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-tool-layout {
|
|
background: #f5fff4;
|
|
background-size: auto;
|
|
gap: 18px;
|
|
padding: 18px 24px 20px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-canvas {
|
|
background: transparent;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .more-page .more-grid {
|
|
gap: 18px;
|
|
padding: 0;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .more-page .more-tool {
|
|
min-height: 160px;
|
|
padding: 18px;
|
|
overflow: visible;
|
|
color: #11251a;
|
|
text-align: left;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .more-page .more-tool .anticon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 42px;
|
|
height: 42px;
|
|
border: 3px solid var(--utility-pixel-ink);
|
|
background: var(--utility-pixel-green);
|
|
color: var(--utility-pixel-red);
|
|
box-shadow: 3px 3px 0 var(--utility-pixel-ink);
|
|
font-size: 20px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-panel__section-body {
|
|
gap: 14px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-status-bar {
|
|
min-height: 42px;
|
|
color: #11251a;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page__head,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page__footer,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-tool-layout {
|
|
margin-right: 14px;
|
|
margin-left: 14px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-tool-layout {
|
|
padding: 14px;
|
|
}
|
|
}
|
|
|
|
/* Pixel community page */
|
|
.web-shell[data-ui-theme="pixel"] .community-page {
|
|
--community-pixel-red: #e60012;
|
|
--community-pixel-cream: #fff8e7;
|
|
--community-pixel-green: #d9f8dd;
|
|
--community-pixel-ink: #111;
|
|
padding: 24px 28px 34px;
|
|
background: #f5fff4 !important;
|
|
background-size: auto;
|
|
color: #11251a;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .workspace-page-shell__content {
|
|
gap: 26px;
|
|
padding: 18px;
|
|
border: 3px solid var(--community-pixel-ink);
|
|
background: var(--community-pixel-cream);
|
|
background-size: auto;
|
|
box-shadow: 7px 7px 0 var(--community-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-bar,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card {
|
|
position: relative;
|
|
border: 3px solid var(--community-pixel-ink);
|
|
border-radius: 0;
|
|
background: var(--community-pixel-cream);
|
|
background-size: auto;
|
|
box-shadow: 7px 7px 0 var(--community-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel::before,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-bar::before,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card::before,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .project-card::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -3px;
|
|
left: -3px;
|
|
z-index: 4;
|
|
width: 42px;
|
|
height: 10px;
|
|
border-right: 3px solid var(--community-pixel-ink);
|
|
border-bottom: 3px solid var(--community-pixel-ink);
|
|
background: var(--community-pixel-red);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel {
|
|
min-height: 318px;
|
|
padding: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__track {
|
|
height: 100%;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__slide {
|
|
min-height: 292px;
|
|
border: 3px solid var(--community-pixel-ink);
|
|
border-radius: 0;
|
|
background-image: var(--carousel-image);
|
|
background-position: center;
|
|
background-size: cover;
|
|
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.62);
|
|
opacity: 1;
|
|
filter: saturate(1.12) contrast(1.06);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__slide--video {
|
|
padding: 0;
|
|
background: #05080d;
|
|
background-image: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__slide.is-center {
|
|
box-shadow:
|
|
inset 0 0 0 2px rgba(255, 255, 255, 0.62),
|
|
5px 5px 0 var(--community-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__slide::before {
|
|
display: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__slide::after {
|
|
background: rgba(17, 17, 17, 0.7);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__slide--video::before,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__slide--video::after {
|
|
content: none;
|
|
display: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__slide span {
|
|
display: none;
|
|
border: 2px solid var(--community-pixel-ink);
|
|
border-radius: 0;
|
|
background: var(--community-pixel-cream);
|
|
color: var(--community-pixel-red);
|
|
box-shadow: 3px 3px 0 var(--community-pixel-ink);
|
|
font-weight: 1000;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__slide strong {
|
|
color: #fff;
|
|
font-weight: 1000;
|
|
text-shadow:
|
|
3px 3px 0 var(--community-pixel-ink),
|
|
-1px 0 0 var(--community-pixel-ink),
|
|
0 -1px 0 var(--community-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__arrow,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__dots button,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-chip,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-search,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card button,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-section--browse-more button {
|
|
border: 2px solid var(--community-pixel-ink);
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 var(--community-pixel-ink);
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__arrow {
|
|
opacity: 1;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__arrow:hover,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-chip:hover,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-chip.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card button:hover,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-section--browse-more button:hover {
|
|
border-color: var(--community-pixel-ink);
|
|
background: var(--community-pixel-green);
|
|
color: var(--community-pixel-red);
|
|
box-shadow: 2px 2px 0 var(--community-pixel-ink);
|
|
transform: translate(1px, 1px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__arrow--prev,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__arrow--next {
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__arrow--prev:hover,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__arrow--next:hover {
|
|
transform: translateY(calc(-50% + 1px)) translateX(1px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__dots {
|
|
bottom: 18px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__dots button {
|
|
width: 12px;
|
|
height: 12px;
|
|
background: var(--community-pixel-cream);
|
|
transition: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__dots button.is-active {
|
|
width: 28px;
|
|
background: var(--community-pixel-red);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-section__head h2 {
|
|
margin: 0;
|
|
color: #11251a;
|
|
font-weight: 1000;
|
|
text-shadow: 3px 3px 0 var(--community-pixel-green);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .studio-pill {
|
|
border: 2px solid var(--community-pixel-ink);
|
|
border-radius: 0;
|
|
background: var(--community-pixel-cream);
|
|
color: var(--community-pixel-red);
|
|
box-shadow: 3px 3px 0 var(--community-pixel-ink);
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-bar {
|
|
padding: 14px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-chip {
|
|
height: 34px;
|
|
padding: 0 13px;
|
|
font-size: 12px;
|
|
transition: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-search {
|
|
background: #fff;
|
|
transition: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-search:focus-within {
|
|
border-color: var(--community-pixel-ink);
|
|
background: var(--community-pixel-cream);
|
|
box-shadow: 4px 4px 0 var(--community-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-search input {
|
|
color: #11251a;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-search input::placeholder {
|
|
color: #557466;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .project-card {
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .project-card > img,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .project-card__empty {
|
|
border: 3px solid var(--community-pixel-ink);
|
|
border-radius: 0;
|
|
background: var(--community-pixel-cream);
|
|
box-shadow: 5px 5px 0 var(--community-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .project-card:hover > img,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .project-card:hover .project-card__empty,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card:hover {
|
|
box-shadow: 3px 3px 0 var(--community-pixel-ink);
|
|
transform: translate(2px, 2px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .project-card__caption,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card__caption {
|
|
border-top: 2px solid var(--community-pixel-ink);
|
|
background: rgba(17, 17, 17, 0.82);
|
|
color: #fff;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .project-card__meta strong,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card strong {
|
|
color: #11251a;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .project-card__meta span,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card span {
|
|
color: #557466;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card {
|
|
transition: transform 140ms ease, box-shadow 140ms ease;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card > img {
|
|
filter: saturate(1.04) contrast(1.02);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card__body {
|
|
z-index: 3;
|
|
opacity: 0;
|
|
transform: translateY(8px);
|
|
transition: opacity 180ms ease, transform 180ms ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card:hover .community-case-card__body {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card__body span {
|
|
display: none;
|
|
width: fit-content;
|
|
padding: 3px 8px;
|
|
border: 2px solid var(--community-pixel-ink);
|
|
background: var(--community-pixel-cream);
|
|
color: var(--community-pixel-red);
|
|
box-shadow: 3px 3px 0 var(--community-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card__body strong {
|
|
display: none;
|
|
min-width: 0;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card button,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-section--browse-more button {
|
|
min-height: 34px;
|
|
padding: 0 12px;
|
|
cursor: pointer;
|
|
transition: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card button {
|
|
position: absolute;
|
|
right: 18px;
|
|
bottom: 70px;
|
|
justify-self: end;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-bar,
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-case-card {
|
|
box-shadow: 5px 5px 0 var(--community-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-bar {
|
|
align-items: stretch;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel {
|
|
padding: 8px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-carousel__slide strong {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .community-page .community-filter-chip {
|
|
height: 32px;
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .workspace-page-shell__content,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .workspace-page-shell__content {
|
|
height: 100%;
|
|
padding: 24px 28px 34px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-tool-layout {
|
|
border: 3px solid var(--utility-pixel-ink);
|
|
background: var(--utility-pixel-cream);
|
|
background-size: auto;
|
|
box-shadow: 7px 7px 0 var(--utility-pixel-ink);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page {
|
|
height: auto;
|
|
min-height: 100%;
|
|
overflow: visible;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .more-page .studio-tool-layout {
|
|
min-height: 100%;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page__head {
|
|
margin: 18px 18px 0;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .assets-centered-page__footer {
|
|
margin: 0 18px 18px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.web-shell[data-ui-theme="pixel"] .community-page,
|
|
.web-shell[data-ui-theme="pixel"] .assets-page .workspace-page-shell__content,
|
|
.web-shell[data-ui-theme="pixel"] .more-page .workspace-page-shell__content {
|
|
padding: 16px 14px 28px;
|
|
}
|
|
}
|
|
|
|
/* Subtle page-local NES accents */
|
|
.web-shell[data-ui-theme="pixel"] .profile-page,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas {
|
|
--pixel-red: #e60012;
|
|
--pixel-cream: #fff8e7;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .profile-page__sidebar::before,
|
|
.web-shell[data-ui-theme="pixel"] .profile-page__empty-state::before,
|
|
.web-shell[data-ui-theme="pixel"] .profile-page__card::before,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-shell::before,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-text-node__card::before,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-image-node__card::before,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-video-node__preview::before,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-context-menu::before,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-add-node-menu::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -3px;
|
|
left: -3px;
|
|
width: 42px;
|
|
height: 10px;
|
|
background: var(--pixel-red);
|
|
border-right: 3px solid #111;
|
|
border-bottom: 3px solid #111;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .profile-page__sidebar,
|
|
.web-shell[data-ui-theme="pixel"] .profile-page__empty-state,
|
|
.web-shell[data-ui-theme="pixel"] .profile-page__card,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-shell,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-text-node__card,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-image-node__card,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-video-node__preview,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-context-menu,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-add-node-menu {
|
|
position: relative;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .profile-page__main-tabs button.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .profile-page__list-tabs button.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-add-node-menu button:hover,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-context-menu button:hover:not(:disabled),
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-node-context-menu button:hover:not(:disabled) {
|
|
color: var(--pixel-red);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .profile-page__main-tabs button.is-active::after {
|
|
background: var(--pixel-red);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .profile-page__primary,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-send,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-text-composer__send,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-video-composer__footer button,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-save-asset__create {
|
|
background: var(--pixel-red) !important;
|
|
color: #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-ratio-option.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-resolution-grid button.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas-text-composer__model-menu button.is-selected {
|
|
background: var(--pixel-cream) !important;
|
|
color: var(--pixel-red) !important;
|
|
}
|
|
|
|
.home-page {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
background: #0d0e10;
|
|
color: #fff;
|
|
}
|
|
|
|
.home-page__scroll {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 58px;
|
|
min-height: 100%;
|
|
padding: 96px 24px 80px;
|
|
}
|
|
|
|
.home-carousel {
|
|
position: relative;
|
|
width: 100%;
|
|
min-height: 390px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.home-carousel__track {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: minmax(280px, 0.92fr) minmax(420px, 1.08fr) minmax(280px, 0.92fr);
|
|
align-items: center;
|
|
gap: 0;
|
|
width: min(100%, 1850px);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.home-carousel__card {
|
|
position: relative;
|
|
height: 332px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
background: #171819;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.home-carousel__card:first-child {
|
|
border-radius: 22px 0 0 22px;
|
|
}
|
|
|
|
.home-carousel__card:last-child {
|
|
border-radius: 0 22px 22px 0;
|
|
}
|
|
|
|
.home-carousel__card.is-active {
|
|
z-index: 2;
|
|
height: 360px;
|
|
border-color: rgba(255, 255, 255, 0.28);
|
|
border-radius: 22px;
|
|
transform: scale(1.04);
|
|
}
|
|
|
|
.home-carousel__card img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.home-carousel__card:not(.is-active) img {
|
|
filter: saturate(0.92) brightness(0.78);
|
|
}
|
|
|
|
.home-carousel__shade {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.72);
|
|
}
|
|
|
|
.home-carousel__copy {
|
|
position: absolute;
|
|
left: 28px;
|
|
bottom: 26px;
|
|
display: grid;
|
|
gap: 4px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.home-carousel__copy span {
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.home-carousel__copy strong {
|
|
color: #fff;
|
|
font-size: clamp(24px, 2.2vw, 38px);
|
|
font-weight: 1000;
|
|
line-height: 0.95;
|
|
}
|
|
|
|
.home-carousel__nav {
|
|
position: absolute;
|
|
top: 50%;
|
|
z-index: 5;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 0;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: #fff;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.home-carousel__nav:hover {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.home-carousel__nav--left {
|
|
left: 16px;
|
|
}
|
|
|
|
.home-carousel__nav--right {
|
|
right: 16px;
|
|
}
|
|
|
|
.home-carousel__dots {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.home-carousel__dots button {
|
|
width: 18px;
|
|
height: 6px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.28);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.home-carousel__dots button.is-active {
|
|
width: 38px;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
}
|
|
|
|
.home-entry {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(160px, 240px));
|
|
justify-content: center;
|
|
gap: 18px;
|
|
}
|
|
|
|
.home-entry__button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
height: 76px;
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
border-radius: 18px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font: inherit;
|
|
font-size: 20px;
|
|
font-weight: 950;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.home-entry__button:hover {
|
|
border-color: rgba(255, 255, 255, 0.34);
|
|
background: rgba(255, 255, 255, 0.13);
|
|
}
|
|
|
|
.home-entry__button--primary {
|
|
background: rgba(var(--accent-rgb), 0.86);
|
|
color: #071017;
|
|
}
|
|
|
|
.pixel-home {
|
|
--pixel-red: #e60023;
|
|
--pixel-yellow: #ffcc00;
|
|
--pixel-blue: #2196f3;
|
|
--pixel-green: #4caf50;
|
|
--pixel-purple: #9c27b0;
|
|
--pixel-orange: #ff5722;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
overflow: auto;
|
|
background: #fffdf5;
|
|
color: #050505;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.pixel-home button {
|
|
font: inherit;
|
|
}
|
|
|
|
.pixel-home-hero {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 220px;
|
|
gap: 18px;
|
|
padding: 22px 22px 34px;
|
|
border-bottom: 2px solid #000;
|
|
background: #121212;
|
|
}
|
|
|
|
.pixel-home-hero__media {
|
|
position: relative;
|
|
min-height: 360px;
|
|
overflow: hidden;
|
|
border: 2px solid #000;
|
|
background: #222;
|
|
box-shadow: 6px 6px 0 #000;
|
|
}
|
|
|
|
.pixel-home-hero__media img,
|
|
.pixel-home-hero__preview img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.pixel-home-hero__overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.72);
|
|
}
|
|
|
|
.pixel-home-hero__copy {
|
|
position: absolute;
|
|
right: 52px;
|
|
bottom: 44px;
|
|
display: grid;
|
|
justify-items: end;
|
|
width: min(720px, calc(100% - 130px));
|
|
color: #fff;
|
|
text-align: right;
|
|
}
|
|
|
|
.pixel-home-hero__copy span,
|
|
.pixel-home-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: max-content;
|
|
min-height: 34px;
|
|
padding: 0 14px;
|
|
border: 2px solid #000;
|
|
background: var(--pixel-yellow);
|
|
color: #000;
|
|
font-size: 12px;
|
|
font-weight: 1000;
|
|
letter-spacing: 0.08em;
|
|
box-shadow: 2px 2px 0 #000;
|
|
}
|
|
|
|
.pixel-home-hero__copy h1 {
|
|
margin: 18px 0 10px;
|
|
font-size: clamp(34px, 6vw, 76px);
|
|
font-weight: 1000;
|
|
line-height: 0.95;
|
|
text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.82);
|
|
}
|
|
|
|
.pixel-home-hero__copy p {
|
|
max-width: 660px;
|
|
margin: 0;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: clamp(14px, 2vw, 21px);
|
|
font-weight: 900;
|
|
line-height: 1.5;
|
|
text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.64);
|
|
}
|
|
|
|
.pixel-home-hero__nav {
|
|
position: absolute;
|
|
top: 50%;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 54px;
|
|
height: 54px;
|
|
border: 2px solid #000;
|
|
border-radius: 0;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
color: #000;
|
|
box-shadow: 4px 4px 0 #000;
|
|
cursor: pointer;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.pixel-home-hero__nav:hover {
|
|
box-shadow: 2px 2px 0 #000;
|
|
transform: translate(2px, calc(-50% + 2px));
|
|
}
|
|
|
|
.pixel-home-hero__nav--left {
|
|
left: 22px;
|
|
z-index: 32;
|
|
}
|
|
|
|
.pixel-home-hero__nav--right {
|
|
right: 22px;
|
|
}
|
|
|
|
.pixel-home-hero__preview {
|
|
position: relative;
|
|
min-height: 360px;
|
|
overflow: hidden;
|
|
border: 2px solid #000;
|
|
background: #fff;
|
|
box-shadow: 6px 6px 0 #000;
|
|
}
|
|
|
|
.pixel-home-hero__preview span {
|
|
position: absolute;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
padding: 4px 8px;
|
|
border: 2px solid #000;
|
|
background: #fff;
|
|
color: #000;
|
|
font-size: 12px;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.pixel-home-hero__dots {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 13px;
|
|
display: flex;
|
|
gap: 8px;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.pixel-home-hero__dots button {
|
|
width: 16px;
|
|
height: 8px;
|
|
border: 2px solid #000;
|
|
background: #fff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pixel-home-hero__dots button.is-active {
|
|
width: 34px;
|
|
background: var(--pixel-red);
|
|
}
|
|
|
|
.pixel-home-intro,
|
|
.pixel-home-features,
|
|
.pixel-home-bottom {
|
|
position: relative;
|
|
padding: 72px 24px;
|
|
}
|
|
|
|
.pixel-home-intro {
|
|
display: grid;
|
|
justify-items: center;
|
|
overflow: hidden;
|
|
min-height: 300px;
|
|
align-content: center;
|
|
border-bottom: 2px solid #000;
|
|
text-align: center;
|
|
}
|
|
|
|
.pixel-home-intro::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0.04;
|
|
background-image: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.pixel-home-intro__logo {
|
|
position: relative;
|
|
width: 96px;
|
|
height: 96px;
|
|
object-fit: contain;
|
|
margin-bottom: 18px;
|
|
image-rendering: auto;
|
|
}
|
|
|
|
.pixel-home-entry-actions {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(160px, 240px));
|
|
justify-content: center;
|
|
gap: 28px;
|
|
width: min(100%, 900px);
|
|
}
|
|
|
|
.pixel-home-entry-button {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
height: 118px;
|
|
border: 4px solid #000;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #000;
|
|
box-shadow: 8px 8px 0 #000;
|
|
font-size: 24px;
|
|
font-weight: 1000;
|
|
cursor: pointer;
|
|
transition: transform 0.1s ease, box-shadow 0.1s ease;
|
|
}
|
|
|
|
.pixel-home-entry-button::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 42px;
|
|
height: 8px;
|
|
background: var(--pixel-yellow);
|
|
}
|
|
|
|
.pixel-home-entry-button .anticon {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.pixel-home-entry-button:hover {
|
|
box-shadow: 5px 5px 0 #000;
|
|
transform: translate(2px, 2px);
|
|
}
|
|
|
|
.pixel-home-entry-button:active {
|
|
box-shadow: none;
|
|
transform: translate(6px, 6px);
|
|
}
|
|
|
|
.pixel-home-entry-button--primary {
|
|
background: var(--pixel-red);
|
|
color: #fff;
|
|
}
|
|
|
|
.pixel-home-entry-button--primary::before {
|
|
background: #fff;
|
|
}
|
|
|
|
.pixel-home-entry-button:nth-child(3)::before {
|
|
background: var(--pixel-green);
|
|
}
|
|
|
|
.pixel-home-intro h2,
|
|
.pixel-home-section-head h2,
|
|
.pixel-home-bottom h2 {
|
|
position: relative;
|
|
margin: 20px 0 14px;
|
|
color: #000;
|
|
font-size: clamp(36px, 6vw, 76px);
|
|
font-weight: 1000;
|
|
line-height: 1.02;
|
|
}
|
|
|
|
.pixel-home-intro h2 span,
|
|
.pixel-home-section-head h2 span {
|
|
color: var(--pixel-red);
|
|
}
|
|
|
|
.pixel-home-intro p,
|
|
.pixel-home-section-head p,
|
|
.pixel-home-bottom p {
|
|
position: relative;
|
|
max-width: 680px;
|
|
margin: 0 auto;
|
|
color: #4f4f4f;
|
|
font-size: clamp(15px, 2vw, 20px);
|
|
font-weight: 900;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.pixel-home-actions {
|
|
position: relative;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
margin-top: 34px;
|
|
}
|
|
|
|
.pixel-home-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
min-width: 174px;
|
|
height: 56px;
|
|
padding: 0 24px;
|
|
border: 2px solid #000;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #000;
|
|
box-shadow: 6px 6px 0 #000;
|
|
font-size: 18px;
|
|
font-weight: 1000;
|
|
cursor: pointer;
|
|
transition: transform 0.1s ease, box-shadow 0.1s ease;
|
|
}
|
|
|
|
.pixel-home-action:hover {
|
|
box-shadow: 4px 4px 0 #000;
|
|
transform: translate(2px, 2px);
|
|
}
|
|
|
|
.pixel-home-action:active {
|
|
box-shadow: none;
|
|
transform: translate(6px, 6px);
|
|
}
|
|
|
|
.pixel-home-action--primary {
|
|
background: var(--pixel-red);
|
|
color: #fff;
|
|
}
|
|
|
|
.pixel-home-stats {
|
|
position: relative;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: clamp(28px, 6vw, 80px);
|
|
margin-top: 44px;
|
|
}
|
|
|
|
.pixel-home-stats div {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.pixel-home-stats strong {
|
|
color: var(--pixel-red);
|
|
font-size: clamp(26px, 4vw, 42px);
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.pixel-home-stats span {
|
|
color: #555;
|
|
font-size: 13px;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.pixel-home-features {
|
|
background: #fffdf5;
|
|
}
|
|
|
|
.pixel-home-section-head {
|
|
display: grid;
|
|
justify-items: center;
|
|
text-align: center;
|
|
margin-bottom: 42px;
|
|
}
|
|
|
|
.pixel-home-badge--dark {
|
|
background: var(--pixel-red);
|
|
color: #fff;
|
|
}
|
|
|
|
.pixel-home-feature-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 24px;
|
|
max-width: 1160px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.pixel-home-feature {
|
|
position: relative;
|
|
min-height: 230px;
|
|
padding: 28px;
|
|
border: 2px solid #000;
|
|
background: #fff;
|
|
box-shadow: 4px 4px 0 #000;
|
|
transition: transform 0.16s ease, box-shadow 0.16s ease;
|
|
}
|
|
|
|
.pixel-home-feature:hover {
|
|
box-shadow: 6px 6px 0 #000;
|
|
transform: translateY(-4px);
|
|
}
|
|
|
|
.pixel-home-feature::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 36px;
|
|
height: 6px;
|
|
background: var(--feature-color, var(--pixel-red));
|
|
}
|
|
|
|
.pixel-home-feature__icon {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 58px;
|
|
height: 58px;
|
|
margin-bottom: 20px;
|
|
border: 2px solid #000;
|
|
background: var(--feature-color, var(--pixel-red));
|
|
color: #fff;
|
|
font-size: 28px;
|
|
box-shadow: 2px 2px 0 #000;
|
|
}
|
|
|
|
.pixel-home-feature h3 {
|
|
margin: 0 0 12px;
|
|
color: #000;
|
|
font-size: 20px;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.pixel-home-feature p {
|
|
margin: 0;
|
|
color: #555;
|
|
font-family: "Microsoft YaHei", system-ui, sans-serif;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.pixel-home-feature--red {
|
|
--feature-color: var(--pixel-red);
|
|
}
|
|
|
|
.pixel-home-feature--yellow {
|
|
--feature-color: var(--pixel-yellow);
|
|
}
|
|
|
|
.pixel-home-feature--green {
|
|
--feature-color: var(--pixel-green);
|
|
}
|
|
|
|
.pixel-home-feature--blue {
|
|
--feature-color: var(--pixel-blue);
|
|
}
|
|
|
|
.pixel-home-feature--purple {
|
|
--feature-color: var(--pixel-purple);
|
|
}
|
|
|
|
.pixel-home-feature--orange {
|
|
--feature-color: var(--pixel-orange);
|
|
}
|
|
|
|
.pixel-home-bottom {
|
|
display: grid;
|
|
justify-items: center;
|
|
border-top: 2px solid #000;
|
|
background: var(--pixel-red);
|
|
text-align: center;
|
|
}
|
|
|
|
.pixel-home-bottom h2,
|
|
.pixel-home-bottom p {
|
|
color: #fff;
|
|
}
|
|
|
|
.pixel-home-bottom .pixel-home-action {
|
|
margin-top: 26px;
|
|
}
|
|
|
|
@media (max-width: 1050px) {
|
|
.pixel-home-hero {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.pixel-home-hero__preview {
|
|
display: none;
|
|
}
|
|
|
|
.pixel-home-feature-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 680px) {
|
|
.pixel-home-hero {
|
|
padding: 14px 14px 32px;
|
|
}
|
|
|
|
.pixel-home-hero__media {
|
|
min-height: 300px;
|
|
}
|
|
|
|
.pixel-home-hero__nav {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.pixel-home-hero__nav--left {
|
|
position: absolute;
|
|
left: 14px;
|
|
}
|
|
|
|
.pixel-home-hero__copy {
|
|
right: 18px;
|
|
bottom: 32px;
|
|
justify-items: end;
|
|
width: calc(100% - 36px);
|
|
text-align: right;
|
|
}
|
|
|
|
.pixel-home-intro,
|
|
.pixel-home-features,
|
|
.pixel-home-bottom {
|
|
padding: 52px 16px;
|
|
}
|
|
|
|
.pixel-home-actions,
|
|
.pixel-home-stats,
|
|
.pixel-home-entry-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
.pixel-home-action,
|
|
.pixel-home-entry-button {
|
|
width: 100%;
|
|
}
|
|
|
|
.pixel-home-entry-actions {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.pixel-home-feature-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.home-page__scroll {
|
|
gap: 32px;
|
|
padding: 44px 14px 100px;
|
|
}
|
|
|
|
.home-carousel {
|
|
min-height: 290px;
|
|
}
|
|
|
|
.home-carousel__track {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.home-carousel__card:not(.is-active) {
|
|
display: none;
|
|
}
|
|
|
|
.home-carousel__card.is-active {
|
|
height: 270px;
|
|
transform: none;
|
|
}
|
|
|
|
.home-entry {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.workspace-page-shell--full {
|
|
padding: 0;
|
|
}
|
|
|
|
.workspace-page-shell__content {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.studio-tool-layout {
|
|
display: grid;
|
|
grid-template-columns: 282px minmax(0, 1fr) 320px;
|
|
grid-template-rows: 52px minmax(0, 1fr) 34px;
|
|
gap: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.studio-tool-layout--no-left {
|
|
grid-template-columns: minmax(0, 1fr) 320px;
|
|
}
|
|
|
|
.studio-tool-layout--no-right {
|
|
grid-template-columns: 282px minmax(0, 1fr);
|
|
}
|
|
|
|
.studio-tool-layout--no-left.studio-tool-layout--no-right {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.studio-tool-layout--no-top {
|
|
grid-template-rows: minmax(0, 1fr) 34px;
|
|
grid-template-areas:
|
|
"left canvas right"
|
|
"status status status";
|
|
}
|
|
|
|
.studio-tool-layout--no-top.studio-tool-layout--no-left {
|
|
grid-template-areas:
|
|
"canvas right"
|
|
"status status";
|
|
}
|
|
|
|
.studio-tool-layout--no-top.studio-tool-layout--no-right {
|
|
grid-template-areas:
|
|
"left canvas"
|
|
"status status";
|
|
}
|
|
|
|
.studio-tool-layout--no-top.studio-tool-layout--no-left.studio-tool-layout--no-right {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-rows: minmax(0, 1fr) 34px;
|
|
grid-template-areas:
|
|
"canvas"
|
|
"status";
|
|
}
|
|
|
|
.studio-toolstrip {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-width: 0;
|
|
gap: 14px;
|
|
padding: 0 14px;
|
|
border-bottom: 1px solid var(--border-weak);
|
|
background: rgba(255, 255, 255, 0.74);
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .studio-toolstrip {
|
|
background: rgba(16, 20, 25, 0.92);
|
|
}
|
|
|
|
.studio-toolstrip__left,
|
|
.studio-toolstrip__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
gap: 10px;
|
|
}
|
|
|
|
.studio-toolstrip__breadcrumb {
|
|
color: var(--fg-body);
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.studio-toolstrip__divider {
|
|
width: 1px;
|
|
height: 18px;
|
|
background: var(--border-weak);
|
|
}
|
|
|
|
.studio-tabs,
|
|
.studio-segmented {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
gap: 6px;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.studio-tabs::-webkit-scrollbar,
|
|
.studio-segmented::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.studio-tabs button,
|
|
.studio-segmented__btn,
|
|
.studio-toolstrip__toggle-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
gap: 6px;
|
|
min-height: 30px;
|
|
padding: 0 10px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-xs);
|
|
background: var(--bg-inset);
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-tabs .is-active,
|
|
.studio-segmented__btn.is-active {
|
|
border-color: rgba(var(--accent-rgb), 0.38);
|
|
background: rgba(var(--accent-rgb), 0.13);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.studio-panel {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
border-right: 1px solid var(--border-weak);
|
|
background: var(--bg-panel);
|
|
}
|
|
|
|
.studio-panel--right {
|
|
border-right: 0;
|
|
border-left: 1px solid var(--border-weak);
|
|
}
|
|
|
|
.studio-panel__section {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 14px;
|
|
border-bottom: 1px solid var(--border-weak);
|
|
}
|
|
|
|
.studio-panel__section-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-width: 0;
|
|
gap: 10px;
|
|
}
|
|
|
|
.studio-panel__section-title {
|
|
overflow: hidden;
|
|
color: var(--fg-body);
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.studio-panel__section-chip,
|
|
.studio-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 22px;
|
|
padding: 0 8px;
|
|
border-radius: 999px;
|
|
background: var(--bg-inset);
|
|
color: var(--fg-muted);
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.studio-panel__section-chip--ready,
|
|
.studio-status-bar__badge--success {
|
|
background: rgba(34, 197, 94, 0.16);
|
|
color: #63e6a4;
|
|
}
|
|
|
|
.studio-panel__section-chip--waiting,
|
|
.studio-status-bar__badge--idle {
|
|
background: rgba(245, 158, 11, 0.14);
|
|
color: #f6c453;
|
|
}
|
|
|
|
.studio-panel__section-body {
|
|
display: grid;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.studio-canvas {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: var(--page-bg);
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .studio-canvas {
|
|
background: var(--page-bg);
|
|
}
|
|
|
|
.studio-status-bar {
|
|
grid-column: 1 / -1;
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
gap: 10px;
|
|
padding: 0 14px;
|
|
border-top: 1px solid var(--border-weak);
|
|
background: rgba(255, 255, 255, 0.74);
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .studio-status-bar {
|
|
background: rgba(12, 15, 18, 0.95);
|
|
}
|
|
|
|
.studio-status-bar__badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 20px;
|
|
padding: 0 8px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.studio-status-bar__badge--running {
|
|
background: rgba(69, 211, 255, 0.14);
|
|
color: var(--accent-cyan);
|
|
}
|
|
|
|
.studio-status-bar__badge--danger {
|
|
background: rgba(239, 68, 68, 0.16);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
.studio-status-bar__text {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.studio-status-bar__meta {
|
|
margin-left: auto;
|
|
color: var(--fg-dim);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.studio-kicker {
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.studio-generate-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
min-height: 40px;
|
|
padding: 0 14px;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--accent);
|
|
color: #061014;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-toggle-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 10px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-inset);
|
|
}
|
|
|
|
.studio-toggle-row__copy {
|
|
display: grid;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.studio-toggle-row__title {
|
|
color: var(--fg-body);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.studio-toggle-row__desc {
|
|
color: var(--fg-soft);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.studio-toggle {
|
|
position: relative;
|
|
flex: 0 0 38px;
|
|
width: 38px;
|
|
height: 22px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.14);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-toggle__thumb {
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 999px;
|
|
background: var(--fg-body);
|
|
transition: transform 160ms ease;
|
|
}
|
|
|
|
.studio-toggle.is-on {
|
|
background: rgba(var(--accent-rgb), 0.34);
|
|
}
|
|
|
|
.studio-toggle.is-on .studio-toggle__thumb {
|
|
transform: translateX(16px);
|
|
}
|
|
|
|
.ai-workbench-page {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.ai-workbench-content-scroll {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 22px;
|
|
width: min(100%, 1080px);
|
|
min-width: 0;
|
|
min-height: 100%;
|
|
margin: 0 auto;
|
|
padding: 18px 24px 34px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.ai-workbench-landing {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ai-workbench-brand-row {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 30px;
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.ai-workbench-brand-row__mark {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 78px;
|
|
height: 26px;
|
|
padding: 0 14px;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
color: #08080b;
|
|
font-size: 15px;
|
|
font-weight: 950;
|
|
box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.4);
|
|
}
|
|
|
|
.ai-workbench-hero {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 8px;
|
|
max-width: 760px;
|
|
text-align: center;
|
|
}
|
|
|
|
.ai-workbench-hero__title {
|
|
margin: 0;
|
|
color: var(--fg-body);
|
|
font-size: clamp(30px, 3vw, 42px);
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.ai-workbench-hero__copy {
|
|
margin: 0;
|
|
color: var(--fg-muted);
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.ai-workbench-composer-section {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 10px;
|
|
width: min(100%, 690px);
|
|
min-width: 0;
|
|
}
|
|
|
|
.ai-workbench-composer-shell {
|
|
width: 100%;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.45);
|
|
border-radius: 18px;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
box-shadow: none;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .ai-workbench-composer-shell {
|
|
background: rgba(8, 8, 10, 0.84);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ai-workbench-composer-shell__inner {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 14px 14px 12px;
|
|
}
|
|
|
|
.ai-workbench-composer-shell__textarea,
|
|
.ai-workbench-composer-shell__input textarea {
|
|
width: 100%;
|
|
min-height: 82px;
|
|
max-height: 150px;
|
|
padding: 2px 4px;
|
|
border: 0;
|
|
outline: none;
|
|
resize: vertical;
|
|
background: transparent;
|
|
color: var(--fg-body);
|
|
font-size: 14px;
|
|
line-height: 1.65;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ai-workbench-composer-shell__footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ai-workbench-composer-toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ai-workbench-tool-button,
|
|
.ai-workbench-mode-switch__button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
min-height: 32px;
|
|
padding: 0 11px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 999px;
|
|
background: var(--bg-inset);
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ai-workbench-tool-button {
|
|
width: 32px;
|
|
padding: 0;
|
|
}
|
|
|
|
.ai-workbench-mode-switch__button:hover,
|
|
.ai-workbench-tool-button:hover,
|
|
.ai-workbench-prompt-row button:hover {
|
|
border-color: rgba(var(--accent-rgb), 0.36);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.ai-workbench-composer-shell__send,
|
|
.agent-input button {
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 38px;
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.34);
|
|
background: rgba(var(--accent-rgb), 0.72);
|
|
color: #08080b;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ai-workbench-composer-shell__send:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.ai-workbench-prompt-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
.ai-workbench-prompt-row button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
min-height: 30px;
|
|
padding: 0 12px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ai-workbench-prompt-row button.is-active {
|
|
border-color: rgba(var(--accent-rgb), 0.4);
|
|
background: rgba(var(--accent-rgb), 0.22);
|
|
color: var(--fg-body);
|
|
box-shadow: 0 0 26px rgba(var(--accent-rgb), 0.28);
|
|
}
|
|
|
|
.ai-workbench-status {
|
|
min-height: 20px;
|
|
margin: 0;
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.ai-workbench-dashboard {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
|
|
gap: 28px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ai-workbench-panel {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ai-workbench-section-head,
|
|
.community-section__head {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
min-width: 0;
|
|
gap: 14px;
|
|
}
|
|
|
|
.ai-workbench-section-head h2,
|
|
.community-section__head h2 {
|
|
margin: 0;
|
|
color: var(--fg-body);
|
|
font-size: 20px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.ai-workbench-section-head h2::before,
|
|
.community-section__head h2::before {
|
|
content: "✦";
|
|
margin-right: 8px;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.ai-workbench-section-head button,
|
|
.community-section--browse-more button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-height: 30px;
|
|
padding: 0 10px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.07);
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ai-workbench-project-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.ai-workbench-project-card {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 6px;
|
|
padding: 8px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-md);
|
|
background: rgba(255, 255, 255, 0.055);
|
|
color: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 160ms ease,
|
|
border-color 160ms ease,
|
|
background 160ms ease;
|
|
}
|
|
|
|
.ai-workbench-project-card:hover,
|
|
.ai-workbench-highlight-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(var(--accent-rgb), 0.34);
|
|
}
|
|
|
|
.ai-workbench-project-card img,
|
|
.ai-workbench-project-card__empty {
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
object-fit: cover;
|
|
}
|
|
|
|
.ai-workbench-project-card__empty {
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--fg-body);
|
|
font-size: 22px;
|
|
}
|
|
|
|
.ai-workbench-project-card strong,
|
|
.ai-workbench-highlight-card strong {
|
|
overflow: hidden;
|
|
color: var(--fg-body);
|
|
font-size: 14px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ai-workbench-project-card span,
|
|
.ai-workbench-highlight-card span {
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ai-workbench-highlight-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.ai-workbench-highlight-card {
|
|
position: relative;
|
|
display: grid;
|
|
grid-column: span 2;
|
|
min-width: 0;
|
|
min-height: 128px;
|
|
overflow: hidden;
|
|
align-content: end;
|
|
gap: 4px;
|
|
padding: 14px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-panel);
|
|
color: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ai-workbench-highlight-card.is-large {
|
|
grid-column: span 3;
|
|
min-height: 184px;
|
|
}
|
|
|
|
.ai-workbench-highlight-card img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.ai-workbench-highlight-card::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.76);
|
|
}
|
|
|
|
.ai-workbench-highlight-card span,
|
|
.ai-workbench-highlight-card strong {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.ai-workbench-thread-shell {
|
|
min-width: 0;
|
|
max-width: 760px;
|
|
padding: 2px 0 0;
|
|
}
|
|
|
|
.ai-chat-message-list {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.ai-chat-message-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ai-chat-message-row.is-user {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.ai-chat-avatar {
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 30px;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 999px;
|
|
background: var(--bg-elevated);
|
|
color: var(--fg-body);
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.ai-chat-avatar--user {
|
|
background: var(--accent);
|
|
color: #08080b;
|
|
}
|
|
|
|
.ai-chat-message-stack {
|
|
display: grid;
|
|
max-width: min(680px, 78%);
|
|
min-width: 0;
|
|
gap: 6px;
|
|
}
|
|
|
|
.ai-chat-message-row.is-user .ai-chat-message-stack {
|
|
justify-items: end;
|
|
}
|
|
|
|
.ai-chat-message-author {
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ai-chat-message-bubble {
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-md);
|
|
background: rgba(255, 255, 255, 0.055);
|
|
color: var(--fg-body);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.ai-chat-message-bubble--user {
|
|
border-color: rgba(var(--accent-rgb), 0.26);
|
|
background: rgba(var(--accent-rgb), 0.12);
|
|
}
|
|
|
|
.community-page {
|
|
overflow: auto;
|
|
padding: 16px 24px 34px;
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.community-page .workspace-page-shell__content {
|
|
display: grid;
|
|
gap: 22px;
|
|
max-width: 1220px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.community-hero {
|
|
min-width: 0;
|
|
}
|
|
|
|
.community-hero {
|
|
min-width: 0;
|
|
}
|
|
|
|
.community-carousel {
|
|
position: relative;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
border-radius: var(--radius-md);
|
|
min-height: 310px;
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.community-carousel__track {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
padding: 0 0;
|
|
transition: transform 520ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.community-carousel__track.is-resetting {
|
|
transition: none;
|
|
}
|
|
|
|
.community-carousel__slide {
|
|
position: relative;
|
|
flex: 0 0 calc(100% / 3);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
min-height: 286px;
|
|
padding: 28px 32px;
|
|
border: 0 solid transparent;
|
|
border-radius: 22px;
|
|
background:
|
|
linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
|
|
var(--carousel-image);
|
|
background-position: center;
|
|
background-size: cover;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
opacity: 0.62;
|
|
transform: scale(0.92);
|
|
transition:
|
|
opacity 520ms cubic-bezier(0.32, 0.72, 0, 1),
|
|
transform 520ms cubic-bezier(0.32, 0.72, 0, 1),
|
|
box-shadow 520ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
}
|
|
|
|
.community-carousel__slide.is-center {
|
|
z-index: 2;
|
|
opacity: 1;
|
|
transform: scale(1.04);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.community-carousel__slide::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
.community-carousel__slide::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -18px;
|
|
background-image: var(--carousel-image);
|
|
background-position: center;
|
|
background-size: cover;
|
|
filter: blur(18px) saturate(1.08);
|
|
transform: scale(1.04);
|
|
}
|
|
|
|
.community-carousel__full-image {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.community-carousel__slide span,
|
|
.community-carousel__slide strong {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.community-carousel__slide span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
width: fit-content;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.14);
|
|
backdrop-filter: none;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.community-carousel__slide strong {
|
|
margin-top: 10px;
|
|
color: white;
|
|
font-size: 32px;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.community-carousel__arrow {
|
|
position: absolute;
|
|
top: 50%;
|
|
z-index: 2;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 1px solid rgba(255, 255, 255, 0.22);
|
|
border-radius: 999px;
|
|
background: rgba(0, 0, 0, 0.32);
|
|
color: white;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
backdrop-filter: none;
|
|
transform: translateY(-50%);
|
|
opacity: 0;
|
|
transition: opacity 220ms ease, background 160ms ease;
|
|
}
|
|
|
|
.community-carousel:hover .community-carousel__arrow {
|
|
opacity: 1;
|
|
}
|
|
|
|
.community-carousel__arrow:hover {
|
|
background: rgba(0, 0, 0, 0.52);
|
|
}
|
|
|
|
.community-carousel__arrow--prev {
|
|
left: 14px;
|
|
}
|
|
|
|
.community-carousel__arrow--next {
|
|
right: 14px;
|
|
}
|
|
|
|
.community-carousel__dots {
|
|
position: absolute;
|
|
bottom: 14px;
|
|
left: 50%;
|
|
z-index: 2;
|
|
display: flex;
|
|
gap: 8px;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.community-carousel__dots button {
|
|
width: 8px;
|
|
height: 8px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.35);
|
|
cursor: pointer;
|
|
transition: width 220ms ease, background 160ms ease;
|
|
}
|
|
|
|
.community-carousel__dots button.is-active {
|
|
width: 24px;
|
|
background: white;
|
|
}
|
|
|
|
.community-section__head p,
|
|
.canvas-meta p,
|
|
.canvas-meta__note {
|
|
margin: 0;
|
|
color: var(--fg-muted);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.community-section {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
/* Community filter bar */
|
|
.community-filter-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 10px 14px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-panel);
|
|
}
|
|
|
|
.community-filter-categories {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.community-filter-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 32px;
|
|
padding: 0 14px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 999px;
|
|
background: transparent;
|
|
color: var(--fg-muted);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition:
|
|
border-color 160ms ease,
|
|
background 160ms ease,
|
|
color 160ms ease;
|
|
}
|
|
|
|
.community-filter-chip:hover {
|
|
border-color: rgba(var(--accent-rgb), 0.36);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.community-filter-chip.is-active {
|
|
border-color: rgba(var(--accent-rgb), 0.45);
|
|
background: rgba(var(--accent-rgb), 0.14);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.community-filter-search {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 220px;
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 999px;
|
|
background: var(--bg-inset);
|
|
color: var(--fg-muted);
|
|
transition: border-color 160ms ease;
|
|
}
|
|
|
|
.community-filter-search:focus-within {
|
|
border-color: rgba(var(--accent-rgb), 0.45);
|
|
}
|
|
|
|
.community-filter-search .anticon {
|
|
font-size: 14px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.community-filter-search input {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
height: 100%;
|
|
border: 0;
|
|
outline: none;
|
|
background: transparent;
|
|
color: var(--fg-body);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.community-filter-search input::placeholder {
|
|
color: var(--fg-dim);
|
|
}
|
|
|
|
.project-row,
|
|
.community-case-grid,
|
|
.asset-grid--desktop,
|
|
.more-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.community-case-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.community-case-grid--ratio-reference {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.more-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.project-card--button,
|
|
.community-case-card,
|
|
.asset-card--desktop,
|
|
.more-tool {
|
|
min-width: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.project-card img,
|
|
.project-card__empty {
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-elevated);
|
|
object-fit: cover;
|
|
}
|
|
|
|
.project-card__empty {
|
|
display: grid;
|
|
place-items: center;
|
|
align-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.project-card__empty .anticon {
|
|
font-size: 30px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.project-card__meta {
|
|
display: grid;
|
|
gap: 3px;
|
|
padding: 9px 2px 0;
|
|
}
|
|
|
|
.project-card__meta strong,
|
|
.community-case-card strong,
|
|
.more-tool strong {
|
|
overflow: hidden;
|
|
color: var(--fg-body);
|
|
font-size: 14px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.project-card__meta span,
|
|
.community-case-card span,
|
|
.more-tool span {
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.community-page .project-card {
|
|
display: grid;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.community-page .project-card > img,
|
|
.community-page .project-card__caption {
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
}
|
|
|
|
.community-page .project-card__caption {
|
|
align-self: end;
|
|
z-index: 2;
|
|
padding: 10px 12px;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
opacity: 0;
|
|
transform: translateY(6px);
|
|
transition: opacity 180ms ease, transform 180ms ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.community-page .project-card:hover .project-card__caption {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.community-page .project-card__meta {
|
|
grid-area: 2 / 1 / 3 / 2;
|
|
}
|
|
|
|
.ecommerce-community-content .project-card {
|
|
display: grid;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ecommerce-community-content .project-card > img,
|
|
.ecommerce-community-content .project-card__caption {
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
}
|
|
|
|
.ecommerce-community-content .project-card__caption {
|
|
align-self: end;
|
|
z-index: 2;
|
|
padding: 10px 12px;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
opacity: 0;
|
|
transform: translateY(6px);
|
|
transition: opacity 180ms ease, transform 180ms ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ecommerce-community-content .project-card:hover .project-card__caption {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.ecommerce-community-content .project-card__meta {
|
|
grid-area: 2 / 1 / 3 / 2;
|
|
}
|
|
|
|
.community-case-card {
|
|
display: grid;
|
|
position: relative;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-panel);
|
|
}
|
|
|
|
.community-case-card--ratio-reference {
|
|
aspect-ratio: 3 / 4;
|
|
}
|
|
|
|
.community-case-card--ratio-reference > img {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transform: scale(1.08);
|
|
transform-origin: center;
|
|
}
|
|
|
|
.ecommerce-template-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.ecommerce-template-card {
|
|
aspect-ratio: 4 / 5;
|
|
}
|
|
|
|
.ecommerce-template-card > img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.community-case-card > img,
|
|
.community-case-card__caption {
|
|
grid-area: 1 / 1 / 2 / 2;
|
|
}
|
|
|
|
.community-case-card__caption {
|
|
align-self: end;
|
|
z-index: 2;
|
|
padding: 10px 18px;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
opacity: 0;
|
|
transform: translateY(6px);
|
|
transition: opacity 180ms ease, transform 180ms ease;
|
|
pointer-events: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.community-case-card:hover .community-case-card__caption {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.community-case-card__body {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
display: grid;
|
|
gap: 7px;
|
|
padding: 18px;
|
|
}
|
|
|
|
.community-case-card button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
width: fit-content;
|
|
min-height: 32px;
|
|
padding: 0 11px;
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.14);
|
|
color: var(--fg-body);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.community-section--browse-more {
|
|
justify-items: center;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.canvas-page,
|
|
.assets-page,
|
|
.digital-human-page,
|
|
.character-mix-page,
|
|
.more-page,
|
|
.agent-page {
|
|
height: 100%;
|
|
}
|
|
|
|
.canvas-meta {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.canvas-meta strong {
|
|
color: var(--fg-body);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.canvas-detail-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.canvas-detail-list div {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-xs);
|
|
background: var(--bg-inset);
|
|
}
|
|
|
|
.canvas-detail-list span,
|
|
.canvas-node-list__item span {
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.canvas-detail-list strong,
|
|
.canvas-node-list__item strong {
|
|
overflow: hidden;
|
|
color: var(--fg-body);
|
|
font-size: 12px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.canvas-node-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.canvas-node-list__item {
|
|
display: grid;
|
|
gap: 4px;
|
|
padding: 9px 10px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-xs);
|
|
background: var(--bg-inset);
|
|
}
|
|
|
|
.workflow-json-preview {
|
|
max-height: 420px;
|
|
margin: 0;
|
|
overflow: auto;
|
|
padding: 12px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
color: var(--fg-muted);
|
|
font-size: 11px;
|
|
line-height: 1.6;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.react-flow__node {
|
|
border: 1px solid rgba(var(--accent-rgb), 0.2);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--page-bg);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.react-flow,
|
|
.react-flow__renderer,
|
|
.react-flow__pane,
|
|
.react-flow__viewport {
|
|
background: var(--page-bg);
|
|
--xy-edge-label-background-color: var(--page-bg);
|
|
--xy-edge-label-background-color-default: var(--page-bg);
|
|
}
|
|
|
|
.studio-canvas .react-flow,
|
|
.studio-canvas .react-flow__renderer,
|
|
.studio-canvas .react-flow__pane,
|
|
.studio-canvas .react-flow__viewport {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.react-flow__node-default,
|
|
.react-flow__node-input,
|
|
.react-flow__node-output {
|
|
background: var(--page-bg);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.react-flow__edge-textbg {
|
|
fill: #fffdf5 !important;
|
|
stroke: #111 !important;
|
|
stroke-width: 2px;
|
|
paint-order: stroke fill;
|
|
}
|
|
|
|
.react-flow__edge-text {
|
|
fill: #11251a;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.studio-canvas__background {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.studio-canvas-hidden-input {
|
|
display: none;
|
|
}
|
|
|
|
.studio-canvas-node-links {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 11;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: visible;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.studio-canvas-node-links path {
|
|
fill: none;
|
|
stroke: rgba(90, 177, 255, 0.88);
|
|
stroke-width: 3;
|
|
stroke-linecap: round;
|
|
filter: drop-shadow(0 0 5px rgba(90, 177, 255, 0.55));
|
|
}
|
|
|
|
.studio-canvas-node-links circle {
|
|
fill: #1e1e1e;
|
|
stroke: rgba(255, 255, 255, 0.66);
|
|
stroke-width: 2;
|
|
}
|
|
|
|
.studio-canvas-node-link-preview path {
|
|
stroke: #38d776;
|
|
stroke-dasharray: 8 8;
|
|
filter: drop-shadow(0 0 7px rgba(56, 215, 118, 0.52));
|
|
}
|
|
|
|
.studio-canvas-node-link-preview circle {
|
|
fill: #38d776;
|
|
stroke: #111;
|
|
}
|
|
|
|
.studio-canvas-text-node {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 40px;
|
|
z-index: 12;
|
|
width: min(92vw, 960px);
|
|
transform: translate(calc(-50% + var(--text-node-x, 0px)), var(--text-node-y, 0px));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.studio-canvas-text-node__scaled {
|
|
position: relative;
|
|
width: 960px;
|
|
height: 665px;
|
|
transform: scale(0.2);
|
|
transform-origin: bottom center;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.studio-canvas-text-node__title {
|
|
position: absolute;
|
|
left: 31%;
|
|
top: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: 22px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.studio-canvas-text-node__card {
|
|
position: absolute;
|
|
left: 29%;
|
|
top: 34px;
|
|
width: 406px;
|
|
height: 404px;
|
|
border: 2px solid rgba(255, 255, 255, 0.56);
|
|
border-radius: 14px;
|
|
background: rgba(36, 36, 36, 0.98);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
pointer-events: auto;
|
|
cursor: grab;
|
|
user-select: none;
|
|
}
|
|
|
|
.studio-canvas-text-node.is-dragging .studio-canvas-text-node__card {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.studio-canvas-text-node.is-dragging .studio-canvas-text-composer {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.studio-canvas-text-node__glyph {
|
|
display: grid;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding-top: 58px;
|
|
}
|
|
|
|
.studio-canvas-text-node__glyph span {
|
|
display: block;
|
|
width: 64px;
|
|
height: 7px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
.studio-canvas-text-node__glyph span:nth-child(4) {
|
|
width: 38px;
|
|
}
|
|
|
|
.studio-canvas-text-node__suggestions {
|
|
display: grid;
|
|
gap: 18px;
|
|
margin-top: 42px;
|
|
padding: 0 30px;
|
|
}
|
|
|
|
.studio-canvas-text-node__suggestions > span {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 17px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.studio-canvas-text-node__suggestions button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: max-content;
|
|
border: 0;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.94);
|
|
font-size: 17px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-text-node__inline-input,
|
|
.studio-canvas-text-node__content {
|
|
position: absolute;
|
|
inset: 26px 28px 26px;
|
|
width: auto;
|
|
min-width: 0;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.94);
|
|
font: inherit;
|
|
font-size: 24px;
|
|
font-weight: 900;
|
|
line-height: 1.45;
|
|
text-align: left;
|
|
}
|
|
|
|
.studio-canvas-text-node__inline-input {
|
|
resize: none;
|
|
}
|
|
|
|
.studio-canvas-text-node__inline-input::placeholder {
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.studio-canvas-text-node__content {
|
|
display: block;
|
|
overflow: hidden;
|
|
cursor: text;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.studio-canvas-text-node__connector {
|
|
position: absolute;
|
|
top: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 176px;
|
|
height: 176px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font: inherit;
|
|
font-size: 19px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.studio-canvas-text-node__connector span,
|
|
.studio-canvas-image-node__connector span,
|
|
.studio-canvas-video-node__connector span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 25px;
|
|
height: 25px;
|
|
border: 2px solid rgba(255, 255, 255, 0.55);
|
|
border-radius: 50%;
|
|
background: rgba(40, 40, 40, 0.96);
|
|
transform: translate(var(--connector-follow-x, 0), var(--connector-follow-y, 0));
|
|
transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
|
|
}
|
|
|
|
.studio-canvas-node-connector--left {
|
|
left: -106px;
|
|
}
|
|
|
|
.studio-canvas-node-connector--right {
|
|
right: -106px;
|
|
}
|
|
|
|
.studio-canvas-node-connector--center {
|
|
top: 50%;
|
|
}
|
|
|
|
.studio-canvas-text-node__connector.is-linking,
|
|
.studio-canvas-image-node__connector.is-linking,
|
|
.studio-canvas-video-node__connector.is-linking {
|
|
color: #071017;
|
|
}
|
|
|
|
.studio-canvas-text-node__connector.is-linking span,
|
|
.studio-canvas-image-node__connector.is-linking span,
|
|
.studio-canvas-video-node__connector.is-linking span {
|
|
border-color: rgba(90, 177, 255, 0.95);
|
|
background: rgba(90, 177, 255, 0.92);
|
|
color: #071017;
|
|
box-shadow: 0 0 18px rgba(90, 177, 255, 0.72);
|
|
}
|
|
|
|
.studio-canvas-text-composer {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 460px;
|
|
width: 960px;
|
|
height: 214px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 18px;
|
|
background: rgba(37, 37, 37, 0.98);
|
|
color: #fff;
|
|
box-shadow: none;
|
|
pointer-events: auto;
|
|
transition: opacity 0.12s ease;
|
|
}
|
|
|
|
.studio-canvas-text-composer textarea {
|
|
width: 100%;
|
|
height: 132px;
|
|
resize: none;
|
|
padding: 26px 20px 10px;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font: inherit;
|
|
font-size: 20px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.studio-canvas-text-composer textarea::placeholder {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.studio-canvas-text-composer__footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
height: 76px;
|
|
padding: 0 13px 14px 18px;
|
|
}
|
|
|
|
.studio-canvas-text-composer__footer button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 0;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.88);
|
|
font: inherit;
|
|
font-size: 22px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-text-composer__footer span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: rgba(255, 255, 255, 0.56);
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model {
|
|
gap: 9px;
|
|
height: 48px;
|
|
padding: 0 13px 0 10px;
|
|
border-radius: 10px !important;
|
|
background: rgba(255, 255, 255, 0.09) !important;
|
|
font-size: 18px !important;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model-wrap {
|
|
position: relative;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model-mark,
|
|
.studio-canvas-text-composer__model-menu-icon {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model-menu {
|
|
position: absolute;
|
|
left: -8px;
|
|
bottom: 58px;
|
|
z-index: 30;
|
|
width: 552px;
|
|
padding: 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 20px;
|
|
background: rgba(36, 36, 36, 0.98);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model-menu button {
|
|
display: grid;
|
|
grid-template-columns: 42px 1fr auto;
|
|
align-items: center;
|
|
gap: 14px;
|
|
width: 100%;
|
|
min-height: 80px;
|
|
padding: 10px 14px;
|
|
border-radius: 12px;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
text-align: left;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model-menu button.is-selected,
|
|
.studio-canvas-text-composer__model-menu button:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.studio-canvas-text-composer__model-menu-copy {
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model-menu-copy strong {
|
|
font-size: 20px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model-menu-copy small {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model-menu em {
|
|
padding: 3px 8px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.09);
|
|
color: rgba(255, 255, 255, 0.55);
|
|
font-style: normal;
|
|
font-size: 15px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-text-composer__translate:disabled {
|
|
cursor: default;
|
|
opacity: 0.35;
|
|
}
|
|
|
|
.studio-canvas-text-composer__cost {
|
|
min-width: 54px;
|
|
}
|
|
|
|
.studio-canvas-text-composer__send {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.74) !important;
|
|
color: #171717 !important;
|
|
}
|
|
|
|
.studio-canvas-image-node {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 40px;
|
|
z-index: 13;
|
|
width: min(92vw, 960px);
|
|
transform: translate(calc(-50% + var(--image-node-x, 0px)), var(--image-node-y, 0px));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.studio-canvas-image-node__scaled {
|
|
position: relative;
|
|
width: 960px;
|
|
height: 760px;
|
|
transform: scale(0.1);
|
|
transform-origin: bottom center;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.studio-canvas-image-node__title {
|
|
position: absolute;
|
|
left: 245px;
|
|
top: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: rgba(255, 255, 255, 0.58);
|
|
font-size: 22px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-image-node__upload {
|
|
position: absolute;
|
|
top: -62px;
|
|
left: 50%;
|
|
z-index: 2;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 44px;
|
|
padding: 0 18px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 12px;
|
|
transform: translateX(-50%);
|
|
background: rgba(38, 38, 38, 0.96);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font: inherit;
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.studio-canvas-image-node__card {
|
|
position: absolute;
|
|
left: 235px;
|
|
top: 42px;
|
|
width: 490px;
|
|
height: 276px;
|
|
overflow: hidden;
|
|
border: 2px solid rgba(255, 255, 255, 0.56);
|
|
border-radius: 14px;
|
|
background: rgba(36, 36, 36, 0.98);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
pointer-events: auto;
|
|
cursor: grab;
|
|
user-select: none;
|
|
}
|
|
|
|
.studio-canvas-image-node__placeholder {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
grid-template-rows: 1fr auto;
|
|
align-items: center;
|
|
justify-items: center;
|
|
padding: 34px 26px 42px;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
}
|
|
|
|
.studio-canvas-image-node__placeholder-icon {
|
|
color: rgba(255, 255, 255, 0.22);
|
|
font-size: 58px;
|
|
}
|
|
|
|
.studio-canvas-image-node__placeholder-actions {
|
|
justify-self: stretch;
|
|
display: grid;
|
|
gap: 12px;
|
|
justify-items: start;
|
|
}
|
|
|
|
.studio-canvas-image-node__placeholder-actions span {
|
|
width: 100%;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.studio-canvas-image-node__placeholder-actions button {
|
|
justify-self: start;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.88);
|
|
font: inherit;
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-image-node__placeholder-actions button:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: #fff;
|
|
}
|
|
|
|
.studio-canvas-image-node.is-dragging .studio-canvas-image-node__card {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.studio-canvas-image-node.is-dragging .studio-canvas-image-composer {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.studio-canvas-image-node__card img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.studio-canvas-image-node__connector {
|
|
position: absolute;
|
|
top: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 176px;
|
|
height: 176px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font: inherit;
|
|
font-size: 19px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.studio-canvas-image-composer {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 330px;
|
|
width: 960px;
|
|
height: 318px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 18px;
|
|
background: rgba(35, 35, 35, 0.98);
|
|
color: #fff;
|
|
box-shadow: none;
|
|
pointer-events: auto;
|
|
transition: opacity 0.12s ease;
|
|
}
|
|
|
|
.studio-canvas-image-composer__tools {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 20px 18px 0;
|
|
}
|
|
|
|
.studio-canvas-image-composer__tools button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-width: 72px;
|
|
height: 72px;
|
|
padding: 0 18px;
|
|
border: 1px solid rgba(255, 255, 255, 0.13);
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
color: rgba(255, 255, 255, 0.55);
|
|
font: inherit;
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-image-composer__tools .anticon {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.studio-canvas-image-composer__expand {
|
|
min-width: 44px !important;
|
|
width: 44px;
|
|
height: 44px !important;
|
|
margin-left: auto;
|
|
padding: 0 !important;
|
|
border: 0 !important;
|
|
background: transparent !important;
|
|
color: rgba(255, 255, 255, 0.46) !important;
|
|
font-size: 26px !important;
|
|
}
|
|
|
|
.studio-canvas-image-composer textarea {
|
|
width: 100%;
|
|
height: 142px;
|
|
resize: none;
|
|
padding: 26px 18px 10px;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font: inherit;
|
|
font-size: 20px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.studio-canvas-image-composer textarea::placeholder {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.studio-canvas-image-composer__footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
height: 70px;
|
|
padding: 0 13px 12px 18px;
|
|
}
|
|
|
|
.studio-canvas-video-node {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 40px;
|
|
z-index: 14;
|
|
width: min(94vw, 980px);
|
|
transform: translate(calc(-50% + var(--video-node-x, 0px)), var(--video-node-y, 0px));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.studio-canvas-video-node__scaled {
|
|
position: relative;
|
|
width: 980px;
|
|
height: 790px;
|
|
transform: scale(0.24);
|
|
transform-origin: bottom center;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.studio-canvas-video-node__title {
|
|
position: absolute;
|
|
left: 160px;
|
|
top: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: rgba(255, 255, 255, 0.56);
|
|
font-size: 22px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-video-node__preview {
|
|
position: absolute;
|
|
left: 160px;
|
|
top: 46px;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 640px;
|
|
height: 360px;
|
|
border: 2px solid rgba(255, 255, 255, 0.48);
|
|
border-radius: 12px;
|
|
background: #242424;
|
|
color: rgba(255, 255, 255, 0.28);
|
|
cursor: grab;
|
|
}
|
|
|
|
.studio-canvas-video-node.is-dragging .studio-canvas-video-node__preview {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.studio-canvas-video-node__play {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.25);
|
|
font-size: 58px;
|
|
}
|
|
|
|
.studio-canvas-video-node__connector {
|
|
position: absolute;
|
|
top: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 176px;
|
|
height: 176px;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font: inherit;
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.studio-canvas-video-node__connector.studio-canvas-node-connector--left {
|
|
left: -108px;
|
|
}
|
|
|
|
.studio-canvas-video-node__connector.studio-canvas-node-connector--right {
|
|
right: -108px;
|
|
}
|
|
|
|
.studio-canvas-video-composer {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 420px;
|
|
width: 960px;
|
|
height: 360px;
|
|
padding: 16px;
|
|
border-radius: 16px 16px 0 0;
|
|
background: #252525;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.studio-canvas-video-composer__tabs,
|
|
.studio-canvas-video-composer__tools,
|
|
.studio-canvas-video-composer__footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.studio-canvas-video-composer__tabs button,
|
|
.studio-canvas-video-composer__tools button {
|
|
min-height: 42px;
|
|
padding: 0 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 12px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.38);
|
|
font: inherit;
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-video-composer__tabs button.is-active,
|
|
.studio-canvas-video-composer__tools button.is-active {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.95);
|
|
}
|
|
|
|
.studio-canvas-video-composer__tabs button:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.studio-canvas-video-composer__tools {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.studio-canvas-video-composer__tools button {
|
|
min-width: 72px;
|
|
min-height: 72px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.studio-canvas-video-composer textarea {
|
|
width: 100%;
|
|
height: 128px;
|
|
margin-top: 18px;
|
|
resize: none;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font: inherit;
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.studio-canvas-video-composer textarea::placeholder {
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.studio-canvas-video-composer__footer {
|
|
position: absolute;
|
|
right: 14px;
|
|
bottom: 14px;
|
|
left: 18px;
|
|
color: rgba(255, 255, 255, 0.86);
|
|
font-size: 19px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.studio-canvas-video-composer__footer button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
margin-left: auto;
|
|
border: 0;
|
|
border-radius: 12px;
|
|
background: #f7f7f7;
|
|
color: #121212;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.canvas-select-chip {
|
|
position: relative;
|
|
min-width: 0;
|
|
}
|
|
|
|
.studio-canvas-composer-chip {
|
|
flex: 1 1 150px;
|
|
min-width: 108px;
|
|
}
|
|
|
|
.studio-canvas-composer-chip--compact {
|
|
flex: 0 1 92px;
|
|
min-width: 72px;
|
|
}
|
|
|
|
.studio-canvas-composer-chip--mini {
|
|
flex: 0 1 66px;
|
|
min-width: 56px;
|
|
}
|
|
|
|
.canvas-select-chip__trigger {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 42px;
|
|
margin: 0;
|
|
padding: 0 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.88);
|
|
font: inherit;
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.canvas-select-chip__value {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.canvas-select-chip__arrow {
|
|
flex: 0 0 auto;
|
|
font-size: 11px;
|
|
transition: transform 0.16s ease;
|
|
}
|
|
|
|
.canvas-select-chip.is-open .canvas-select-chip__arrow {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.canvas-select-chip__dropdown {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: calc(100% + 9px);
|
|
z-index: 120;
|
|
display: grid;
|
|
width: max(100%, 190px);
|
|
max-height: 250px;
|
|
overflow-y: auto;
|
|
gap: 4px;
|
|
padding: 7px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 12px;
|
|
background: rgba(30, 30, 30, 0.98);
|
|
box-shadow: none;
|
|
animation: canvas-select-dropdown-in 160ms cubic-bezier(0.2, 0.82, 0.2, 1);
|
|
}
|
|
|
|
.canvas-select-chip--model .canvas-select-chip__dropdown {
|
|
width: max(100%, 248px);
|
|
}
|
|
|
|
.canvas-select-chip__option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 34px;
|
|
margin: 0;
|
|
padding: 0 10px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font: inherit;
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
animation: canvas-select-option-in 140ms ease forwards;
|
|
}
|
|
|
|
.canvas-select-chip__option:hover,
|
|
.canvas-select-chip__option.is-active {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: #fff;
|
|
}
|
|
|
|
.canvas-select-chip__option-dot {
|
|
flex: 0 0 auto;
|
|
width: 6px;
|
|
height: 6px;
|
|
background: #38d776;
|
|
opacity: 0;
|
|
}
|
|
|
|
.canvas-select-chip__option.is-active .canvas-select-chip__option-dot {
|
|
opacity: 1;
|
|
}
|
|
|
|
@keyframes canvas-select-dropdown-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(6px) scale(0.98);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes canvas-select-option-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(-4px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.studio-canvas-text-node,
|
|
.studio-canvas-image-node {
|
|
width: 960px;
|
|
}
|
|
|
|
.studio-canvas-text-node__scaled {
|
|
width: 960px;
|
|
height: 665px;
|
|
transform: scale(0.4);
|
|
}
|
|
|
|
.studio-canvas-image-node__scaled {
|
|
width: 960px;
|
|
height: 760px;
|
|
transform: scale(0.4);
|
|
}
|
|
|
|
.studio-canvas-video-node {
|
|
width: 980px;
|
|
}
|
|
|
|
.studio-canvas-video-node__scaled {
|
|
transform: scale(0.48);
|
|
}
|
|
|
|
.react-flow__controls button {
|
|
border-color: var(--border-subtle);
|
|
background: rgba(18, 22, 27, 0.92);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.studio-canvas-context-menu {
|
|
position: fixed;
|
|
z-index: 90;
|
|
display: grid;
|
|
gap: 0;
|
|
width: 200px;
|
|
min-height: 360px;
|
|
padding: 18px 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.09);
|
|
border-radius: 18px;
|
|
background: rgba(34, 34, 34, 0.98);
|
|
color: #f5f5f5;
|
|
box-shadow: none;
|
|
transform: scale(1);
|
|
transform-origin: top left;
|
|
}
|
|
|
|
.studio-canvas-context-menu button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
min-height: 44px;
|
|
padding: 0 8px;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: transparent;
|
|
color: inherit;
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-context-menu button:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
.studio-canvas-context-menu button:disabled {
|
|
color: rgba(255, 255, 255, 0.25);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.studio-canvas-context-menu kbd {
|
|
color: rgba(255, 255, 255, 0.35);
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.studio-canvas-context-menu__divider {
|
|
height: 1px;
|
|
margin: 9px 0;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.studio-canvas-node-context-menu {
|
|
position: fixed;
|
|
z-index: 94;
|
|
display: grid;
|
|
width: 330px;
|
|
padding: 18px 20px 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.09);
|
|
border-radius: 18px;
|
|
background: rgba(34, 34, 34, 0.98);
|
|
color: #f5f5f5;
|
|
box-shadow: none;
|
|
transform: scale(0.25);
|
|
transform-origin: top left;
|
|
}
|
|
|
|
.studio-canvas-node-context-menu button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 64px;
|
|
padding: 0 12px;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: transparent;
|
|
color: inherit;
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-node-context-menu button:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
.studio-canvas-node-context-menu button:disabled {
|
|
color: rgba(255, 255, 255, 0.24);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.studio-canvas-node-context-menu kbd {
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-family: inherit;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.studio-canvas-node-context-menu__divider {
|
|
height: 1px;
|
|
margin: 7px 0;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.studio-canvas-node-context-menu__hint {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 17px;
|
|
height: 17px;
|
|
margin-left: 5px;
|
|
border: 1px solid rgba(255, 255, 255, 0.38);
|
|
border-radius: 50%;
|
|
color: rgba(255, 255, 255, 0.52);
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.studio-canvas-node-context-menu .studio-canvas-node-context-menu__primary {
|
|
min-height: 62px;
|
|
margin-top: 5px;
|
|
background: rgba(255, 255, 255, 0.09);
|
|
}
|
|
|
|
.studio-canvas-save-asset {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 120;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.74);
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.studio-canvas-save-asset__modal {
|
|
position: relative;
|
|
width: 960px;
|
|
height: 796px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 16px;
|
|
background: rgba(20, 20, 20, 0.96);
|
|
color: #f4f4f4;
|
|
box-shadow: none;
|
|
overflow: visible;
|
|
transform: scale(0.5);
|
|
}
|
|
|
|
.studio-canvas-save-asset__head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 32px;
|
|
height: 74px;
|
|
padding: 0 24px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.studio-canvas-save-asset__head button {
|
|
border: 0;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
font: inherit;
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-save-asset__head button.is-active {
|
|
color: #f7f7f7;
|
|
}
|
|
|
|
.studio-canvas-save-asset__close {
|
|
margin-left: auto;
|
|
color: rgba(255, 255, 255, 0.68) !important;
|
|
font-size: 28px !important;
|
|
}
|
|
|
|
.studio-canvas-save-asset__body {
|
|
display: grid;
|
|
grid-template-columns: 450px minmax(0, 1fr);
|
|
gap: 24px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.studio-canvas-save-asset__label,
|
|
.studio-canvas-save-asset__form label > span {
|
|
display: block;
|
|
margin-bottom: 14px;
|
|
color: rgba(255, 255, 255, 0.58);
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-save-asset__form b {
|
|
color: #ff7875;
|
|
}
|
|
|
|
.studio-canvas-save-asset__placeholder {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 564px;
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
color: rgba(255, 255, 255, 0.48);
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.studio-canvas-save-asset__placeholder img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.studio-canvas-save-asset__placeholder.has-cover > span {
|
|
display: none;
|
|
}
|
|
|
|
.studio-canvas-save-asset__placeholder button {
|
|
position: absolute;
|
|
left: 12px;
|
|
bottom: 12px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-height: 36px;
|
|
padding: 0 12px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: rgba(0, 0, 0, 0.62);
|
|
color: #fff;
|
|
font: inherit;
|
|
font-size: 15px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-save-asset__file-input {
|
|
display: none;
|
|
}
|
|
|
|
.studio-canvas-save-asset__cover-menu {
|
|
position: absolute;
|
|
left: 326px;
|
|
bottom: -84px;
|
|
z-index: 2;
|
|
display: grid;
|
|
width: 150px;
|
|
padding: 8px 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 10px;
|
|
background: rgba(38, 38, 38, 0.98);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.studio-canvas-save-asset__cover-menu button {
|
|
position: static;
|
|
justify-content: flex-start;
|
|
min-height: 48px;
|
|
width: 100%;
|
|
padding: 0 18px;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 17px;
|
|
}
|
|
|
|
.studio-canvas-save-asset__cover-menu button:hover {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
.studio-canvas-save-asset__cover-library {
|
|
position: absolute;
|
|
left: 12px;
|
|
right: 12px;
|
|
bottom: 58px;
|
|
z-index: 2;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
max-height: 220px;
|
|
overflow: auto;
|
|
padding: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 12px;
|
|
background: rgba(30, 30, 30, 0.98);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.studio-canvas-save-asset__cover-library button {
|
|
position: static;
|
|
display: grid;
|
|
gap: 6px;
|
|
width: 100%;
|
|
min-height: 0;
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: rgba(255, 255, 255, 0.86);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.studio-canvas-save-asset__cover-library button:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.studio-canvas-save-asset__cover-library img {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
border-radius: 6px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.studio-canvas-save-asset__form {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 28px;
|
|
padding-top: 26px;
|
|
}
|
|
|
|
.studio-canvas-save-asset__form label {
|
|
position: relative;
|
|
}
|
|
|
|
.studio-canvas-save-asset__form input,
|
|
.studio-canvas-save-asset__select {
|
|
width: 100%;
|
|
height: 60px;
|
|
border: 1px solid rgba(255, 255, 255, 0.13);
|
|
border-radius: 12px;
|
|
background: rgba(0, 0, 0, 0.16);
|
|
color: #f7f7f7;
|
|
font: inherit;
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-save-asset__form input {
|
|
padding: 0 18px;
|
|
}
|
|
|
|
.studio-canvas-save-asset__select {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 18px;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-save-asset__select.is-open svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.studio-canvas-save-asset__select-menu {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 100%;
|
|
z-index: 3;
|
|
display: grid;
|
|
width: 100%;
|
|
margin-top: 8px;
|
|
padding: 8px 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.13);
|
|
border-radius: 14px;
|
|
background: rgba(30, 30, 30, 0.98);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.studio-canvas-save-asset__select-menu button {
|
|
min-height: 61px;
|
|
padding: 0 14px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: #f3f3f3;
|
|
font: inherit;
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-save-asset__select-menu button:hover,
|
|
.studio-canvas-save-asset__select-menu button.is-selected {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.studio-canvas-save-asset__create {
|
|
position: absolute;
|
|
right: 24px;
|
|
bottom: 24px;
|
|
min-width: 74px;
|
|
height: 48px;
|
|
border: 0;
|
|
border-radius: 12px;
|
|
background: #22c8f5;
|
|
color: #fff;
|
|
font: inherit;
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-save-asset__create:disabled {
|
|
background: rgba(255, 255, 255, 0.14);
|
|
color: rgba(255, 255, 255, 0.34);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.studio-canvas-save-asset__empty {
|
|
position: absolute;
|
|
inset: 74px 0 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255, 255, 255, 0.42);
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.studio-canvas-save-asset__existing {
|
|
padding: 34px 24px;
|
|
}
|
|
|
|
.studio-canvas-save-asset__existing-title {
|
|
margin-bottom: 18px;
|
|
color: rgba(255, 255, 255, 0.58);
|
|
font-size: 20px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-save-asset__existing-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.studio-canvas-save-asset__existing-grid button {
|
|
display: grid;
|
|
gap: 12px;
|
|
min-height: 108px;
|
|
padding: 18px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font: inherit;
|
|
font-size: 21px;
|
|
font-weight: 900;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-save-asset__existing-grid button:hover,
|
|
.studio-canvas-save-asset__existing-grid button.is-selected {
|
|
border-color: rgba(34, 200, 245, 0.65);
|
|
background: rgba(34, 200, 245, 0.14);
|
|
}
|
|
|
|
.studio-canvas-save-asset__existing-grid span {
|
|
color: rgba(255, 255, 255, 0.48);
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu {
|
|
position: fixed;
|
|
z-index: 92;
|
|
display: grid;
|
|
align-content: start;
|
|
width: min(360px, calc(100vw - 28px));
|
|
max-height: min(620px, calc(100vh - 28px));
|
|
overflow: auto;
|
|
padding: 24px 22px;
|
|
border: 1px solid rgba(255, 255, 255, 0.09);
|
|
border-radius: 22px;
|
|
background: rgba(35, 35, 35, 0.98);
|
|
color: #f5f5f5;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu__head {
|
|
display: grid;
|
|
gap: 7px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu__head strong {
|
|
color: #fff;
|
|
font-size: 24px;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu__head small {
|
|
color: rgba(255, 255, 255, 0.58);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu__title {
|
|
margin-bottom: 12px;
|
|
color: rgba(255, 255, 255, 0.58);
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu__title--section {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu button {
|
|
display: grid;
|
|
grid-template-columns: 54px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-height: 74px;
|
|
padding: 8px;
|
|
border: 0;
|
|
border-radius: 12px;
|
|
background: transparent;
|
|
color: inherit;
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu button:hover {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
}
|
|
|
|
.studio-canvas-add-node-menu button:disabled {
|
|
opacity: 0.52;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu__icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: #fff;
|
|
font-size: 25px;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu button > span:not(.studio-canvas-add-node-menu__icon):not(.studio-canvas-add-node-menu__badge) {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.studio-canvas-add-node-menu__badge {
|
|
justify-self: start;
|
|
padding: 2px 6px;
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.62);
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
/* Pixel canvas theme */
|
|
.studio-canvas {
|
|
background: #f5fff4;
|
|
background-position: 0 0;
|
|
background-size: auto;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.react-flow__node-default,
|
|
.react-flow__node-input,
|
|
.react-flow__node-output {
|
|
border: 2px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fffdf5 !important;
|
|
color: #11251a !important;
|
|
box-shadow: 4px 4px 0 #111 !important;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.studio-canvas-node-links path {
|
|
stroke: #52645a;
|
|
stroke-width: 3;
|
|
stroke-dasharray: 10 10;
|
|
filter: none;
|
|
}
|
|
|
|
.studio-canvas-node-link-preview path {
|
|
stroke: #38d776;
|
|
stroke-dasharray: 7 7;
|
|
}
|
|
|
|
.studio-canvas-node-links circle {
|
|
fill: #111;
|
|
stroke: #fffdf5;
|
|
}
|
|
|
|
.studio-canvas-node-link-preview circle {
|
|
fill: #38d776;
|
|
stroke: #111;
|
|
}
|
|
|
|
.studio-canvas-text-node__title,
|
|
.studio-canvas-image-node__title,
|
|
.studio-canvas-video-node__title {
|
|
color: #11251a;
|
|
text-shadow: 2px 2px 0 #fffdf5;
|
|
}
|
|
|
|
.studio-canvas-text-node__card,
|
|
.studio-canvas-image-node__card,
|
|
.studio-canvas-video-node__preview,
|
|
.studio-canvas-text-composer,
|
|
.studio-canvas-image-composer,
|
|
.studio-canvas-video-composer,
|
|
.studio-canvas-text-composer__model-menu,
|
|
.studio-canvas-context-menu,
|
|
.studio-canvas-node-context-menu,
|
|
.studio-canvas-add-node-menu,
|
|
.studio-canvas-save-asset__modal,
|
|
.studio-canvas-save-asset__cover-menu,
|
|
.studio-canvas-save-asset__cover-library,
|
|
.studio-canvas-save-asset__select-menu {
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
background-size: auto;
|
|
color: #11251a;
|
|
box-shadow: 7px 7px 0 #111;
|
|
}
|
|
|
|
.studio-canvas-text-node__card,
|
|
.studio-canvas-image-node__card,
|
|
.studio-canvas-video-node__preview {
|
|
cursor: grab;
|
|
}
|
|
|
|
.studio-canvas-text-node__inline-input,
|
|
.studio-canvas-text-node__content,
|
|
.studio-canvas-text-composer textarea,
|
|
.studio-canvas-image-composer textarea,
|
|
.studio-canvas-video-composer textarea {
|
|
color: #11251a;
|
|
}
|
|
|
|
.studio-canvas-text-node__inline-input::placeholder,
|
|
.studio-canvas-text-composer textarea::placeholder,
|
|
.studio-canvas-image-composer textarea::placeholder,
|
|
.studio-canvas-video-composer textarea::placeholder {
|
|
color: #557466;
|
|
}
|
|
|
|
.studio-canvas-text-node__glyph span {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #d9f8dd;
|
|
}
|
|
|
|
.studio-canvas-text-node__suggestions > span,
|
|
.studio-canvas-image-node__placeholder,
|
|
.studio-canvas-image-node__placeholder-actions span,
|
|
.studio-canvas-video-node__play,
|
|
.studio-canvas-text-composer__footer span,
|
|
.studio-canvas-save-asset__label,
|
|
.studio-canvas-save-asset__form label > span,
|
|
.studio-canvas-save-asset__existing-title,
|
|
.studio-canvas-add-node-menu__title {
|
|
color: #557466;
|
|
}
|
|
|
|
.studio-canvas-text-node__suggestions button,
|
|
.studio-canvas-image-node__placeholder-actions button,
|
|
.studio-canvas-text-composer__footer button,
|
|
.studio-canvas-context-menu button,
|
|
.studio-canvas-node-context-menu button,
|
|
.studio-canvas-add-node-menu button,
|
|
.studio-canvas-save-asset__head button,
|
|
.studio-canvas-save-asset__cover-menu button,
|
|
.studio-canvas-save-asset__cover-library button,
|
|
.studio-canvas-save-asset__select-menu button,
|
|
.studio-canvas-save-asset__existing-grid button {
|
|
color: #11251a;
|
|
}
|
|
|
|
.studio-canvas-context-menu button:hover:not(:disabled),
|
|
.studio-canvas-node-context-menu button:hover:not(:disabled),
|
|
.studio-canvas-add-node-menu button:hover,
|
|
.studio-canvas-text-composer__model-menu button:hover,
|
|
.studio-canvas-text-composer__model-menu button.is-selected,
|
|
.studio-canvas-save-asset__select-menu button:hover,
|
|
.studio-canvas-save-asset__select-menu button.is-selected,
|
|
.studio-canvas-save-asset__existing-grid button:hover,
|
|
.studio-canvas-save-asset__existing-grid button.is-selected {
|
|
background: #d9f8dd;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model,
|
|
.studio-canvas-text-composer__send,
|
|
.studio-canvas-image-node__upload,
|
|
.studio-canvas-image-composer__tools button,
|
|
.studio-canvas-video-composer__tabs button,
|
|
.studio-canvas-video-composer__tools button,
|
|
.studio-canvas-video-composer__footer button,
|
|
.studio-canvas-save-asset__placeholder button,
|
|
.studio-canvas-save-asset__create,
|
|
.studio-canvas-add-node-menu__icon,
|
|
.studio-canvas-add-node-menu__badge,
|
|
.react-flow__controls button {
|
|
border: 2px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fff !important;
|
|
color: #11251a !important;
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
}
|
|
|
|
.studio-canvas-text-composer__send,
|
|
.studio-canvas-video-composer__footer button,
|
|
.studio-canvas-save-asset__create {
|
|
background: #38d776 !important;
|
|
}
|
|
|
|
.studio-canvas-composer-chip .canvas-select-chip__trigger {
|
|
width: 100% !important;
|
|
height: 42px !important;
|
|
min-height: 42px;
|
|
margin-left: 0 !important;
|
|
border: 2px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fff !important;
|
|
color: #11251a !important;
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
}
|
|
|
|
.studio-canvas-composer-chip .canvas-select-chip__dropdown {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
background-size: auto;
|
|
color: #11251a;
|
|
box-shadow: 5px 5px 0 #111;
|
|
}
|
|
|
|
.studio-canvas-composer-chip .canvas-select-chip__option {
|
|
width: 100% !important;
|
|
height: auto !important;
|
|
min-height: 34px;
|
|
margin-left: 0 !important;
|
|
border: 0 !important;
|
|
border-radius: 0 !important;
|
|
background: transparent !important;
|
|
color: #11251a !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.studio-canvas-composer-chip .canvas-select-chip__option:hover,
|
|
.studio-canvas-composer-chip .canvas-select-chip__option.is-active {
|
|
background: #d9f8dd !important;
|
|
}
|
|
|
|
.studio-canvas-text-composer__model-mark,
|
|
.studio-canvas-text-composer__model-menu-icon {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #38d776;
|
|
color: #111;
|
|
}
|
|
|
|
.studio-canvas-text-node__connector span,
|
|
.studio-canvas-image-node__connector span,
|
|
.studio-canvas-video-node__connector span {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.studio-canvas-text-node__connector.is-linking span,
|
|
.studio-canvas-image-node__connector.is-linking span,
|
|
.studio-canvas-video-node__connector.is-linking span {
|
|
border-color: #111;
|
|
background: #38d776;
|
|
color: #111;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.studio-canvas.is-linking .studio-canvas-text-node__connector span,
|
|
.studio-canvas.is-linking .studio-canvas-image-node__connector span,
|
|
.studio-canvas.is-linking .studio-canvas-video-node__connector span {
|
|
outline: 2px dashed rgba(17, 17, 17, 0.42);
|
|
outline-offset: 4px;
|
|
}
|
|
|
|
.studio-canvas-context-menu__divider,
|
|
.studio-canvas-node-context-menu__divider,
|
|
.studio-canvas-save-asset__head {
|
|
border-color: #111;
|
|
background: #111;
|
|
}
|
|
|
|
.studio-canvas-context-menu kbd,
|
|
.studio-canvas-node-context-menu kbd,
|
|
.studio-canvas-node-context-menu__hint,
|
|
.studio-canvas-save-asset__existing-grid span {
|
|
color: #557466;
|
|
}
|
|
|
|
.studio-canvas-save-asset {
|
|
background: rgba(245, 255, 244, 0.82);
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.studio-canvas-save-asset__placeholder,
|
|
.studio-canvas-save-asset__form input,
|
|
.studio-canvas-save-asset__select,
|
|
.studio-canvas-save-asset__existing-grid button {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.studio-canvas-save-asset__placeholder img,
|
|
.studio-canvas-save-asset__cover-library img {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.studio-canvas-context-menu {
|
|
transform: scale(1);
|
|
}
|
|
|
|
.assets-centered-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.assets-centered-page__head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex: 0 0 auto;
|
|
padding: 16px 24px;
|
|
border-bottom: 1px solid var(--border-weak);
|
|
background: rgba(255, 255, 255, 0.62);
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .assets-centered-page__head {
|
|
background: rgba(9, 16, 14, 0.88);
|
|
}
|
|
|
|
.assets-centered-page__head .studio-tabs {
|
|
flex: 1;
|
|
}
|
|
|
|
.assets-centered-page__head .asset-search {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.assets-centered-page__head .studio-tabs button {
|
|
min-height: 38px;
|
|
padding: 0 16px;
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.assets-centered-page__head .studio-generate-btn--compact {
|
|
width: auto;
|
|
min-height: 38px;
|
|
padding: 0 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.assets-centered-page__body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.assets-centered-page--empty,
|
|
.assets-centered-page__body:has(.assets-empty-state) {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.assets-login-required,
|
|
.assets-empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 14px;
|
|
width: min(100% - 32px, 440px);
|
|
min-height: 240px;
|
|
padding: 34px 28px;
|
|
border: 3px solid var(--utility-pixel-ink);
|
|
border-radius: 0;
|
|
background: var(--utility-pixel-cream);
|
|
background-size: auto;
|
|
box-shadow: 6px 6px 0 var(--utility-pixel-ink);
|
|
color: #11251a;
|
|
text-align: center;
|
|
}
|
|
|
|
.assets-login-required__icon,
|
|
.assets-empty-state__icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 46px;
|
|
height: 46px;
|
|
border: 3px solid var(--utility-pixel-ink);
|
|
background: var(--utility-pixel-yellow);
|
|
color: #11251a;
|
|
font-size: 22px;
|
|
box-shadow: 3px 3px 0 var(--utility-pixel-ink);
|
|
}
|
|
|
|
.assets-login-required strong,
|
|
.assets-empty-state strong {
|
|
font-size: 20px;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.assets-login-required p,
|
|
.assets-empty-state p {
|
|
max-width: 300px;
|
|
margin: 0;
|
|
color: #557466;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.assets-centered-page__body .asset-grid--desktop {
|
|
width: min(100%, 1160px);
|
|
margin: 0 auto;
|
|
padding: 24px;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.assets-centered-page__body .asset-card--desktop {
|
|
padding: 8px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.assets-centered-page__body .asset-card__head strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.assets-centered-page__body .asset-card__desc {
|
|
font-size: 11px;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
.assets-centered-page__body .asset-card__tags span {
|
|
min-height: 18px;
|
|
padding: 0 6px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.assets-centered-page__footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex: 0 0 34px;
|
|
padding: 0 24px;
|
|
border-top: 1px solid var(--border-weak);
|
|
background: var(--bg-elevated);
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.assets-centered-page__footer .studio-status-bar__meta {
|
|
margin-left: auto;
|
|
color: var(--fg-dim);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
|
|
.asset-grid--desktop {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
height: 100%;
|
|
align-content: start;
|
|
overflow: auto;
|
|
padding: 18px;
|
|
}
|
|
|
|
.asset-card--desktop {
|
|
display: grid;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-panel);
|
|
transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
|
|
}
|
|
|
|
.asset-card--desktop:hover {
|
|
border-color: rgba(var(--accent-rgb), 0.35);
|
|
box-shadow: var(--shadow-tight);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.asset-card--desktop.is-selected {
|
|
border-color: rgba(var(--accent-rgb), 0.55);
|
|
box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.12), var(--shadow-tight);
|
|
}
|
|
|
|
.asset-card__thumb {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
overflow: hidden;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-elevated);
|
|
}
|
|
|
|
.asset-card__thumb img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.asset-card__body {
|
|
display: grid;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.asset-card__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.asset-card__head strong {
|
|
overflow: hidden;
|
|
color: var(--fg-body);
|
|
font-size: 14px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.asset-card__desc {
|
|
margin: 0;
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
.asset-card__tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.asset-card__tags span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 20px;
|
|
padding: 0 8px;
|
|
border-radius: 999px;
|
|
background: var(--bg-inset);
|
|
color: var(--fg-soft);
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.asset-grid--panel {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 10px;
|
|
max-height: 520px;
|
|
overflow: auto;
|
|
padding: 2px;
|
|
}
|
|
|
|
.asset-card--panel {
|
|
display: grid;
|
|
grid-template-columns: 48px minmax(0, 1fr);
|
|
align-items: start;
|
|
gap: 10px;
|
|
padding: 8px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-panel);
|
|
transition: border-color 160ms ease, box-shadow 160ms ease;
|
|
}
|
|
|
|
.asset-card--panel:hover {
|
|
border-color: rgba(var(--accent-rgb), 0.35);
|
|
box-shadow: var(--shadow-tight);
|
|
}
|
|
|
|
.asset-card--panel .asset-card__thumb {
|
|
aspect-ratio: 1 / 1;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.asset-card--panel .asset-card__body {
|
|
gap: 4px;
|
|
}
|
|
|
|
.asset-card--panel .asset-card__head strong {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.asset-card--panel .asset-card__desc {
|
|
-webkit-line-clamp: 1;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.asset-card--panel .asset-card__tags {
|
|
gap: 4px;
|
|
}
|
|
|
|
.asset-card--panel .asset-card__tags span {
|
|
min-height: 18px;
|
|
padding: 0 6px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.asset-detail {
|
|
display: grid;
|
|
gap: 12px;
|
|
padding: 14px;
|
|
}
|
|
|
|
.asset-detail__preview {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-elevated);
|
|
}
|
|
|
|
.asset-detail h2,
|
|
.asset-detail p {
|
|
margin: 0;
|
|
}
|
|
|
|
.asset-detail h2 {
|
|
color: var(--fg-body);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.asset-detail p {
|
|
color: var(--fg-muted);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.asset-search {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
min-height: 34px;
|
|
padding: 0 12px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 999px;
|
|
background: var(--bg-inset);
|
|
color: var(--fg-muted);
|
|
}
|
|
|
|
.asset-search input {
|
|
min-width: 0;
|
|
border: 0;
|
|
outline: none;
|
|
background: transparent;
|
|
color: var(--fg-body);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.asset-search input::placeholder {
|
|
color: var(--fg-dim);
|
|
}
|
|
|
|
.asset-mini-thumb {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-elevated);
|
|
}
|
|
|
|
.asset-detail dl {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin: 0;
|
|
}
|
|
|
|
.asset-detail dl > div {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-xs);
|
|
background: var(--bg-inset);
|
|
}
|
|
|
|
.asset-detail dt {
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.asset-detail dd {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
color: var(--fg-body);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Asset thumb color classes */
|
|
.is-mark {
|
|
background: #2a5a3e;
|
|
}
|
|
|
|
.is-ava {
|
|
background: #3a5a6e;
|
|
}
|
|
|
|
.is-armor {
|
|
background: #4a4a52;
|
|
}
|
|
|
|
.is-station {
|
|
background: #2a4a5a;
|
|
}
|
|
|
|
.is-sea {
|
|
background: #1a3a5a;
|
|
}
|
|
|
|
.is-case {
|
|
background: #3a3a42;
|
|
}
|
|
|
|
.is-alert {
|
|
background: #5a2a2a;
|
|
}
|
|
|
|
.is-hud {
|
|
background: #2a5a4a;
|
|
}
|
|
|
|
.page-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.15fr);
|
|
grid-template-rows: minmax(0, 1fr) minmax(220px, 0.7fr);
|
|
gap: 16px;
|
|
height: 100%;
|
|
padding: 16px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.agent-chat-panel,
|
|
.agent-plan,
|
|
.agent-results {
|
|
min-width: 0;
|
|
padding: 18px;
|
|
}
|
|
|
|
.agent-chat-panel {
|
|
grid-row: 1 / span 2;
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
gap: 16px;
|
|
}
|
|
|
|
.panel-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.panel-title h1,
|
|
.panel-title h2 {
|
|
margin: 0;
|
|
color: var(--fg-body);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.panel-title .anticon {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.agent-thread,
|
|
.plan-list,
|
|
.task-list {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 10px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.agent-message {
|
|
max-width: 84%;
|
|
padding: 12px;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-inset);
|
|
}
|
|
|
|
.agent-message.is-user {
|
|
justify-self: end;
|
|
background: rgba(var(--accent-rgb), 0.12);
|
|
}
|
|
|
|
.agent-message span,
|
|
.agent-message p {
|
|
margin: 0;
|
|
}
|
|
|
|
.agent-message span {
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.agent-message p {
|
|
margin-top: 5px;
|
|
color: var(--fg-body);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.agent-input {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 42px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.agent-input textarea {
|
|
min-height: 92px;
|
|
padding: 12px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
outline: none;
|
|
resize: none;
|
|
background: var(--bg-inset);
|
|
color: var(--fg-body);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.agent-input button {
|
|
align-self: end;
|
|
width: 42px;
|
|
height: 42px;
|
|
}
|
|
|
|
.plan-list div,
|
|
.task-list article {
|
|
display: grid;
|
|
gap: 4px;
|
|
padding: 12px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-inset);
|
|
}
|
|
|
|
.plan-list div {
|
|
grid-template-columns: 28px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
}
|
|
|
|
.plan-list span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.plan-list .is-done span {
|
|
background: rgba(34, 197, 94, 0.16);
|
|
color: #63e6a4;
|
|
}
|
|
|
|
.plan-list strong,
|
|
.task-list strong {
|
|
overflow: hidden;
|
|
color: var(--fg-body);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.plan-list small,
|
|
.task-list span,
|
|
.task-list p {
|
|
margin: 0;
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.studio-upload-slot--empty,
|
|
.studio-upload-slot--filled {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
min-height: 96px;
|
|
padding: 12px;
|
|
border: 1px dashed var(--border-default);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-inset);
|
|
color: var(--fg-body);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-upload-slot--filled {
|
|
border-style: solid;
|
|
}
|
|
|
|
.studio-upload-slot--empty input,
|
|
.studio-upload-slot--filled input {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.studio-upload-slot--empty__icon {
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 38px;
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 12px;
|
|
background: rgba(var(--accent-rgb), 0.14);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.studio-upload-slot--filled__thumb {
|
|
flex: 0 0 56px;
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: var(--radius-xs);
|
|
object-fit: cover;
|
|
}
|
|
|
|
.studio-upload-slot--filled__info {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 4px;
|
|
}
|
|
|
|
.studio-upload-slot--filled__info strong {
|
|
overflow: hidden;
|
|
color: var(--fg-body);
|
|
font-size: 13px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.studio-upload-slot--filled__info small {
|
|
color: var(--fg-soft);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.studio-audio-preview {
|
|
width: 100%;
|
|
height: 32px;
|
|
}
|
|
|
|
.studio-canvas-ghost,
|
|
.studio-canvas-image,
|
|
.studio-canvas-video {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.studio-canvas-ghost {
|
|
align-content: center;
|
|
gap: 10px;
|
|
padding: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.studio-canvas-ghost__icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 58px;
|
|
height: 58px;
|
|
border-radius: 18px;
|
|
background: rgba(var(--accent-rgb), 0.14);
|
|
color: var(--accent);
|
|
font-size: 24px;
|
|
}
|
|
|
|
.studio-canvas-ghost__title {
|
|
color: var(--fg-body);
|
|
font-size: 18px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.studio-canvas-ghost__hint {
|
|
max-width: 420px;
|
|
color: var(--fg-soft);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.studio-canvas-image img {
|
|
max-width: min(70%, 720px);
|
|
max-height: 78%;
|
|
border-radius: var(--radius-md);
|
|
object-fit: contain;
|
|
box-shadow: var(--shadow-panel);
|
|
}
|
|
|
|
.studio-canvas-video video {
|
|
max-width: min(80%, 860px);
|
|
max-height: 78%;
|
|
border-radius: var(--radius-md);
|
|
background: #000;
|
|
box-shadow: var(--shadow-panel);
|
|
}
|
|
|
|
.studio-canvas-pip {
|
|
position: absolute;
|
|
right: 24px;
|
|
bottom: 24px;
|
|
width: 118px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-panel);
|
|
box-shadow: var(--shadow-tight);
|
|
}
|
|
|
|
.studio-canvas-pip img {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.more-grid {
|
|
align-content: start;
|
|
padding: 18px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.more-tool {
|
|
display: grid;
|
|
justify-items: start;
|
|
gap: 10px;
|
|
min-height: 150px;
|
|
padding: 18px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-panel);
|
|
}
|
|
|
|
.more-tool .anticon {
|
|
color: var(--accent);
|
|
font-size: 24px;
|
|
}
|
|
|
|
|
|
@media (max-width: 1180px) {
|
|
.studio-tool-layout,
|
|
.studio-tool-layout--no-left,
|
|
.studio-tool-layout--no-right {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-rows: auto auto minmax(520px, 1fr) auto auto;
|
|
overflow: auto;
|
|
}
|
|
|
|
.studio-panel,
|
|
.studio-panel--right,
|
|
.studio-canvas,
|
|
.studio-status-bar {
|
|
grid-column: 1;
|
|
}
|
|
|
|
.studio-panel {
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--border-weak);
|
|
}
|
|
|
|
.studio-panel--right {
|
|
border-left: 0;
|
|
}
|
|
|
|
.studio-canvas {
|
|
min-height: 520px;
|
|
}
|
|
|
|
.community-hero {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.community-case-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.ecommerce-template-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.project-row,
|
|
.asset-grid--desktop {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.community-filter-bar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 12px;
|
|
}
|
|
|
|
.community-filter-search {
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.ai-workbench-content-scroll {
|
|
padding: 18px 14px 86px;
|
|
}
|
|
|
|
.ai-workbench-dashboard {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 18px;
|
|
}
|
|
|
|
.ai-workbench-highlight-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.ai-workbench-highlight-card,
|
|
.ai-workbench-highlight-card.is-large {
|
|
grid-column: span 1;
|
|
min-height: 150px;
|
|
}
|
|
|
|
.ai-chat-message-stack {
|
|
max-width: 86%;
|
|
}
|
|
|
|
.community-page {
|
|
padding: 16px 14px 86px;
|
|
}
|
|
|
|
.community-carousel {
|
|
min-height: 220px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.community-carousel__slide {
|
|
min-height: 220px;
|
|
padding: 22px 20px;
|
|
}
|
|
|
|
.community-carousel__slide strong {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.community-carousel__arrow {
|
|
opacity: 1;
|
|
width: 34px;
|
|
height: 34px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.community-carousel__arrow--prev {
|
|
left: 8px;
|
|
}
|
|
|
|
.community-carousel__arrow--next {
|
|
right: 8px;
|
|
}
|
|
|
|
.community-section__head,
|
|
.ai-workbench-composer-shell__footer {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ai-workbench-composer-shell__send {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.community-case-grid,
|
|
.more-grid,
|
|
.page-grid {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.ecommerce-template-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.community-filter-chip {
|
|
height: 30px;
|
|
padding: 0 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.community-filter-search {
|
|
height: 34px;
|
|
}
|
|
|
|
.page-grid {
|
|
height: auto;
|
|
overflow: visible;
|
|
}
|
|
|
|
.agent-chat-panel {
|
|
grid-row: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.ai-workbench-project-grid,
|
|
.ai-workbench-highlight-grid {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.ai-workbench-highlight-card,
|
|
.ai-workbench-highlight-card.is-large {
|
|
grid-column: auto;
|
|
}
|
|
|
|
.project-row,
|
|
.asset-grid--desktop {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.studio-toolstrip {
|
|
flex-wrap: wrap;
|
|
min-height: 52px;
|
|
padding: 8px 10px;
|
|
}
|
|
}
|
|
|
|
/* PDR UI alignment: light green default with canvas-first work surfaces. */
|
|
.studio-toolstrip {
|
|
background: rgba(255, 255, 255, 0.7);
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .studio-toolstrip {
|
|
background: rgba(9, 16, 14, 0.88);
|
|
}
|
|
|
|
.studio-canvas {
|
|
background: var(--page-bg);
|
|
}
|
|
|
|
.canvas-page .studio-canvas {
|
|
background: #f5fff4;
|
|
background-position: var(--canvas-bg-x, 0px) var(--canvas-bg-y, 0px);
|
|
background-size: auto;
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .canvas-page .studio-canvas {
|
|
background: #09100e;
|
|
background-position: var(--canvas-bg-x, 0px) var(--canvas-bg-y, 0px);
|
|
background-size: auto;
|
|
}
|
|
|
|
.studio-status-bar {
|
|
background: var(--bg-elevated);
|
|
color: var(--fg-soft);
|
|
}
|
|
|
|
.workflow-json-preview {
|
|
background: var(--bg-inset);
|
|
}
|
|
|
|
.react-flow__controls button {
|
|
border-color: var(--border-subtle);
|
|
background: var(--bg-panel);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.ai-workbench-content-scroll {
|
|
width: min(100%, 1160px);
|
|
}
|
|
|
|
.ai-workbench-composer-shell {
|
|
border-color: rgba(var(--accent-rgb), 0.28);
|
|
background: rgba(255, 255, 255, 0.86);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .ai-workbench-composer-shell {
|
|
background: rgba(8, 13, 11, 0.88);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ai-workbench-tool-button,
|
|
.ai-workbench-mode-switch__button,
|
|
.ai-workbench-prompt-row button,
|
|
.ai-workbench-section-head button,
|
|
.community-section--browse-more button {
|
|
background: var(--bg-inset);
|
|
}
|
|
|
|
.ai-workbench-project-card,
|
|
.ai-chat-message-bubble {
|
|
background: rgba(255, 255, 255, 0.64);
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .ai-workbench-project-card,
|
|
.web-shell[data-theme="dark"] .ai-chat-message-bubble {
|
|
background: rgba(255, 255, 255, 0.055);
|
|
}
|
|
|
|
.ai-workbench-project-card,
|
|
.ai-workbench-highlight-card,
|
|
.community-case-card,
|
|
.project-card img,
|
|
.project-card__empty,
|
|
.asset-card--desktop img,
|
|
.more-tool {
|
|
border-color: var(--border-subtle);
|
|
}
|
|
|
|
.community-hero__actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.community-hero__actions button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-height: 36px;
|
|
padding: 0 14px;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
color: #061014;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.community-hero__actions button + button {
|
|
border: 1px solid var(--border-subtle);
|
|
background: var(--bg-inset);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.task-list__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.profile-page {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
/* ===== Banner ===== */
|
|
.profile-page__banner {
|
|
position: relative;
|
|
height: 240px;
|
|
overflow: hidden;
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.profile-page__banner::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: transparent;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.profile-page__banner-overlay {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
}
|
|
|
|
.profile-page__banner-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 24px;
|
|
border-radius: 14px;
|
|
border: 1px solid color-mix(in srgb, var(--line) 30%, transparent);
|
|
background: color-mix(in srgb, var(--bg-panel) 70%, transparent);
|
|
backdrop-filter: none;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.profile-page__banner-btn:hover {
|
|
background: var(--bg-panel);
|
|
border-color: color-mix(in srgb, var(--accent) 40%, transparent);
|
|
transform: translateY(-1px);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.profile-page__banner-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background: color-mix(in srgb, var(--accent) 12%, var(--bg-inset));
|
|
color: var(--accent);
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* ===== Body Layout ===== */
|
|
.profile-page__body {
|
|
display: grid;
|
|
grid-template-columns: 260px 1fr;
|
|
gap: 28px;
|
|
padding: 0 40px 40px;
|
|
max-width: 1200px;
|
|
margin: -52px auto 0;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* ===== Sidebar ===== */
|
|
.profile-page__sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 20px;
|
|
padding: 28px 22px;
|
|
border-radius: 18px;
|
|
border: 1px solid color-mix(in srgb, var(--line) 40%, transparent);
|
|
background: var(--bg-panel);
|
|
box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
|
|
height: fit-content;
|
|
transition: box-shadow 0.3s ease;
|
|
}
|
|
|
|
.profile-page__sidebar:hover {
|
|
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.profile-page__sidebar-head {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.profile-page__avatar-ring {
|
|
position: relative;
|
|
padding: 3px;
|
|
border-radius: 50%;
|
|
background: conic-gradient(from 180deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent), var(--accent));
|
|
}
|
|
|
|
.profile-page__avatar {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
background: var(--bg-inset);
|
|
color: var(--text);
|
|
font-size: 32px;
|
|
font-weight: 600;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.profile-page__avatar img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.profile-page__avatar-badge {
|
|
position: absolute;
|
|
bottom: 2px;
|
|
right: 2px;
|
|
width: 22px;
|
|
height: 22px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--accent);
|
|
font-size: 20px;
|
|
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
|
|
}
|
|
|
|
.profile-page__avatar-badge .anticon {
|
|
display: block;
|
|
}
|
|
|
|
.profile-page__username {
|
|
color: var(--text);
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.profile-page__bio {
|
|
color: var(--text-soft);
|
|
font-size: 11px;
|
|
text-align: center;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
/* Counts */
|
|
.profile-page__counts {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.profile-page__count {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 3px;
|
|
flex: 1;
|
|
position: relative;
|
|
}
|
|
|
|
.profile-page__count:not(:last-child)::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 1px;
|
|
height: 24px;
|
|
background: color-mix(in srgb, var(--line) 45%, transparent);
|
|
}
|
|
|
|
.profile-page__count strong {
|
|
color: var(--text);
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.profile-page__count span {
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* Share btn */
|
|
.profile-page__share-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
width: 100%;
|
|
height: 38px;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--line) 40%, transparent);
|
|
background: var(--bg-inset);
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.profile-page__share-btn:hover {
|
|
background: var(--bg-hover);
|
|
border-color: color-mix(in srgb, var(--accent) 35%, transparent);
|
|
color: var(--text);
|
|
}
|
|
|
|
/* Honor */
|
|
.profile-page__honor {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding-top: 16px;
|
|
border-top: 1px solid color-mix(in srgb, var(--line) 35%, transparent);
|
|
}
|
|
|
|
.profile-page__honor-title {
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.profile-page__honor-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.profile-page__honor-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
background: color-mix(in srgb, var(--accent) 15%, var(--bg-inset));
|
|
color: var(--accent);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.profile-page__honor-level {
|
|
color: var(--text);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* ===== Main Content ===== */
|
|
.profile-page__main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Main tabs */
|
|
.profile-page__main-tabs {
|
|
display: flex;
|
|
gap: 24px;
|
|
border-bottom: 1px solid color-mix(in srgb, var(--line) 35%, transparent);
|
|
}
|
|
|
|
.profile-page__main-tabs button {
|
|
padding: 12px 0;
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.profile-page__main-tabs button:hover {
|
|
color: var(--text);
|
|
}
|
|
|
|
.profile-page__main-tabs button.is-active {
|
|
color: var(--accent);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.profile-page__main-tabs button.is-active::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: -1px;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2.5px;
|
|
background: var(--accent);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Section */
|
|
.profile-page__section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.profile-page__section-label {
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Empty state */
|
|
.profile-page__empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
padding: 60px 32px;
|
|
border-radius: 18px;
|
|
border: 1px solid color-mix(in srgb, var(--line) 35%, transparent);
|
|
background: var(--bg-panel);
|
|
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
|
|
min-height: 260px;
|
|
transition: box-shadow 0.3s ease;
|
|
}
|
|
|
|
.profile-page__empty-state:hover {
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.profile-page__empty-art {
|
|
position: relative;
|
|
width: 84px;
|
|
height: 60px;
|
|
}
|
|
|
|
.profile-page__empty-card {
|
|
position: absolute;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.profile-page__empty-card--back {
|
|
top: 0;
|
|
right: 6px;
|
|
transform: rotate(-14deg) scale(0.9);
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.profile-page__empty-card--front {
|
|
bottom: 2px;
|
|
left: 6px;
|
|
transform: rotate(8deg) scale(1);
|
|
}
|
|
|
|
.profile-page__empty-text {
|
|
margin: 0;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.profile-page__empty-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: 34px;
|
|
padding: 0 16px;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--line) 40%, transparent);
|
|
background: var(--bg-inset);
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.profile-page__empty-btn:hover {
|
|
background: var(--bg-hover);
|
|
border-color: color-mix(in srgb, var(--accent) 35%, transparent);
|
|
color: var(--text);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* List bar */
|
|
.profile-page__list-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.profile-page__list-tabs {
|
|
display: flex;
|
|
gap: 16px;
|
|
}
|
|
|
|
.profile-page__list-tabs button {
|
|
padding: 6px 0;
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: color 0.18s;
|
|
}
|
|
|
|
.profile-page__list-tabs button.is-active {
|
|
color: var(--text);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.profile-page__list-filter {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid color-mix(in srgb, var(--line) 40%, transparent);
|
|
background: var(--bg-inset);
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.profile-page__list-filter:hover {
|
|
border-color: color-mix(in srgb, var(--accent) 30%, transparent);
|
|
color: var(--text);
|
|
}
|
|
|
|
/* Upload card */
|
|
.profile-page__upload-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
width: 220px;
|
|
height: 220px;
|
|
border-radius: 16px;
|
|
border: 2px dashed color-mix(in srgb, var(--line) 50%, transparent);
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.profile-page__upload-card:hover {
|
|
border-color: color-mix(in srgb, var(--accent) 40%, transparent);
|
|
color: var(--text);
|
|
background: color-mix(in srgb, var(--accent) 3%, transparent);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.profile-page__upload-card .anticon {
|
|
font-size: 28px;
|
|
opacity: 0.7;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.profile-page__upload-card:hover .anticon {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* ===== Auth (not logged in) ===== */
|
|
.profile-page__center {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
max-width: 520px;
|
|
margin: 60px auto 0;
|
|
width: 100%;
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.profile-page__card {
|
|
padding: 28px;
|
|
border-radius: 20px;
|
|
border: 1px solid color-mix(in srgb, var(--line) 40%, transparent);
|
|
background: var(--bg-panel);
|
|
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
|
|
transition: box-shadow 0.3s ease;
|
|
}
|
|
|
|
.profile-page__card:hover {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.profile-page__card--auth {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.profile-page__auth-head {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.profile-page__auth-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
background: color-mix(in srgb, var(--accent) 12%, var(--bg-inset));
|
|
color: var(--accent);
|
|
font-size: 26px;
|
|
}
|
|
|
|
.profile-page__auth-head h2 {
|
|
margin: 0;
|
|
color: var(--text);
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.profile-page__auth-head p {
|
|
margin: 0;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.profile-page__pending {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
background: color-mix(in srgb, var(--accent) 6%, var(--bg-inset));
|
|
border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
|
|
}
|
|
|
|
.profile-page__pending span {
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.profile-page__pending strong {
|
|
color: var(--accent);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.profile-page__form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.profile-page__tabs {
|
|
display: inline-flex;
|
|
gap: 6px;
|
|
width: fit-content;
|
|
padding: 4px;
|
|
border-radius: 12px;
|
|
background: var(--bg-inset);
|
|
}
|
|
|
|
.profile-page__tabs button {
|
|
min-height: 36px;
|
|
padding: 0 18px;
|
|
border-radius: 10px;
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
|
|
.profile-page__tabs button.is-active {
|
|
background: var(--accent);
|
|
color: #061014;
|
|
}
|
|
|
|
.profile-page__field {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.profile-page__field span {
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.profile-page__field input {
|
|
min-height: 46px;
|
|
padding: 0 16px;
|
|
border: 1px solid color-mix(in srgb, var(--line) 40%, transparent);
|
|
border-radius: 12px;
|
|
background: var(--bg-inset);
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.profile-page__field input:focus {
|
|
outline: none;
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-rgb) 12%, transparent);
|
|
}
|
|
|
|
.profile-page__primary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
min-height: 46px;
|
|
padding: 0 18px;
|
|
border-radius: 12px;
|
|
background: var(--accent);
|
|
color: #061014;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 12px color-mix(in srgb, var(--accent-rgb) 20%, transparent);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.profile-page__primary:hover {
|
|
background: color-mix(in srgb, var(--accent) 88%, #061014);
|
|
box-shadow: none;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.profile-page__hint,
|
|
.profile-page__notice-copy {
|
|
margin: 0;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* ===== Responsive ===== */
|
|
@media (max-width: 900px) {
|
|
.profile-page__body {
|
|
grid-template-columns: 1fr;
|
|
padding: 0 16px 86px;
|
|
margin-top: -28px;
|
|
}
|
|
|
|
.profile-page__sidebar {
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.profile-page__honor {
|
|
border-top: 0;
|
|
padding-top: 0;
|
|
border-left: 1px solid color-mix(in srgb, var(--line) 35%, transparent);
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.profile-page__center {
|
|
margin-top: 28px;
|
|
padding: 0 16px 86px;
|
|
}
|
|
|
|
.profile-page__banner {
|
|
height: 180px;
|
|
}
|
|
}
|
|
|
|
/* Pixel profile theme */
|
|
.profile-page {
|
|
background: #f5fff4;
|
|
background-size: auto;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.profile-page__banner {
|
|
height: 220px;
|
|
border-bottom: 3px solid #111;
|
|
background: #dff8e7;
|
|
background-size: auto;
|
|
}
|
|
|
|
.profile-page__banner::before {
|
|
display: none;
|
|
}
|
|
|
|
.profile-page__banner-btn,
|
|
.profile-page__sidebar,
|
|
.profile-page__empty-state,
|
|
.profile-page__card,
|
|
.profile-page__upload-card {
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
box-shadow: 7px 7px 0 #111;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.profile-page__banner-btn {
|
|
padding: 12px 20px;
|
|
color: #153926;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.profile-page__banner-icon,
|
|
.profile-page__avatar,
|
|
.profile-page__auth-icon,
|
|
.profile-page__honor-icon {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #3bd176;
|
|
color: #111;
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.profile-page__avatar-ring {
|
|
padding: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.profile-page__avatar {
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.profile-page__avatar-badge {
|
|
color: #111;
|
|
filter: none;
|
|
}
|
|
|
|
.profile-page__username,
|
|
.profile-page__count strong,
|
|
.profile-page__honor-level,
|
|
.profile-page__auth-head h2 {
|
|
color: #11251a;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.profile-page__bio,
|
|
.profile-page__count span,
|
|
.profile-page__honor-title,
|
|
.profile-page__section-label,
|
|
.profile-page__empty-text,
|
|
.profile-page__hint,
|
|
.profile-page__notice-copy {
|
|
color: #557466;
|
|
}
|
|
|
|
.profile-page__share-btn,
|
|
.profile-page__empty-btn,
|
|
.profile-page__list-filter,
|
|
.profile-page__tabs,
|
|
.profile-page__primary {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.profile-page__share-btn,
|
|
.profile-page__empty-btn,
|
|
.profile-page__list-filter {
|
|
background: #fff;
|
|
color: #153926;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.profile-page__share-btn:hover,
|
|
.profile-page__empty-btn:hover,
|
|
.profile-page__list-filter:hover,
|
|
.profile-page__primary:hover {
|
|
transform: translate(2px, 2px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
.profile-page__main-tabs {
|
|
border-bottom: 3px solid #111;
|
|
}
|
|
|
|
.profile-page__main-tabs button,
|
|
.profile-page__list-tabs button {
|
|
color: #557466;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.profile-page__main-tabs button.is-active,
|
|
.profile-page__list-tabs button.is-active {
|
|
color: #20c76a;
|
|
}
|
|
|
|
.profile-page__main-tabs button.is-active::after {
|
|
height: 5px;
|
|
border-radius: 0;
|
|
background: #20c76a;
|
|
}
|
|
|
|
.profile-page__empty-card {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.profile-page__upload-card {
|
|
border-style: dashed;
|
|
color: #557466;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.profile-page__card {
|
|
background: #fffdf5;
|
|
background-size: auto;
|
|
}
|
|
|
|
.profile-page__tabs {
|
|
padding: 0;
|
|
background: #fff;
|
|
}
|
|
|
|
.profile-page__tabs button {
|
|
border-radius: 0;
|
|
color: #557466;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.profile-page__tabs button.is-active,
|
|
.profile-page__primary {
|
|
background: #38d776;
|
|
color: #111;
|
|
}
|
|
|
|
.profile-page__field input {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.profile-page__field input:focus {
|
|
border-color: #111;
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.profile-page__pending {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff2b8;
|
|
}
|
|
|
|
|
|
/* PDR UI refactor: workbench becomes a focused operating surface, not a card mosaic. */
|
|
.ai-workbench-page {
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.ai-workbench-content-scroll {
|
|
width: min(100%, 1040px);
|
|
gap: 28px;
|
|
padding: 28px 24px 48px;
|
|
}
|
|
|
|
.ai-workbench-landing {
|
|
gap: 14px;
|
|
min-height: auto;
|
|
}
|
|
|
|
.ai-workbench-brand-row {
|
|
min-height: 28px;
|
|
}
|
|
|
|
.ai-workbench-brand-row__mark {
|
|
min-width: 82px;
|
|
height: 28px;
|
|
border-radius: 14px;
|
|
font-size: 13px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ai-workbench-hero {
|
|
max-width: 680px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.ai-workbench-hero__title {
|
|
font-size: 40px;
|
|
line-height: 1.08;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.ai-workbench-hero__copy {
|
|
max-width: 620px;
|
|
color: var(--fg-muted);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.ai-workbench-composer-section {
|
|
width: min(100%, 720px);
|
|
}
|
|
|
|
.ai-workbench-composer-shell {
|
|
border-color: rgba(var(--accent-rgb), 0.26);
|
|
border-radius: 16px;
|
|
background: var(--bg-elevated);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ai-workbench-composer-shell__inner {
|
|
padding: 16px;
|
|
}
|
|
|
|
.ai-workbench-composer-shell__textarea {
|
|
min-height: 96px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.ai-workbench-tool-button,
|
|
.ai-workbench-mode-switch__button,
|
|
.ai-workbench-prompt-row button,
|
|
.ai-workbench-section-head button {
|
|
min-height: 36px;
|
|
}
|
|
|
|
.ai-workbench-composer-shell__send {
|
|
flex-basis: 44px;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 14px;
|
|
background: var(--accent);
|
|
}
|
|
|
|
.ai-workbench-prompt-row {
|
|
gap: 10px;
|
|
}
|
|
|
|
.ai-workbench-dashboard {
|
|
grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
|
|
gap: 22px;
|
|
align-items: start;
|
|
}
|
|
|
|
.ai-workbench-section-head {
|
|
align-items: center;
|
|
}
|
|
|
|
.ai-workbench-section-head > span {
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.ai-workbench-section-head h2::before,
|
|
.community-section__head h2::before {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin-right: 10px;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
vertical-align: 2px;
|
|
}
|
|
|
|
.ai-workbench-start-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.ai-workbench-start-card {
|
|
position: relative;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 8px;
|
|
min-height: 224px;
|
|
padding: 14px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-elevated);
|
|
color: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 180ms ease,
|
|
border-color 180ms ease,
|
|
box-shadow 180ms ease;
|
|
}
|
|
|
|
.ai-workbench-start-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(var(--accent-rgb), 0.36);
|
|
box-shadow: var(--shadow-tight);
|
|
}
|
|
|
|
.ai-workbench-start-card__visual {
|
|
display: block;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 10;
|
|
border-radius: var(--radius-sm);
|
|
background: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.ai-workbench-start-card.is-community .ai-workbench-start-card__visual {
|
|
background: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.ai-workbench-start-card.is-agent .ai-workbench-start-card__visual {
|
|
background: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.ai-workbench-start-card__tag {
|
|
color: var(--fg-soft);
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.ai-workbench-start-card strong {
|
|
color: var(--fg-body);
|
|
font-size: 16px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.ai-workbench-start-card span:last-child {
|
|
color: var(--fg-muted);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.ai-workbench-panel--recent {
|
|
padding: 0;
|
|
}
|
|
|
|
.ai-workbench-thread-shell {
|
|
max-width: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.ai-chat-message-bubble {
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: 14px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.ai-workbench-content-scroll {
|
|
gap: 22px;
|
|
padding: 20px 14px 92px;
|
|
}
|
|
|
|
.ai-workbench-hero__title {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.ai-workbench-hero__copy {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.ai-workbench-composer-section {
|
|
width: 100%;
|
|
}
|
|
|
|
.ai-workbench-dashboard {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.ai-workbench-start-grid {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.ai-workbench-start-card {
|
|
min-height: auto;
|
|
grid-template-columns: 96px minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 6px 12px;
|
|
}
|
|
|
|
.ai-workbench-start-card__visual {
|
|
grid-row: span 3;
|
|
aspect-ratio: 1 / 1;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.ai-workbench-composer-shell__footer {
|
|
gap: 12px;
|
|
}
|
|
|
|
.ai-workbench-prompt-row {
|
|
justify-content: flex-start;
|
|
overflow-x: auto;
|
|
flex-wrap: nowrap;
|
|
padding-bottom: 2px;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.ai-workbench-prompt-row::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.ai-workbench-prompt-row button {
|
|
flex: 0 0 auto;
|
|
}
|
|
}
|
|
|
|
/* Video creation agent homepage. */
|
|
.video-agent-page {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.video-agent-scroll {
|
|
display: grid;
|
|
gap: 24px;
|
|
width: min(100%, 1240px);
|
|
min-height: 100%;
|
|
margin: 0 auto;
|
|
padding: 30px 28px 56px;
|
|
}
|
|
|
|
.video-agent-hero {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
|
|
align-items: center;
|
|
gap: 34px;
|
|
min-height: 520px;
|
|
}
|
|
|
|
.video-agent-hero__copy {
|
|
display: grid;
|
|
justify-items: start;
|
|
gap: 18px;
|
|
min-width: 0;
|
|
animation: video-agent-rise 520ms ease both;
|
|
}
|
|
|
|
.video-agent-kicker,
|
|
.video-agent-section-head span,
|
|
.video-agent-composer__head span,
|
|
.video-agent-agent-panel__top span {
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.video-agent-hero h1 {
|
|
max-width: 620px;
|
|
margin: 0;
|
|
color: var(--fg-body);
|
|
font-size: 64px;
|
|
line-height: 0.98;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.video-agent-hero__copy p {
|
|
max-width: 560px;
|
|
margin: 0;
|
|
color: var(--fg-muted);
|
|
font-size: 16px;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.video-agent-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.video-agent-primary,
|
|
.video-agent-secondary,
|
|
.video-agent-send,
|
|
.video-agent-prompt-row button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-height: 42px;
|
|
padding: 0 15px;
|
|
border-radius: 8px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 170ms ease,
|
|
border-color 170ms ease,
|
|
background 170ms ease,
|
|
color 170ms ease;
|
|
}
|
|
|
|
.video-agent-primary,
|
|
.video-agent-send {
|
|
border: 1px solid rgba(var(--accent-rgb), 0.34);
|
|
background: var(--accent);
|
|
color: #061014;
|
|
}
|
|
|
|
.video-agent-secondary,
|
|
.video-agent-prompt-row button {
|
|
border: 1px solid var(--border-subtle);
|
|
background: var(--bg-elevated);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.video-agent-primary:hover,
|
|
.video-agent-secondary:hover,
|
|
.video-agent-send:hover,
|
|
.video-agent-prompt-row button:hover,
|
|
.video-agent-shot:hover,
|
|
.video-agent-timeline__item:hover,
|
|
.video-agent-launch:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.video-agent-metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 112px));
|
|
gap: 16px;
|
|
margin: 8px 0 0;
|
|
}
|
|
|
|
.video-agent-metrics div {
|
|
display: grid;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.video-agent-metrics dt {
|
|
color: var(--fg-body);
|
|
font-size: 28px;
|
|
font-weight: 950;
|
|
line-height: 1;
|
|
}
|
|
|
|
.video-agent-metrics dd {
|
|
margin: 0;
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.video-agent-hero__visual {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 154px;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
min-height: 430px;
|
|
animation: video-agent-rise 620ms ease 80ms both;
|
|
}
|
|
|
|
.video-agent-preview {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: 430px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.46);
|
|
border-radius: 8px;
|
|
background: #050708;
|
|
box-shadow: none;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.video-agent-preview__image,
|
|
.video-agent-shot__image {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background-color: #101417;
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
.video-agent-preview__image {
|
|
position: absolute;
|
|
inset: 0;
|
|
filter: saturate(1.06) contrast(1.03);
|
|
transform: scale(1.02);
|
|
transition: transform 520ms ease;
|
|
}
|
|
|
|
.video-agent-preview:hover .video-agent-preview__image {
|
|
transform: scale(1.06);
|
|
}
|
|
|
|
.video-agent-preview__image::before,
|
|
.video-agent-preview__image::after,
|
|
.video-agent-shot__image::before,
|
|
.video-agent-shot__image::after {
|
|
content: "";
|
|
position: absolute;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.video-agent-preview__image::before,
|
|
.video-agent-shot__image::before {
|
|
inset: 0;
|
|
background: inherit;
|
|
}
|
|
|
|
.video-agent-preview__image::after,
|
|
.video-agent-shot__image::after {
|
|
inset: 0;
|
|
background: transparent;
|
|
mix-blend-mode: screen;
|
|
}
|
|
|
|
.video-agent-preview__image.is-rain,
|
|
.video-agent-shot__image.is-rain {
|
|
background: #1c3540;
|
|
}
|
|
|
|
.video-agent-preview__image.is-rain::before,
|
|
.video-agent-shot__image.is-rain::before {
|
|
background: transparent;
|
|
opacity: 0.78;
|
|
}
|
|
|
|
.video-agent-preview__image.is-product,
|
|
.video-agent-shot__image.is-product {
|
|
background: #101214;
|
|
}
|
|
|
|
.video-agent-preview__image.is-product::before,
|
|
.video-agent-shot__image.is-product::before {
|
|
top: 20%;
|
|
right: 28%;
|
|
bottom: 18%;
|
|
left: 28%;
|
|
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
border-radius: 28px;
|
|
background: #202827;
|
|
box-shadow: none;
|
|
transform: rotate(-8deg);
|
|
}
|
|
|
|
.video-agent-preview__image.is-scene,
|
|
.video-agent-shot__image.is-scene {
|
|
background: #1b221f;
|
|
}
|
|
|
|
.video-agent-preview__image.is-scene::before,
|
|
.video-agent-shot__image.is-scene::before {
|
|
inset: 22% 13% 20%;
|
|
border-radius: 18px;
|
|
background: #20313b;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.video-agent-preview::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 2;
|
|
background: transparent;
|
|
mix-blend-mode: screen;
|
|
opacity: 0.38;
|
|
transform: translateX(-100%);
|
|
animation: video-agent-scan 5.6s ease-in-out infinite;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.video-agent-preview__shade {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
background: rgba(0, 0, 0, 0.72);
|
|
}
|
|
|
|
.video-agent-preview__meta {
|
|
position: absolute;
|
|
right: 20px;
|
|
bottom: 20px;
|
|
left: 20px;
|
|
z-index: 3;
|
|
display: grid;
|
|
gap: 8px;
|
|
color: #fff;
|
|
}
|
|
|
|
.video-agent-preview__meta span {
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.video-agent-preview__meta strong {
|
|
font-size: 28px;
|
|
line-height: 1.12;
|
|
}
|
|
|
|
.video-agent-preview__meta small {
|
|
display: -webkit-box;
|
|
max-width: 620px;
|
|
overflow: hidden;
|
|
color: rgba(255, 255, 255, 0.78);
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
|
|
.video-agent-preview__play {
|
|
position: absolute;
|
|
top: 18px;
|
|
left: 18px;
|
|
z-index: 3;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
border: 1px solid rgba(255, 255, 255, 0.32);
|
|
border-radius: 999px;
|
|
background: rgba(0, 0, 0, 0.34);
|
|
color: #fff;
|
|
font-size: 24px;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.video-agent-shot-rail {
|
|
display: grid;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.video-agent-shot {
|
|
position: relative;
|
|
display: grid;
|
|
align-content: end;
|
|
min-width: 0;
|
|
min-height: 136px;
|
|
overflow: hidden;
|
|
padding: 10px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 8px;
|
|
background: #0b0d0f;
|
|
color: #fff;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 170ms ease,
|
|
border-color 170ms ease,
|
|
box-shadow 170ms ease;
|
|
}
|
|
|
|
.video-agent-shot::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.78);
|
|
}
|
|
|
|
.video-agent-shot__image {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.video-agent-shot span:not(.video-agent-shot__image),
|
|
.video-agent-shot strong {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.video-agent-shot span:not(.video-agent-shot__image) {
|
|
color: rgba(255, 255, 255, 0.72);
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.video-agent-shot strong {
|
|
overflow: hidden;
|
|
font-size: 13px;
|
|
line-height: 1.3;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.video-agent-shot.is-active {
|
|
border-color: rgba(var(--accent-rgb), 0.74);
|
|
box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.18);
|
|
}
|
|
|
|
.video-agent-composer,
|
|
.video-agent-shot-board,
|
|
.video-agent-agent-panel,
|
|
.video-agent-step {
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
box-shadow: var(--shadow-tight);
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.video-agent-composer {
|
|
display: grid;
|
|
gap: 12px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 16px;
|
|
}
|
|
|
|
.video-agent-composer__head,
|
|
.video-agent-agent-panel__top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.video-agent-composer__head strong,
|
|
.video-agent-agent-panel__top strong {
|
|
color: var(--fg-body);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.video-agent-composer__textarea {
|
|
width: 100%;
|
|
min-height: 92px;
|
|
max-height: 180px;
|
|
padding: 0;
|
|
border: 0;
|
|
outline: none;
|
|
resize: vertical;
|
|
background: transparent;
|
|
color: var(--fg-body);
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.video-agent-composer__footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.video-agent-prompt-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.video-agent-prompt-row button {
|
|
min-height: 36px;
|
|
padding: 0 12px;
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.video-agent-prompt-row button.is-active {
|
|
border-color: rgba(var(--accent-rgb), 0.36);
|
|
background: rgba(var(--accent-rgb), 0.12);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.video-agent-send {
|
|
flex: 0 0 auto;
|
|
min-width: 112px;
|
|
}
|
|
|
|
.video-agent-send:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.48;
|
|
transform: none;
|
|
}
|
|
|
|
.video-agent-status {
|
|
min-height: 20px;
|
|
margin: 0;
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.video-agent-pipeline,
|
|
.video-agent-workspace {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.video-agent-section-head {
|
|
display: grid;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.video-agent-section-head h2 {
|
|
margin: 0;
|
|
color: var(--fg-body);
|
|
font-size: 24px;
|
|
line-height: 1.22;
|
|
}
|
|
|
|
.video-agent-pipeline__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.video-agent-step {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 9px;
|
|
min-height: 170px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.video-agent-step__icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
background: rgba(var(--accent-rgb), 0.13);
|
|
color: var(--accent);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.video-agent-step span {
|
|
color: var(--accent-cyan);
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.video-agent-step strong {
|
|
color: var(--fg-body);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.video-agent-step p {
|
|
margin: 0;
|
|
color: var(--fg-muted);
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.video-agent-workspace {
|
|
grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
|
|
align-items: start;
|
|
}
|
|
|
|
.video-agent-shot-board,
|
|
.video-agent-agent-panel {
|
|
display: grid;
|
|
gap: 16px;
|
|
min-width: 0;
|
|
padding: 18px;
|
|
}
|
|
|
|
.video-agent-timeline {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.video-agent-timeline__item {
|
|
position: relative;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
min-height: 126px;
|
|
padding: 14px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 8px;
|
|
background: var(--bg-inset);
|
|
color: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 170ms ease,
|
|
border-color 170ms ease,
|
|
background 170ms ease;
|
|
}
|
|
|
|
.video-agent-timeline__item::before {
|
|
content: "";
|
|
position: absolute;
|
|
right: 14px;
|
|
bottom: 14px;
|
|
left: 14px;
|
|
height: 4px;
|
|
border-radius: 999px;
|
|
background: rgba(var(--accent-rgb), 0.12);
|
|
}
|
|
|
|
.video-agent-timeline__item::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 14px;
|
|
left: 14px;
|
|
width: 38%;
|
|
height: 4px;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
animation: video-agent-timeline 2.8s ease-in-out infinite;
|
|
}
|
|
|
|
.video-agent-timeline__item span {
|
|
color: var(--fg-soft);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.video-agent-timeline__item strong {
|
|
overflow: hidden;
|
|
color: var(--fg-body);
|
|
font-size: 15px;
|
|
line-height: 1.25;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.video-agent-timeline__item small {
|
|
color: var(--accent-gold);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.video-agent-timeline__item.is-active {
|
|
border-color: rgba(var(--accent-rgb), 0.45);
|
|
background: rgba(var(--accent-rgb), 0.1);
|
|
}
|
|
|
|
.video-agent-agent-panel__top span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.video-agent-message-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.video-agent-message {
|
|
display: grid;
|
|
grid-template-columns: 34px minmax(0, 1fr);
|
|
align-items: start;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.video-agent-message > span {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 999px;
|
|
background: var(--bg-inset);
|
|
color: var(--fg-body);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.video-agent-message--assistant > span {
|
|
background: var(--accent);
|
|
color: #061014;
|
|
}
|
|
|
|
.video-agent-message p {
|
|
margin: 0;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border-weak);
|
|
border-radius: 8px;
|
|
background: var(--bg-inset);
|
|
color: var(--fg-body);
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.video-agent-launch-row {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.video-agent-launch {
|
|
display: grid;
|
|
justify-items: start;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
padding: 12px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 8px;
|
|
background: var(--bg-inset);
|
|
color: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 170ms ease,
|
|
border-color 170ms ease,
|
|
background 170ms ease;
|
|
}
|
|
|
|
.video-agent-launch span {
|
|
color: var(--accent-cyan);
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.video-agent-launch.is-agent span {
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
.video-agent-launch strong {
|
|
color: var(--fg-body);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.video-agent-launch small {
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .video-agent-page {
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .video-agent-composer,
|
|
.web-shell[data-theme="dark"] .video-agent-shot-board,
|
|
.web-shell[data-theme="dark"] .video-agent-agent-panel,
|
|
.web-shell[data-theme="dark"] .video-agent-step {
|
|
background: rgba(12, 19, 17, 0.86);
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .video-agent-secondary,
|
|
.web-shell[data-theme="dark"] .video-agent-prompt-row button {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
@keyframes video-agent-rise {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(12px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes video-agent-scan {
|
|
0%,
|
|
58% {
|
|
transform: translateX(-115%);
|
|
}
|
|
|
|
82%,
|
|
100% {
|
|
transform: translateX(115%);
|
|
}
|
|
}
|
|
|
|
@keyframes video-agent-timeline {
|
|
0%,
|
|
100% {
|
|
width: 30%;
|
|
}
|
|
|
|
50% {
|
|
width: 72%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1180px) {
|
|
.video-agent-hero {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
min-height: auto;
|
|
}
|
|
|
|
.video-agent-hero h1 {
|
|
max-width: 760px;
|
|
font-size: 54px;
|
|
}
|
|
|
|
.video-agent-hero__copy p {
|
|
max-width: 720px;
|
|
}
|
|
|
|
.video-agent-pipeline__grid,
|
|
.video-agent-workspace {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.video-agent-agent-panel {
|
|
grid-column: span 2;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.video-agent-scroll {
|
|
gap: 20px;
|
|
padding: 20px 14px 92px;
|
|
}
|
|
|
|
.video-agent-hero {
|
|
gap: 22px;
|
|
}
|
|
|
|
.video-agent-composer {
|
|
order: -1;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.video-agent-hero h1 {
|
|
font-size: 40px;
|
|
}
|
|
|
|
.video-agent-hero__copy p {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.video-agent-hero__visual {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
min-height: auto;
|
|
}
|
|
|
|
.video-agent-preview {
|
|
min-height: 340px;
|
|
}
|
|
|
|
.video-agent-shot-rail {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.video-agent-shot {
|
|
min-height: 118px;
|
|
}
|
|
|
|
.video-agent-composer__footer {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.video-agent-send {
|
|
width: 100%;
|
|
}
|
|
|
|
.video-agent-pipeline__grid,
|
|
.video-agent-workspace,
|
|
.video-agent-timeline {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.video-agent-agent-panel {
|
|
grid-column: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.video-agent-hero h1 {
|
|
font-size: 34px;
|
|
}
|
|
|
|
.video-agent-metrics {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.video-agent-preview {
|
|
min-height: 300px;
|
|
}
|
|
|
|
.video-agent-shot-rail {
|
|
display: none;
|
|
}
|
|
|
|
.video-agent-composer__head,
|
|
.video-agent-agent-panel__top {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.video-agent-preview__meta {
|
|
right: 14px;
|
|
bottom: 14px;
|
|
left: 14px;
|
|
}
|
|
|
|
.video-agent-preview__meta strong {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.video-agent-shot-rail {
|
|
display: flex;
|
|
gap: 10px;
|
|
overflow-x: auto;
|
|
padding-bottom: 2px;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.video-agent-shot-rail::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.video-agent-shot {
|
|
flex: 0 0 148px;
|
|
}
|
|
|
|
.video-agent-prompt-row {
|
|
flex-wrap: nowrap;
|
|
overflow-x: auto;
|
|
padding-bottom: 2px;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.video-agent-prompt-row::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.video-agent-prompt-row button {
|
|
flex: 0 0 auto;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.video-agent-hero__copy,
|
|
.video-agent-hero__visual,
|
|
.video-agent-preview::before,
|
|
.video-agent-timeline__item::after {
|
|
animation: none;
|
|
}
|
|
|
|
.video-agent-preview__image,
|
|
.video-agent-primary,
|
|
.video-agent-secondary,
|
|
.video-agent-send,
|
|
.video-agent-prompt-row button,
|
|
.video-agent-shot,
|
|
.video-agent-timeline__item,
|
|
.video-agent-launch {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
/* === Workbench landing page: hei layout + lv green palette === */
|
|
.workbench-landing-page {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.workbench-landing-scroll {
|
|
display: grid;
|
|
justify-items: center;
|
|
align-content: start;
|
|
gap: 28px;
|
|
width: min(100%, 860px);
|
|
min-height: 100%;
|
|
margin: 0 auto;
|
|
padding: 48px 28px 64px;
|
|
}
|
|
|
|
.workbench-landing-hero {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.workbench-landing-title {
|
|
margin: 0;
|
|
color: var(--fg-body);
|
|
font-size: clamp(32px, 4vw, 48px);
|
|
font-weight: 950;
|
|
line-height: 1.1;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.workbench-landing-subtitle {
|
|
max-width: 560px;
|
|
margin: 0;
|
|
color: var(--fg-muted);
|
|
font-size: 15px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.workbench-mode-strip {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.workbench-mode-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
min-width: 84px;
|
|
height: 80px;
|
|
padding: 0 14px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-panel);
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 180ms ease,
|
|
border-color 180ms ease,
|
|
background 180ms ease,
|
|
color 180ms ease,
|
|
box-shadow 180ms ease;
|
|
}
|
|
|
|
.workbench-mode-chip:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(var(--accent-rgb), 0.28);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.workbench-mode-chip.is-active {
|
|
border-color: rgba(var(--accent-rgb), 0.45);
|
|
background: rgba(var(--accent-rgb), 0.13);
|
|
color: var(--fg-body);
|
|
box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.12);
|
|
}
|
|
|
|
.workbench-mode-chip__icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 10px;
|
|
background: rgba(var(--accent-rgb), 0.1);
|
|
color: var(--accent);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.workbench-mode-chip.is-active .workbench-mode-chip__icon {
|
|
background: rgba(var(--accent-rgb), 0.2);
|
|
}
|
|
|
|
.workbench-composer-shell {
|
|
width: 100%;
|
|
padding: 16px;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.28);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--bg-elevated);
|
|
box-shadow: none;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.workbench-composer-textarea {
|
|
width: 100%;
|
|
min-height: 110px;
|
|
max-height: 220px;
|
|
padding: 4px 2px;
|
|
border: 0;
|
|
outline: none;
|
|
resize: vertical;
|
|
background: transparent;
|
|
color: var(--fg-body);
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.workbench-composer-textarea::placeholder {
|
|
color: var(--fg-dim);
|
|
}
|
|
|
|
.workbench-composer-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
margin-top: 10px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--border-weak);
|
|
}
|
|
|
|
.workbench-composer-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.workbench-composer-file-input {
|
|
display: none;
|
|
}
|
|
|
|
.workbench-composer-tool {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
min-width: 36px;
|
|
height: 36px;
|
|
padding: 0 10px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 999px;
|
|
background: var(--bg-inset);
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
transition:
|
|
border-color 160ms ease,
|
|
color 160ms ease;
|
|
}
|
|
|
|
.workbench-composer-tool[aria-haspopup="dialog"] {
|
|
min-width: 146px;
|
|
padding: 0 14px;
|
|
}
|
|
|
|
.workbench-composer-tool:hover {
|
|
border-color: rgba(var(--accent-rgb), 0.36);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.workbench-composer-tool__text {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.workbench-generation-menu {
|
|
position: relative;
|
|
z-index: 4;
|
|
}
|
|
|
|
.workbench-generation-trigger {
|
|
min-width: 132px;
|
|
border-color: rgba(var(--accent-rgb), 0.46);
|
|
background: var(--bg-inset);
|
|
color: var(--accent);
|
|
box-shadow:
|
|
0 0 0 2px rgba(var(--accent-rgb), 0.08),
|
|
0 8px 0 rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.workbench-generation-trigger .anticon:last-child {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.workbench-generation-menu__panel {
|
|
position: absolute;
|
|
left: 0;
|
|
top: calc(100% + 8px);
|
|
display: grid;
|
|
width: 190px;
|
|
padding: 8px;
|
|
border: 2px solid rgba(var(--accent-rgb), 0.5);
|
|
border-radius: 12px;
|
|
background: var(--bg-elevated);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.workbench-generation-menu__panel button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 42px;
|
|
padding: 0 12px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: var(--fg-body);
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.workbench-generation-menu__panel button .anticon {
|
|
color: var(--accent);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.workbench-generation-menu__panel button:hover,
|
|
.workbench-generation-menu__panel button.is-active {
|
|
background: rgba(var(--accent-rgb), 0.18);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.workbench-preferences {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.workbench-preferences__scrim {
|
|
position: absolute;
|
|
inset: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.workbench-preferences__panel {
|
|
position: fixed;
|
|
z-index: 1;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 28px;
|
|
max-height: calc(100vh - 24px);
|
|
overflow: auto;
|
|
padding: 24px 26px;
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
border-radius: 20px;
|
|
background: rgba(255, 255, 255, 0.985);
|
|
color: #111827;
|
|
box-shadow: none;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.workbench-preferences__resize {
|
|
position: absolute;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
cursor: nwse-resize;
|
|
}
|
|
|
|
.workbench-preferences__resize:hover {
|
|
background-color: rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.workbench-preferences__section-label {
|
|
margin-bottom: -18px;
|
|
color: #9aa1aa;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.workbench-ratio-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(9, minmax(0, 1fr));
|
|
gap: 4px;
|
|
padding: 8px 10px;
|
|
border-radius: 16px;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.workbench-ratio-option {
|
|
display: grid;
|
|
justify-items: center;
|
|
align-content: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
min-height: 78px;
|
|
padding: 9px 4px;
|
|
border: 1px solid transparent;
|
|
border-radius: 12px;
|
|
background: transparent;
|
|
color: #8a8f98;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.workbench-ratio-option.is-active {
|
|
border-color: transparent;
|
|
background: #fff;
|
|
color: #1f2937;
|
|
box-shadow: 0 5px 18px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.workbench-ratio-option__icon {
|
|
display: block;
|
|
width: 18px;
|
|
height: 12px;
|
|
border: 2px solid currentColor;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.workbench-ratio-option__icon[data-ratio="智能"] {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.workbench-ratio-option__icon[data-ratio="21:9"] {
|
|
width: 22px;
|
|
height: 8px;
|
|
}
|
|
|
|
.workbench-ratio-option__icon[data-ratio="16:9"] {
|
|
width: 22px;
|
|
height: 10px;
|
|
}
|
|
|
|
.workbench-ratio-option__icon[data-ratio="3:2"] {
|
|
width: 20px;
|
|
height: 12px;
|
|
}
|
|
|
|
.workbench-ratio-option__icon[data-ratio="4:3"] {
|
|
width: 18px;
|
|
height: 13px;
|
|
}
|
|
|
|
.workbench-ratio-option__icon[data-ratio="1:1"] {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.workbench-ratio-option__icon[data-ratio="3:4"] {
|
|
width: 14px;
|
|
height: 18px;
|
|
}
|
|
|
|
.workbench-ratio-option__icon[data-ratio="2:3"] {
|
|
width: 12px;
|
|
height: 19px;
|
|
}
|
|
|
|
.workbench-ratio-option__icon[data-ratio="9:16"] {
|
|
width: 11px;
|
|
height: 20px;
|
|
}
|
|
|
|
.workbench-resolution-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
padding: 4px;
|
|
border-radius: 14px;
|
|
background: #f8f8f8;
|
|
}
|
|
|
|
.workbench-resolution-grid button {
|
|
min-height: 58px;
|
|
border: 0;
|
|
border-radius: 12px;
|
|
background: transparent;
|
|
color: #222831;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.workbench-resolution-grid button.is-active {
|
|
background: #fff;
|
|
box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.workbench-size-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: #a2abb5;
|
|
}
|
|
|
|
.workbench-size-grid label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
height: 60px;
|
|
padding: 0 22px;
|
|
border-radius: 12px;
|
|
background: #f7f7f7;
|
|
}
|
|
|
|
.workbench-size-grid label span {
|
|
color: #c7d0da;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.workbench-size-grid input {
|
|
min-width: 0;
|
|
width: 100%;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: #c7d0da;
|
|
font-size: 16px;
|
|
text-align: right;
|
|
}
|
|
|
|
.workbench-size-grid > .anticon {
|
|
justify-self: center;
|
|
color: #c1cbd5;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.workbench-size-grid > span {
|
|
color: #607083;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.workbench-composer-send {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
min-height: 40px;
|
|
padding: 0 18px;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.34);
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
color: #061014;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 170ms ease,
|
|
filter 170ms ease;
|
|
}
|
|
|
|
.workbench-composer-send:hover {
|
|
transform: translateY(-1px);
|
|
filter: brightness(1.06);
|
|
}
|
|
|
|
.workbench-composer-send:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.45;
|
|
transform: none;
|
|
filter: none;
|
|
}
|
|
|
|
/* Dark theme overrides for workbench landing */
|
|
.web-shell[data-theme="dark"] .workbench-landing-page {
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .workbench-composer-shell {
|
|
background: rgba(12, 17, 15, 0.88);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .workbench-mode-chip {
|
|
background: rgba(255, 255, 255, 0.055);
|
|
}
|
|
|
|
/* Workbench responsive */
|
|
@media (max-width: 900px) {
|
|
.workbench-landing-scroll {
|
|
gap: 22px;
|
|
padding: 32px 18px 92px;
|
|
}
|
|
|
|
.workbench-landing-title {
|
|
font-size: clamp(28px, 6vw, 38px);
|
|
}
|
|
|
|
.workbench-landing-subtitle {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.workbench-mode-chip {
|
|
min-width: 72px;
|
|
height: 72px;
|
|
padding: 0 10px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.workbench-mode-chip__icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.workbench-composer-shell {
|
|
padding: 14px;
|
|
}
|
|
|
|
.workbench-composer-footer {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
}
|
|
|
|
.workbench-composer-send {
|
|
width: 100%;
|
|
}
|
|
|
|
.workbench-preferences__panel {
|
|
gap: 20px;
|
|
padding: 22px 18px;
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.workbench-ratio-grid {
|
|
grid-template-columns: repeat(9, minmax(48px, 1fr));
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.workbench-ratio-grid::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.workbench-landing-scroll {
|
|
padding: 24px 14px 92px;
|
|
}
|
|
|
|
.workbench-mode-strip {
|
|
gap: 6px;
|
|
}
|
|
|
|
.workbench-mode-chip {
|
|
min-width: 64px;
|
|
height: 64px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.workbench-mode-chip__icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.workbench-preferences__panel {
|
|
gap: 18px;
|
|
padding: 18px 14px;
|
|
}
|
|
|
|
.workbench-ratio-option {
|
|
min-height: 66px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.workbench-resolution-grid button {
|
|
min-height: 46px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.workbench-size-grid {
|
|
grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
}
|
|
|
|
.workbench-size-grid label {
|
|
height: 50px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.workbench-size-grid input {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
|
|
/* ===== Ecommerce Page ===== */
|
|
.ecommerce-landing-page {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.ecommerce-landing-scroll {
|
|
display: grid;
|
|
justify-items: center;
|
|
align-content: start;
|
|
gap: 28px;
|
|
width: min(100%, 1040px);
|
|
margin: 0 auto;
|
|
padding: 48px 28px 64px;
|
|
}
|
|
|
|
.ecommerce-generate-carousel {
|
|
width: min(100%, 1040px);
|
|
min-height: 310px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ecommerce-generate-carousel .community-carousel__slide {
|
|
min-height: 286px;
|
|
}
|
|
|
|
.ecommerce-generate-carousel .community-carousel__arrow {
|
|
opacity: 1;
|
|
}
|
|
|
|
.ecommerce-carousel-file-input {
|
|
display: none;
|
|
}
|
|
|
|
.ecommerce-carousel-upload {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: -132px;
|
|
z-index: 3;
|
|
width: 108px;
|
|
min-height: 42px;
|
|
padding: 9px 12px;
|
|
border: 2px solid #1d2a1d;
|
|
border-radius: 0;
|
|
background: #fff2b8;
|
|
color: #1d2a1d;
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
letter-spacing: 0.04em;
|
|
box-shadow: 4px 4px 0 #1d2a1d;
|
|
cursor: pointer;
|
|
transform: translateY(-50%);
|
|
transition:
|
|
transform 140ms ease,
|
|
box-shadow 140ms ease,
|
|
background 140ms ease;
|
|
}
|
|
|
|
.ecommerce-carousel-upload:hover {
|
|
background: #ffd76b;
|
|
transform: translateY(calc(-50% - 2px));
|
|
box-shadow: 5px 5px 0 #1d2a1d;
|
|
}
|
|
|
|
.ecommerce-carousel-upload:active {
|
|
transform: translateY(calc(-50% + 2px));
|
|
box-shadow: 2px 2px 0 #1d2a1d;
|
|
}
|
|
|
|
@media (max-width: 1320px) {
|
|
.ecommerce-carousel-upload {
|
|
right: 16px;
|
|
top: 16px;
|
|
transform: none;
|
|
}
|
|
|
|
.ecommerce-carousel-upload:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.ecommerce-carousel-upload:active {
|
|
transform: translateY(2px);
|
|
}
|
|
}
|
|
|
|
.ecommerce-mode-carousel {
|
|
position: relative;
|
|
width: min(100%, 760px);
|
|
padding: 0;
|
|
}
|
|
|
|
.ecommerce-mode-carousel--hidden {
|
|
display: none;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__viewport {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__track {
|
|
display: flex;
|
|
width: 100%;
|
|
transition: transform 560ms cubic-bezier(0.64, 0, 0.32, 1);
|
|
will-change: transform;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__track.is-resetting {
|
|
transition: none;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__slide {
|
|
flex: 0 0 33.333333%;
|
|
height: 126px;
|
|
padding: 0 7px;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__slide img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
object-fit: cover;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__button {
|
|
position: absolute;
|
|
top: 50%;
|
|
z-index: 2;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
transform: translateY(-50%);
|
|
background: transparent;
|
|
color: var(--fg-body);
|
|
box-shadow: none;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
transition:
|
|
opacity 160ms ease,
|
|
transform 160ms ease,
|
|
color 160ms ease;
|
|
}
|
|
|
|
.ecommerce-mode-carousel:hover .ecommerce-mode-carousel__button,
|
|
.ecommerce-mode-carousel__button:hover,
|
|
.ecommerce-mode-carousel__button:focus-visible,
|
|
.ecommerce-mode-carousel__button:active {
|
|
opacity: 1;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__button:hover {
|
|
transform: translateY(-50%) scale(1.04);
|
|
background: transparent;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.ecommerce-mode-carousel__button--prev {
|
|
left: 14px;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__button--next {
|
|
right: 14px;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.ecommerce-mode-carousel__track {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
.ecommerce-landing-hero {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 6px;
|
|
text-align: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.ecommerce-landing-title {
|
|
margin: 0;
|
|
color: var(--fg-body);
|
|
font-size: clamp(28px, 3.4vw, 40px);
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.ecommerce-landing-subtitle {
|
|
max-width: 560px;
|
|
margin: 0;
|
|
color: var(--fg-muted);
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
line-height: 1.75;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.ecommerce-mode-strip {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.ecommerce-composer-shell .ecommerce-mode-strip {
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid var(--border-weak);
|
|
}
|
|
|
|
.ecommerce-mode-chip {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 148px;
|
|
padding: 0;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-panel);
|
|
color: #fff;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
transition:
|
|
transform 180ms ease,
|
|
border-color 180ms ease,
|
|
box-shadow 180ms ease;
|
|
}
|
|
|
|
.ecommerce-mode-chip:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(var(--accent-rgb), 0.55);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ecommerce-mode-chip.is-active {
|
|
border-color: rgba(var(--accent-rgb), 0.65);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ecommerce-mode-chip__thumb {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
}
|
|
|
|
.ecommerce-mode-chip__thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 500ms ease;
|
|
}
|
|
|
|
.ecommerce-mode-chip:hover .ecommerce-mode-chip__thumb img {
|
|
transform: scale(1.06);
|
|
}
|
|
|
|
.ecommerce-mode-chip__overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
background: rgba(0, 0, 0, 0.62);
|
|
transition: background 200ms ease;
|
|
}
|
|
|
|
.ecommerce-mode-chip:hover .ecommerce-mode-chip__overlay {
|
|
background: rgba(0, 0, 0, 0.55);
|
|
}
|
|
|
|
.ecommerce-mode-chip.is-active .ecommerce-mode-chip__overlay {
|
|
background: rgba(0, 0, 0, 0.58);
|
|
}
|
|
|
|
.ecommerce-mode-chip__content {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ecommerce-mode-chip__icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.14);
|
|
color: #fff;
|
|
font-size: 18px;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.ecommerce-mode-chip.is-active .ecommerce-mode-chip__icon {
|
|
background: rgba(var(--accent-rgb), 0.35);
|
|
}
|
|
|
|
.ecommerce-composer-shell {
|
|
width: 100%;
|
|
padding: 12px 14px 14px;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.28);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--bg-elevated);
|
|
box-shadow: none;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.ecommerce-composer-textarea {
|
|
width: 100%;
|
|
min-height: 90px;
|
|
max-height: 180px;
|
|
padding: 4px 2px;
|
|
border: 0;
|
|
outline: none;
|
|
resize: vertical;
|
|
background: transparent;
|
|
color: var(--fg-body);
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
line-height: 1.7;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.ecommerce-composer-textarea::placeholder {
|
|
color: var(--fg-dim);
|
|
}
|
|
|
|
.ecommerce-composer-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
margin-top: 10px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--border-weak);
|
|
}
|
|
|
|
.ecommerce-composer-hint {
|
|
color: var(--fg-dim);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.ecommerce-composer-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ecommerce-composer-tool {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
min-width: 36px;
|
|
height: 36px;
|
|
padding: 0 10px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: 999px;
|
|
background: var(--bg-inset);
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
transition:
|
|
border-color 160ms ease,
|
|
color 160ms ease;
|
|
}
|
|
|
|
.ecommerce-composer-tool:hover {
|
|
border-color: rgba(var(--accent-rgb), 0.36);
|
|
color: var(--fg-body);
|
|
}
|
|
|
|
.ecommerce-composer-tool__text {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.ecommerce-composer-send {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
min-height: 40px;
|
|
padding: 0 18px;
|
|
border: 1px solid rgba(var(--accent-rgb), 0.34);
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
color: #061014;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 170ms ease,
|
|
filter 170ms ease;
|
|
}
|
|
|
|
.ecommerce-composer-send:hover {
|
|
transform: translateY(-1px);
|
|
filter: brightness(1.06);
|
|
}
|
|
|
|
.ecommerce-composer-send:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.45;
|
|
transform: none;
|
|
filter: none;
|
|
}
|
|
|
|
/* Results */
|
|
.ecommerce-results {
|
|
width: 100%;
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.ecommerce-results__head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--fg-body);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.ecommerce-results__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.ecommerce-result-card {
|
|
display: grid;
|
|
gap: 6px;
|
|
padding: 16px;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-panel);
|
|
cursor: pointer;
|
|
transition:
|
|
transform 180ms ease,
|
|
border-color 180ms ease,
|
|
box-shadow 180ms ease;
|
|
}
|
|
|
|
.ecommerce-result-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(var(--accent-rgb), 0.28);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.ecommerce-result-card__type {
|
|
justify-self: start;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
background: rgba(var(--accent-rgb), 0.12);
|
|
color: var(--accent);
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.ecommerce-result-card__title {
|
|
color: var(--fg-body);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.ecommerce-result-card__preview {
|
|
color: var(--fg-muted);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.ecommerce-result-card__time {
|
|
color: var(--fg-dim);
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* Dark theme overrides for ecommerce */
|
|
.web-shell[data-theme="dark"] .ecommerce-landing-page {
|
|
background: var(--bg-shell);
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .ecommerce-composer-shell {
|
|
background: rgba(12, 17, 15, 0.88);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.web-shell[data-theme="dark"] .ecommerce-mode-chip {
|
|
background: rgba(255, 255, 255, 0.055);
|
|
}
|
|
|
|
.ecommerce-community-divider {
|
|
width: min(100%, 860px);
|
|
margin: 0 auto;
|
|
height: 1px;
|
|
background: transparent;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.ecommerce-community-content {
|
|
width: 100%;
|
|
max-width: 1240px;
|
|
margin: 0 auto;
|
|
padding: 32px 28px 64px;
|
|
display: grid;
|
|
gap: 28px;
|
|
}
|
|
|
|
/* Ecommerce responsive */
|
|
@media (max-width: 900px) {
|
|
.ecommerce-landing-scroll {
|
|
gap: 18px;
|
|
padding: 32px 18px 48px;
|
|
}
|
|
|
|
.ecommerce-mode-carousel {
|
|
width: min(100%, 680px);
|
|
padding: 0;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__slide {
|
|
height: 106px;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__button {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.ecommerce-community-content {
|
|
padding: 18px 18px 48px;
|
|
gap: 18px;
|
|
}
|
|
|
|
.ecommerce-landing-title {
|
|
font-size: clamp(24px, 5.2vw, 32px);
|
|
}
|
|
|
|
.ecommerce-landing-subtitle {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.ecommerce-mode-chip {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 118px;
|
|
padding: 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ecommerce-mode-chip__icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.ecommerce-composer-shell {
|
|
padding: 14px;
|
|
}
|
|
|
|
.ecommerce-composer-footer {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
}
|
|
|
|
.ecommerce-composer-send {
|
|
width: 100%;
|
|
}
|
|
|
|
.ecommerce-results__grid {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.ecommerce-landing-scroll {
|
|
gap: 14px;
|
|
padding: 24px 14px 32px;
|
|
}
|
|
|
|
.ecommerce-mode-carousel {
|
|
padding: 0;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__slide {
|
|
height: 82px;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.ecommerce-mode-carousel__button {
|
|
width: 26px;
|
|
height: 26px;
|
|
}
|
|
|
|
.ecommerce-community-content {
|
|
padding: 14px 14px 32px;
|
|
gap: 14px;
|
|
}
|
|
|
|
.ecommerce-mode-strip {
|
|
gap: 6px;
|
|
}
|
|
|
|
.ecommerce-mode-chip {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 96px;
|
|
padding: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ecommerce-mode-chip__icon {
|
|
width: 28px;
|
|
height: 28px;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
/* Final pixel overrides for workbench and canvas context menus */
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas .studio-canvas-context-menu,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas .studio-canvas-context-menu button,
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas .studio-canvas-context-menu kbd {
|
|
color: #111 !important;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif !important;
|
|
font-weight: 1000 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .studio-canvas .studio-canvas-context-menu button:disabled {
|
|
color: #8aa196 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page {
|
|
background: #f5fff4;
|
|
background-size: auto;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-title {
|
|
color: #11251a;
|
|
font-weight: 1000;
|
|
text-shadow: 3px 3px 0 #d9f8dd;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-subtitle {
|
|
color: #557466;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-shell,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-preferences__panel {
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
background-size: auto;
|
|
box-shadow: 7px 7px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip {
|
|
color: #11251a;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip.is-active {
|
|
border-color: #111;
|
|
background: #d9f8dd;
|
|
box-shadow: 5px 5px 0 #111;
|
|
transform: translate(2px, 2px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip__icon {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-mode-chip.is-active .workbench-mode-chip__icon {
|
|
background: #38d776;
|
|
color: #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-textarea {
|
|
color: #11251a;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-textarea::placeholder {
|
|
color: #557466;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-shell {
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-footer {
|
|
border-top: 2px solid #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-tool,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-send,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-preferences__resize,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-ratio-option,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-resolution-grid button,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-size-grid input {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
box-shadow: 3px 3px 0 #111;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-tool:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-send:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-ratio-option:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-ratio-option.is-active,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-resolution-grid button.is-active {
|
|
border-color: #111;
|
|
background: #d9f8dd;
|
|
color: #11251a;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transform: translate(1px, 1px);
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-send {
|
|
background: #38d776;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-composer-send:disabled {
|
|
background: #dce8df;
|
|
color: #8aa196;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-preferences,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-preferences__scrim {
|
|
background: transparent;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-preferences__section-label,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-size-grid label span,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-size-grid > span {
|
|
color: #557466;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-ratio-option__icon {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #d9f8dd;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-size-grid input:focus {
|
|
outline: none;
|
|
border-color: #111;
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
/* Final override: remove the green gap above the generate right sidebar */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar {
|
|
position: fixed !important;
|
|
top: var(--workbench-sidebar-top, 137px) !important;
|
|
right: var(--workbench-sidebar-right, 0) !important;
|
|
left: var(--workbench-sidebar-left, auto) !important;
|
|
bottom: 0 !important;
|
|
z-index: 80 !important;
|
|
width: 228px !important;
|
|
min-height: 0 !important;
|
|
border-width: 3px 0 0 3px !important;
|
|
border-style: solid !important;
|
|
border-color: #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #101916 !important;
|
|
background-size: auto !important;
|
|
box-shadow: -5px 0 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: 42px !important;
|
|
}
|
|
|
|
/* Final override: move sidebar by dragging and center the tilted reference box */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-shell {
|
|
align-items: center !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card {
|
|
align-self: center !important;
|
|
transform: rotate(-5deg) !important;
|
|
transform-origin: center !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card:hover {
|
|
transform: rotate(-5deg) translate(1px, 1px) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar {
|
|
cursor: move !important;
|
|
user-select: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar button {
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
/* Final fixed generate sidebar and pixel reference controls */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar {
|
|
position: fixed !important;
|
|
top: 164px !important;
|
|
right: 0 !important;
|
|
left: auto !important;
|
|
bottom: 0 !important;
|
|
z-index: 80 !important;
|
|
width: 315px !important;
|
|
min-height: 0 !important;
|
|
border-width: 3px 0 0 3px !important;
|
|
border-style: solid !important;
|
|
border-color: #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #101916 !important;
|
|
background-size: auto !important;
|
|
box-shadow: -6px 0 0 #111 !important;
|
|
cursor: default !important;
|
|
user-select: auto !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: 42px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__toolbar {
|
|
display: grid !important;
|
|
grid-template-columns: 52px minmax(0, 1fr) 52px !important;
|
|
gap: 12px !important;
|
|
padding: 20px 14px 18px !important;
|
|
border-bottom: 3px solid #111 !important;
|
|
background: #101916 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar__toolbar {
|
|
grid-template-columns: 1fr !important;
|
|
padding: 20px 5px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__icon,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__new {
|
|
min-height: 52px !important;
|
|
border: 2px solid #39443f !important;
|
|
border-radius: 0 !important;
|
|
background: #17211e !important;
|
|
color: #f6fff8 !important;
|
|
box-shadow: none !important;
|
|
font-size: 17px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__new {
|
|
gap: 10px !important;
|
|
font-size: 18px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__icon:hover,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar__new:hover {
|
|
border-color: #21f29a !important;
|
|
background: #0f2d23 !important;
|
|
color: #21f29a !important;
|
|
transform: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card {
|
|
align-self: center !important;
|
|
width: 88px !important;
|
|
height: 88px !important;
|
|
border: 3px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #10271f !important;
|
|
background-size: auto !important;
|
|
color: #21f29a !important;
|
|
box-shadow:
|
|
inset 0 0 0 2px #0c7d58,
|
|
5px 5px 0 #111 !important;
|
|
transform: rotate(-5deg) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card:hover {
|
|
transform: rotate(-5deg) translate(1px, 1px) !important;
|
|
box-shadow:
|
|
inset 0 0 0 2px #21f29a,
|
|
4px 4px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card span {
|
|
color: #21f29a !important;
|
|
font-size: 13px !important;
|
|
text-shadow: 1px 1px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card.has-image {
|
|
border-color: #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fffdf5 !important;
|
|
box-shadow:
|
|
inset 0 0 0 2px #fffdf5,
|
|
5px 5px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-tool {
|
|
min-width: 176px !important;
|
|
height: 52px !important;
|
|
border: 3px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fffdf5 !important;
|
|
color: #111 !important;
|
|
box-shadow: 5px 5px 0 #111 !important;
|
|
gap: 10px !important;
|
|
}
|
|
|
|
/* Final multi-reference preview row */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-shell {
|
|
grid-template-columns: minmax(92px, auto) minmax(0, 1fr) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip {
|
|
grid-column: 1 !important;
|
|
grid-row: 1 !important;
|
|
align-self: center !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 10px !important;
|
|
max-width: 230px !important;
|
|
padding: 4px 8px 8px 4px !important;
|
|
overflow-x: auto !important;
|
|
overflow-y: visible !important;
|
|
scrollbar-width: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip::-webkit-scrollbar {
|
|
display: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip .workbench-reference-card {
|
|
flex: 0 0 88px !important;
|
|
grid-column: auto !important;
|
|
grid-row: auto !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip.has-images .workbench-reference-card:not(.has-image) {
|
|
flex-basis: 64px !important;
|
|
width: 64px !important;
|
|
height: 64px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip.has-images .workbench-reference-card:not(.has-image) span {
|
|
display: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip.has-images .workbench-reference-card:not(.has-image) .anticon {
|
|
font-size: 22px !important;
|
|
}
|
|
|
|
/* Final requested target layout: sidebar at page split, add-reference card keeps label */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-conversation-sidebar {
|
|
position: fixed !important;
|
|
top: 283px !important;
|
|
right: 0 !important;
|
|
left: auto !important;
|
|
bottom: 0 !important;
|
|
width: 315px !important;
|
|
border-width: 3px 0 0 3px !important;
|
|
border-style: solid !important;
|
|
border-color: #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #101916 !important;
|
|
background-size: auto !important;
|
|
box-shadow: -6px 0 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: 42px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip.has-images .workbench-reference-card:not(.has-image) {
|
|
flex-basis: 88px !important;
|
|
width: 88px !important;
|
|
height: 88px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip.has-images .workbench-reference-card:not(.has-image) span {
|
|
display: inline !important;
|
|
color: #21f29a !important;
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip.has-images .workbench-reference-card:not(.has-image) .anticon {
|
|
font-size: 20px !important;
|
|
}
|
|
|
|
/* Final theme-color reference cards inside the composer */
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card {
|
|
border: 3px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #ddf5e2 !important;
|
|
background-size: auto !important;
|
|
color: #0f5f3f !important;
|
|
box-shadow:
|
|
inset 0 0 0 2px #21f29a,
|
|
5px 5px 0 #111 !important;
|
|
transform: rotate(-5deg) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card:hover {
|
|
background: #c8f4d6 !important;
|
|
color: #0a4f33 !important;
|
|
box-shadow:
|
|
inset 0 0 0 2px #14c976,
|
|
4px 4px 0 #111 !important;
|
|
transform: rotate(-5deg) translate(1px, 1px) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card span,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip.has-images .workbench-reference-card:not(.has-image) span {
|
|
color: #0f5f3f !important;
|
|
text-shadow: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card .anticon,
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-strip.has-images .workbench-reference-card:not(.has-image) .anticon {
|
|
color: #0f5f3f !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .workbench-landing-page .workbench-reference-card.has-image {
|
|
background: #fffdf5 !important;
|
|
box-shadow:
|
|
inset 0 0 0 2px #ddf5e2,
|
|
5px 5px 0 #111 !important;
|
|
}
|
|
|
|
/* Ecommerce composer copied from generate page dialog */
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-composer-shell {
|
|
display: grid !important;
|
|
grid-template-columns: minmax(92px, auto) minmax(0, 1fr) !important;
|
|
column-gap: 14px !important;
|
|
align-items: start !important;
|
|
width: 100% !important;
|
|
padding: 16px !important;
|
|
border: 3px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fffdf5 !important;
|
|
background-size: auto !important;
|
|
box-shadow: 7px 7px 0 #111 !important;
|
|
backdrop-filter: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-reference-strip {
|
|
grid-column: 1 !important;
|
|
grid-row: 1 !important;
|
|
align-self: center !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 10px !important;
|
|
max-width: 230px !important;
|
|
padding: 4px 8px 8px 4px !important;
|
|
overflow-x: auto !important;
|
|
overflow-y: visible !important;
|
|
scrollbar-width: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-reference-strip::-webkit-scrollbar {
|
|
display: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-reference-card {
|
|
flex: 0 0 88px !important;
|
|
display: grid !important;
|
|
place-items: center !important;
|
|
gap: 6px !important;
|
|
width: 88px !important;
|
|
height: 88px !important;
|
|
padding: 8px !important;
|
|
border: 3px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #ddf5e2 !important;
|
|
background-size: auto !important;
|
|
color: #0f5f3f !important;
|
|
box-shadow:
|
|
inset 0 0 0 2px #21f29a,
|
|
5px 5px 0 #111 !important;
|
|
transform: rotate(-5deg) !important;
|
|
cursor: pointer !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-reference-card:hover {
|
|
background: #c8f4d6 !important;
|
|
color: #0a4f33 !important;
|
|
box-shadow:
|
|
inset 0 0 0 2px #14c976,
|
|
4px 4px 0 #111 !important;
|
|
transform: rotate(-5deg) translate(1px, 1px) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-reference-card span,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-reference-card .anticon {
|
|
color: #0f5f3f !important;
|
|
font-size: 13px !important;
|
|
font-weight: 1000 !important;
|
|
text-shadow: none !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-reference-card.has-image {
|
|
background: #fffdf5 !important;
|
|
box-shadow:
|
|
inset 0 0 0 2px #ddf5e2,
|
|
5px 5px 0 #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-reference-card img {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
object-fit: cover !important;
|
|
border: 0 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-reference-strip.has-images .ecommerce-reference-card:not(.has-image) {
|
|
flex-basis: 88px !important;
|
|
width: 88px !important;
|
|
height: 88px !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-reference-strip.has-images .ecommerce-reference-card:not(.has-image) span {
|
|
display: inline !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-composer-textarea {
|
|
grid-column: 2 !important;
|
|
grid-row: 1 !important;
|
|
min-height: 110px !important;
|
|
max-height: 220px !important;
|
|
padding: 4px 2px !important;
|
|
border: 0 !important;
|
|
background: transparent !important;
|
|
color: #11251a !important;
|
|
font-size: 15px !important;
|
|
font-weight: 900 !important;
|
|
line-height: 1.7 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-composer-footer {
|
|
grid-column: 1 / -1 !important;
|
|
grid-row: 2 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: space-between !important;
|
|
gap: 14px !important;
|
|
margin-top: 10px !important;
|
|
padding-top: 12px !important;
|
|
border-top: 2px solid #111 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-composer-tool,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-composer-send {
|
|
border: 2px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fff !important;
|
|
color: #11251a !important;
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
font-weight: 1000 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-generation-trigger {
|
|
min-width: 132px !important;
|
|
background: #fff !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-composer-tool:hover,
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-composer-send:hover {
|
|
border-color: #111 !important;
|
|
background: #d9f8dd !important;
|
|
color: #11251a !important;
|
|
box-shadow: 2px 2px 0 #111 !important;
|
|
transform: translate(1px, 1px) !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-composer-send {
|
|
background: #38d776 !important;
|
|
}
|
|
|
|
.web-shell[data-ui-theme="pixel"] .ecommerce-landing-page .ecommerce-composer-send:disabled {
|
|
background: #dce8df !important;
|
|
color: #8aa196 !important;
|
|
box-shadow: 3px 3px 0 #111 !important;
|
|
transform: none !important;
|
|
filter: none !important;
|
|
}
|
|
|
|
/* Generate page: keep the conversation sidebar logically attached to the composer */
|
|
.web-shell .workbench-landing-page .workbench-composer-stage {
|
|
display: grid !important;
|
|
grid-template-columns: minmax(360px, 760px) var(--workbench-sidebar-width, 315px) !important;
|
|
align-items: start !important;
|
|
gap: 16px !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed {
|
|
grid-template-columns: minmax(0, 1fr) var(--workbench-sidebar-collapsed-width, 42px) !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-composer-shell {
|
|
grid-column: 1 !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-conversation-sidebar {
|
|
position: sticky !important;
|
|
top: 0 !important;
|
|
right: auto !important;
|
|
bottom: auto !important;
|
|
left: auto !important;
|
|
grid-column: 2 !important;
|
|
align-self: start !important;
|
|
justify-self: stretch !important;
|
|
width: var(--workbench-sidebar-width, 315px) !important;
|
|
max-height: calc(100vh - 36px) !important;
|
|
overflow: auto !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed .workbench-conversation-sidebar {
|
|
width: var(--workbench-sidebar-collapsed-width, 42px) !important;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.web-shell .workbench-landing-page .workbench-composer-stage,
|
|
.web-shell .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed {
|
|
grid-template-columns: minmax(0, 1fr) !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-conversation-sidebar {
|
|
position: relative !important;
|
|
top: auto !important;
|
|
grid-column: 1 !important;
|
|
width: 100% !important;
|
|
max-height: none !important;
|
|
}
|
|
}
|
|
|
|
/* Generate page: right-edge, top-flush conversation sidebar */
|
|
.web-shell .workbench-landing-page .workbench-landing-scroll {
|
|
width: 100% !important;
|
|
padding-right: 0 !important;
|
|
padding-left: max(128px, 7vw) !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-landing-hero,
|
|
.web-shell .workbench-landing-page .workbench-mode-strip {
|
|
width: min(860px, calc(100% - var(--workbench-sidebar-width, 315px) - 36px)) !important;
|
|
justify-self: start !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-composer-stage {
|
|
grid-template-columns: minmax(420px, 860px) var(--workbench-sidebar-width, 315px) !important;
|
|
justify-content: end !important;
|
|
gap: 18px !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed {
|
|
grid-template-columns: minmax(420px, 860px) var(--workbench-sidebar-collapsed-width, 42px) !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-conversation-sidebar {
|
|
top: 0 !important;
|
|
justify-self: end !important;
|
|
max-height: 100vh !important;
|
|
border-right: 0 !important;
|
|
box-shadow: -6px 0 0 #111 !important;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.web-shell .workbench-landing-page .workbench-landing-scroll {
|
|
padding-right: 18px !important;
|
|
padding-left: 18px !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-landing-hero,
|
|
.web-shell .workbench-landing-page .workbench-mode-strip {
|
|
width: 100% !important;
|
|
justify-self: center !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-composer-stage,
|
|
.web-shell .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed {
|
|
grid-template-columns: minmax(0, 1fr) !important;
|
|
}
|
|
}
|
|
|
|
/* Generate page: sidebar removed, recenter the full page */
|
|
.web-shell .workbench-landing-page .workbench-landing-scroll {
|
|
width: min(100%, 940px) !important;
|
|
margin: 0 auto !important;
|
|
padding: 48px 28px 64px !important;
|
|
justify-items: center !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-landing-hero,
|
|
.web-shell .workbench-landing-page .workbench-mode-strip {
|
|
width: 100% !important;
|
|
justify-self: center !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-composer-stage,
|
|
.web-shell .workbench-landing-page .workbench-composer-stage.is-sidebar-collapsed {
|
|
display: block !important;
|
|
width: min(100%, 860px) !important;
|
|
justify-self: center !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-composer-shell {
|
|
width: 100% !important;
|
|
grid-column: auto !important;
|
|
}
|
|
|
|
.web-shell .workbench-landing-page .workbench-conversation-sidebar {
|
|
display: none !important;
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
8-BIT PIXEL WORKBENCH — Comprehensive styles for WorkbenchPage (web3)
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
/* ─── Page Container ─── */
|
|
.ai-workbench-page {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
background: #fffdf5;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
font-weight: 900;
|
|
color: #11251a;
|
|
}
|
|
|
|
.ai-workbench-page.is-launch {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ai-workbench-page.is-active {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 1fr;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ai-workbench-page.mode-chat {
|
|
--wb-accent: #6be7ff;
|
|
--wb-accent-rgb: 107, 231, 255;
|
|
}
|
|
|
|
.ai-workbench-page.mode-image {
|
|
--wb-accent: #00b1cc;
|
|
--wb-accent-rgb: 0, 177, 204;
|
|
}
|
|
|
|
.ai-workbench-page.mode-video {
|
|
--wb-accent: #2197ff;
|
|
--wb-accent-rgb: 33, 151, 255;
|
|
}
|
|
|
|
/* ─── Shell / Main / Scroll ─── */
|
|
.ai-workbench-shell {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
flex: 1;
|
|
height: 100%;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ai-workbench-main {
|
|
display: grid;
|
|
grid-template-rows: 1fr;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ai-workbench-page.is-active .ai-workbench-main {
|
|
grid-template-rows: 1fr auto;
|
|
}
|
|
|
|
.ai-workbench-content-scroll {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(100%, 900px);
|
|
min-height: 0;
|
|
margin: 0 auto;
|
|
padding: 24px 20px 16px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ai-workbench-thread-shell {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* ─── Home / Landing ─── */
|
|
.wb-home {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 28px;
|
|
width: min(100%, 860px);
|
|
margin: 0 auto;
|
|
padding: 56px 24px 48px;
|
|
}
|
|
|
|
.wb-home__glow {
|
|
position: absolute;
|
|
top: -60px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 320px;
|
|
height: 180px;
|
|
background: transparent;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.wb-home__hero {
|
|
text-align: center;
|
|
}
|
|
|
|
.wb-home__title {
|
|
margin: 0;
|
|
font-size: clamp(28px, 4vw, 42px);
|
|
font-weight: 1000;
|
|
color: #11251a;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.wb-home__composer {
|
|
width: 100%;
|
|
max-width: 720px;
|
|
}
|
|
|
|
.wb-home__suggestions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
max-width: 720px;
|
|
}
|
|
|
|
.wb-home__showcase {
|
|
width: 100%;
|
|
max-width: 860px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
/* ─── Suggestion Chips ─── */
|
|
.wb-suggestion-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 14px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 3px 3px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.wb-suggestion-chip:hover {
|
|
transform: translate(2px, 2px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.wb-suggestion-chip__icon {
|
|
display: inline-flex;
|
|
color: #38d776;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* ─── Showcase Grid ─── */
|
|
.wb-showcase__header {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.wb-showcase__header h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 1000;
|
|
color: #11251a;
|
|
}
|
|
|
|
.wb-showcase__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.wb-showcase__card {
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 4px 4px 0 #111;
|
|
overflow: hidden;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.wb-showcase__card:hover {
|
|
transform: translate(2px, 2px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
.wb-showcase__thumb {
|
|
position: relative;
|
|
aspect-ratio: 16 / 10;
|
|
overflow: hidden;
|
|
border-bottom: 2px solid #111;
|
|
}
|
|
|
|
.wb-showcase__thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.wb-showcase__tag {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
padding: 2px 8px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #38d776;
|
|
color: #111;
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.wb-showcase__play {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
right: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #e60012;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.wb-showcase__meta {
|
|
padding: 10px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.wb-showcase__meta strong {
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
color: #11251a;
|
|
}
|
|
|
|
.wb-showcase__meta span {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
}
|
|
|
|
/* ─── Composer (shared between home + active) ─── */
|
|
.wb-composer {
|
|
position: sticky;
|
|
bottom: 0;
|
|
z-index: 10;
|
|
width: min(100%, 900px);
|
|
margin: 0 auto;
|
|
padding: 12px 0 16px;
|
|
background: #fffdf5;
|
|
}
|
|
|
|
.wb-composer.is-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.wb-composer__content {
|
|
position: relative;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.wb-chat-scroll-actions {
|
|
position: fixed;
|
|
z-index: 25;
|
|
left: 30px;
|
|
top: calc(50% + 265px);
|
|
display: grid;
|
|
gap: 7px;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.wb-chat-scroll-actions__button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 58px;
|
|
height: 38px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
color: #557466;
|
|
box-shadow: 4px 4px 0 #111;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
transition:
|
|
background 160ms ease,
|
|
color 160ms ease,
|
|
box-shadow 160ms ease,
|
|
transform 160ms ease;
|
|
}
|
|
|
|
.wb-chat-scroll-actions__button:hover {
|
|
background: #ddf5e2;
|
|
color: #20c76a;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transform: translate(2px, 2px);
|
|
}
|
|
|
|
.wb-composer__input-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.wb-composer__main {
|
|
position: relative;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.wb-composer__textarea {
|
|
display: block;
|
|
width: 100%;
|
|
min-height: 56px;
|
|
max-height: 180px;
|
|
padding: 14px 64px 18px 16px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #11251a;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
line-height: 1.5;
|
|
resize: none;
|
|
outline: none;
|
|
}
|
|
|
|
.wb-composer__textarea:focus,
|
|
.wb-composer__textarea:focus-visible {
|
|
outline: none !important;
|
|
}
|
|
|
|
.wb-composer__textarea::placeholder {
|
|
color: #557466;
|
|
font-weight: 700;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.wb-composer__textarea--overlay-mode {
|
|
color: transparent;
|
|
caret-color: #11251a;
|
|
}
|
|
|
|
/* ─── Composer Toolbar ─── */
|
|
.wb-composer__toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
border-top: 2px solid #eee;
|
|
}
|
|
|
|
.wb-composer__toolbar-right {
|
|
position: absolute;
|
|
right: 14px;
|
|
bottom: 14px;
|
|
z-index: 24;
|
|
}
|
|
|
|
.wb-composer__toolbar-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.wb-composer__toolbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.wb-composer__send-primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 36px;
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #38d776;
|
|
color: #111;
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
box-shadow: 3px 3px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.wb-composer__send-primary:hover {
|
|
transform: translate(2px, 2px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
}
|
|
|
|
.wb-composer__send-primary:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.wb-composer__send-primary.is-loading {
|
|
cursor: wait;
|
|
animation: send-pulse 1s ease infinite;
|
|
}
|
|
|
|
@keyframes send-pulse {
|
|
0%, 100% { opacity: 0.6; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
.wb-composer__send-primary.is-stop {
|
|
background: #e60012;
|
|
color: #fff;
|
|
}
|
|
|
|
.wb-composer__mention {
|
|
position: relative;
|
|
}
|
|
|
|
.wb-composer__mention-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.wb-composer__mention-button:hover,
|
|
.wb-composer__mention-button.is-open {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
/* ─── Composer Mention Inline Chip (keep border-radius for image previews) ─── */
|
|
.wb-composer__mention-inline-chip {
|
|
position: relative;
|
|
display: inline;
|
|
vertical-align: baseline;
|
|
border-radius: 4px;
|
|
background: rgba(56, 215, 118, 0.1);
|
|
box-shadow: inset 0 0 0 1.5px #38d776;
|
|
color: #11251a;
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
line-height: inherit;
|
|
cursor: default;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.wb-composer__mention-inline-measure {
|
|
visibility: hidden;
|
|
white-space: pre;
|
|
font-size: inherit;
|
|
}
|
|
|
|
.wb-composer__mention-inline-media {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.wb-composer__mention-inline-media img,
|
|
.wb-composer__mention-inline-media video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* ─── Composer Highlight Layer ─── */
|
|
.wb-composer__highlight {
|
|
position: absolute;
|
|
inset: 0;
|
|
padding: 14px 64px 18px 16px;
|
|
pointer-events: none;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
line-height: 1.5;
|
|
color: #11251a;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.wb-composer__highlight::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* ─── Composer References ─── */
|
|
.wb-composer__refs {
|
|
position: relative;
|
|
}
|
|
|
|
.wb-composer__refs .wb-composer__ref-stack {
|
|
position: absolute;
|
|
bottom: calc(100% + 8px);
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
border: 3px solid #111;
|
|
background: #fffdf5;
|
|
box-shadow: 4px 4px 0 #111;
|
|
z-index: 20;
|
|
}
|
|
|
|
.wb-composer__ref-upload {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff8e7;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.wb-composer__ref-upload:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.wb-composer__ref-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: #38d776;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.wb-composer__ref-label {
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.wb-composer__ref-count {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.wb-composer__ref-stack {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.wb-composer__ref-card {
|
|
position: relative;
|
|
display: block;
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
|
|
.wb-composer__ref-preview {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
overflow: hidden;
|
|
background: #f5fff4;
|
|
}
|
|
|
|
.wb-composer__ref-preview img,
|
|
.wb-composer__ref-preview video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.wb-composer__ref-remove {
|
|
position: absolute;
|
|
top: -6px;
|
|
right: -6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #e60012;
|
|
color: #fff;
|
|
font-size: 9px;
|
|
cursor: pointer;
|
|
box-shadow: 1px 1px 0 #111;
|
|
}
|
|
|
|
.wb-composer__ref-add-more {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 64px;
|
|
height: 64px;
|
|
border: 2px dashed #557466;
|
|
border-radius: 0;
|
|
background: #f5fff4;
|
|
color: #557466;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.wb-composer__ref-add-more:hover {
|
|
border-color: #38d776;
|
|
background: #ddf5e2;
|
|
color: #38d776;
|
|
}
|
|
|
|
/* ─── Mode Switch (Agent/Image/Video) ─── */
|
|
.ai-workbench-mode-switch {
|
|
position: relative;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.ai-workbench-mode-switch__button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.ai-workbench-mode-switch__button:hover,
|
|
.ai-workbench-mode-switch__button.is-open {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.ai-workbench-mode-switch__caret {
|
|
font-size: 10px;
|
|
color: #557466;
|
|
}
|
|
|
|
.ai-workbench-mode-switch__menu {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0;
|
|
z-index: 100;
|
|
min-width: 200px;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 4px 4px 0 #111;
|
|
padding: 6px 0;
|
|
}
|
|
|
|
.ai-workbench-mode-switch__menu--above {
|
|
bottom: calc(100% + 8px);
|
|
}
|
|
|
|
.ai-workbench-mode-switch__menu--below {
|
|
top: calc(100% + 8px);
|
|
}
|
|
|
|
.ai-workbench-mode-switch__menu.is-open {
|
|
display: block;
|
|
}
|
|
|
|
.ai-workbench-mode-switch__item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #11251a;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.ai-workbench-mode-switch__item:hover {
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.ai-workbench-mode-switch__item.is-active {
|
|
background: rgba(56, 215, 118, 0.18);
|
|
color: #11251a;
|
|
}
|
|
|
|
.ai-workbench-mode-switch__item-icon {
|
|
display: inline-flex;
|
|
color: #38d776;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* ─── Select Chip (model/settings dropdowns) ─── */
|
|
.ai-workbench-select-chip {
|
|
position: relative;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.ai-workbench-select-chip.is-disabled {
|
|
opacity: 0.5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ai-workbench-select-chip__trigger {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 10px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.ai-workbench-select-chip__trigger:hover,
|
|
.ai-workbench-select-chip.is-open .ai-workbench-select-chip__trigger {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.ai-workbench-select-chip__copy {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.ai-workbench-select-chip__value {
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 120px;
|
|
}
|
|
|
|
.ai-workbench-select-chip__arrow {
|
|
font-size: 9px;
|
|
color: #557466;
|
|
}
|
|
|
|
.ai-workbench-select-chip__dropdown {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0;
|
|
z-index: 120;
|
|
min-width: 220px;
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 4px 4px 0 #111;
|
|
padding: 6px 0;
|
|
}
|
|
|
|
.ai-workbench-select-chip__dropdown--above {
|
|
bottom: calc(100% + 8px);
|
|
}
|
|
|
|
.ai-workbench-select-chip__dropdown--below {
|
|
top: calc(100% + 8px);
|
|
}
|
|
|
|
.ai-workbench-select-chip__dropdown--compound {
|
|
min-width: 320px;
|
|
padding: 12px;
|
|
}
|
|
|
|
#video-ratio-panel.ai-workbench-select-chip__dropdown--compound {
|
|
width: max-content;
|
|
min-width: 0;
|
|
max-height: none;
|
|
padding: 0;
|
|
overflow: visible;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-settings-panel {
|
|
gap: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-settings-panel__field--ratio {
|
|
gap: 0;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-settings-panel__field--ratio .ai-workbench-settings-panel__head {
|
|
display: none;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-settings-panel__grid--ratio {
|
|
grid-template-columns: repeat(3, 88px);
|
|
gap: 10px;
|
|
padding: 10px;
|
|
border: 1px solid rgba(56, 215, 118, 0.24);
|
|
border-radius: 16px;
|
|
background: #171b1d;
|
|
}
|
|
|
|
.ai-workbench-select-chip__dropdown.is-open {
|
|
display: block;
|
|
}
|
|
|
|
.ai-workbench-select-chip__option {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 8px 14px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.ai-workbench-select-chip__option:hover {
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.ai-workbench-select-chip__option.is-active {
|
|
background: rgba(56, 215, 118, 0.18);
|
|
}
|
|
|
|
.ai-workbench-select-chip__option-label {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
flex: 1;
|
|
}
|
|
|
|
.ai-workbench-select-chip__option-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin-top: 4px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #38d776;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ai-workbench-select-chip__option.is-active .ai-workbench-select-chip__option-dot {
|
|
background: #e60012;
|
|
}
|
|
|
|
.ai-workbench-select-chip__option-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.ai-workbench-select-chip__option-title {
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
color: #11251a;
|
|
}
|
|
|
|
.ai-workbench-select-chip__option-badge {
|
|
display: inline-block;
|
|
margin-left: 6px;
|
|
padding: 1px 5px;
|
|
border: 1.5px solid #e60012;
|
|
border-radius: 0;
|
|
background: #e60012;
|
|
color: #fff;
|
|
font-size: 9px;
|
|
font-weight: 900;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.ai-workbench-select-chip__option-desc {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
/* ─── Select Chip: Compound variant ─── */
|
|
.ai-workbench-select-chip--compound .ai-workbench-select-chip__trigger {
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-workbench-select-chip--model .ai-workbench-select-chip__trigger {
|
|
background: #fff8e7;
|
|
}
|
|
|
|
/* ─── Settings Panel (inside compound dropdown) ─── */
|
|
.ai-workbench-settings-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__title-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__title-icon {
|
|
display: inline-flex;
|
|
color: #38d776;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__title-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__title {
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
color: #11251a;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__current {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
}
|
|
|
|
/* Settings Grid */
|
|
.ai-workbench-settings-panel__grid {
|
|
display: grid;
|
|
gap: 6px;
|
|
min-inline-size: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__grid--cols-2 {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.ai-workbench-settings-panel__grid--cols-3 {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.ai-workbench-settings-panel__grid--cols-4 {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
.ai-workbench-settings-panel__grid--pill {
|
|
gap: 6px;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__grid--ratio {
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-workbench-visually-hidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
/* Settings Option (pill) */
|
|
.ai-workbench-settings-panel__option {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6px 10px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__option:hover {
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__option.is-active {
|
|
background: #38d776;
|
|
color: #111;
|
|
box-shadow: 1px 1px 0 #111;
|
|
transform: translate(1px, 1px);
|
|
}
|
|
|
|
.ai-workbench-settings-panel__option--pill {
|
|
padding: 5px 12px;
|
|
}
|
|
|
|
.ai-workbench-settings-panel__option--ratio {
|
|
padding: 8px;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-settings-panel__option--ratio {
|
|
width: 88px;
|
|
height: 64px;
|
|
padding: 8px 10px;
|
|
border: 1px solid #293235;
|
|
border-radius: 11px;
|
|
background: #111518;
|
|
color: rgba(238, 246, 240, 0.7);
|
|
box-shadow: none;
|
|
transform: none;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-settings-panel__option--ratio:hover {
|
|
border-color: rgba(0, 255, 136, 0.45);
|
|
background: #1d2427;
|
|
transform: none;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-settings-panel__option--ratio.is-active {
|
|
border-color: #00ff88;
|
|
background: rgba(0, 255, 136, 0.14);
|
|
color: #00ff88;
|
|
box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.2);
|
|
transform: none;
|
|
}
|
|
|
|
/* ─── Ratio Option ─── */
|
|
.ai-workbench-ratio-option {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.ai-workbench-ratio-option__preview {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #f5fff4;
|
|
}
|
|
|
|
.ai-workbench-ratio-option__preview--21-9 {
|
|
width: 42px;
|
|
height: 18px;
|
|
}
|
|
|
|
.ai-workbench-ratio-option__preview--16-9 {
|
|
width: 36px;
|
|
height: 20px;
|
|
}
|
|
|
|
.ai-workbench-ratio-option__preview--4-3 {
|
|
width: 28px;
|
|
height: 21px;
|
|
}
|
|
|
|
.ai-workbench-ratio-option__preview--1-1 {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.ai-workbench-ratio-option__preview--3-4 {
|
|
width: 21px;
|
|
height: 28px;
|
|
}
|
|
|
|
.ai-workbench-ratio-option__preview--9-16 {
|
|
width: 18px;
|
|
height: 32px;
|
|
}
|
|
|
|
.ai-workbench-ratio-option__frame {
|
|
display: block;
|
|
width: 60%;
|
|
height: 60%;
|
|
border: 1.5px solid #38d776;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.ai-workbench-ratio-option__label {
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
color: #11251a;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-ratio-option {
|
|
gap: 6px;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-ratio-option__preview {
|
|
border: 1px solid #00ff88;
|
|
border-radius: 2px;
|
|
background: transparent;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-ratio-option__frame {
|
|
border: 1px solid #00ff88;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
#video-ratio-panel .ai-workbench-ratio-option__label {
|
|
color: currentColor;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ─── Inline Chip (toolbar sub-menus) ─── */
|
|
.wb-inline-chip {
|
|
position: relative;
|
|
display: inline-flex;
|
|
}
|
|
|
|
.wb-inline-chip.is-disabled {
|
|
opacity: 0.5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.wb-inline-chip__trigger {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 4px 10px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.wb-inline-chip__trigger:hover,
|
|
.wb-inline-chip.is-open .wb-inline-chip__trigger {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.wb-inline-chip__icon {
|
|
display: inline-flex;
|
|
color: #38d776;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.wb-inline-chip__menu {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0;
|
|
z-index: 110;
|
|
min-width: 140px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 3px 3px 0 #111;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.wb-inline-chip__menu--above {
|
|
bottom: calc(100% + 6px);
|
|
}
|
|
|
|
.wb-inline-chip__menu--below {
|
|
top: calc(100% + 6px);
|
|
}
|
|
|
|
.wb-inline-chip.is-open .wb-inline-chip__menu {
|
|
display: block;
|
|
}
|
|
|
|
.wb-inline-chip__option {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
padding: 7px 12px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.wb-inline-chip__option:hover {
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.wb-inline-chip__option.is-active {
|
|
background: rgba(56, 215, 118, 0.18);
|
|
}
|
|
|
|
.wb-inline-chip__check {
|
|
color: #38d776;
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
/* ─── Chat Main Panel ─── */
|
|
.ai-chat-main-panel {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ai-chat-messages-surface {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.ai-chat-message-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
/* ─── Chat Message Row ─── */
|
|
.ai-chat-message-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.ai-chat-message-row.is-user {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
/* ─── Chat Avatar ─── */
|
|
.ai-chat-avatar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
flex-shrink: 0;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #38d776;
|
|
color: #111;
|
|
font-size: 12px;
|
|
font-weight: 1000;
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
.ai-chat-avatar--user {
|
|
background: #fff8e7;
|
|
color: #11251a;
|
|
}
|
|
|
|
/* ─── Chat Message Stack ─── */
|
|
.ai-chat-message-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
max-width: 75%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.ai-chat-message-row.is-user .ai-chat-message-stack {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.ai-chat-message-author {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
}
|
|
|
|
.ai-chat-message-bubble {
|
|
padding: 12px 16px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
line-height: 1.6;
|
|
box-shadow: 3px 3px 0 #111;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.ai-chat-message-bubble--user {
|
|
background: #fff8e7;
|
|
border-color: #111;
|
|
}
|
|
|
|
.ai-chat-message-bubble--assistant {
|
|
max-width: min(760px, 100%);
|
|
}
|
|
|
|
.ai-chat-message-bubble.is-thinking {
|
|
opacity: 0.8;
|
|
border-style: dashed;
|
|
}
|
|
|
|
.ai-chat-message-bubble:has(.ai-chat-image-result-card) {
|
|
width: min(440px, 100%);
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.ai-chat-message-prompt {
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
/* ─── Chat Progress ─── */
|
|
.ai-chat-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 0 4px;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
color: #557466;
|
|
position: relative;
|
|
}
|
|
|
|
.ai-chat-progress span {
|
|
flex: 1;
|
|
}
|
|
|
|
.ai-chat-progress strong {
|
|
color: #38d776;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.ai-chat-progress i {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 3px;
|
|
background: #38d776;
|
|
border-radius: 0;
|
|
font-style: normal;
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
/* ─── Chat Attachment Row ─── */
|
|
.ai-chat-attachment-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
/* ─── Chat Attachment Thumb ─── */
|
|
.ai-chat-attachment-thumb {
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
width: 56px;
|
|
cursor: pointer;
|
|
border: 0;
|
|
background: transparent;
|
|
padding: 0;
|
|
}
|
|
|
|
.ai-chat-attachment-thumb.is-file {
|
|
cursor: default;
|
|
}
|
|
|
|
.ai-chat-attachment-thumb__media {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
overflow: hidden;
|
|
background: #f5fff4;
|
|
}
|
|
|
|
.ai-chat-attachment-thumb__media img,
|
|
.ai-chat-attachment-thumb__media video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.ai-chat-attachment-thumb__icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
color: #557466;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.ai-chat-attachment-thumb__label {
|
|
font-size: 9px;
|
|
font-weight: 800;
|
|
color: #38d776;
|
|
text-align: center;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ─── Chat Chip (model/mode tags) ─── */
|
|
.ai-chat-chip {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
border: 1.5px solid #111;
|
|
border-radius: 0;
|
|
background: #ddf5e2;
|
|
color: #11251a;
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
/* ─── Image Result Card ─── */
|
|
.ai-chat-image-result-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(560px, 100%);
|
|
max-width: 100%;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 3px 3px 0 #111;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ai-chat-image-result-card.is-video {
|
|
border-color: #2197ff;
|
|
}
|
|
|
|
.result-card-enter {
|
|
animation: pixel-fade-in 0.25s ease-out;
|
|
}
|
|
|
|
@keyframes pixel-fade-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(8px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* ─── Image Frame ─── */
|
|
.ai-chat-image-frame {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: var(--media-ratio, auto);
|
|
overflow: hidden;
|
|
border-bottom: 2px solid #111;
|
|
background: #f5fff4;
|
|
}
|
|
|
|
.ai-chat-image-frame--video {
|
|
aspect-ratio: 16 / 9;
|
|
border-bottom-color: #2197ff;
|
|
}
|
|
|
|
.ai-chat-image-frame img,
|
|
.ai-chat-image-frame video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.ai-chat-image-preview-button {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 100%;
|
|
border: 0;
|
|
padding: 0;
|
|
background: #f5fff4;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ai-chat-image-preview-button img {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
max-height: min(38vh, 360px);
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* ─── Video Poster ─── */
|
|
.ai-chat-video-poster {
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
padding: 0;
|
|
background: #111;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ai-chat-video-poster video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.ai-chat-video-poster__scrim {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(17, 17, 17, 0.25);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ai-chat-video-poster__play {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #e60012;
|
|
font-size: 20px;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.ai-chat-video-poster__duration {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
right: 8px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 3px 8px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
/* ─── Image Result Meta ─── */
|
|
.ai-chat-image-result-meta {
|
|
padding: 10px 12px 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.ai-chat-image-result-meta__top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-chat-image-result-meta__top strong {
|
|
font-size: 12px;
|
|
font-weight: 1000;
|
|
color: #11251a;
|
|
}
|
|
|
|
.ai-chat-image-result-meta__top span {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
}
|
|
|
|
.ai-chat-image-result-meta__prompt {
|
|
margin: 0;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
line-height: 1.45;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ai-chat-image-result-meta__chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* ─── Image Result Progress (super-resolution) ─── */
|
|
.ai-chat-image-result-progress {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 0;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
color: #557466;
|
|
position: relative;
|
|
}
|
|
|
|
.ai-chat-image-result-progress span {
|
|
flex: 1;
|
|
}
|
|
|
|
.ai-chat-image-result-progress strong {
|
|
color: #38d776;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.ai-chat-image-result-progress i {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 3px;
|
|
background: #2197ff;
|
|
border-radius: 0;
|
|
font-style: normal;
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
/* ─── Image Actions ─── */
|
|
.ai-chat-image-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 8px 12px;
|
|
border-top: 2px solid #eee;
|
|
}
|
|
|
|
.ai-chat-image-actions__primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 5px 9px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #38d776;
|
|
color: #111;
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.ai-chat-image-actions__primary:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
}
|
|
|
|
.ai-chat-image-actions__spacer {
|
|
flex: 1;
|
|
}
|
|
|
|
.ai-chat-image-actions__icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.ai-chat-image-actions__icon:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.ai-chat-image-actions__icon:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.ai-chat-image-actions__icon--super-resolution {
|
|
color: #2197ff;
|
|
}
|
|
|
|
/* ─── Generation Pending Card ─── */
|
|
.ai-generation-pending-card {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(340px, 100%);
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 4px 4px 0 #111;
|
|
overflow: hidden;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.ai-generation-pending-card.is-video {
|
|
border-color: #2197ff;
|
|
}
|
|
|
|
.ai-generation-pending-card.is-image {
|
|
border-color: #00b1cc;
|
|
}
|
|
|
|
.ai-generation-pending-card__stage {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 120px;
|
|
background: #f5fff4;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ai-generation-pending-card__grid {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.ai-generation-pending-card__glow {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 80px;
|
|
height: 80px;
|
|
background: transparent;
|
|
}
|
|
|
|
.ai-generation-pending-card__loader {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 56px;
|
|
height: 56px;
|
|
}
|
|
|
|
.ai-generation-pending-card__loader strong {
|
|
font-size: 14px;
|
|
font-weight: 1000;
|
|
color: #38d776;
|
|
}
|
|
|
|
.ai-generation-pending-card__ring {
|
|
position: absolute;
|
|
inset: 0;
|
|
border: 3px solid #ddf5e2;
|
|
border-top-color: #38d776;
|
|
border-radius: 0;
|
|
animation: pixel-spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes pixel-spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.ai-generation-pending-card__percent {
|
|
position: relative;
|
|
z-index: 1;
|
|
color: #38d776;
|
|
font-size: 13px;
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1;
|
|
text-shadow: 0 0 6px rgba(56, 215, 118, 0.3);
|
|
}
|
|
|
|
.ai-generation-pending-card__scan {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 3px;
|
|
background: transparent;
|
|
animation: pixel-scan 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pixel-scan {
|
|
0%, 100% {
|
|
transform: translateY(0);
|
|
}
|
|
50% {
|
|
transform: translateY(117px);
|
|
}
|
|
}
|
|
|
|
.ai-generation-pending-card__meta {
|
|
padding: 12px 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ai-generation-pending-card__meta strong {
|
|
font-size: 13px;
|
|
font-weight: 1000;
|
|
color: #11251a;
|
|
}
|
|
|
|
.ai-generation-pending-card__meta span {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ai-generation-pending-card__chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.ai-generation-pending-card__chips span {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
border: 1.5px solid #111;
|
|
border-radius: 0;
|
|
background: #ddf5e2;
|
|
color: #11251a;
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.ai-generation-pending-card__bar {
|
|
display: block;
|
|
height: 4px;
|
|
background: #38d776;
|
|
border-radius: 0;
|
|
font-style: normal;
|
|
transition: width 0.4s;
|
|
}
|
|
|
|
.ai-generation-pending-card.is-video .ai-generation-pending-card__bar {
|
|
background: #2197ff;
|
|
}
|
|
|
|
/* ─── Mention Panel ─── */
|
|
.ai-chat-mention-panel {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 130;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 4px 4px 0 #111;
|
|
max-height: 240px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ai-chat-mention-panel--above {
|
|
bottom: calc(100% + 6px);
|
|
}
|
|
|
|
.ai-chat-mention-panel--below {
|
|
top: calc(100% + 6px);
|
|
}
|
|
|
|
.ai-chat-mention-header {
|
|
padding: 8px 12px;
|
|
font-size: 11px;
|
|
font-weight: 900;
|
|
color: #557466;
|
|
border-bottom: 2px solid #eee;
|
|
}
|
|
|
|
.ai-chat-mention-section {
|
|
padding: 6px 12px 2px;
|
|
font-size: 10px;
|
|
font-weight: 850;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: #999;
|
|
border-top: 1px solid #f0f0f0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.ai-chat-mention-list .ai-chat-mention-item:first-child + .ai-chat-mention-section,
|
|
.ai-chat-mention-section:first-child {
|
|
border-top: 0;
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* === Failed Task Actions === */
|
|
.ai-chat-failed-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.ai-chat-failed-actions__retry,
|
|
.ai-chat-failed-actions__switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 5px 12px;
|
|
border: 1px solid var(--border-weak, #e0e0e0);
|
|
border-radius: 6px;
|
|
background: var(--bg-surface, #fff);
|
|
font-size: 12px;
|
|
color: var(--text-secondary, #666);
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.ai-chat-failed-actions__retry:hover {
|
|
border-color: var(--accent, #0d9488);
|
|
color: var(--accent, #0d9488);
|
|
background: var(--accent-subtle, rgba(13, 148, 136, 0.06));
|
|
}
|
|
|
|
.ai-chat-failed-actions__switch:hover {
|
|
border-color: var(--accent, #0d9488);
|
|
color: var(--accent, #0d9488);
|
|
background: var(--accent-subtle, rgba(13, 148, 136, 0.06));
|
|
}
|
|
|
|
/* === Expired Media Recovery === */
|
|
.ai-chat-image-frame.is-expired {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 120px;
|
|
background: var(--bg-surface, #f9f9f9);
|
|
border: 1px dashed var(--border-weak, #e0e0e0);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.ai-chat-media-expired {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 24px;
|
|
color: var(--text-tertiary, #999);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ai-chat-media-expired button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 6px 14px;
|
|
border: 1px solid var(--accent, #0d9488);
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--accent, #0d9488);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.ai-chat-media-expired button:hover {
|
|
background: var(--accent-subtle, rgba(13, 148, 136, 0.06));
|
|
}
|
|
|
|
/* === Canvas Node Toolbar === */
|
|
.studio-canvas-node-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
position: absolute;
|
|
top: -36px;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 20;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
height: 28px;
|
|
padding: 0 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 7px;
|
|
background: rgba(18, 18, 18, 0.88);
|
|
backdrop-filter: blur(8px);
|
|
color: rgba(255, 255, 255, 0.85);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: background 0.15s, border-color 0.15s, color 0.15s;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__btn:hover:not(:disabled) {
|
|
background: rgba(30, 30, 30, 0.95);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
color: #fff;
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__btn:disabled,
|
|
.studio-canvas-node-toolbar__btn.is-disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__btn.is-loading {
|
|
opacity: 0.7;
|
|
cursor: wait;
|
|
position: relative;
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__btn.is-loading::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
|
|
background-size: 200% 100%;
|
|
animation: toolbar-shimmer 1.2s ease infinite;
|
|
}
|
|
|
|
@keyframes toolbar-shimmer {
|
|
0% { background-position: 200% 0; }
|
|
100% { background-position: -200% 0; }
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__more {
|
|
position: relative;
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__more-trigger.is-open {
|
|
background: rgba(30, 30, 30, 0.95);
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 4px);
|
|
right: 0;
|
|
min-width: 140px;
|
|
padding: 4px 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
background: rgba(18, 18, 18, 0.95);
|
|
backdrop-filter: blur(12px);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
|
|
z-index: 30;
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__dropdown-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 7px 12px;
|
|
border: none;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: background 0.12s;
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__dropdown-item:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.studio-canvas-node-toolbar__dropdown-item:disabled,
|
|
.studio-canvas-node-toolbar__dropdown-item.is-disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* === Canvas Marking Popover & Camera Motion Dropdown === */
|
|
.studio-canvas-marking-popover {
|
|
position: absolute;
|
|
bottom: calc(100% + 8px);
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 25;
|
|
padding: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 10px;
|
|
background: rgba(18, 18, 18, 0.95);
|
|
backdrop-filter: blur(12px);
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.studio-canvas-marking-input {
|
|
width: 100%;
|
|
min-height: 60px;
|
|
max-height: 120px;
|
|
padding: 8px 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
resize: vertical;
|
|
outline: none;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.studio-canvas-marking-input:focus {
|
|
border-color: rgba(45, 212, 191, 0.5);
|
|
}
|
|
|
|
.studio-canvas-marking-input::placeholder {
|
|
color: rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.studio-canvas-marking-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.studio-canvas-marking-clear,
|
|
.studio-canvas-marking-done {
|
|
padding: 4px 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 5px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: background 0.12s;
|
|
}
|
|
|
|
.studio-canvas-marking-clear:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.studio-canvas-marking-done {
|
|
background: rgba(45, 212, 191, 0.15);
|
|
border-color: rgba(45, 212, 191, 0.3);
|
|
color: #2dd4bf;
|
|
}
|
|
|
|
.studio-canvas-marking-done:hover {
|
|
background: rgba(45, 212, 191, 0.25);
|
|
}
|
|
|
|
.studio-canvas-camera-dropdown {
|
|
position: absolute;
|
|
bottom: calc(100% + 8px);
|
|
left: 0;
|
|
min-width: 120px;
|
|
padding: 4px 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
background: rgba(18, 18, 18, 0.95);
|
|
backdrop-filter: blur(12px);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
|
|
z-index: 25;
|
|
}
|
|
|
|
.studio-canvas-camera-dropdown__item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 7px 12px;
|
|
border: none;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: background 0.12s;
|
|
}
|
|
|
|
.studio-canvas-camera-dropdown__item:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.studio-canvas-camera-dropdown__item.is-active {
|
|
color: #2dd4bf;
|
|
background: rgba(45, 212, 191, 0.1);
|
|
}
|
|
|
|
.ai-chat-mention-list {
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.ai-chat-mention-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.ai-chat-mention-item:hover {
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.ai-chat-mention-item.is-active {
|
|
background: rgba(56, 215, 118, 0.18);
|
|
}
|
|
|
|
.ai-chat-mention-thumb {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
overflow: hidden;
|
|
background: #f5fff4;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ai-chat-mention-thumb img,
|
|
.ai-chat-mention-thumb video {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.ai-chat-mention-label {
|
|
flex: 1;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
color: #11251a;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ai-chat-mention-token {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: #38d776;
|
|
}
|
|
|
|
.ai-chat-mention-empty {
|
|
padding: 16px 12px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ─── Media Preview Modal ─── */
|
|
.ai-chat-media-preview {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(17, 17, 17, 0.7);
|
|
}
|
|
|
|
.ai-chat-media-preview__panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(90vw, 800px);
|
|
max-height: 85vh;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 6px 6px 0 #111;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ai-chat-media-preview__head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 14px;
|
|
border-bottom: 2px solid #111;
|
|
background: #fffdf5;
|
|
}
|
|
|
|
.ai-chat-media-preview__head span {
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
color: #11251a;
|
|
}
|
|
|
|
.ai-chat-media-preview__head button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
.ai-chat-media-preview__head button:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
}
|
|
|
|
.ai-chat-media-preview__body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
background: #f5fff4;
|
|
}
|
|
|
|
.ai-chat-media-preview__body img,
|
|
.ai-chat-media-preview__body video {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* ─── Conversation Sidebar ─── */
|
|
.conversation-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 240px;
|
|
height: 100%;
|
|
border-left: 3px solid #111;
|
|
background: #fffdf5;
|
|
transition: width 0.2s;
|
|
}
|
|
|
|
.conversation-sidebar.is-collapsed {
|
|
width: 48px;
|
|
}
|
|
|
|
.conversation-sidebar__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 10px;
|
|
border-bottom: 2px solid #111;
|
|
}
|
|
|
|
.conversation-sidebar__toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.conversation-sidebar__toggle:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.conversation-sidebar__new {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #38d776;
|
|
color: #111;
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.conversation-sidebar__new:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
}
|
|
|
|
.conversation-sidebar__list {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.conversation-sidebar__filter-tabs {
|
|
display: flex;
|
|
gap: 2px;
|
|
padding: 8px 10px 0;
|
|
border-bottom: 2px solid #eee;
|
|
}
|
|
|
|
.conversation-sidebar__filter-tab {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 6px 10px;
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #557466;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
margin-bottom: -2px;
|
|
transition: color 0.15s, border-color 0.15s;
|
|
}
|
|
|
|
.conversation-sidebar__filter-tab:hover {
|
|
color: #11251a;
|
|
}
|
|
|
|
.conversation-sidebar__filter-tab.is-active {
|
|
color: #11251a;
|
|
border-bottom-color: #38d776;
|
|
}
|
|
|
|
.conversation-sidebar__empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 24px 12px;
|
|
color: #557466;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
.conversation-sidebar__item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.conversation-sidebar__item.is-active {
|
|
background: rgba(56, 215, 118, 0.12);
|
|
border-left: 3px solid #38d776;
|
|
}
|
|
|
|
.conversation-sidebar__rename-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 4px 8px;
|
|
border: 2px solid #38d776;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
outline: none;
|
|
}
|
|
|
|
.conversation-sidebar__item-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 8px 4px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: #11251a;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.conversation-sidebar__item-main:hover {
|
|
background: rgba(56, 215, 118, 0.06);
|
|
}
|
|
|
|
.conversation-sidebar__item-title {
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
color: #11251a;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.conversation-sidebar__item-time {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
}
|
|
|
|
.conversation-sidebar__item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
opacity: 0;
|
|
transition: opacity 0.15s;
|
|
}
|
|
|
|
.conversation-sidebar__item:hover .conversation-sidebar__item-actions {
|
|
opacity: 1;
|
|
}
|
|
|
|
.conversation-sidebar__item-actions button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 1.5px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #557466;
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.conversation-sidebar__item-actions button:hover {
|
|
background: #ddf5e2;
|
|
color: #11251a;
|
|
}
|
|
|
|
/* ─── Delete Modal ─── */
|
|
.workbench-delete-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1100;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.workbench-delete-modal__backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(17, 17, 17, 0.6);
|
|
}
|
|
|
|
.workbench-delete-modal__panel {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 16px;
|
|
width: min(90vw, 360px);
|
|
padding: 28px 24px;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 6px 6px 0 #111;
|
|
text-align: center;
|
|
}
|
|
|
|
.workbench-delete-modal__icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 3px solid #e60012;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #e60012;
|
|
font-size: 22px;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.workbench-delete-modal__copy {
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
color: #11251a;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.workbench-delete-modal__copy strong {
|
|
display: block;
|
|
font-size: 15px;
|
|
font-weight: 1000;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.workbench-delete-modal__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.workbench-delete-modal__actions button {
|
|
padding: 8px 18px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
box-shadow: 3px 3px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.workbench-delete-modal__actions button:hover {
|
|
transform: translate(2px, 2px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
}
|
|
|
|
.workbench-delete-modal__actions button.is-danger {
|
|
background: #e60012;
|
|
color: #fff;
|
|
border-color: #111;
|
|
}
|
|
|
|
.workbench-delete-modal__actions button:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
/* ─── Page Motion Animation ─── */
|
|
.page-motion {
|
|
animation: pixel-page-enter 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes pixel-page-enter {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* ─── Workbench Page Layout Overrides ─── */
|
|
.ai-workbench-page.is-active .ai-workbench-shell {
|
|
grid-template-columns: 1fr auto;
|
|
}
|
|
|
|
.ai-workbench-page.is-launch .ai-workbench-shell {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ai-workbench-page.is-launch .ai-workbench-main {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* ─── Override dark backgrounds to pixel light ─── */
|
|
.ai-workbench-page,
|
|
.ai-workbench-page .ai-workbench-shell,
|
|
.ai-workbench-page .ai-workbench-main,
|
|
.ai-workbench-page .ai-workbench-content-scroll,
|
|
.ai-workbench-page .wb-home,
|
|
.ai-workbench-page .wb-composer,
|
|
.ai-workbench-page .ai-chat-main-panel,
|
|
.ai-workbench-page .ai-chat-messages-surface {
|
|
background-color: #fffdf5;
|
|
}
|
|
|
|
/* ─── Responsive adjustments ─── */
|
|
@media (max-width: 768px) {
|
|
.wb-home {
|
|
padding: 32px 16px 36px;
|
|
}
|
|
|
|
.wb-home__suggestions {
|
|
gap: 8px;
|
|
}
|
|
|
|
.wb-showcase__grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.ai-chat-message-stack {
|
|
max-width: 85%;
|
|
}
|
|
|
|
.conversation-sidebar {
|
|
width: 200px;
|
|
}
|
|
|
|
.ai-workbench-select-chip__dropdown {
|
|
min-width: 180px;
|
|
}
|
|
|
|
.ai-workbench-select-chip__dropdown--compound {
|
|
min-width: 260px;
|
|
}
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
AGENT PAGE — 8-bit pixel styling
|
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
|
|
.agent-experience {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
background: #fffdf5;
|
|
background-size: auto;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.agent-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 12px 20px;
|
|
border-bottom: 3px solid #111;
|
|
background: #fff;
|
|
}
|
|
|
|
.agent-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-decoration: none;
|
|
color: #111;
|
|
font-weight: 900;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.agent-logo__mark {
|
|
display: block;
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #21f29a;
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
/* AGENT_PIXEL_PART2 */
|
|
|
|
.agent-nav__links {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.agent-nav__links button {
|
|
padding: 6px 12px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #111;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.agent-nav__links button:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.agent-nav__actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.agent-nav__login {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 14px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #111;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
/* AGENT_PIXEL_PART3 */
|
|
|
|
.agent-nav__login:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.agent-nav__login:disabled {
|
|
opacity: 0.6;
|
|
cursor: default;
|
|
transform: none;
|
|
}
|
|
|
|
.agent-nav__start {
|
|
padding: 6px 16px;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #21f29a;
|
|
color: #111;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
box-shadow: 3px 3px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.agent-nav__start:hover {
|
|
transform: translate(2px, 2px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
}
|
|
|
|
.agent-main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 40px 24px;
|
|
overflow-y: auto;
|
|
gap: 32px;
|
|
}
|
|
|
|
.agent-hero {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 20px;
|
|
width: 100%;
|
|
max-width: 680px;
|
|
}
|
|
|
|
/* AGENT_PIXEL_PART4 */
|
|
|
|
.agent-hero h1 {
|
|
margin: 0;
|
|
font-size: 28px;
|
|
font-weight: 1000;
|
|
color: #11251a;
|
|
text-align: center;
|
|
}
|
|
|
|
.agent-mode-selector {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.agent-mode {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 14px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 3px 3px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s, background 0.1s;
|
|
}
|
|
|
|
.agent-mode:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.agent-mode.is-active {
|
|
background: #21f29a;
|
|
color: #111;
|
|
box-shadow: 3px 3px 0 #111;
|
|
transform: none;
|
|
}
|
|
|
|
.agent-mode__glyph {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 14px;
|
|
color: #38d776;
|
|
}
|
|
|
|
.agent-mode.is-active .agent-mode__glyph {
|
|
color: #111;
|
|
}
|
|
|
|
/* AGENT_PIXEL_PART5 */
|
|
|
|
.agent-composer {
|
|
width: 100%;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 4px 4px 0 #111;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.agent-composer textarea {
|
|
display: block;
|
|
width: 100%;
|
|
min-height: 100px;
|
|
padding: 14px 16px;
|
|
border: none;
|
|
border-bottom: 2px solid #eee;
|
|
background: #fffdf5;
|
|
color: #11251a;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
resize: vertical;
|
|
outline: none;
|
|
}
|
|
|
|
.agent-composer textarea::placeholder {
|
|
color: #999;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.agent-composer__footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 14px;
|
|
background: #fff;
|
|
}
|
|
|
|
.agent-composer__controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.agent-tool-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
/* AGENT_PIXEL_PART6 */
|
|
|
|
.agent-tool-icon:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.agent-tool-pill {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff8e7;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.agent-tool-pill:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.agent-run-button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 20px;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
background: #21f29a;
|
|
color: #111;
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
cursor: pointer;
|
|
box-shadow: 3px 3px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.agent-run-button:hover {
|
|
transform: translate(2px, 2px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
}
|
|
|
|
.agent-run-button:disabled {
|
|
opacity: 0.6;
|
|
cursor: default;
|
|
transform: none;
|
|
}
|
|
|
|
/* AGENT_PIXEL_PART7 */
|
|
|
|
.agent-status {
|
|
margin: 0;
|
|
padding: 8px 16px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff8e7;
|
|
color: #557466;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
.agent-quick-start {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.agent-quick-start > span {
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
color: #557466;
|
|
}
|
|
|
|
.agent-quick-start > div {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.agent-quick-start button {
|
|
padding: 6px 14px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #11251a;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.agent-quick-start button:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
/* AGENT_PIXEL_PART8 */
|
|
|
|
.agent-recent {
|
|
width: 100%;
|
|
max-width: 680px;
|
|
}
|
|
|
|
.agent-recent__head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.agent-recent__head span {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #999;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.agent-recent__head strong {
|
|
font-size: 16px;
|
|
font-weight: 900;
|
|
color: #11251a;
|
|
}
|
|
|
|
.agent-recent__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.agent-run-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 14px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
box-shadow: 3px 3px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.agent-run-card:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
.agent-run-card > div {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* AGENT_PIXEL_PART9 */
|
|
|
|
.agent-run-card > div strong {
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
color: #11251a;
|
|
}
|
|
|
|
.agent-run-card > div span {
|
|
padding: 2px 8px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #ddf5e2;
|
|
color: #11251a;
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.agent-run-card > p {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: #557466;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.agent-run-card > small {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #999;
|
|
}
|
|
|
|
/* ===== Notification Center ===== */
|
|
.notification-center {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.notification-center__bell {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
padding: 0;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
color: #111;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
box-shadow: 3px 3px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.notification-center__bell:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 2px 2px 0 #111;
|
|
}
|
|
|
|
.notification-center__badge {
|
|
position: absolute;
|
|
top: -6px;
|
|
right: -6px;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 4px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #e60012;
|
|
color: #fff;
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
line-height: 14px;
|
|
text-align: center;
|
|
}
|
|
|
|
.notification-center__panel {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
z-index: 1200;
|
|
width: 340px;
|
|
max-height: 420px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fffdf5;
|
|
box-shadow: 4px 4px 0 #111;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.notification-center__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 14px;
|
|
border-bottom: 2px solid #111;
|
|
background: #fff8e7;
|
|
}
|
|
|
|
.notification-center__title {
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
color: #111;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.notification-center__mark-read {
|
|
padding: 3px 8px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #ddf5e2;
|
|
color: #111;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
box-shadow: 2px 2px 0 #111;
|
|
transition: transform 0.1s, box-shadow 0.1s;
|
|
}
|
|
|
|
.notification-center__mark-read:hover {
|
|
transform: translate(1px, 1px);
|
|
box-shadow: 1px 1px 0 #111;
|
|
}
|
|
|
|
.notification-center__list {
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
max-height: 340px;
|
|
}
|
|
|
|
.notification-center__item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
border: none;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: transform 0.1s, box-shadow 0.1s, background 0.1s;
|
|
}
|
|
|
|
.notification-center__item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.notification-center__item:hover {
|
|
background: #fff8e7;
|
|
transform: translate(1px, 1px);
|
|
}
|
|
|
|
.notification-center__item.is-unread {
|
|
background: #ddf5e2;
|
|
}
|
|
|
|
.notification-center__item.is-unread:hover {
|
|
background: #c8efd2;
|
|
}
|
|
|
|
.notification-center__item-icon {
|
|
flex-shrink: 0;
|
|
font-size: 16px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.notification-center__item-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.notification-center__item-title {
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
color: #111;
|
|
font-family: "Arial Black", "Microsoft YaHei", system-ui, sans-serif;
|
|
}
|
|
|
|
.notification-center__item-desc {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: #555;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.notification-center__item-time {
|
|
flex-shrink: 0;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: #999;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.notification-center__empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 40px 20px;
|
|
color: #999;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
/* ─── Fix: Remove green border from composer ─── */
|
|
.web-shell[data-ui-theme="pixel"] .ai-workbench-composer-shell,
|
|
.web-shell[data-ui-theme="pixel"] .ai-workbench-composer-section .ai-workbench-composer-shell {
|
|
border: 3px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fff !important;
|
|
box-shadow: 4px 4px 0 #111 !important;
|
|
backdrop-filter: none !important;
|
|
}
|
|
.web-shell[data-ui-theme="pixel"] .wb-composer__content {
|
|
border: 3px solid #111 !important;
|
|
border-radius: 0 !important;
|
|
background: #fff !important;
|
|
box-shadow: 4px 4px 0 #111 !important;
|
|
}
|
|
.web-shell[data-ui-theme="pixel"] .wb-composer__content:focus-within {
|
|
border-color: #111 !important;
|
|
box-shadow: 4px 4px 0 #111 !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
/* ─── FORCE: Conversation sidebar on the right ─── */
|
|
.ai-workbench-page.is-active .ai-workbench-shell {
|
|
display: flex !important;
|
|
flex-direction: row !important;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
min-height: 0 !important;
|
|
overflow: hidden !important;
|
|
}
|
|
.ai-workbench-page.is-active .ai-workbench-shell > .ai-workbench-main {
|
|
flex: 1 !important;
|
|
min-width: 0 !important;
|
|
height: 100% !important;
|
|
overflow: hidden !important;
|
|
}
|
|
.ai-workbench-page.is-active .ai-workbench-shell > .conversation-sidebar {
|
|
flex-shrink: 0 !important;
|
|
width: 240px !important;
|
|
height: 100% !important;
|
|
overflow-y: auto !important;
|
|
}
|
|
.ai-workbench-page.is-active .ai-workbench-shell > .conversation-sidebar.is-collapsed {
|
|
width: 48px !important;
|
|
}
|
|
|
|
.ai-chat-result-flow {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 0;
|
|
padding: 0 12px 12px;
|
|
}
|
|
|
|
.ai-chat-result-flow button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-height: 26px;
|
|
padding: 0 8px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #f7fff2;
|
|
box-shadow: 2px 2px 0 #111;
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.ai-chat-result-flow button:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.ai-chat-result-flow span {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #555;
|
|
}
|
|
|
|
/* Workbench two-state conversation layout */
|
|
.ai-workbench-page.is-launch > .conversation-sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.ai-workbench-page.is-active {
|
|
display: flex !important;
|
|
align-items: stretch;
|
|
grid-template-columns: none;
|
|
grid-template-rows: none;
|
|
background: #fffdf5;
|
|
}
|
|
|
|
.ai-workbench-page.is-active > .ai-workbench-shell {
|
|
flex: 1 1 auto !important;
|
|
width: auto !important;
|
|
min-width: 0 !important;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.ai-workbench-page.is-active > .conversation-sidebar {
|
|
flex: 0 0 240px;
|
|
min-width: 240px;
|
|
height: 100%;
|
|
}
|
|
|
|
.ai-workbench-page.is-active > .conversation-sidebar.is-collapsed {
|
|
flex-basis: 48px;
|
|
min-width: 48px;
|
|
}
|
|
|
|
.ai-workbench-page.is-active .ai-workbench-main,
|
|
.ai-workbench-page.is-active .ai-workbench-shell > .ai-workbench-main {
|
|
display: block !important;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
min-width: 0 !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.ai-workbench-page.is-active .ai-workbench-content-scroll {
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
max-width: none;
|
|
height: 100%;
|
|
min-height: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
}
|
|
|
|
.ai-workbench-page.is-active .ai-workbench-thread-shell,
|
|
.ai-workbench-page.is-active .ai-chat-main-panel {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.ai-workbench-page.is-active .ai-chat-messages-surface {
|
|
position: relative;
|
|
height: 100%;
|
|
min-height: 0;
|
|
box-sizing: border-box;
|
|
padding: clamp(20px, 3vh, 34px) clamp(18px, 4vw, 52px) clamp(190px, 25vh, 260px);
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
background: #f8fff2;
|
|
}
|
|
|
|
.ai-workbench-page.is-active .ai-chat-message-list {
|
|
width: min(100%, 980px);
|
|
min-height: 100%;
|
|
margin: 0 auto;
|
|
gap: 22px;
|
|
}
|
|
|
|
.ai-workbench-page.is-active .ai-chat-message-list > .conversation-sidebar__empty {
|
|
width: min(100%, 520px);
|
|
margin: clamp(80px, 16vh, 160px) auto 0;
|
|
padding: 22px 18px;
|
|
border: 2px dashed #111;
|
|
background: #fff;
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.ai-workbench-page.is-active .wb-composer {
|
|
position: absolute;
|
|
left: 50%;
|
|
right: auto;
|
|
bottom: 0;
|
|
z-index: 20;
|
|
width: min(100%, 980px);
|
|
max-width: 980px;
|
|
margin: 0;
|
|
padding: 0 clamp(16px, 3vw, 30px) 18px;
|
|
background: #fffdf5;
|
|
transform: translateX(-50%);
|
|
opacity: 1;
|
|
pointer-events: none;
|
|
filter: none;
|
|
transition:
|
|
transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
|
|
opacity 180ms ease,
|
|
filter 240ms ease;
|
|
will-change: transform, opacity;
|
|
}
|
|
|
|
.ai-workbench-page.is-active .wb-composer__content {
|
|
pointer-events: auto;
|
|
transition:
|
|
box-shadow 180ms ease,
|
|
transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
}
|
|
|
|
.ai-workbench-page.is-active .wb-composer.is-hidden {
|
|
display: block;
|
|
transform: translateX(-50%) translateY(calc(100% + 18px));
|
|
opacity: 0;
|
|
filter: saturate(0.9);
|
|
}
|
|
|
|
.ai-workbench-page.is-active .wb-composer.is-hidden .wb-composer__content {
|
|
pointer-events: none;
|
|
transform: translateY(6px);
|
|
}
|
|
|
|
.ai-workbench-mode-switch__menu--up {
|
|
top: auto;
|
|
bottom: calc(100% + 8px);
|
|
}
|
|
|
|
.ai-workbench-mode-switch__menu--down {
|
|
top: calc(100% + 8px);
|
|
bottom: auto;
|
|
}
|
|
|
|
.ai-workbench-select-chip__dropdown--up {
|
|
top: auto;
|
|
bottom: calc(100% + 8px);
|
|
}
|
|
|
|
.ai-workbench-select-chip__dropdown--down {
|
|
top: calc(100% + 8px);
|
|
bottom: auto;
|
|
}
|
|
|
|
.wb-inline-chip__menu--up {
|
|
top: auto;
|
|
bottom: calc(100% + 6px);
|
|
}
|
|
|
|
.wb-inline-chip__menu--down {
|
|
top: calc(100% + 6px);
|
|
bottom: auto;
|
|
}
|
|
|
|
@media (max-width: 860px) {
|
|
.ai-workbench-page.is-active > .conversation-sidebar {
|
|
position: absolute;
|
|
inset: 0 0 auto auto;
|
|
z-index: 30;
|
|
width: min(240px, 78vw);
|
|
min-width: 0;
|
|
height: 100%;
|
|
box-shadow: -4px 0 0 #111;
|
|
}
|
|
|
|
.ai-workbench-page.is-active > .conversation-sidebar.is-collapsed {
|
|
width: 48px;
|
|
}
|
|
|
|
.ai-workbench-page.is-active .ai-chat-messages-surface {
|
|
padding: 18px 14px clamp(210px, 34vh, 300px);
|
|
}
|
|
|
|
.ai-workbench-page.is-active .wb-composer {
|
|
width: 100%;
|
|
padding: 0 10px 12px;
|
|
}
|
|
}
|
|
|
|
.ecommerce-result-panel {
|
|
margin: 16px 24px 0;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.ecommerce-result-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 12px 14px;
|
|
border: 2px solid #111;
|
|
background: #fffdf5;
|
|
box-shadow: 4px 4px 0 #111;
|
|
}
|
|
|
|
.ecommerce-result-card strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.ecommerce-result-card span,
|
|
.ecommerce-result-card p {
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #555;
|
|
}
|
|
|
|
.ecommerce-result-card__meta {
|
|
display: flex;
|
|
gap: 12px;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: #777;
|
|
}
|
|
|
|
.community-card-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.community-card-actions button {
|
|
padding: 5px 9px;
|
|
border: 2px solid #111;
|
|
background: #fff;
|
|
box-shadow: 2px 2px 0 #111;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.profile-page__list-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.profile-page__list-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
min-height: 120px;
|
|
padding: 12px;
|
|
border: 2px solid #111;
|
|
background: #fffdf5;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.profile-page__list-card-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.profile-page__list-card-head strong {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.profile-page__list-card-head span,
|
|
.profile-page__list-card p,
|
|
.profile-page__list-card-meta {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: #555;
|
|
}
|
|
|
|
.profile-page__list-card-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.profile-page__upload-card--meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
align-items: flex-start;
|
|
cursor: default;
|
|
}
|
|
|
|
/* Canvas node interaction pass: real node sizes, selected controls, resize handles. */
|
|
.canvas-page .studio-canvas-text-node,
|
|
.canvas-page .studio-canvas-image-node,
|
|
.canvas-page .studio-canvas-video-node {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
bottom: auto;
|
|
z-index: 40;
|
|
width: var(--canvas-node-width);
|
|
height: var(--canvas-node-height);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-page .react-flow {
|
|
z-index: 1;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-world {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 20;
|
|
overflow: visible;
|
|
pointer-events: none;
|
|
transform-origin: 0 0;
|
|
will-change: transform;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-links {
|
|
z-index: 30;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-link-hit {
|
|
pointer-events: stroke;
|
|
cursor: context-menu;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-box {
|
|
position: absolute;
|
|
z-index: 46;
|
|
border: 2px dashed #111;
|
|
background: rgba(56, 215, 118, 0.12);
|
|
background-size: auto;
|
|
box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.82);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-summary,
|
|
.canvas-page .studio-canvas-node-package-box {
|
|
position: absolute;
|
|
z-index: 18;
|
|
border: 2px solid rgba(44, 146, 104, 0.42);
|
|
border-radius: 10px;
|
|
background: rgba(56, 215, 118, 0.035);
|
|
box-shadow: none;
|
|
pointer-events: none;
|
|
cursor: move;
|
|
transition:
|
|
border-color 0.16s ease,
|
|
background 0.16s ease;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-summary__label {
|
|
position: absolute;
|
|
top: -1px;
|
|
left: 12px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 10px;
|
|
font-size: 11px;
|
|
color: rgba(56, 215, 118, 0.82);
|
|
background: rgba(17, 24, 20, 0.88);
|
|
border-radius: 0 0 6px 6px;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-box:hover {
|
|
border-color: rgba(44, 146, 104, 0.72);
|
|
background: rgba(56, 215, 118, 0.06);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-box.is-selected {
|
|
border-color: rgba(26, 126, 78, 0.92);
|
|
background: rgba(56, 215, 118, 0.09);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-box.is-dragging {
|
|
border-color: rgba(26, 126, 78, 0.96);
|
|
background: rgba(56, 215, 118, 0.12);
|
|
transition: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-hit-area {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: inherit;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-drag-zone {
|
|
position: absolute;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-drag-zone.is-top {
|
|
top: -4px;
|
|
left: 40px;
|
|
right: 40px;
|
|
height: 8px;
|
|
cursor: move;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-drag-zone.is-right {
|
|
top: 40px;
|
|
right: -4px;
|
|
bottom: 40px;
|
|
width: 8px;
|
|
cursor: move;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-drag-zone.is-bottom {
|
|
bottom: -4px;
|
|
left: 40px;
|
|
right: 40px;
|
|
height: 8px;
|
|
cursor: move;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-drag-zone.is-left {
|
|
top: 40px;
|
|
left: -4px;
|
|
bottom: 40px;
|
|
width: 8px;
|
|
cursor: move;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-box__label {
|
|
position: absolute;
|
|
top: -1px;
|
|
left: 12px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 24px;
|
|
padding: 2px 10px;
|
|
border: 1px solid rgba(44, 146, 104, 0.52);
|
|
border-top: none;
|
|
border-radius: 0 0 6px 6px;
|
|
background: rgba(20, 30, 24, 0.92);
|
|
color: #6ee7b7;
|
|
box-shadow: none;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-box__label:hover {
|
|
background: rgba(26, 46, 36, 0.96);
|
|
color: #a7f3d0;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-box__label strong {
|
|
max-width: 160px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-box__label em {
|
|
color: rgba(167, 243, 208, 0.7);
|
|
font-size: 11px;
|
|
font-style: normal;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-card {
|
|
position: absolute;
|
|
z-index: 48;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
padding: 14px 16px;
|
|
border: 2px solid rgba(44, 146, 104, 0.68);
|
|
border-radius: 10px;
|
|
background: rgba(20, 30, 24, 0.94);
|
|
color: #a7f3d0;
|
|
box-shadow: none;
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
text-align: left;
|
|
transition:
|
|
border-color 0.16s ease,
|
|
box-shadow 0.16s ease,
|
|
transform 0.16s ease;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-card:hover {
|
|
border-color: rgba(26, 126, 78, 0.96);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-card.is-dragging {
|
|
border-color: rgba(26, 126, 78, 0.96);
|
|
box-shadow: none;
|
|
transform: scale(1.02);
|
|
transition: none;
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-card__label {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
color: #6ee7b7;
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
line-height: 1.25;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-package-card__meta {
|
|
color: rgba(167, 243, 208, 0.7);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-context-menu__unpackage:hover:not(:disabled) {
|
|
border-color: rgba(44, 146, 104, 0.72);
|
|
background: rgba(20, 30, 24, 0.92);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node {
|
|
transform: translate(calc(-50% + var(--text-node-x, 0px)), calc(-50% + var(--text-node-y, 0px)));
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node {
|
|
transform: translate(calc(-50% + var(--image-node-x, 0px)), calc(-50% + var(--image-node-y, 0px)));
|
|
}
|
|
|
|
.canvas-page .studio-canvas-video-node {
|
|
transform: translate(calc(-50% + var(--video-node-x, 0px)), calc(-50% + var(--video-node-y, 0px)));
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node.is-selected,
|
|
.canvas-page .studio-canvas-image-node.is-selected,
|
|
.canvas-page .studio-canvas-video-node.is-selected {
|
|
z-index: 58;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__scaled,
|
|
.canvas-page .studio-canvas-image-node__scaled,
|
|
.canvas-page .studio-canvas-video-node__scaled {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: visible;
|
|
transform: none;
|
|
transform-origin: center center;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__title,
|
|
.canvas-page .studio-canvas-image-node__title,
|
|
.canvas-page .studio-canvas-video-node__title {
|
|
left: 0;
|
|
top: -30px;
|
|
max-width: 100%;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
line-height: 1.2;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__card,
|
|
.canvas-page .studio-canvas-image-node__card,
|
|
.canvas-page .studio-canvas-video-node__preview {
|
|
position: absolute;
|
|
inset: 0;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: visible;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node.is-selected .studio-canvas-text-node__card,
|
|
.canvas-page .studio-canvas-image-node.is-selected .studio-canvas-image-node__card,
|
|
.canvas-page .studio-canvas-video-node.is-selected .studio-canvas-video-node__preview {
|
|
border-color: #38d776;
|
|
box-shadow:
|
|
7px 7px 0 #111,
|
|
0 0 0 3px rgba(56, 215, 118, 0.3);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node.is-resizing .studio-canvas-text-node__card,
|
|
.canvas-page .studio-canvas-image-node.is-resizing .studio-canvas-image-node__card,
|
|
.canvas-page .studio-canvas-video-node.is-resizing .studio-canvas-video-node__preview {
|
|
cursor: nwse-resize;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node.is-focus-tool-active .studio-canvas-image-node__card,
|
|
.canvas-page .studio-canvas-image-node.is-focus-selecting .studio-canvas-image-node__card {
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node.is-focus-tool-active .studio-canvas-node-resize-handle,
|
|
.canvas-page .studio-canvas-image-node.is-focus-tool-active .studio-canvas-image-node__connector,
|
|
.canvas-page .studio-canvas-image-node.is-focus-tool-active .studio-canvas-image-node__upload {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 18;
|
|
overflow: hidden;
|
|
border-radius: inherit;
|
|
cursor: crosshair;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer--global {
|
|
z-index: 74;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer__hint {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
padding: 8px 12px;
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
border-radius: 8px;
|
|
background: rgba(0, 0, 0, 0.58);
|
|
color: rgba(255, 255, 255, 0.86);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
transform: translate(-50%, -50%);
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer__shade {
|
|
position: absolute;
|
|
z-index: 1;
|
|
background: rgba(0, 0, 0, 0.52);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer__shade.is-top {
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: var(--focus-y, 0%);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer__shade.is-bottom {
|
|
left: 0;
|
|
top: calc(var(--focus-y, 0%) + var(--focus-h, 0%));
|
|
width: 100%;
|
|
height: calc(100% - var(--focus-y, 0%) - var(--focus-h, 0%));
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer__shade.is-left {
|
|
left: 0;
|
|
top: var(--focus-y, 0%);
|
|
width: var(--focus-x, 0%);
|
|
height: var(--focus-h, 0%);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer__shade.is-right {
|
|
left: calc(var(--focus-x, 0%) + var(--focus-w, 0%));
|
|
top: var(--focus-y, 0%);
|
|
width: calc(100% - var(--focus-x, 0%) - var(--focus-w, 0%));
|
|
height: var(--focus-h, 0%);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer__box {
|
|
position: absolute;
|
|
left: var(--focus-x, 0%);
|
|
top: var(--focus-y, 0%);
|
|
z-index: 2;
|
|
width: var(--focus-w, 0%);
|
|
height: var(--focus-h, 0%);
|
|
border: 2px solid #fff;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
box-shadow:
|
|
0 0 0 1px rgba(0, 0, 0, 0.28),
|
|
0 0 22px rgba(0, 0, 0, 0.24);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer__handle {
|
|
position: absolute;
|
|
width: 8px;
|
|
height: 8px;
|
|
border: 1px solid rgba(0, 0, 0, 0.34);
|
|
background: #fff;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer__handle.is-nw { left: 0; top: 0; }
|
|
.canvas-page .studio-canvas-image-focus-layer__handle.is-n { left: 50%; top: 0; }
|
|
.canvas-page .studio-canvas-image-focus-layer__handle.is-ne { left: 100%; top: 0; }
|
|
.canvas-page .studio-canvas-image-focus-layer__handle.is-e { left: 100%; top: 50%; }
|
|
.canvas-page .studio-canvas-image-focus-layer__handle.is-se { left: 100%; top: 100%; }
|
|
.canvas-page .studio-canvas-image-focus-layer__handle.is-s { left: 50%; top: 100%; }
|
|
.canvas-page .studio-canvas-image-focus-layer__handle.is-sw { left: 0; top: 100%; }
|
|
.canvas-page .studio-canvas-image-focus-layer__handle.is-w { left: 0; top: 50%; }
|
|
|
|
.canvas-page .studio-canvas-image-focus-toolbar {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: -50px;
|
|
z-index: 64;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
max-width: min(560px, calc(100vw - 72px));
|
|
min-height: 38px;
|
|
padding: 6px 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 8px;
|
|
background: rgba(10, 10, 10, 0.94);
|
|
color: rgba(255, 255, 255, 0.82);
|
|
box-shadow: none;
|
|
transform: translateX(-50%);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-layer--global .studio-canvas-image-focus-toolbar {
|
|
left: var(--focus-cx, 50%);
|
|
top: var(--focus-toolbar-y, 60%);
|
|
bottom: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-toolbar__ratios {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-toolbar button {
|
|
flex: 0 0 auto;
|
|
height: 28px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-toolbar__ratios button {
|
|
min-width: 34px;
|
|
padding: 0 7px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-toolbar__ratios button:hover,
|
|
.canvas-page .studio-canvas-image-focus-toolbar__ratios button.is-active {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #fff;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-toolbar__cancel {
|
|
padding: 0 10px;
|
|
color: rgba(255, 255, 255, 0.68) !important;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-focus-toolbar__confirm {
|
|
min-width: 48px;
|
|
padding: 0 12px;
|
|
background: #1677ff !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-toolbar {
|
|
top: -80px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node__upload {
|
|
top: -44px;
|
|
left: 50%;
|
|
height: 34px;
|
|
padding: 0 12px;
|
|
font-size: 12px;
|
|
transition: opacity 0.14s ease, transform 0.14s ease;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node:not(.is-selected) .studio-canvas-image-node__upload {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__glyph {
|
|
gap: 6px;
|
|
padding-top: 34px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__glyph span {
|
|
width: 48px;
|
|
height: 6px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__glyph span:nth-child(4) {
|
|
width: 30px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__suggestions {
|
|
gap: 10px;
|
|
margin-top: 22px;
|
|
padding: 0 18px 18px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__suggestions > span,
|
|
.canvas-page .studio-canvas-image-node__placeholder-actions span {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__suggestions button,
|
|
.canvas-page .studio-canvas-image-node__placeholder-actions button {
|
|
max-width: 100%;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
line-height: 1.3;
|
|
white-space: normal;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__inline-input,
|
|
.canvas-page .studio-canvas-text-node__content {
|
|
inset: 18px;
|
|
overflow: auto;
|
|
font-size: 15px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node__placeholder {
|
|
padding: 28px 24px 30px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node__placeholder.is-error {
|
|
gap: 12px;
|
|
background: rgba(8, 18, 15, 0.72);
|
|
color: rgba(236, 255, 245, 0.92);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node__placeholder-copy {
|
|
display: grid;
|
|
gap: 5px;
|
|
max-width: min(300px, calc(100% - 32px));
|
|
text-align: center;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node__placeholder-copy strong {
|
|
color: rgba(255, 255, 255, 0.94);
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node__placeholder-copy small {
|
|
color: rgba(196, 218, 207, 0.72);
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node__placeholder-icon,
|
|
.canvas-page .studio-canvas-video-node__play {
|
|
font-size: 44px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-video-node__preview video {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-node__placeholder-actions {
|
|
gap: 8px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer,
|
|
.canvas-page .studio-canvas-image-composer,
|
|
.canvas-page .studio-canvas-video-composer {
|
|
left: 0;
|
|
top: calc(100% + 14px);
|
|
width: var(--canvas-node-width);
|
|
min-width: min(420px, calc(100vw - 56px));
|
|
max-width: min(760px, calc(100vw - 56px));
|
|
height: auto;
|
|
min-height: 0;
|
|
border-radius: 0;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer {
|
|
min-width: min(360px, calc(100vw - 56px));
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer textarea,
|
|
.canvas-page .studio-canvas-image-composer textarea,
|
|
.canvas-page .studio-canvas-video-composer textarea {
|
|
height: 92px;
|
|
margin: 0;
|
|
padding: 14px 14px 6px;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer textarea {
|
|
padding: 14px 56px 16px 14px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__footer,
|
|
.canvas-page .studio-canvas-image-composer__footer,
|
|
.canvas-page .studio-canvas-video-composer__footer {
|
|
position: static;
|
|
left: auto;
|
|
right: auto;
|
|
bottom: auto;
|
|
height: auto;
|
|
min-height: 54px;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 8px 12px 12px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-composer__footer,
|
|
.canvas-page .studio-canvas-video-composer__footer {
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__footer {
|
|
position: absolute;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
left: 10px;
|
|
height: 34px;
|
|
min-height: 34px;
|
|
flex-wrap: nowrap;
|
|
padding: 0;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__footer button,
|
|
.canvas-page .studio-canvas-image-composer__footer button,
|
|
.canvas-page .studio-canvas-video-composer__footer button {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__footer button {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__footer span,
|
|
.canvas-page .studio-canvas-image-composer__footer span,
|
|
.canvas-page .studio-canvas-video-composer__footer span {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__send {
|
|
width: 34px;
|
|
height: 34px;
|
|
margin-left: auto;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__state,
|
|
.canvas-page .studio-canvas-image-composer__state,
|
|
.canvas-page .studio-canvas-video-composer__state {
|
|
flex: 1 1 130px;
|
|
min-width: 120px;
|
|
overflow: hidden;
|
|
color: rgba(255, 255, 255, 0.68);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__state.is-success,
|
|
.canvas-page .studio-canvas-image-composer__state.is-success,
|
|
.canvas-page .studio-canvas-video-composer__state.is-success {
|
|
color: #7ce7a3;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__state.is-error,
|
|
.canvas-page .studio-canvas-image-composer__state.is-error,
|
|
.canvas-page .studio-canvas-video-composer__state.is-error {
|
|
color: #ff9b9b;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-generation-progress {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 34;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
border-radius: inherit;
|
|
background: rgba(8, 16, 12, 0.88);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
text-align: center;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
animation: canvas-progress-fade-in 280ms ease-out both;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-generation-progress::before {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: radial-gradient(ellipse at 50% 40%, rgba(var(--accent-rgb, 0, 255, 136), 0.06) 0%, transparent 70%);
|
|
content: "";
|
|
animation: canvas-progress-glow-pulse 2.4s ease-in-out infinite;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-generation-progress__ring {
|
|
position: relative;
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 50%;
|
|
background:
|
|
conic-gradient(from -90deg, var(--accent, #00ff88) 0 var(--canvas-generation-progress, 0deg), rgba(255, 255, 255, 0.08) var(--canvas-generation-progress, 0deg) 360deg);
|
|
transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-generation-progress__ring::after {
|
|
position: absolute;
|
|
inset: 6px;
|
|
border-radius: 50%;
|
|
background: rgba(10, 20, 16, 0.96);
|
|
content: "";
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-generation-progress__ring::before {
|
|
position: absolute;
|
|
inset: -3px;
|
|
border-radius: 50%;
|
|
border: 1.5px solid transparent;
|
|
border-top-color: rgba(var(--accent-rgb, 0, 255, 136), 0.6);
|
|
border-right-color: rgba(var(--accent-rgb, 0, 255, 136), 0.2);
|
|
animation: canvas-progress-orbit 1.8s linear infinite;
|
|
content: "";
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-generation-progress strong {
|
|
position: relative;
|
|
max-width: min(200px, 80%);
|
|
overflow: hidden;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.02em;
|
|
line-height: 1.3;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-generation-progress em {
|
|
position: absolute;
|
|
inset: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--accent, #00ff88);
|
|
font-size: 13px;
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
text-shadow: 0 0 8px rgba(var(--accent-rgb, 0, 255, 136), 0.3);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-generate-button {
|
|
border-color: rgba(255, 255, 255, 0.12) !important;
|
|
background: rgba(255, 255, 255, 0.08) !important;
|
|
color: rgba(255, 255, 255, 0.36) !important;
|
|
box-shadow: none !important;
|
|
cursor: not-allowed !important;
|
|
opacity: 0.54;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-generate-button .anticon {
|
|
font-size: 15px;
|
|
line-height: 1;
|
|
transform: translateX(0) rotate(0deg);
|
|
transition:
|
|
color 160ms ease,
|
|
filter 160ms ease,
|
|
font-size 160ms ease,
|
|
transform 160ms ease;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-generate-button.is-ready:not(:disabled) {
|
|
border-color: rgba(var(--accent-rgb, 0, 255, 136), 0.72) !important;
|
|
background: var(--accent, #00ff88) !important;
|
|
color: var(--dg-button-text, #061014) !important;
|
|
box-shadow:
|
|
0 0 0 1px rgba(var(--accent-rgb, 0, 255, 136), 0.18),
|
|
0 0 20px rgba(var(--accent-rgb, 0, 255, 136), 0.32) !important;
|
|
cursor: pointer !important;
|
|
opacity: 1;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-generate-button.is-ready:not(:disabled) .anticon {
|
|
color: var(--dg-button-text, #061014);
|
|
font-size: 18px;
|
|
filter:
|
|
drop-shadow(0 1px 0 rgba(255, 255, 255, 0.32))
|
|
drop-shadow(0 0 8px rgba(6, 16, 20, 0.28));
|
|
transform: translate(1px, -1px) rotate(-10deg);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-generate-button.is-ready:not(:disabled):hover .anticon {
|
|
transform: translate(2px, -2px) rotate(-14deg) scale(1.06);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-generate-button[aria-busy="true"] {
|
|
border-color: rgba(var(--accent-rgb, 0, 255, 136), 0.52) !important;
|
|
background: var(--accent, #00ff88) !important;
|
|
color: var(--dg-button-text, #061014) !important;
|
|
cursor: wait !important;
|
|
opacity: 1;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-generation-toast {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 78px;
|
|
z-index: 270;
|
|
min-width: 152px;
|
|
padding: 10px 16px;
|
|
border: 1px solid rgba(var(--accent-rgb, 0, 255, 136), 0.36);
|
|
border-radius: 999px;
|
|
background: rgba(5, 12, 10, 0.92);
|
|
color: var(--accent, #00ff88);
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
text-align: center;
|
|
box-shadow: none;
|
|
transform: translateX(-50%);
|
|
animation: canvas-generation-toast-in 180ms ease-out;
|
|
pointer-events: none;
|
|
}
|
|
|
|
@keyframes canvas-progress-fade-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.97);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes canvas-progress-glow-pulse {
|
|
0%, 100% {
|
|
opacity: 0.4;
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes canvas-progress-orbit {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes canvas-generation-toast-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate(-50%, 8px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
}
|
|
|
|
|
|
.canvas-page .studio-canvas-text-composer__model {
|
|
height: 38px;
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__model-menu {
|
|
bottom: 48px;
|
|
width: min(430px, calc(100vw - 64px));
|
|
padding: 10px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__model-menu button {
|
|
min-height: 58px;
|
|
grid-template-columns: 34px 1fr auto;
|
|
gap: 10px;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__model-menu-copy strong {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-composer__model-menu-copy small,
|
|
.canvas-page .studio-canvas-text-composer__model-menu em {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-composer__tools,
|
|
.canvas-page .studio-canvas-video-composer__tabs,
|
|
.canvas-page .studio-canvas-video-composer__tools {
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
padding: 12px 12px 0;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-video-composer__tools {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-composer__tools button,
|
|
.canvas-page .studio-canvas-video-composer__tabs button,
|
|
.canvas-page .studio-canvas-video-composer__tools button {
|
|
min-width: 0;
|
|
min-height: 34px;
|
|
height: 36px;
|
|
padding: 0 10px;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-composer__tools .anticon {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-composer__expand {
|
|
width: 36px;
|
|
height: 36px !important;
|
|
font-size: 18px !important;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-composer__style-button {
|
|
max-width: 176px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-composer__style-button.has-style {
|
|
justify-content: flex-start;
|
|
min-width: 128px;
|
|
padding: 4px 10px 4px 6px;
|
|
border-color: rgba(0, 255, 136, 0.42);
|
|
background: rgba(0, 255, 136, 0.1);
|
|
color: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-composer__style-thumb {
|
|
flex: 0 0 auto;
|
|
width: 26px;
|
|
height: 26px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
border-radius: 6px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-composer__style-thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-image-composer__style-label {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 260;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
border: 0;
|
|
background: rgba(6, 7, 7, 0.78);
|
|
cursor: default;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__panel {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(1500px, calc(100vw - 48px));
|
|
height: min(920px, calc(100vh - 48px));
|
|
min-height: 520px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 10px;
|
|
background: #242424;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__header {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(260px, 380px) auto 36px;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 16px 16px 10px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__tabs {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__tabs button,
|
|
.canvas-page .studio-canvas-style-picker__categories button,
|
|
.canvas-page .studio-canvas-style-picker__community-link,
|
|
.canvas-page .studio-canvas-style-picker__close,
|
|
.canvas-page .studio-canvas-style-picker__empty button {
|
|
border: 0;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__tabs button {
|
|
min-width: 80px;
|
|
height: 34px;
|
|
padding: 0 18px;
|
|
border-radius: 7px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.48);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__tabs button.is-active {
|
|
background: rgba(255, 255, 255, 0.13);
|
|
color: #fff;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__search {
|
|
display: grid;
|
|
grid-template-columns: 18px 1fr;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 42px;
|
|
padding: 0 12px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.74);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__search input {
|
|
min-width: 0;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: #fff;
|
|
font: inherit;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__search input::placeholder {
|
|
color: rgba(255, 255, 255, 0.44);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__community-link {
|
|
justify-self: end;
|
|
height: 34px;
|
|
padding: 0 14px;
|
|
border-radius: 8px;
|
|
background: rgba(0, 255, 136, 0.12);
|
|
color: #7dffb3;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__close {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.54);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__subbar {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 0 16px 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__categories {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-width: 0;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__categories::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__categories button {
|
|
flex: 0 0 auto;
|
|
height: 32px;
|
|
padding: 0 12px;
|
|
border-radius: 7px;
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__categories button.is-active {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: #fff;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__filters {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__filters span {
|
|
height: 32px;
|
|
padding: 0 12px;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.09);
|
|
color: rgba(255, 255, 255, 0.76);
|
|
font-size: 12px;
|
|
font-weight: 900;
|
|
line-height: 32px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__body {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 16px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
|
|
gap: 16px;
|
|
align-items: start;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__card {
|
|
display: grid;
|
|
grid-template-rows: auto auto auto;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__card.is-selected .studio-canvas-style-picker__image {
|
|
outline: 2px solid #00ff88;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__image {
|
|
position: relative;
|
|
display: block;
|
|
overflow: hidden;
|
|
aspect-ratio: 4 / 5;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
transition: transform 0.18s ease;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__card:hover .studio-canvas-style-picker__image img {
|
|
transform: scale(1.035);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__image::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: auto 0 0;
|
|
height: 44%;
|
|
background: rgba(0, 0, 0, 0.58);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__image em {
|
|
position: absolute;
|
|
left: 8px;
|
|
bottom: 7px;
|
|
z-index: 1;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-size: 11px;
|
|
font-style: normal;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__card strong,
|
|
.canvas-page .studio-canvas-style-picker__card small {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__card strong {
|
|
color: #fff;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__card small {
|
|
color: rgba(255, 255, 255, 0.48);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__skeleton {
|
|
aspect-ratio: 4 / 5.55;
|
|
border-radius: 8px;
|
|
background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07));
|
|
background-size: 220% 100%;
|
|
animation: canvas-style-skeleton 1.15s ease-in-out infinite;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__empty {
|
|
display: grid;
|
|
place-items: center;
|
|
align-content: center;
|
|
gap: 10px;
|
|
min-height: 320px;
|
|
color: rgba(255, 255, 255, 0.56);
|
|
text-align: center;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__empty strong {
|
|
color: #fff;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__empty button {
|
|
height: 34px;
|
|
padding: 0 16px;
|
|
border-radius: 8px;
|
|
background: #00ff88;
|
|
color: #111;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-toast {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: 34px;
|
|
z-index: 280;
|
|
max-width: min(520px, calc(100vw - 48px));
|
|
padding: 12px 16px;
|
|
border: 1px solid rgba(0, 255, 136, 0.32);
|
|
border-radius: 8px;
|
|
background: rgba(22, 28, 24, 0.96);
|
|
color: #7dffb3;
|
|
font-size: 13px;
|
|
font-weight: 900;
|
|
box-shadow: none;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
@keyframes canvas-style-skeleton {
|
|
0% {
|
|
background-position: 120% 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: -120% 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.canvas-page .studio-canvas-style-picker {
|
|
padding: 12px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__panel {
|
|
width: calc(100vw - 24px);
|
|
height: calc(100vh - 24px);
|
|
min-height: 0;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__header {
|
|
grid-template-columns: 1fr 36px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__search,
|
|
.canvas-page .studio-canvas-style-picker__community-link {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__community-link {
|
|
justify-self: start;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__subbar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__filters {
|
|
display: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-style-picker__grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
.canvas-page .studio-canvas-composer-chip {
|
|
flex: 1 1 118px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-composer-chip--compact {
|
|
flex: 0 1 82px;
|
|
min-width: 64px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-composer-chip--mini {
|
|
flex: 0 1 58px;
|
|
min-width: 48px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-composer-chip .canvas-select-chip__trigger {
|
|
height: 34px !important;
|
|
min-height: 34px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__connector,
|
|
.canvas-page .studio-canvas-image-node__connector,
|
|
.canvas-page .studio-canvas-video-node__connector {
|
|
width: 58px;
|
|
height: 58px;
|
|
z-index: 8;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-connector--left,
|
|
.canvas-page .studio-canvas-video-node__connector.studio-canvas-node-connector--left {
|
|
left: -38px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-connector--right,
|
|
.canvas-page .studio-canvas-video-node__connector.studio-canvas-node-connector--right {
|
|
right: -38px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node__connector span,
|
|
.canvas-page .studio-canvas-image-node__connector span,
|
|
.canvas-page .studio-canvas-video-node__connector span {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-resize-handle {
|
|
position: absolute;
|
|
right: -12px;
|
|
bottom: -12px;
|
|
z-index: 12;
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #38d776;
|
|
box-shadow: 3px 3px 0 #111;
|
|
cursor: nwse-resize;
|
|
opacity: 1;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-resize-handle::before,
|
|
.canvas-page .studio-canvas-node-resize-handle::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 5px;
|
|
bottom: 5px;
|
|
width: 10px;
|
|
height: 2px;
|
|
background: #111;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-resize-handle::after {
|
|
width: 2px;
|
|
height: 10px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-text-node:not(.is-selected) .studio-canvas-node-resize-handle,
|
|
.canvas-page .studio-canvas-image-node:not(.is-selected) .studio-canvas-node-resize-handle,
|
|
.canvas-page .studio-canvas-video-node:not(.is-selected) .studio-canvas-node-resize-handle {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-context-menu {
|
|
width: min(340px, calc(100vw - 24px));
|
|
max-height: min(560px, calc(100vh - 24px));
|
|
padding: 10px;
|
|
gap: 3px;
|
|
border: 3px solid #111;
|
|
border-radius: 0;
|
|
transform: none;
|
|
background: #fffdf5;
|
|
background-size: auto;
|
|
color: #11251a;
|
|
box-shadow: 7px 7px 0 #111;
|
|
overflow: auto;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-context-menu button {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 42px;
|
|
padding: 0 10px;
|
|
border: 2px solid transparent;
|
|
border-radius: 0;
|
|
color: #11251a;
|
|
font-size: 13px;
|
|
font-weight: 1000;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-context-menu button > span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-context-menu button:hover:not(:disabled) {
|
|
border-color: #111;
|
|
background: #d9f8dd;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-context-menu button:disabled {
|
|
color: #8aa095;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-context-menu kbd {
|
|
min-width: 42px;
|
|
color: #557466;
|
|
font-family: inherit;
|
|
font-size: 12px;
|
|
font-weight: 1000;
|
|
text-align: right;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-context-menu__divider {
|
|
height: 3px;
|
|
margin: 7px 0;
|
|
border: 0;
|
|
background: #111;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-context-menu__hint {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-left: 6px;
|
|
border: 2px solid #111;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
color: #557466;
|
|
font-size: 11px;
|
|
font-weight: 1000;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-node-context-menu .studio-canvas-node-context-menu__primary {
|
|
min-height: 44px;
|
|
margin-top: 5px;
|
|
border-color: #111;
|
|
background: #38d776;
|
|
box-shadow: 3px 3px 0 #111;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-context-menu {
|
|
position: fixed;
|
|
z-index: 95;
|
|
display: grid;
|
|
width: min(280px, calc(100vw - 24px));
|
|
max-height: min(360px, calc(100vh - 24px));
|
|
gap: 4px;
|
|
padding: 10px;
|
|
border: 1px solid rgba(44, 146, 104, 0.4);
|
|
border-radius: 10px;
|
|
background: rgba(18, 24, 20, 0.96);
|
|
color: #e2e8f0;
|
|
box-shadow: none;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-context-menu__title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 2px 4px 8px;
|
|
border-bottom: 1px solid rgba(44, 146, 104, 0.3);
|
|
color: #a7f3d0;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-context-menu__title span {
|
|
color: rgba(167, 243, 208, 0.6);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-context-menu button {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 38px;
|
|
padding: 0 10px;
|
|
border: 1px solid transparent;
|
|
border-radius: 6px;
|
|
color: #e2e8f0;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-context-menu button:hover:not(:disabled) {
|
|
border-color: rgba(44, 146, 104, 0.5);
|
|
background: rgba(44, 146, 104, 0.15);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-context-menu button:disabled {
|
|
color: rgba(226, 232, 240, 0.4);
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-context-menu kbd {
|
|
min-width: 42px;
|
|
color: rgba(167, 243, 208, 0.5);
|
|
font-family: inherit;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-align: right;
|
|
}
|
|
|
|
.canvas-page .studio-canvas-selection-context-menu .studio-canvas-selection-context-menu__primary {
|
|
margin-top: 4px;
|
|
border-color: rgba(44, 146, 104, 0.6);
|
|
background: rgba(44, 146, 104, 0.25);
|
|
color: #6ee7b7;
|
|
}
|