WIP: Vendoo 1.44.0 – UX Foundation & Guided Workspaces #29
@@ -0,0 +1,523 @@
|
||||
#image-factory.ux-image-factory-ready {
|
||||
--ux-factory-border: color-mix(in srgb, var(--vd-border, var(--border-color, #d9d7d2)) 82%, transparent);
|
||||
--ux-factory-soft: color-mix(in srgb, var(--vd-surface, var(--card-bg, #fff)) 88%, var(--vd-accent, var(--accent, #db4b2f)) 12%);
|
||||
--ux-factory-muted: var(--vd-text-muted, var(--text-muted, #6f6b65));
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-workflow {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
padding: clamp(18px, 2.4vw, 28px);
|
||||
border: 1px solid var(--ux-factory-border);
|
||||
border-radius: var(--vd-radius-xl, 20px);
|
||||
background:
|
||||
radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--vd-accent, var(--accent, #db4b2f)) 14%, transparent), transparent 42%),
|
||||
var(--vd-surface, var(--card-bg, #fff));
|
||||
box-shadow: var(--vd-shadow-sm, 0 8px 28px rgba(25, 22, 18, .06));
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-workflow-head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-workflow-head > div {
|
||||
max-width: 720px;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-kicker {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
color: var(--vd-accent, var(--accent, #db4b2f));
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
letter-spacing: .12em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-workflow h3,
|
||||
#image-factory .ux-image-factory-stage h3 {
|
||||
margin: 0;
|
||||
color: var(--vd-text, var(--text-color, #292621));
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-workflow p,
|
||||
#image-factory .ux-image-factory-stage p {
|
||||
margin: 6px 0 0;
|
||||
color: var(--ux-factory-muted);
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-next {
|
||||
min-width: 210px;
|
||||
min-height: 42px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-steps {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
grid-template-areas: "index copy" "state state";
|
||||
align-items: center;
|
||||
gap: 8px 11px;
|
||||
min-width: 0;
|
||||
padding: 13px;
|
||||
border: 1px solid var(--ux-factory-border);
|
||||
border-radius: var(--vd-radius-lg, 14px);
|
||||
background: color-mix(in srgb, var(--vd-surface, var(--card-bg, #fff)) 94%, transparent);
|
||||
color: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
transition: border-color .18s ease, background .18s ease, transform .18s ease;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step:hover {
|
||||
border-color: color-mix(in srgb, var(--vd-accent, var(--accent, #db4b2f)) 48%, var(--ux-factory-border));
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step-index {
|
||||
grid-area: index;
|
||||
display: grid;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
place-items: center;
|
||||
border-radius: 50%;
|
||||
background: var(--vd-surface-subtle, var(--muted-bg, #f2f0ec));
|
||||
color: var(--ux-factory-muted);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step-copy {
|
||||
grid-area: copy;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step-copy strong,
|
||||
#image-factory .ux-image-factory-step-copy small {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step-copy strong {
|
||||
overflow: hidden;
|
||||
color: var(--vd-text, var(--text-color, #292621));
|
||||
font-size: 13px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step-copy small {
|
||||
margin-top: 2px;
|
||||
overflow: hidden;
|
||||
color: var(--ux-factory-muted);
|
||||
font-size: 11px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step-state {
|
||||
grid-area: state;
|
||||
justify-self: start;
|
||||
padding: 3px 8px;
|
||||
border-radius: 999px;
|
||||
background: var(--vd-surface-subtle, var(--muted-bg, #f2f0ec));
|
||||
color: var(--ux-factory-muted);
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
letter-spacing: .04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step.is-current {
|
||||
border-color: color-mix(in srgb, var(--vd-accent, var(--accent, #db4b2f)) 62%, var(--ux-factory-border));
|
||||
background: var(--ux-factory-soft);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step.is-current .ux-image-factory-step-index,
|
||||
#image-factory .ux-image-factory-step.is-current .ux-image-factory-step-state {
|
||||
background: var(--vd-accent, var(--accent, #db4b2f));
|
||||
color: var(--vd-on-accent, #fff);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step.is-complete .ux-image-factory-step-index {
|
||||
background: var(--vd-success, #2d8a61);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step.is-complete .ux-image-factory-step-state {
|
||||
background: color-mix(in srgb, var(--vd-success, #2d8a61) 15%, transparent);
|
||||
color: var(--vd-success, #2d8a61);
|
||||
}
|
||||
|
||||
#image-factory .image-factory-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
#image-factory .image-factory-config {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-stage {
|
||||
scroll-margin-top: 92px;
|
||||
padding: clamp(17px, 2.2vw, 24px);
|
||||
border: 1px solid var(--ux-factory-border);
|
||||
border-radius: var(--vd-radius-xl, 18px);
|
||||
background: var(--vd-surface, var(--card-bg, #fff));
|
||||
box-shadow: var(--vd-shadow-xs, 0 4px 18px rgba(25, 22, 18, .045));
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-stage-head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 13px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-stage-index {
|
||||
flex: 0 0 auto;
|
||||
display: grid;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
place-items: center;
|
||||
border-radius: 12px;
|
||||
background: var(--vd-surface-subtle, var(--muted-bg, #f2f0ec));
|
||||
color: var(--vd-accent, var(--accent, #db4b2f));
|
||||
font-size: 12px;
|
||||
font-weight: 900;
|
||||
letter-spacing: .05em;
|
||||
}
|
||||
|
||||
#image-factory[data-ux-factory-current-step="sources"] .ux-image-factory-stage-sources,
|
||||
#image-factory[data-ux-factory-current-step="profiles"] .ux-image-factory-stage-profiles,
|
||||
#image-factory[data-ux-factory-current-step="review"] .ux-image-factory-stage-review {
|
||||
border-color: color-mix(in srgb, var(--vd-accent, var(--accent, #db4b2f)) 48%, var(--ux-factory-border));
|
||||
box-shadow: 0 0 0 3px color-mix(in srgb, var(--vd-accent, var(--accent, #db4b2f)) 8%, transparent);
|
||||
}
|
||||
|
||||
#image-factory .image-factory-source-head,
|
||||
#image-factory .image-factory-profile-head {
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
#image-factory .image-factory-source-head .image-factory-source-tools:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#image-factory #image-factory-source-search {
|
||||
width: min(520px, 100%);
|
||||
min-height: 42px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-source-controls {
|
||||
margin-bottom: 14px;
|
||||
border: 1px solid var(--ux-factory-border);
|
||||
border-radius: var(--vd-radius-md, 12px);
|
||||
background: var(--vd-surface-subtle, var(--muted-bg, #f7f5f2));
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-source-controls > summary,
|
||||
#image-factory .ux-image-factory-monitor > summary {
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-source-controls > summary::-webkit-details-marker,
|
||||
#image-factory .ux-image-factory-monitor > summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-source-controls > summary {
|
||||
padding: 10px 13px;
|
||||
color: var(--vd-text, var(--text-color, #292621));
|
||||
font-size: 12px;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-source-controls > summary::after {
|
||||
content: "+";
|
||||
float: right;
|
||||
color: var(--ux-factory-muted);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-source-controls[open] > summary::after {
|
||||
content: "−";
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-source-controls-body {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
padding: 0 12px 12px;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-source-controls-body > * {
|
||||
min-height: 36px;
|
||||
}
|
||||
|
||||
#image-factory .image-factory-source-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
|
||||
gap: 10px;
|
||||
max-height: min(55vh, 560px);
|
||||
overflow: auto;
|
||||
padding: 3px;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
#image-factory .image-factory-source-grid > * {
|
||||
min-width: 0;
|
||||
border-radius: var(--vd-radius-md, 12px);
|
||||
}
|
||||
|
||||
#image-factory .image-factory-profile-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
|
||||
gap: 11px;
|
||||
}
|
||||
|
||||
#image-factory .image-factory-profile-grid > * {
|
||||
min-width: 0;
|
||||
border-radius: var(--vd-radius-md, 12px);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-stage-review > label.field {
|
||||
max-width: 720px;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-advanced {
|
||||
margin: 16px 0;
|
||||
border: 1px solid var(--ux-factory-border);
|
||||
border-radius: var(--vd-radius-lg, 14px);
|
||||
background: var(--vd-surface-subtle, var(--muted-bg, #f7f5f2));
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-advanced > summary {
|
||||
padding: 14px 16px;
|
||||
font-weight: 760;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-advanced .image-factory-options-grid {
|
||||
padding: 0 16px 16px;
|
||||
}
|
||||
|
||||
#image-factory .image-factory-submit {
|
||||
position: sticky;
|
||||
bottom: 12px;
|
||||
z-index: 4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 18px;
|
||||
margin-top: 18px;
|
||||
padding: 14px 16px;
|
||||
border: 1px solid color-mix(in srgb, var(--vd-accent, var(--accent, #db4b2f)) 25%, var(--ux-factory-border));
|
||||
border-radius: var(--vd-radius-lg, 14px);
|
||||
background: color-mix(in srgb, var(--vd-surface, var(--card-bg, #fff)) 94%, transparent);
|
||||
box-shadow: 0 12px 28px rgba(25, 22, 18, .12);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
#image-factory[data-ux-factory-ready="false"] .image-factory-submit {
|
||||
opacity: .72;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-monitor {
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--ux-factory-border);
|
||||
border-radius: var(--vd-radius-xl, 18px);
|
||||
background: var(--vd-surface, var(--card-bg, #fff));
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-monitor > summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 15px 18px;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-monitor > summary > span:first-child strong,
|
||||
#image-factory .ux-image-factory-monitor > summary > span:first-child small {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-monitor > summary > span:first-child small {
|
||||
margin-top: 3px;
|
||||
color: var(--ux-factory-muted);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-monitor-badge {
|
||||
flex: 0 0 auto;
|
||||
padding: 5px 10px;
|
||||
border-radius: 999px;
|
||||
background: var(--vd-surface-subtle, var(--muted-bg, #f2f0ec));
|
||||
color: var(--ux-factory-muted);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-monitor-badge[data-tone="working"] {
|
||||
background: color-mix(in srgb, var(--vd-warning, #b77712) 14%, transparent);
|
||||
color: var(--vd-warning, #9a650e);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-monitor-badge[data-tone="danger"] {
|
||||
background: color-mix(in srgb, var(--vd-danger, #c63f3f) 14%, transparent);
|
||||
color: var(--vd-danger, #b12f2f);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-monitor-badge[data-tone="success"] {
|
||||
background: color-mix(in srgb, var(--vd-success, #2d8a61) 14%, transparent);
|
||||
color: var(--vd-success, #2d8a61);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-monitor .image-factory-status {
|
||||
width: auto;
|
||||
margin: 0;
|
||||
padding: 0 18px 18px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#image-factory .image-factory-jobs {
|
||||
scroll-margin-top: 92px;
|
||||
padding: clamp(17px, 2.2vw, 24px);
|
||||
border-radius: var(--vd-radius-xl, 18px);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-job-filter {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 7px;
|
||||
margin: 14px 0 16px;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-job-filter button.active {
|
||||
border-color: var(--vd-accent, var(--accent, #db4b2f));
|
||||
background: var(--ux-factory-soft);
|
||||
color: var(--vd-accent, var(--accent, #db4b2f));
|
||||
}
|
||||
|
||||
#image-factory #image-factory-jobs {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
#image-factory #image-factory-jobs > * {
|
||||
border-radius: var(--vd-radius-md, 12px);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step:focus-visible,
|
||||
#image-factory .ux-image-factory-next:focus-visible,
|
||||
#image-factory .ux-image-factory-job-filter button:focus-visible,
|
||||
#image-factory .ux-image-factory-source-controls > summary:focus-visible,
|
||||
#image-factory .ux-image-factory-monitor > summary:focus-visible {
|
||||
outline: 3px solid color-mix(in srgb, var(--vd-accent, var(--accent, #db4b2f)) 34%, transparent);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
@media (max-width: 1080px) {
|
||||
#image-factory .ux-image-factory-steps {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
#image-factory .image-factory-source-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
#image-factory .ux-image-factory-workflow-head,
|
||||
#image-factory .image-factory-submit,
|
||||
#image-factory .ux-image-factory-monitor > summary,
|
||||
#image-factory .image-factory-jobs > .section-title-row {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-next {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-steps {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step {
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
grid-template-areas: "index copy state";
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step-state {
|
||||
grid-area: state;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
#image-factory .image-factory-profile-grid {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
#image-factory .image-factory-submit {
|
||||
position: static;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#image-factory .image-factory-submit button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 470px) {
|
||||
#image-factory .ux-image-factory-workflow,
|
||||
#image-factory .ux-image-factory-stage,
|
||||
#image-factory .image-factory-jobs {
|
||||
padding: 14px;
|
||||
border-radius: var(--vd-radius-lg, 14px);
|
||||
}
|
||||
|
||||
#image-factory .image-factory-source-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
max-height: 52vh;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-source-controls-body,
|
||||
#image-factory .ux-image-factory-job-filter {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-source-controls-body > *,
|
||||
#image-factory .ux-image-factory-job-filter button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
#image-factory .ux-image-factory-step {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
#image-factory .ux-image-factory-step:hover {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user