Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download web/src/styles/sdlc85/project-overview.css from fsanyoto/runloopable: direct link, hf CLI and curl.
- Browser
- Download file 21.6 kB
-
https://huggingface.co/spaces/fsanyoto/runloopable/resolve/main/web/src/styles/sdlc85/project-overview.css
- Command line
-
hf download hf://spaces/fsanyoto/runloopable/web/src/styles/sdlc85/project-overview.css
-
curl -L -o project-overview.css https://huggingface.co/spaces/fsanyoto/runloopable/resolve/main/web/src/styles/sdlc85/project-overview.css
21.6 kB
| .lp-proj-pane .lp-proj-detail { padding-top: 0; } | |
| /* Property rows share the title's single column. */ | |
| .lp-proj-detail { | |
| display: grid; | |
| grid-template-columns: minmax(0, 1fr); | |
| gap: 24px; | |
| padding-top: 12px; | |
| } | |
| .lp-proj-main { | |
| display: flex; | |
| flex-direction: column; | |
| gap: var(--lp-section-gap); | |
| min-width: 0; | |
| } | |
| .lp-proj-title, | |
| .lp-proj-title-input { | |
| margin: 0; | |
| font-size: var(--lp-fs-lg); | |
| font-weight: 600; | |
| color: var(--lp-ink); | |
| line-height: 1.25; | |
| } | |
| .lp-proj-overview-heading { | |
| display: flex; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 8px 12px; | |
| min-width: 0; | |
| } | |
| .lp-proj-overview-heading .lp-proj-title { | |
| min-width: 0; | |
| max-width: 100%; | |
| color: var(--lp-brand-navy); | |
| } | |
| .lp-proj-overview-heading > .lp-proj-status { flex: none; } | |
| .lp-proj-people-stack { | |
| display: flex; | |
| flex: none; | |
| align-items: center; | |
| margin-left: auto; | |
| } | |
| .lp-proj-person-avatar, | |
| .lp-proj-people-count { | |
| display: inline-flex; | |
| flex: none; | |
| align-items: center; | |
| justify-content: center; | |
| width: 32px; | |
| height: 32px; | |
| border: 2px solid var(--lp-surface); | |
| border-radius: var(--lp-r-pill); | |
| background: var(--lp-surface-2); | |
| box-sizing: border-box; | |
| } | |
| .lp-proj-person-avatar:not(:first-child), | |
| .lp-proj-people-count { margin-left: -8px; } | |
| .lp-proj-person-avatar .lp-proj-avatar { | |
| width: 28px; | |
| height: 28px; | |
| background: var(--lp-blue-tint); | |
| color: var(--lp-brand-navy); | |
| font-size: var(--lp-fs-2xs); | |
| } | |
| .lp-proj-person-avatar[data-role="Contributor"] .lp-proj-avatar { | |
| background: var(--lp-yellow-tint); | |
| color: var(--lp-yellow-deep); | |
| } | |
| .lp-proj-people-count { | |
| width: auto; | |
| min-width: 32px; | |
| padding: 0 6px; | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-2xs); | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .lp-proj-people-picker { | |
| position: relative; | |
| width: 100%; | |
| max-width: 320px; | |
| } | |
| .lp-proj-people-popover { | |
| position: absolute; | |
| top: calc(100% + 4px); | |
| left: 0; | |
| z-index: var(--cg-z-overlay); | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| width: min(320px, 100%); | |
| max-height: min(360px, 60vh); | |
| padding: 8px; | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| box-shadow: var(--lp-panel-shadow); | |
| box-sizing: border-box; | |
| } | |
| .lp-proj-people-search { | |
| display: flex; | |
| flex: none; | |
| align-items: center; | |
| gap: 4px; | |
| } | |
| .lp-proj-people-search > input { min-width: 0; } | |
| .lp-proj-people-search > button { flex: none; } | |
| .lp-proj-people-popover p { margin: 4px 0; } | |
| .lp-proj-people-options { | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 0; | |
| margin: 0; | |
| padding: 0; | |
| list-style: none; | |
| overflow-y: auto; | |
| } | |
| .lp-proj-person-option { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| min-height: 36px; | |
| padding: 4px 8px; | |
| border-radius: var(--lp-r-md); | |
| cursor: pointer; | |
| } | |
| .lp-proj-person-option input { flex: none; accent-color: var(--lp-brand-navy); } | |
| .lp-proj-person-option:has(input:checked) { background: var(--lp-blue-tint); } | |
| .lp-proj-person-option:has(input:disabled) { opacity: 0.55; cursor: not-allowed; } | |
| .lp-proj-person-name { | |
| display: flex; | |
| flex-direction: column; | |
| min-width: 0; | |
| overflow-wrap: anywhere; | |
| } | |
| .lp-proj-person-name > .lp-proj-muted { font-size: var(--lp-fs-xs); } | |
| .lp-proj-contributors { | |
| position: relative; | |
| display: flex; | |
| flex-wrap: wrap; | |
| align-items: center; | |
| gap: 4px 8px; | |
| min-height: 32px; | |
| } | |
| .lp-proj-contributors > .lp-proj-people-picker { position: static; width: auto; } | |
| .lp-proj-contributor { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 4px; | |
| max-width: 100%; | |
| padding: 4px 8px; | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-wash); | |
| box-sizing: border-box; | |
| } | |
| .lp-proj-person-remove { | |
| display: inline-flex; | |
| flex: none; | |
| align-items: center; | |
| justify-content: center; | |
| width: 24px; | |
| height: 24px; | |
| padding: 0; | |
| border: 0; | |
| border-radius: var(--lp-r-md); | |
| background: transparent; | |
| font: inherit; | |
| color: inherit; | |
| cursor: pointer; | |
| } | |
| .lp-proj-person-remove:disabled { opacity: 0.55; cursor: not-allowed; } | |
| .lp-proj-person-remove:focus-visible, | |
| .lp-proj-person-option input:focus-visible, | |
| .lp-proj-people-search > input:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 2px; | |
| } | |
| @media (hover: hover) and (pointer: fine) { | |
| .lp-proj-person-option:hover:not(:has(input:disabled)), | |
| .lp-proj-person-remove:hover:not(:disabled) { background: var(--lp-wash); } | |
| } | |
| .lp-proj-overview-heading .lp-proj-title:has(.lp-proj-title-input) { | |
| position: relative; | |
| margin-left: -7px; | |
| } | |
| .lp-proj-title-measure { | |
| display: block; | |
| visibility: hidden; | |
| white-space: pre; | |
| overflow: hidden; | |
| padding: 2px 8px; | |
| border: 1px solid transparent; | |
| } | |
| .lp-proj-title-input { | |
| position: absolute; | |
| inset: 0; | |
| field-sizing: fixed; | |
| width: 100%; | |
| height: 100%; | |
| min-width: 0; | |
| max-width: 100%; | |
| padding: 2px 6px; | |
| border: 1px solid transparent; | |
| border-radius: var(--lp-r-md); | |
| background: transparent; | |
| font: inherit; | |
| color: inherit; | |
| box-sizing: border-box; | |
| } | |
| .lp-proj-title-input:hover, | |
| .lp-proj-title-input:focus { | |
| border-color: var(--lp-line); | |
| } | |
| .lp-proj-title-input[aria-invalid="true"] { border-color: var(--lp-red-deep); } | |
| .lp-proj-detail[data-status="Planned"], | |
| .lp-proj-detail .lp-proj-accent[data-status="Planned"] { | |
| --lp-proj-status-ink: var(--lp-yellow-deep); | |
| --lp-proj-status-tint: var(--lp-yellow-tint); | |
| } | |
| .lp-proj-detail[data-status="In progress"], | |
| .lp-proj-detail .lp-proj-accent[data-status="In progress"] { | |
| --lp-proj-status-ink: var(--lp-brand-navy); | |
| --lp-proj-status-tint: var(--lp-blue-tint); | |
| } | |
| .lp-proj-status-card { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| min-width: 0; | |
| padding: 16px; | |
| border-top: 4px solid var(--lp-proj-status-ink); | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-proj-status-tint); | |
| color: var(--lp-ink); | |
| overflow-wrap: anywhere; | |
| } | |
| .lp-proj-status-card-heading { | |
| margin: 0; | |
| color: var(--lp-proj-status-ink); | |
| font-size: var(--lp-fs-sm); | |
| font-weight: 600; | |
| } | |
| .lp-proj-status-card-summary { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| } | |
| .lp-proj-status-card-summary h4, | |
| .lp-proj-status-card-summary p { | |
| margin: 0; | |
| font-size: var(--lp-fs-sm); | |
| line-height: 1.6; | |
| } | |
| .lp-proj-status-card-summary h4 { font-weight: 600; } | |
| .lp-proj-status-card-summary p { font-variant-numeric: tabular-nums; } | |
| .lp-proj-status-card-footer { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| min-width: 0; | |
| } | |
| .lp-proj-status-card-footer > .lp-proj-owner { flex: none; } | |
| .lp-proj-status-card-metadata { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| min-width: 0; | |
| } | |
| .lp-proj-status-card-owner { | |
| font-size: var(--lp-fs-sm); | |
| font-weight: 500; | |
| } | |
| .lp-proj-status-card-updated { | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-xs); | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .lp-proj-setup-fields { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .lp-proj-detail .lp-proj-main { gap: var(--lp-section-gap); } | |
| .lp-proj-setup-row { | |
| display: grid; | |
| grid-template-columns: 144px minmax(0, 1fr); | |
| align-items: start; | |
| gap: 16px; | |
| min-height: 32px; | |
| min-width: 0; | |
| } | |
| .lp-proj-setup-label { | |
| padding-top: 6px; | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-sm); | |
| } | |
| .lp-proj-date-range { | |
| display: grid; | |
| grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); | |
| gap: 24px; | |
| min-width: 0; | |
| } | |
| .lp-proj-date-property { position: relative; min-width: 0; } | |
| .lp-proj-date-property .lp-proj-setup-row { grid-template-columns: 64px minmax(0, 1fr); } | |
| .lp-proj-date-property:first-child .lp-proj-setup-row { grid-template-columns: 144px minmax(0, 1fr); } | |
| .lp-proj-date-arrow { | |
| position: absolute; | |
| top: 8px; | |
| left: -24px; | |
| color: var(--lp-muted); | |
| } | |
| .lp-proj-setup-edit.lp-proj-date-edit { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .lp-proj-date-edit > svg { flex: none; } | |
| .lp-proj-setup-value { | |
| min-width: 0; | |
| padding: 0; | |
| overflow-wrap: anywhere; | |
| } | |
| .lp-proj-setup-value > span, | |
| .lp-proj-setup-value > time, | |
| .lp-proj-setup-value > .lp-proj-notes-text { | |
| display: inline-block; | |
| padding: 6px 8px; | |
| max-width: 100%; | |
| box-sizing: border-box; | |
| } | |
| .lp-proj-setup-value > .lp-proj-status, | |
| .lp-proj-setup-value > .lp-proj-health-chip, | |
| .lp-proj-setup-value > .lp-proj-owner { | |
| display: inline-flex; | |
| min-height: 32px; | |
| padding: 0 8px; | |
| } | |
| .lp-proj-setup-inline { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| min-height: 32px; | |
| } | |
| .lp-proj-setup-inline > svg { flex: none; } | |
| .lp-proj-setup-inline > select { width: auto; min-width: 0; } | |
| .lp-proj-setup-input { | |
| width: 100%; | |
| max-width: 100%; | |
| min-height: 32px; | |
| padding: 6px 8px; | |
| border: 1px solid transparent; | |
| border-radius: var(--lp-r-md); | |
| background: transparent; | |
| color: var(--lp-ink); | |
| font: inherit; | |
| box-sizing: border-box; | |
| } | |
| .lp-proj-setup-input:focus { | |
| border-color: var(--lp-line-strong); | |
| background: var(--lp-surface); | |
| } | |
| .lp-proj-title-input:disabled, | |
| .lp-proj-setup-input:disabled, | |
| .lp-proj-setup-edit:disabled { | |
| opacity: 0.55; | |
| cursor: not-allowed; | |
| } | |
| .lp-proj-setup-input[aria-invalid="true"] { border-color: var(--lp-red-deep); } | |
| .lp-proj-setup-row[data-error] .lp-proj-setup-value { | |
| border-radius: var(--lp-r-md); | |
| outline: 1px solid var(--lp-red-deep); | |
| outline-offset: 2px; | |
| } | |
| .lp-proj-setup-row[data-error] .lp-proj-setup-error { padding: 0 8px; } | |
| .lp-proj-title-input:focus-visible, | |
| .lp-proj-setup-input:focus-visible, | |
| .lp-proj-setup-edit:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 2px; | |
| } | |
| .lp-proj-setup-input.lp-proj-setup-percent { width: 80px; font-variant-numeric: tabular-nums; } | |
| .lp-proj-setup-description { display: block; resize: vertical; min-height: 96px; } | |
| .lp-proj-setup-input[data-empty] { color: var(--lp-muted); } | |
| .lp-proj-setup-input option { color: var(--lp-ink); } | |
| .lp-proj-setup-error { margin: 4px 0 8px; } | |
| .lp-proj-setup-footer { | |
| padding-top: 12px; | |
| border-top: 1px solid var(--lp-line); | |
| color: var(--lp-muted); | |
| } | |
| .lp-proj-setup-footer .lp-proj-setup-row { min-height: 28px; } | |
| .lp-proj-setup-footer .lp-proj-setup-label, | |
| .lp-proj-setup-footer .lp-proj-setup-value { font-size: var(--lp-fs-xs); } | |
| .lp-proj-setup-edit { | |
| display: inline-block; | |
| max-width: 100%; | |
| min-height: 32px; | |
| padding: 6px 8px; | |
| border: 0; | |
| border-radius: var(--lp-r-md); | |
| background: transparent; | |
| color: var(--lp-ink); | |
| font: inherit; | |
| text-align: left; | |
| cursor: pointer; | |
| } | |
| .lp-proj-setup-edit[data-empty] { color: var(--lp-muted); } | |
| @media (hover: hover) and (pointer: fine) { | |
| .lp-proj-setup-input:hover:not(:disabled) { border-color: var(--lp-line); } | |
| .lp-proj-setup-edit:hover:not(:disabled) { background: var(--lp-wash); } | |
| } | |
| .lp-proj-setup-value .lp-proj-section-head { min-height: 36px; } | |
| /* The SKU list takes the full pane width. Its label sits above it, never beside it. */ | |
| .lp-proj-setup-row[data-field="targets"] { | |
| grid-template-columns: minmax(0, 1fr); | |
| gap: 4px; | |
| } | |
| /* ---- SKU list: the picker's toolbar and table over the linked targets ---- */ | |
| .lp-proj-skus, | |
| .lp-proj-skus-body { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| min-width: 0; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .lp-proj-skus-tab-count { | |
| margin-left: 8px; | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-xs); | |
| font-weight: 400; | |
| } | |
| .lp-proj-skus-controls { | |
| display: flex; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 8px 12px; | |
| min-width: 0; | |
| } | |
| .lp-proj-skus-note { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-xs); | |
| } | |
| /* Reset sits at the toolbar's right end. It clears the filters, sort, group, selection and search. */ | |
| .lp-proj-skus-reset { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 4px; | |
| min-height: 32px; | |
| margin-left: auto; | |
| padding: 4px 8px; | |
| border: 0; | |
| border-radius: var(--lp-r-md); | |
| background: transparent; | |
| color: var(--lp-ink); | |
| font: inherit; | |
| font-size: var(--lp-fs-sm); | |
| cursor: pointer; | |
| } | |
| .lp-proj-skus-reset > svg { flex: none; } | |
| /* The search is a full-width pill under the toolbar, magnifier first. Its frame carries the focus ring. */ | |
| .lp-proj-skus-search { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| width: 100%; | |
| min-height: 36px; | |
| padding: 0 16px 0 14px; | |
| border: 1px solid var(--lp-line-strong); | |
| border-radius: var(--lp-r-pill); | |
| background: var(--lp-surface); | |
| color: var(--lp-muted); | |
| cursor: text; | |
| } | |
| .lp-proj-skus-search > svg { flex: none; } | |
| .lp-proj-skus-search > input { | |
| flex: 1; | |
| width: 100%; | |
| min-width: 0; | |
| min-height: 34px; | |
| padding: 4px 0; | |
| border: 0; | |
| background: transparent; | |
| font: inherit; | |
| color: var(--lp-ink); | |
| } | |
| .lp-proj-skus-search > input::placeholder { color: var(--lp-muted); } | |
| /* The list fits inside the pane with its controls, search and footer, so the pane never scrolls its header away. | |
| A wheel at the list's end does not chain to the pane. Narrow screens scroll the list sideways, never the page. */ | |
| .lp-proj-skus-results { | |
| max-height: clamp(240px, calc(100vh - 624px), 520px); | |
| max-height: clamp(240px, calc(100dvh - 624px), 520px); | |
| min-width: 0; | |
| overflow: auto; | |
| overscroll-behavior: contain; | |
| border-block: 1px solid var(--lp-line); | |
| } | |
| /* Dense rows: a 32px thumbnail and 6px block padding hold a one-line row near 45px. */ | |
| .lp-proj-skus-table :is(th, td) { padding: 6px 12px; } | |
| .lp-proj-skus-table thead th { padding-block: 8px; } | |
| .lp-proj-skus-table :is(th, td):first-child { width: auto; padding-left: 8px; padding-right: 12px; } | |
| .lp-proj-skus-table :is(th, td):last-child { padding-right: 8px; } | |
| .lp-proj-skus-table :is(th, td).lp-proj-skus-check { width: 20px; padding-right: 0; } | |
| .lp-proj-skus-table .lp-proj-sku-group > th { padding: 8px; } | |
| .lp-proj-skus-table tbody :is(th, td) { border-bottom: 1px solid var(--lp-line); } | |
| .lp-proj-skus-table .lp-proj-sku-product :is(img, .lp-proj-sku-picture) { | |
| width: 32px; | |
| height: 32px; | |
| border-radius: var(--lp-r-sm); | |
| } | |
| /* Sticky header cells: a collapsed border scrolls away, so the rule under the header is a shadow. */ | |
| .lp-proj-skus-results .lp-proj-skus-table thead { position: static; } | |
| .lp-proj-skus-table thead th { | |
| position: sticky; | |
| top: 0; | |
| z-index: 2; | |
| background: var(--lp-surface); | |
| box-shadow: inset 0 -1px 0 var(--lp-line); | |
| white-space: nowrap; | |
| } | |
| /* Identifiers stay on one line at their own width. The product column takes the rest. */ | |
| .lp-proj-skus-table .lp-proj-sku-code { | |
| width: 1%; | |
| min-width: 10ch; | |
| max-width: 24ch; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| overflow-wrap: normal; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .lp-proj-skus-table .lp-proj-sku-product > span:last-child { min-width: 0; } | |
| .lp-proj-skus-table .lp-proj-sku-product > span:last-child > span { | |
| display: -webkit-box; | |
| -webkit-box-orient: vertical; | |
| -webkit-line-clamp: 2; | |
| line-clamp: 2; | |
| overflow: hidden; | |
| } | |
| .lp-proj-skus-group-head { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| min-width: 0; | |
| overflow-wrap: anywhere; | |
| } | |
| .lp-proj-skus-group-head > span { margin-left: 0; } | |
| .lp-proj-skus-state { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 12px; | |
| margin: 0; | |
| padding: 32px 16px; | |
| color: var(--lp-muted); | |
| text-align: center; | |
| } | |
| .lp-proj-skus-state > div { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| gap: 8px; | |
| } | |
| .lp-proj-skus-refusals { | |
| max-height: 160px; | |
| overflow: auto; | |
| color: var(--lp-red-deep); | |
| } | |
| .lp-proj-skus-refusals p { margin: 0 0 8px; } | |
| .lp-proj-skus-refusals ul { margin: 0; padding-left: 20px; overflow-wrap: anywhere; } | |
| /* The footer is one bar under the list: a top rule, the count, then the actions at the right end. */ | |
| .lp-proj-skus-footer { | |
| display: flex; | |
| align-items: center; | |
| justify-content: flex-end; | |
| flex-wrap: wrap; | |
| gap: 8px 16px; | |
| min-height: 48px; | |
| padding-top: 8px; | |
| border-top: 1px solid var(--lp-line); | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-sm); | |
| } | |
| /* Directly under the list, the bar's rule sits on the list's bottom edge, so one line shows, not two. */ | |
| .lp-proj-skus-results + .lp-proj-skus-footer { margin-top: -9px; } | |
| .lp-proj-skus-footer > div { | |
| display: flex; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| } | |
| .lp-proj-skus :is(button, input):disabled { opacity: 0.55; cursor: not-allowed; } | |
| .lp-proj-skus :is(button, input):focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 2px; | |
| } | |
| .lp-proj-skus-results:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: -2px; | |
| } | |
| .lp-proj-skus .lp-proj-skus-search > input:focus-visible { outline: none; } | |
| .lp-proj-skus-search:focus-within { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 2px; | |
| } | |
| @media (hover: hover) and (pointer: fine) { | |
| .lp-proj-skus-footer .lp-proj-btn-danger:hover:not(:disabled) { | |
| border-color: var(--lp-red-deep); | |
| background: var(--lp-red-tint); | |
| } | |
| .lp-proj-skus-reset:hover:not(:disabled) { background: var(--lp-wash); } | |
| } | |
| .lp-proj-main .lp-proj-title { overflow-wrap: anywhere; } | |
| @media (max-width: 600px) { | |
| .lp-proj-setup-row { grid-template-columns: 104px minmax(0, 1fr); gap: 8px; } | |
| .lp-proj-date-range { grid-template-columns: minmax(0, 1fr); gap: 8px; } | |
| .lp-proj-date-property .lp-proj-setup-row, | |
| .lp-proj-date-property:first-child .lp-proj-setup-row { grid-template-columns: 104px minmax(0, 1fr); } | |
| .lp-proj-date-arrow { display: none; } | |
| .lp-proj-title-input { min-width: 0; width: 100%; } | |
| .lp-proj-setup-value .lp-proj-section-head { flex-wrap: wrap; gap: 4px; } | |
| } | |
| .lp-proj-notes { | |
| width: 100%; | |
| padding: 8px 10px; | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| font: inherit; | |
| resize: vertical; | |
| box-sizing: border-box; | |
| } | |
| .lp-proj-notes-text { | |
| margin: 0; | |
| white-space: pre-wrap; | |
| } | |
| .lp-proj-side { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 14px; | |
| min-width: 0; | |
| } | |
| .lp-proj-delete, | |
| .lp-proj-save { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| } | |
| .lp-proj-delete-button.lp-proj-btn { | |
| border: 0; | |
| background: var(--lp-red-deep); | |
| font: inherit; | |
| font-size: var(--lp-fs-xs); | |
| font-weight: 500; | |
| color: var(--lp-surface); | |
| } | |
| .lp-proj-delete-button:focus-visible, | |
| .lp-proj-delete-actions > button:focus-visible, | |
| .lp-proj-delete-name > input:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 2px; | |
| } | |
| .lp-cpop.lp-proj-delete-popup[data-size="narrow"] { | |
| width: min(480px, 100%); | |
| border-radius: var(--lp-r-md); | |
| box-shadow: var(--lp-panel-shadow); | |
| } | |
| .lp-proj-delete-popup .lp-cpop-title { white-space: normal; } | |
| .lp-proj-delete-form, | |
| .lp-proj-delete-name { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| min-width: 0; | |
| } | |
| .lp-proj-delete-form { margin: 0; } | |
| .lp-proj-delete-form > p { margin: 0; } | |
| .lp-proj-delete-name { gap: 8px; overflow-wrap: anywhere; } | |
| .lp-proj-delete-name strong { font-weight: 600; white-space: pre-wrap; } | |
| .lp-proj-delete-name > input { box-sizing: border-box; } | |
| .lp-proj-delete-name > input:disabled { opacity: 0.55; cursor: not-allowed; } | |
| .lp-proj-delete-feedback { min-height: 1lh; color: var(--lp-red-deep); } | |
| .lp-proj-delete-form[aria-busy="true"] .lp-proj-delete-feedback { color: var(--lp-muted); } | |
| .lp-proj-delete-actions { | |
| display: flex; | |
| justify-content: flex-end; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| } | |
| @media (hover: hover) and (pointer: fine) { | |
| .lp-proj-delete-button.lp-proj-btn:hover:not(:disabled) { | |
| background: color-mix(in srgb, var(--lp-red-deep) 88%, var(--lp-ink)); | |
| color: var(--lp-surface); | |
| } | |
| } | |
| /* ---- New project form ---- */ | |
| .lp-proj-form { | |
| display: grid; | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| gap: 12px 16px; | |
| padding-top: 12px; | |
| } | |
| .lp-proj-popup:has(.lp-proj-form) .lp-cpop-body { display: flex; padding: 0; } | |
| .lp-proj-popup .lp-proj-form { | |
| flex: 1; | |
| max-width: 816px; | |
| min-width: 0; | |
| padding: 24px 28px 0; | |
| grid-template-rows: auto auto auto auto minmax(110px, 1fr); | |
| } | |
| .lp-proj-popup .lp-proj-form > .lp-proj-field-wide:has(textarea) { align-self: start; } | |
| .lp-proj-popup .lp-proj-form textarea { min-height: 110px; } | |
| .lp-proj-popup .lp-proj-form-actions { | |
| align-self: end; | |
| padding: 16px 0; | |
| border-top: 1px solid var(--lp-line); | |
| } | |
| .lp-proj-popup-footer { flex: none; padding: 16px 20px; border-top: 1px solid var(--lp-line); } | |
| .lp-proj-popup-footer:empty { display: none; } | |
| .lp-proj-popup-footer .lp-proj-form-actions { padding: 0; border: 0; } | |
| .lp-proj-popup-footer .lp-proj-save { justify-content: flex-end; } | |
| .lp-proj-popup:has(.lp-proj-form) .lp-cpop-head { flex-wrap: nowrap; } | |
| .lp-proj-popup:has(.lp-proj-form) .lp-cpop-titles { flex-basis: 0; } | |
| .lp-proj-field { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 4px; | |
| } | |
| .lp-proj-field > span:first-child { | |
| color: var(--lp-muted); | |
| font-size: var(--lp-fs-xs); | |
| } | |
| .lp-proj-field-wide { | |
| grid-column: 1 / -1; | |
| } | |
| .lp-proj-form-actions { | |
| display: flex; | |
| justify-content: flex-end; | |
| gap: 8px; | |
| } | |
| @media (max-width: 900px) { | |
| .lp-proj-detail { | |
| grid-template-columns: minmax(0, 1fr); | |
| } | |
| .lp-proj-side { | |
| display: flex; | |
| } | |
| .lp-proj-main { | |
| display: flex; | |
| } | |
| .lp-proj-main > section[aria-label="Notes"] { order: 2; } | |
| .lp-proj-main > section[aria-label="SKUs"] { order: 3; } | |
| .lp-proj-side > section[aria-label="Dates"] { order: 1; } | |
| .lp-proj-save { order: 5; } | |
| .lp-proj-delete { order: 6; } | |
| } | |
| @media (max-width: 600px) { | |
| .lp-proj-form { grid-template-columns: minmax(0, 1fr); } | |
| .lp-proj-popup .lp-proj-form { padding: 12px 12px 0; grid-template-rows: auto; } | |
| } | |