Spaces:
Running on Zero
Running on Zero
Download assets/studio.css from FanLR/GroundingPI: direct link, hf CLI and curl.
- Browser
- Download file 8.41 kB
-
https://huggingface.co/spaces/FanLR/GroundingPI/resolve/main/assets/studio.css
- Command line
-
hf download hf://spaces/FanLR/GroundingPI/assets/studio.css
-
curl -L -o studio.css https://huggingface.co/spaces/FanLR/GroundingPI/resolve/main/assets/studio.css
8.41 kB
| /* GroundingPI studio r8. Shared by the standalone demo and private HF Space. */ | |
| #workspace-top {min-height:0;box-shadow:0 12px 36px #30204408;background:#fff} | |
| #controls {flex:0 0 286px;min-width:0;width:286px;padding:24px;gap:20px;background:#fcfbfe} | |
| .control-brand {container-type:inline-size;gap:12px} | |
| .control-brand h2 {font-size:clamp(26px,14cqw,38px);white-space:nowrap;line-height:1.15;letter-spacing:-.045em} | |
| .control-brand p {font-size:12px;line-height:1.65} | |
| #control-settings {padding:12px;gap:12px} | |
| #control-fields {flex-direction:column;gap:10px} | |
| #control-fields>.form {width:100%;flex:0 0 auto} | |
| #media-type {flex:0 0 auto} | |
| .media-field {display:flex;align-items:center;justify-content:space-between;gap:8px} | |
| .media-field>span {white-space:nowrap} | |
| .media-field>span {margin:0}.media-field>div {height:28px;background:none;border:0;padding:0;gap:4px} | |
| .media-field>div>.media-option {display:grid;place-items:center;min-width:0;height:28px;margin:0;padding:0 8px;border:1px solid transparent;border-radius:6px;box-shadow:none;font:800 11px var(--ui)} | |
| .media-field .is-active {background:#edf3e2;color:#4c681c} | |
| .media-field .media-option:disabled {background:#f2f0f5;border-color:#e5e0ea;color:#96909e;opacity:1;cursor:not-allowed!important} | |
| #run-button {margin-top:0;min-height:48px;border-radius:8px;box-shadow:none;font-size:14px} | |
| #service-panel {gap:2px;margin-top:0} | |
| .api-status small {font-size:11px} | |
| #service-panel #health-button {min-height:32px;justify-content:flex-start;padding-left:0} | |
| #controls[inert] {opacity:1} | |
| #visual-stage {--stage-gutter:24px;background:#fff} | |
| #task-guide {padding:22px var(--stage-gutter) 0} | |
| .task-guide strong {font-size:18px}.task-guide p {font-size:12px} | |
| .task-guide small {font-size:11px} | |
| #stage-toolbar {min-height:40px;padding:10px var(--stage-gutter);gap:0} | |
| .stage-status {padding:0;border:0;background:transparent;font-size:11px;min-height:20px;align-items:center;flex-wrap:nowrap} | |
| .stage-status i {margin-top:0}.stage-status.busy i {margin-top:0} | |
| .stage-status .wait-clock {white-space:nowrap;margin-left:8px} | |
| #stage-toolbar.client-pending #stage-status {display:none} | |
| .client-notice {max-width:100%;flex:1} | |
| #canvas-viewport,#canvas-viewport:has(.focus-caption) {padding:0 var(--stage-gutter);overflow:hidden} | |
| #stage-image {height:clamp(300px,48vh,520px);overflow:visible;transition:transform 180ms ease} | |
| #stage-image .image-container {background:#f6f5f8;border-radius:6px;overflow:hidden} | |
| #stage-image img {box-shadow:none;border-radius:0} | |
| #stage-image .icon-button-wrapper {display:none} | |
| #canvas-chrome {position:relative;inset:auto;flex:0 0 auto;background:#fff} | |
| .canvas-tools {padding:8px 0;min-height:48px;gap:8px} | |
| .image-dimensions {border:0;background:transparent;padding:0;color:var(--muted)} | |
| .zoom-tools {border-color:#e8e4ec;border-radius:6px;box-shadow:none} | |
| .zoom-tools button,.canvas-download {width:32px;height:32px} | |
| .zoom-value {min-width:42px} | |
| .focus-halo {fill:none;stroke:#fff;stroke-width:5;vector-effect:non-scaling-stroke;opacity:.95} | |
| .focus-outline {fill:none;stroke-width:2.5;vector-effect:non-scaling-stroke;animation:none} | |
| .focus-dimmer {opacity:.16;animation:none} | |
| .focus-caption {width:100%;max-width:100%;box-sizing:border-box;margin:0 0 10px;padding:6px 8px 6px 12px;box-shadow:none;background:#f8f6fb;gap:6px} | |
| .focus-caption span {max-height:none;font-size:12px;flex:1} | |
| .focus-caption button {width:32px;height:32px;flex-shrink:0} | |
| #query-row {padding:6px var(--stage-gutter) 14px} | |
| #query-dock {max-width:none;width:100%;padding:10px 12px;box-shadow:none;border-color:#ddd6e6} | |
| #query-dock textarea {font-size:12px;line-height:1.7} | |
| .query-hint {text-align:left;margin:7px 0 0;font-size:10px} | |
| #targets-panel {padding:0 var(--stage-gutter) 20px;gap:0;border:0;min-width:0} | |
| .targets-summary {border-top:1px solid var(--line);padding-top:14px;font-size:12px} | |
| .targets-summary b {font-size:16px}.targets-summary>span {font-size:11px} | |
| .target-chips {display:flex;flex-direction:row;flex-wrap:wrap;max-height:280px;gap:6px;margin:10px 0 0;padding:2px} | |
| .target-chip {width:auto;flex:0 1 auto;min-width:0;min-height:34px;padding:7px 10px;gap:7px;background:#fff;border-radius:6px;font-size:11px} | |
| .target-chip>span {overflow-wrap:anywhere}.target-chip b {margin-left:3px} | |
| .target-chip[aria-pressed=true] {border-color:var(--purple);background:#f0eaf7} | |
| .target-chip:focus-visible {outline:2px solid var(--purple);outline-offset:2px} | |
| .focus-help {margin-top:10px;gap:12px}.targets-caption {display:none} | |
| .empty-targets {min-height:0;padding:12px 0;border-top:1px solid var(--line);text-align:left;align-items:flex-start} | |
| .empty-targets strong {font-size:12px}.empty-targets span {font-size:11px}.empty-targets svg {display:none} | |
| #review-row {gap:16px} | |
| #sandbox-panel {flex-basis:40%;box-shadow:none;padding:18px} | |
| #review-summary {min-width:0;box-shadow:none} | |
| #result-columns {gap:16px} | |
| #metrics-panel {min-width:0;flex:1 1 45%} | |
| #sidebar {min-width:0;flex:1 1 55%} | |
| #sidebar:not(:has(.evidence-detail:not([hidden]))) {display:none} | |
| #result-columns:not(:has(.evidence-detail:not([hidden]))) .metrics-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 24px} | |
| .detail-image {height:170px}.evidence-detail {max-width:none} | |
| #prompt-console,#output-console {box-shadow:none;padding:12px 18px} | |
| @media(min-width:1500px){#controls {flex-basis:310px;width:310px;padding:28px}#visual-stage {--stage-gutter:32px}#stage-image {height:clamp(420px,50vh,580px)}} | |
| @media(max-width:1100px){#controls {flex-basis:246px;width:246px;padding:18px}.control-brand h2 {font-size:14cqw}#visual-stage {--stage-gutter:18px}#stage-image {height:clamp(300px,40vw,440px)}.header-scope {display:none}#review-row {flex-wrap:wrap}#sandbox-panel {flex:1 1 34%}#review-summary {flex:1 1 58%}} | |
| @media(max-width:760px){ | |
| #controls {width:100%;flex:0 0 auto;padding:16px;gap:12px} | |
| .control-brand {container-type:normal;gap:10px;flex-wrap:nowrap} | |
| .control-brand h2 {font-size:clamp(22px,6vw,30px);white-space:nowrap} | |
| #control-settings {padding:0;border:0;gap:10px} | |
| #control-fields {flex-direction:row;align-items:center;gap:16px} | |
| #control-fields>.form {width:0;flex:1 1 0} | |
| #media-type {flex:0 0 auto}.media-field {display:block}.media-field>span {margin-bottom:7px} | |
| .media-field>div {height:39px}.media-field>div>.media-option {min-width:52px;height:36px} | |
| #service-panel {padding-top:6px}.api-status small,.connection-detail {display:none} | |
| #service-panel #health-button {min-height:28px;font-size:11px} | |
| #visual-stage {--stage-gutter:14px} | |
| #task-guide {padding-top:16px}.task-guide strong {font-size:16px} | |
| #stage-image {height:clamp(230px,68vw,440px)} | |
| #stage-toolbar {padding-top:10px;padding-bottom:10px} | |
| .canvas-tools {flex-wrap:wrap}.zoom-tools button,.canvas-download {width:38px;height:38px} | |
| #query-row {padding-top:4px}#mobile-run-button {border-radius:8px;font-size:14px;margin-top:10px} | |
| #targets-panel {padding-bottom:16px}.target-chip {min-height:40px}.target-chips {max-height:none} | |
| .focus-caption button {width:38px;height:38px}.focus-caption span {font-size:11px} | |
| #review-row {flex-direction:column}#sandbox-panel,#review-summary {flex:0 0 auto} | |
| #metrics-panel,#sidebar {flex:0 0 auto} | |
| } | |
| /* Keep both media and task controls visible on narrow screens. */ | |
| @media(max-width:760px){#media-type{width:116px;flex:0 0 116px}} | |