mplus-studio / src /app /app.scss
joelsefanja's picture
Deploy Mplus Studio
993eeba verified
Raw
History Blame Contribute Delete
7.19 kB
:host { display: block; min-height: 100dvh; color: #111; background: #f4f4f1; font-family: Arial, Helvetica, sans-serif; }
.studio-shell { width: min(1180px, calc(100% - 24px)); margin: 0 auto; padding: 12px 0 32px; }
.top-bar, .workflow-board, .image-card { border: 1px solid #111; background: #fff; }
.top-bar { display: grid; grid-template-columns: 1fr auto; gap: 16px; margin-bottom: 12px; padding: 10px 12px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.top-bar span { color: #666; }
.workflow-board { min-height: calc(100dvh - 72px); display: grid; grid-template-rows: auto 1fr; }
.board-header { display: grid; grid-template-columns: minmax(0, 1fr) 320px; border-bottom: 1px solid #111; }
.board-header > div { padding: 18px; }
.eyebrow { margin: 0 0 10px; color: #e42313; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, p { margin: 0; }
h1 { max-width: 680px; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 0.86; letter-spacing: -0.07em; }
.intro { max-width: 54ch; margin-top: 14px; color: #444; font-size: 1rem; line-height: 1.45; }
.next-action { display: grid; align-content: end; padding: 18px; border-left: 1px solid #111; background: #e42313; color: #fff; font-size: 1.04rem; font-weight: 900; line-height: 1.22; }
.workflow-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr) 250px; min-height: 0; }
.step-rail, .action-panel, .proof-panel { min-height: 0; }
.step-rail { border-right: 1px solid #111; background: #f8f8f5; }
.monitor-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.monitor-steps li { display: grid; gap: 5px; padding: 12px; border-bottom: 1px solid #111; color: #666; }
.monitor-steps li.active { background: #111; color: #fff; }
.monitor-steps li.completed { background: #e8f1e4; color: #16551b; }
.monitor-steps li.failed { background: #e42313; color: #fff; }
.monitor-steps strong { font-size: 0.9rem; }
.monitor-steps span { font-size: 0.76rem; line-height: 1.28; }
.action-panel { display: grid; gap: 12px; align-content: start; padding: 12px; }
.task-heading { display: grid; gap: 8px; padding: 14px; border: 1px solid #111; background: #f8f8f5; }
.task-heading h2 { font-size: clamp(1.4rem, 2.5vw, 2.4rem); line-height: 0.95; letter-spacing: -0.05em; }
.task-heading p:last-child { max-width: 56ch; color: #444; line-height: 1.4; }
.example-menu { min-height: 52px; background: #111; color: #fff; }
.example-menu:hover { background: #e42313; }
.example-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid #111; border-right: 0; }
.example-strip figure { border: 0; border-right: 1px solid #111; }
.example-strip img { aspect-ratio: 1 / 1; }
.upload-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #111; border-bottom: 0; }
.upload-card label { min-height: 92px; display: grid; place-content: center; gap: 5px; cursor: pointer; border-bottom: 1px solid #111; background: #fff; text-align: center; transition: background 120ms ease, color 120ms ease; }
.upload-card label + label { border-left: 1px solid #111; }
.upload-card label:hover { background: #f3f3ef; }
.upload-card input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.upload-card span { font-weight: 900; }
.upload-card small, .note, .image-card header p { color: #666; }
.controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid #111; border-left: 1px solid #111; }
.prompt-field, .primary { grid-column: 1 / -1; }
label { display: grid; gap: 6px; padding: 10px; border-right: 1px solid #111; border-bottom: 1px solid #111; font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.09em; color: #555; }
select, textarea, button { font: inherit; }
select, textarea { width: 100%; border: 1px solid #bbb; border-radius: 0; padding: 9px; background: #fff; color: #111; text-transform: none; letter-spacing: normal; outline: none; }
select:focus, textarea:focus { border-color: #e42313; box-shadow: 0 0 0 2px rgba(228, 35, 19, 0.14); }
textarea { min-height: 66px; resize: vertical; line-height: 1.35; }
button { border: 1px solid #111; border-radius: 0; padding: 11px 14px; font-weight: 900; cursor: pointer; transition: background 120ms ease, color 120ms ease, opacity 120ms ease; }
button:disabled { cursor: not-allowed; opacity: 0.5; }
.primary { min-height: 46px; background: #e42313; color: #fff; }
.primary:hover:not(:disabled) { background: #111; }
.proof-panel { padding: 12px; border-left: 1px solid #111; background: #f8f8f5; }
.proof-panel h2 { font-size: 1.08rem; line-height: 1.08; letter-spacing: -0.025em; }
.progress-block { display: grid; gap: 8px; margin-top: 14px; }
.progress-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.82rem; }
.progress-meta span { color: #666; text-align: right; }
.progress-track { height: 12px; border: 1px solid #111; background: #fff; }
.progress-track span { display: block; height: 100%; background: #e42313; transition: width 180ms linear; }
.proof-panel dl { display: grid; margin: 16px 0 0; border-top: 1px solid #111; }
.proof-panel div { padding: 10px 0; border-bottom: 1px solid #111; }
dt { font-size: 0.64rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: #666; }
dd { margin: 3px 0 0; overflow: hidden; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.activity-list { display: grid; gap: 6px; margin: 14px 0 0; padding: 12px 0 0 18px; border-top: 1px solid #111; color: #555; font-size: 0.8rem; line-height: 1.3; }
.status-message { margin-top: 12px; padding: 16px; }
.status-message { background: #e42313; color: #fff; font-weight: 900; }
.image-grid { display: grid; gap: 12px; margin-top: 12px; }
.image-card { padding: 12px; }
.image-card header { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.image-card h2 { overflow: hidden; max-width: 520px; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.ghost { background: #fff; color: #111; }
.preview-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
figure { margin: 0; overflow: hidden; border: 1px solid #111; background: #ddd; }
img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
figcaption { padding: 8px 10px; border-top: 1px solid #111; background: #fff; font-size: 0.76rem; font-weight: 900; color: #333; }
.generated { background: #111; }
.ghost:hover { background: #f3f3ef; }
.note { margin-top: 12px; font-size: 0.9rem; line-height: 1.4; }
@media (max-width: 980px) {
.workflow-board { min-height: auto; }
.board-header, .workflow-grid, .preview-pair { grid-template-columns: 1fr; }
.next-action, .proof-panel, .step-rail { border-left: 0; border-right: 0; }
}
@media (max-width: 640px) {
.studio-shell { width: min(100% - 18px, 720px); padding-top: 9px; }
.top-bar, .upload-card, .controls, .example-strip { grid-template-columns: 1fr; }
.upload-card label + label, .example-strip figure { border-left: 0; }
h1 { font-size: clamp(2.3rem, 16vw, 3.8rem); }
}