Download web/src/styles/sdlc85/project-gantt.css from fsanyoto/loopable: direct link, hf CLI and curl.
- Browser
- Download file 12.6 kB
-
https://huggingface.co/spaces/fsanyoto/loopable/resolve/main/web/src/styles/sdlc85/project-gantt.css
- Command line
-
hf download hf://spaces/fsanyoto/loopable/web/src/styles/sdlc85/project-gantt.css
-
curl -L -o project-gantt.css https://huggingface.co/spaces/fsanyoto/loopable/resolve/main/web/src/styles/sdlc85/project-gantt.css
12.6 kB
| .lp-proj-task-view, | |
| .lp-proj-gantt-controls { | |
| display: flex; | |
| align-items: center; | |
| gap: 4px; | |
| } | |
| .lp-proj-task-view { | |
| margin-left: auto; | |
| padding: 4px; | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-surface-2); | |
| } | |
| .lp-proj-task-view-button, | |
| .lp-proj-gantt-control { | |
| border: 0; | |
| background: transparent; | |
| font: inherit; | |
| color: inherit; | |
| border-radius: var(--lp-r-md); | |
| min-height: 32px; | |
| padding: 4px 8px; | |
| font-size: var(--lp-fs-xs); | |
| cursor: pointer; | |
| } | |
| .lp-proj-task-view-button[aria-pressed="true"], | |
| .lp-proj-gantt-control[aria-pressed="true"] { | |
| background: var(--lp-blue-tint); | |
| color: var(--lp-brand-navy); | |
| font-weight: 600; | |
| } | |
| .lp-proj-gantt { min-width: 0; max-width: 100%; } | |
| .lp-proj-gantt-toolbar { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| margin-bottom: 8px; | |
| } | |
| .lp-proj-gantt-summary { | |
| display: flex; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 12px; | |
| min-width: 0; | |
| } | |
| .lp-proj-gantt-today { margin-left: 4px; } | |
| .lp-proj-gantt-scroll { | |
| width: 100%; | |
| min-width: 0; | |
| max-width: 100%; | |
| /* Twelve rows, the scale and the horizontal scrollbar stay in view together. */ | |
| max-height: calc(var(--gantt-header-height) + 12 * var(--gantt-row-height) + 10px); | |
| box-sizing: border-box; | |
| overflow: auto; | |
| overscroll-behavior: contain; | |
| scrollbar-gutter: stable; | |
| scroll-behavior: auto; | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| font-size: var(--lp-fs-xs); | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .lp-proj-gantt-scroll:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 2px; | |
| } | |
| .lp-proj-gantt-sheet { position: relative; isolation: isolate; } | |
| .lp-proj-gantt-row { | |
| display: grid; | |
| grid-template-columns: var(--gantt-grid-width) var(--gantt-calendar-width); | |
| height: var(--gantt-row-height); | |
| box-sizing: border-box; | |
| border-bottom: 1px solid color-mix(in srgb, var(--lp-line) 60%, transparent); | |
| } | |
| .lp-proj-gantt-row:last-child { border-bottom: 0; } | |
| .lp-proj-gantt-grid { | |
| position: relative; | |
| left: 0; | |
| z-index: var(--cg-z-editor); | |
| display: grid; | |
| grid-template-columns: var(--gantt-grid-columns); | |
| align-items: center; | |
| height: 100%; | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| border-right: 1px solid var(--lp-line); | |
| box-sizing: border-box; | |
| } | |
| .lp-proj-gantt-scroll[data-frozen="true"] .lp-proj-gantt-grid { position: sticky; } | |
| .lp-proj-gantt-grid > :is([role="cell"], [role="columnheader"]) { | |
| min-width: 0; | |
| padding: 0 8px; | |
| box-sizing: border-box; | |
| } | |
| .lp-proj-gantt-grid > .lp-proj-task-name-cell { | |
| grid-column: auto; | |
| grid-row: auto; | |
| height: 100%; | |
| padding-left: calc(8px + var(--task-depth, 0) * 20px); | |
| gap: 4px; | |
| } | |
| .lp-proj-gantt-grid > .lp-proj-task-assignee { grid-column: auto; grid-row: auto; gap: 4px; } | |
| .lp-proj-gantt-grid .lp-proj-task-name-text { flex: 1; gap: 0; } | |
| .lp-proj-gantt-grid .lp-proj-task-name, | |
| .lp-proj-gantt-grid .lp-proj-task-backup { | |
| max-width: 100%; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .lp-proj-gantt-grid .lp-proj-task-name { padding: 0; font-size: var(--lp-fs-xs); line-height: 1.25; } | |
| .lp-proj-gantt-grid .lp-proj-task-backup { font-size: var(--lp-fs-2xs); line-height: 1.2; } | |
| .lp-proj-gantt-row[data-parent] .lp-proj-task-name { font-weight: 600; } | |
| .lp-proj-gantt-row[data-done] .lp-proj-task-name { color: var(--lp-muted); text-decoration: line-through; } | |
| .lp-proj-gantt-row[data-status="Backup"] .lp-proj-task-name { color: var(--lp-muted); } | |
| .lp-proj-gantt-row:focus-within .lp-proj-gantt-grid { background: var(--lp-surface-2); } | |
| .lp-proj-gantt-date { white-space: nowrap; } | |
| .lp-proj-gantt-duration { text-align: right; color: var(--lp-muted); line-height: 1.2; } | |
| .lp-proj-gantt-grid > .lp-proj-gantt-duration, | |
| .lp-proj-gantt-head .lp-proj-gantt-grid > [role="columnheader"]:last-child { | |
| padding-inline: 4px 16px; | |
| overflow-wrap: anywhere; | |
| } | |
| .lp-proj-gantt-head { | |
| position: sticky; | |
| top: 0; | |
| z-index: var(--cg-z-column); | |
| height: var(--gantt-header-height); | |
| border-bottom-color: var(--lp-line); | |
| background: var(--lp-surface); | |
| color: var(--lp-muted); | |
| } | |
| .lp-proj-gantt-head .lp-proj-gantt-grid { background: var(--lp-surface); color: var(--lp-muted); } | |
| .lp-proj-gantt-head [role="columnheader"]:last-child { text-align: right; white-space: nowrap; } | |
| .lp-proj-gantt-columns { | |
| position: absolute; | |
| top: calc(50% - 12px); | |
| right: -8px; | |
| z-index: 1; | |
| display: grid; | |
| place-items: center; | |
| width: 16px; | |
| height: 24px; | |
| padding: 0; | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-sm); | |
| background: var(--lp-surface); | |
| color: var(--lp-muted); | |
| font: inherit; | |
| cursor: pointer; | |
| } | |
| .lp-proj-gantt-columns:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 2px; | |
| } | |
| .lp-proj-gantt-scale, | |
| .lp-proj-gantt-chart { display: block; max-width: none; overflow: hidden; font: inherit; } | |
| .lp-proj-gantt-period { overflow: hidden; } | |
| .lp-proj-gantt-scale text { fill: var(--lp-ink); font-size: var(--lp-fs-xs); } | |
| .lp-proj-gantt-scale .lp-proj-gantt-tick { fill: var(--lp-muted); font-size: var(--lp-fs-2xs); } | |
| .lp-proj-gantt-scale .lp-proj-gantt-tick[data-today] { fill: var(--lp-red-deep); font-weight: 600; } | |
| .lp-proj-gantt-scale line { stroke: var(--lp-line); stroke-width: 1; } | |
| .lp-proj-gantt-scale .lp-proj-gantt-tick-line, | |
| .lp-proj-gantt-grid-lines { | |
| stroke: color-mix(in srgb, var(--lp-line) 55%, transparent); | |
| stroke-width: 1; | |
| fill: none; | |
| } | |
| .lp-proj-gantt-weekend { fill: color-mix(in srgb, var(--lp-surface-2) 70%, transparent); } | |
| .lp-proj-gantt-scale .lp-proj-gantt-today-line, | |
| .lp-proj-gantt-chart .lp-proj-gantt-today-line { stroke: var(--lp-red-deep); stroke-width: 1; } | |
| .lp-proj-gantt-bar { | |
| color: var(--lp-brand-navy); | |
| transform-origin: 0 0; | |
| transition: transform var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing); | |
| } | |
| .lp-proj-gantt-bar[data-dragging], | |
| .lp-proj-gantt-bar[data-confirmed] { transition: none; } | |
| .lp-proj-gantt-bar-body[role="button"] { cursor: grab; touch-action: none; user-select: none; } | |
| .lp-proj-gantt-bar[data-dragging] .lp-proj-gantt-bar-body { cursor: grabbing; } | |
| .lp-proj-gantt-bar[data-resizing] text { visibility: hidden; } | |
| .lp-proj-gantt-bar-body:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 3px; | |
| } | |
| .lp-proj-gantt-resize { | |
| fill: var(--lp-surface); | |
| stroke: currentColor; | |
| stroke-width: 1; | |
| opacity: 0.65; | |
| cursor: ew-resize; | |
| touch-action: none; | |
| } | |
| .lp-proj-gantt-resize:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 2px; | |
| fill: var(--lp-yellow-tint); | |
| opacity: 1; | |
| } | |
| .lp-proj-gantt-bar-body[aria-disabled="true"], | |
| .lp-proj-gantt-resize[aria-disabled="true"] { cursor: not-allowed; opacity: 0.45; } | |
| .lp-proj-gantt-bar text { fill: currentColor; font-size: var(--lp-fs-2xs); } | |
| .lp-proj-gantt-leaf-bar { fill: var(--lp-blue-tint); stroke: currentColor; stroke-width: 1; } | |
| .lp-proj-gantt-parent-bar { fill: currentColor; } | |
| .lp-proj-gantt-bar[data-summary] text { font-weight: 600; } | |
| .lp-proj-gantt-row[data-status="Done"] .lp-proj-gantt-bar { color: var(--lp-green-deep); } | |
| .lp-proj-gantt-row[data-status="Done"] .lp-proj-gantt-leaf-bar { fill: var(--lp-green-tint); } | |
| .lp-proj-gantt-row[data-status="Planned"] .lp-proj-gantt-bar { color: var(--lp-yellow-deep); } | |
| .lp-proj-gantt-row[data-status="Planned"] .lp-proj-gantt-leaf-bar { fill: var(--lp-yellow-tint); } | |
| .lp-proj-gantt-row[data-status="Backup"] .lp-proj-gantt-bar { color: var(--lp-muted); } | |
| .lp-proj-gantt-row[data-status="Backup"] .lp-proj-gantt-leaf-bar { fill: var(--lp-surface-2); stroke-dasharray: 4 3; } | |
| .lp-proj-gantt-row[data-status="Backup"] .lp-proj-gantt-parent-bar { fill: none; stroke: currentColor; stroke-dasharray: 4 3; } | |
| .lp-proj-gantt-chart-cell { overflow: hidden; } | |
| @media (hover: hover) and (pointer: fine) { | |
| .lp-proj-gantt-row:hover .lp-proj-gantt-grid { background: var(--lp-surface-2); } | |
| } | |
| .lp-proj-gantt-dependency-state { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| font-size: var(--lp-fs-xs); | |
| } | |
| .lp-proj-gantt-grid > .lp-proj-task-name-cell { padding-right: 28px; } | |
| .lp-proj-gantt-row-menu { | |
| position: absolute; | |
| left: calc(var(--gantt-name-width) - 28px); | |
| top: calc((var(--gantt-row-height) - 24px) / 2); | |
| display: grid; | |
| place-items: center; | |
| width: 24px; | |
| height: 24px; | |
| padding: 0; | |
| border: 0; | |
| border-radius: var(--lp-r-sm); | |
| background: var(--lp-surface); | |
| color: var(--lp-brand-navy); | |
| font: inherit; | |
| cursor: pointer; | |
| } | |
| .lp-proj-gantt-dependencies { | |
| position: absolute; | |
| overflow: hidden; | |
| pointer-events: none; | |
| color: var(--lp-brand-navy); | |
| } | |
| .lp-proj-gantt-edge, | |
| .lp-proj-gantt-drag-line { | |
| fill: none; | |
| stroke: var(--lp-brand-navy); | |
| stroke-width: 1.5; | |
| stroke-linejoin: round; | |
| } | |
| .lp-proj-gantt-arrowhead { fill: var(--lp-brand-navy); } | |
| .lp-proj-gantt-edge-hit { | |
| fill: none; | |
| stroke: transparent; | |
| stroke-width: 14; | |
| pointer-events: stroke; | |
| cursor: pointer; | |
| } | |
| .lp-proj-gantt-dependencies g[data-selected] .lp-proj-gantt-edge { | |
| stroke: var(--lp-yellow-deep); | |
| stroke-width: 2; | |
| stroke-dasharray: 3 3; | |
| } | |
| .lp-proj-gantt-dependencies g:focus-within .lp-proj-gantt-edge { | |
| stroke: var(--lp-yellow-deep); | |
| stroke-width: 3; | |
| } | |
| .lp-proj-gantt-drag-line { stroke-dasharray: 4 3; } | |
| .lp-proj-gantt-handle { | |
| fill: var(--lp-surface); | |
| stroke: var(--lp-brand-navy); | |
| stroke-width: 2; | |
| cursor: crosshair; | |
| pointer-events: all; | |
| touch-action: none; | |
| } | |
| .lp-proj-gantt-handle:focus-visible { | |
| fill: var(--lp-yellow-tint); | |
| stroke: var(--lp-yellow-deep); | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: 3px; | |
| } | |
| .lp-proj-gantt-handle[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; pointer-events: none; } | |
| .lp-proj-gantt-menu { | |
| position: fixed; | |
| z-index: var(--cg-z-overlay); | |
| width: 352px; | |
| max-width: calc(100vw - 16px); | |
| max-height: calc(100vh - 16px); | |
| overflow: auto; | |
| box-sizing: border-box; | |
| border: 1px solid var(--lp-line); | |
| border-radius: var(--lp-r-md); | |
| padding: 8px 0; | |
| background: var(--lp-surface); | |
| color: var(--lp-ink); | |
| box-shadow: var(--lp-panel-shadow); | |
| font-family: inherit; | |
| font-size: var(--lp-fs-xs); | |
| } | |
| .lp-proj-gantt-menu-task { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 8px 12px; | |
| overflow-wrap: anywhere; | |
| } | |
| .lp-proj-gantt-menu-task > svg { flex-shrink: 0; color: var(--lp-brand-navy); } | |
| .lp-proj-gantt-task-dot { | |
| flex-shrink: 0; | |
| width: 8px; | |
| height: 8px; | |
| border: 2px solid var(--lp-brand-navy); | |
| border-radius: 50%; | |
| } | |
| .lp-proj-gantt-relationship { padding: 4px 12px; } | |
| .lp-proj-gantt-relationship > span { display: block; margin-top: 4px; color: var(--lp-muted); } | |
| .lp-proj-gantt-menu-actions { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--lp-line); } | |
| .lp-proj-gantt-menu-actions > button { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| width: 100%; | |
| min-height: 36px; | |
| padding: 8px 12px; | |
| border: 0; | |
| border-radius: 0; | |
| background: transparent; | |
| color: var(--lp-ink); | |
| font: inherit; | |
| text-align: left; | |
| cursor: pointer; | |
| } | |
| .lp-proj-gantt-menu-actions > button > svg:last-child:not(:first-child) { margin-left: auto; } | |
| .lp-proj-gantt-form { display: grid; gap: 16px; } | |
| .lp-proj-gantt-form-actions { display: flex; justify-content: flex-end; gap: 8px; } | |
| .lp-proj-gantt-form .lp-proj-field { min-width: 0; overflow-wrap: anywhere; } | |
| .lp-proj-gantt-menu-actions > button:focus-visible, | |
| .lp-proj-gantt-row-menu:focus-visible { | |
| outline: 2px solid var(--lp-blue-deep); | |
| outline-offset: -2px; | |
| background: var(--lp-blue-tint); | |
| } | |
| .lp-proj-gantt-menu-actions > button:disabled, | |
| .lp-proj-gantt-row-menu:disabled, | |
| .lp-proj-gantt-control:disabled { opacity: 0.45; cursor: not-allowed; } | |
| @media (hover: hover) and (pointer: fine) { | |
| .lp-proj-gantt-columns:hover { background: var(--lp-blue-tint); color: var(--lp-brand-navy); } | |
| .lp-proj-gantt-row-menu:not(:disabled):hover, | |
| .lp-proj-gantt-menu-actions > button:not(:disabled):hover { background: var(--lp-blue-tint); } | |
| .lp-proj-gantt-handle:not([aria-disabled="true"]):hover { fill: var(--lp-yellow-tint); } | |
| .lp-proj-gantt-resize:not([aria-disabled="true"]):hover { fill: var(--lp-yellow-tint); opacity: 1; } | |
| .lp-proj-gantt-dependencies g:hover .lp-proj-gantt-edge { stroke: var(--lp-yellow-deep); stroke-width: 2; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .lp-proj-gantt-handle, | |
| .lp-proj-gantt-edge, | |
| .lp-proj-gantt-menu, | |
| .lp-proj-gantt-bar { animation: none; transition: none; } | |
| } | |