Spaces:
Sleeping
Sleeping
Download static/result-design.css from MesserMMP/syntax-video-infer: direct link, hf CLI and curl.
- Browser
- Download file 16.5 kB
-
https://huggingface.co/spaces/MesserMMP/syntax-video-infer/resolve/main/static/result-design.css
- Command line
-
hf download hf://spaces/MesserMMP/syntax-video-infer/static/result-design.css
-
curl -L -o result-design.css https://huggingface.co/spaces/MesserMMP/syntax-video-infer/resolve/main/static/result-design.css
16.5 kB
| :root { | |
| --detail-surface: #f7f9f6; | |
| --detail-accent-surface: #edf4ee; | |
| --detail-accent-line: #ccdcd0; | |
| --detail-faint: #edf1eb; | |
| --motion-fast: 160ms; | |
| --motion-standard: 220ms; | |
| --motion-ease: cubic-bezier(.2, .7, .2, 1); | |
| } | |
| html[data-theme="lab"] { | |
| --detail-surface: #142024; | |
| --detail-accent-surface: #20332c; | |
| --detail-accent-line: #3d584b; | |
| --detail-faint: #223034; | |
| } | |
| .brand-mark { | |
| display: grid; | |
| place-items: center; | |
| width: 58px; | |
| height: 60px; | |
| flex: none; | |
| } | |
| .brand-mark img { | |
| display: block; | |
| width: 100%; | |
| height: 100%; | |
| object-fit: contain; | |
| transition: filter var(--motion-standard) var(--motion-ease); | |
| } | |
| html[data-theme="lab"] .brand-mark img { | |
| filter: invert(1) hue-rotate(180deg) saturate(.55) brightness(1.08); | |
| } | |
| .brand { | |
| gap: 11px; | |
| flex-shrink: 0; | |
| white-space: nowrap; | |
| } | |
| .brand-wordmark { | |
| display: block; | |
| font-family: Georgia, 'Times New Roman', serif; | |
| font-size: 30px; | |
| font-weight: 400; | |
| line-height: 1; | |
| letter-spacing: -1.2px; | |
| color: var(--accent); | |
| } | |
| .theme-switch button, | |
| .language-button, | |
| .study-item, | |
| .projection-card, | |
| .segmented button, | |
| .example-button, | |
| .icon-button, | |
| .cine-button, | |
| .cine-speed button, | |
| .viewer-expand, | |
| .calculation-link { | |
| transition: background-color var(--motion-fast) var(--motion-ease), | |
| border-color var(--motion-fast) var(--motion-ease), | |
| color var(--motion-fast) var(--motion-ease), | |
| box-shadow var(--motion-fast) var(--motion-ease); | |
| } | |
| .button { | |
| transition: background-color var(--motion-fast) var(--motion-ease), | |
| border-color var(--motion-fast) var(--motion-ease), | |
| color var(--motion-fast) var(--motion-ease), | |
| box-shadow var(--motion-fast) var(--motion-ease); | |
| } | |
| .topbar, | |
| .sidebar, | |
| .result-card, | |
| .run-card, | |
| .calculation-details, | |
| .expert-assessment, | |
| .calculation-step, | |
| .calculation-summary-item { | |
| transition: background-color var(--motion-standard) var(--motion-ease), | |
| border-color var(--motion-standard) var(--motion-ease); | |
| } | |
| .projection-card:not(.selected):hover { | |
| border-color: var(--muted); | |
| box-shadow: 0 0 0 1px var(--line); | |
| } | |
| .theme-switch button:focus-visible, | |
| .language-button:focus-visible, | |
| .calculation-link:focus-visible { | |
| outline: 2px solid var(--accent); | |
| outline-offset: 3px; | |
| } | |
| .language-button { | |
| border-radius: 0 4px 4px 0; | |
| } | |
| .language-button:hover { | |
| color: var(--accent); | |
| } | |
| #result-card { | |
| overflow: hidden; | |
| padding: 22px 20px 20px; | |
| } | |
| #result-card .card-title { | |
| flex-wrap: wrap; | |
| row-gap: 8px; | |
| } | |
| .score-comparison { | |
| display: grid; | |
| grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); | |
| gap: 17px; | |
| align-items: end; | |
| margin-top: 28px; | |
| } | |
| .score-comparison-cell { | |
| min-width: 0; | |
| } | |
| .score-comparison-cell .score-label, | |
| .score-comparison-cell > span:first-child { | |
| display: block; | |
| font-size: 12px; | |
| font-weight: 500; | |
| line-height: 1.45; | |
| color: var(--muted); | |
| } | |
| .score-comparison .score-number { | |
| margin: 9px 0 0; | |
| font-size: 50px; | |
| font-weight: 550; | |
| line-height: 1.1; | |
| letter-spacing: -2.5px; | |
| white-space: nowrap; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .score-comparison .score-number.empty { | |
| color: var(--muted); | |
| font-size: 50px; | |
| opacity: .55; | |
| } | |
| .raw-score { | |
| padding: 1px 0 4px 16px; | |
| border-left: 1px solid var(--line); | |
| } | |
| .raw-total-number { | |
| margin-top: 12px; | |
| font-family: 'Manrope', 'DM Sans', sans-serif; | |
| font-size: 29px; | |
| line-height: 1.15; | |
| font-weight: 500; | |
| letter-spacing: -1px; | |
| font-variant-numeric: tabular-nums; | |
| white-space: nowrap; | |
| } | |
| .score-caption { | |
| font-size: 12px; | |
| line-height: 1.65; | |
| color: var(--muted); | |
| margin-top: 15px; | |
| } | |
| #result-card .result-origin { | |
| display: inline-flex; | |
| align-items: center; | |
| min-height: 23px; | |
| margin-top: 11px; | |
| padding: 3px 7px; | |
| font-size: 11px; | |
| line-height: 1.4; | |
| color: var(--muted); | |
| background: transparent; | |
| border: 1px solid var(--line); | |
| border-radius: 5px; | |
| } | |
| .result-actions { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: stretch; | |
| gap: 14px; | |
| margin-top: 23px; | |
| } | |
| .calculation-link { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| align-self: flex-start; | |
| padding: 3px 0; | |
| font-size: 12px; | |
| font-weight: 500; | |
| line-height: 1.45; | |
| color: var(--accent); | |
| border-radius: 3px; | |
| text-decoration: none; | |
| text-underline-offset: 4px; | |
| } | |
| .calculation-link:hover { | |
| color: var(--accent-hover); | |
| text-decoration: underline; | |
| } | |
| .calculation-link svg { | |
| width: 14px; | |
| height: 14px; | |
| } | |
| .result-actions .button { | |
| min-height: 40px; | |
| } | |
| #reference-score.expert-assessment { | |
| display: block; | |
| margin-top: 24px; | |
| padding-top: 20px; | |
| border-top: 1px solid var(--line); | |
| color: var(--ink); | |
| } | |
| .expert-assessment-summary { | |
| display: flex; | |
| align-items: baseline; | |
| justify-content: space-between; | |
| gap: 14px; | |
| } | |
| .expert-assessment-summary > span { | |
| font-size: 12px; | |
| font-weight: 500; | |
| line-height: 1.5; | |
| color: var(--ink); | |
| } | |
| #reference-score-value { | |
| flex-shrink: 0; | |
| color: var(--ink); | |
| font-family: 'Manrope', 'DM Sans', sans-serif; | |
| font-size: 24px; | |
| line-height: 1.15; | |
| font-weight: 550; | |
| letter-spacing: -.7px; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| #expert-mean-caption { | |
| font-size: 11px; | |
| line-height: 1.6; | |
| margin-top: 7px; | |
| color: var(--muted); | |
| } | |
| .expert-scores { | |
| display: grid; | |
| grid-template-columns: repeat(3, minmax(0, 1fr)); | |
| gap: 1px; | |
| margin-top: 15px; | |
| overflow: hidden; | |
| background: var(--line); | |
| border: 1px solid var(--line); | |
| border-radius: 8px; | |
| } | |
| .expert-score { | |
| min-width: 0; | |
| padding: 10px 9px 11px; | |
| background: var(--detail-surface); | |
| } | |
| .expert-label { | |
| display: block; | |
| color: var(--muted); | |
| font-size: 11px; | |
| line-height: 1.5; | |
| } | |
| #reference-score .expert-score strong { | |
| display: block; | |
| margin-top: 4px; | |
| color: var(--ink); | |
| font-size: 16px; | |
| line-height: 1.4; | |
| font-weight: 500; | |
| letter-spacing: -.25px; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .expert-context { | |
| font-size: 11px; | |
| line-height: 1.65; | |
| color: var(--muted); | |
| margin-top: 12px; | |
| } | |
| #reference-source { | |
| display: inline-block; | |
| margin-top: 9px; | |
| font-size: 11px; | |
| line-height: 1.5; | |
| text-underline-offset: 3px; | |
| } | |
| .is-partial .score-comparison { | |
| opacity: .7; | |
| } | |
| #fold-results.calculation-details { | |
| grid-column: 1 / -1; | |
| margin: 8px 0 0; | |
| padding: 26px; | |
| min-width: 0; | |
| border: 1px solid var(--line); | |
| border-radius: 12px; | |
| background: var(--surface); | |
| box-shadow: var(--shadow); | |
| scroll-margin-top: 24px; | |
| } | |
| .calculation-heading { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: flex-start; | |
| gap: 7px; | |
| margin-bottom: 22px; | |
| } | |
| .calculation-heading h2 { | |
| font-family: 'Manrope', 'DM Sans', sans-serif; | |
| font-size: 18px; | |
| line-height: 1.4; | |
| font-weight: 650; | |
| letter-spacing: -.4px; | |
| } | |
| .calculation-heading p, | |
| .calculation-heading .muted { | |
| max-width: 760px; | |
| font-size: 12px; | |
| line-height: 1.65; | |
| color: var(--muted); | |
| } | |
| .calculation-rule { | |
| display: grid; | |
| grid-template-columns: repeat(4, minmax(0, 1fr)); | |
| gap: 24px; | |
| margin-bottom: 25px; | |
| } | |
| .calculation-step { | |
| position: relative; | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 12px; | |
| min-width: 0; | |
| padding: 17px 15px; | |
| background: var(--detail-surface); | |
| border: 1px solid var(--line); | |
| border-radius: 8px; | |
| } | |
| .calculation-step:not(:last-child)::after { | |
| content: ''; | |
| position: absolute; | |
| right: -17px; | |
| top: 50%; | |
| width: 6px; | |
| height: 6px; | |
| border-top: 1px solid var(--muted); | |
| border-right: 1px solid var(--muted); | |
| transform: translateY(-50%) rotate(45deg); | |
| opacity: .7; | |
| } | |
| .calculation-step-index { | |
| flex: none; | |
| display: grid; | |
| place-items: center; | |
| width: 25px; | |
| height: 25px; | |
| border: 1px solid var(--line); | |
| border-radius: 6px; | |
| background: var(--surface); | |
| color: var(--muted); | |
| font-size: 11px; | |
| line-height: 1; | |
| font-weight: 500; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .calculation-step strong { | |
| display: block; | |
| font-size: 12px; | |
| line-height: 1.45; | |
| font-weight: 600; | |
| color: var(--ink); | |
| padding-top: 3px; | |
| } | |
| .calculation-step p { | |
| font-size: 11px; | |
| line-height: 1.6; | |
| margin-top: 6px; | |
| color: var(--muted); | |
| } | |
| .calculation-details .fold-table-wrap { | |
| overflow: auto; | |
| overscroll-behavior-x: contain; | |
| scrollbar-width: thin; | |
| scrollbar-color: var(--line) transparent; | |
| border-radius: 8px; | |
| } | |
| .model-breakdown-table { | |
| width: 100%; | |
| min-width: 700px; | |
| table-layout: auto; | |
| font-size: 13px; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .model-breakdown-table th { | |
| padding: 13px 15px; | |
| font-size: 11px; | |
| line-height: 1.5; | |
| font-weight: 500; | |
| color: var(--muted); | |
| background: var(--detail-surface); | |
| vertical-align: bottom; | |
| } | |
| .model-breakdown-table td { | |
| padding: 15px; | |
| font-size: 13px; | |
| line-height: 1.4; | |
| color: var(--ink); | |
| background: var(--surface); | |
| } | |
| .model-breakdown-table th:first-child, | |
| .model-breakdown-table td:first-child { | |
| width: 12%; | |
| text-align: left; | |
| white-space: nowrap; | |
| } | |
| .model-breakdown-table td:first-child { | |
| font-weight: 500; | |
| color: var(--muted); | |
| } | |
| .model-breakdown-table th:nth-child(5), | |
| .model-breakdown-table td:nth-child(5) { | |
| text-align: center; | |
| } | |
| .model-breakdown-table .fold-formula { | |
| white-space: nowrap; | |
| font-size: 12px; | |
| color: var(--muted); | |
| letter-spacing: .1px; | |
| } | |
| .model-breakdown-table th:last-child, | |
| .model-breakdown-table td:last-child { | |
| padding-right: 19px; | |
| background: var(--detail-accent-surface); | |
| color: var(--accent); | |
| } | |
| .model-breakdown-table td:last-child { | |
| font-weight: 600; | |
| } | |
| .calculation-summary { | |
| display: grid; | |
| grid-template-columns: repeat(3, minmax(0, 1fr)); | |
| gap: 16px; | |
| margin-top: 20px; | |
| } | |
| .calculation-summary-item { | |
| min-width: 0; | |
| padding: 17px 18px 16px; | |
| border: 1px solid var(--line); | |
| border-radius: 8px; | |
| background: var(--surface); | |
| } | |
| .calculation-summary-item > span { | |
| display: block; | |
| font-size: 11px; | |
| font-weight: 500; | |
| line-height: 1.5; | |
| color: var(--muted); | |
| } | |
| .calculation-summary-item > strong { | |
| display: block; | |
| margin-top: 9px; | |
| font-family: 'Manrope', 'DM Sans', sans-serif; | |
| font-size: 27px; | |
| line-height: 1.15; | |
| font-weight: 550; | |
| letter-spacing: -.9px; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .calculation-summary-item > small { | |
| display: block; | |
| margin-top: 8px; | |
| font-size: 11px; | |
| line-height: 1.55; | |
| color: var(--muted); | |
| overflow-wrap: anywhere; | |
| } | |
| .calculation-summary-item:last-child { | |
| background: var(--detail-accent-surface); | |
| border-color: var(--detail-accent-line); | |
| } | |
| .calculation-summary-item:last-child > strong { | |
| color: var(--accent); | |
| } | |
| .model-estimate-note { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 9px; | |
| margin: -5px 0 15px; | |
| color: var(--muted); | |
| font-size: 12px; | |
| line-height: 1.65; | |
| } | |
| .model-estimate-note svg { | |
| width: 15px; | |
| height: 15px; | |
| margin-top: 2px; | |
| color: var(--accent); | |
| } | |
| .calculation-notes { | |
| display: grid; | |
| gap: 8px; | |
| margin-top: 19px; | |
| font-size: 11px; | |
| line-height: 1.7; | |
| color: var(--muted); | |
| } | |
| .calculation-notes p { | |
| max-width: 920px; | |
| } | |
| .calculation-notes a { | |
| text-underline-offset: 3px; | |
| } | |
| .calculation-details:not([hidden]), | |
| .expert-assessment:not([hidden]) { | |
| animation: reveal-section var(--motion-standard) var(--motion-ease) both; | |
| } | |
| @keyframes reveal-section { | |
| from { opacity: 0; transform: translateY(4px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| @media (min-width: 1500px) { | |
| .score-comparison .score-number { font-size: 54px; } | |
| .raw-total-number { font-size: 31px; } | |
| #fold-results.calculation-details { padding: 28px; } | |
| } | |
| @media (max-width: 1190px) and (min-width: 761px) { | |
| #result-card { padding: 20px 16px 18px; } | |
| .score-comparison { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 12px; } | |
| .score-comparison .score-number { font-size: 43px; letter-spacing: -2px; } | |
| .raw-score { padding-left: 12px; } | |
| .raw-total-number { font-size: 25px; letter-spacing: -.7px; } | |
| .score-comparison-cell .score-label, | |
| .score-comparison-cell > span:first-child { font-size: 11px; } | |
| .expert-score { padding: 9px 6px 10px; } | |
| .expert-label { font-size: 11px; } | |
| .expert-assessment-summary { gap: 8px; } | |
| .expert-assessment-summary > span { font-size: 11px; } | |
| #reference-score-value { font-size: 22px; } | |
| .calculation-step { display: block; padding: 15px 13px; } | |
| .calculation-step-index { margin-bottom: 10px; } | |
| .calculation-rule { gap: 20px; } | |
| .calculation-step:not(:last-child)::after { right: -15px; } | |
| } | |
| @media (max-width: 960px) { | |
| #fold-results.calculation-details { padding: 21px; } | |
| .calculation-rule { gap: 17px; } | |
| .calculation-step { display: block; padding: 14px; } | |
| .calculation-step-index { margin-bottom: 10px; } | |
| .calculation-step:not(:last-child)::after { right: -13px; } | |
| .calculation-summary { gap: 11px; } | |
| .calculation-summary-item { padding: 15px; } | |
| .calculation-summary-item > strong { font-size: 25px; } | |
| } | |
| @media (max-width: 760px) { | |
| .analysis-panel #result-card { order: 0; } | |
| .brand-mark { display: grid; width: 40px; height: 44px; } | |
| .brand { gap: 6px; } | |
| .brand-wordmark { font-size: 20px; letter-spacing: -.75px; } | |
| #result-card { padding: 24px; } | |
| .score-comparison { gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); margin-top: 25px; } | |
| .score-comparison .score-number { font-size: 58px; letter-spacing: -2.7px; } | |
| .raw-score { padding: 0 0 5px 22px; } | |
| .raw-total-number { font-size: 34px; } | |
| .score-caption { margin-top: 16px; } | |
| #reference-score.expert-assessment { margin-top: 25px; } | |
| .expert-scores { grid-template-columns: repeat(6, minmax(0, 1fr)); } | |
| .expert-score { padding: 11px 7px; } | |
| .expert-label { font-size: 11px; } | |
| .result-actions { gap: 16px; } | |
| #fold-results.calculation-details { margin-top: 0; padding: 22px 18px; } | |
| .calculation-heading { margin-bottom: 20px; } | |
| .calculation-heading h2 { font-size: 18px; } | |
| .calculation-rule { display: flex; flex-direction: column; gap: 15px; margin-bottom: 22px; } | |
| .calculation-step { display: flex; gap: 12px; padding: 15px; } | |
| .calculation-step-index { margin-bottom: 0; } | |
| .calculation-step:not(:last-child)::after { top: auto; right: auto; left: 27px; bottom: -11px; transform: rotate(135deg); width: 5px; height: 5px; } | |
| .calculation-step strong { font-size: 12px; } | |
| .calculation-step p { font-size: 11px; margin-top: 4px; } | |
| .model-breakdown-table { min-width: 680px; } | |
| .model-breakdown-table th { padding: 12px 14px; } | |
| .model-breakdown-table td { padding: 14px; } | |
| .calculation-summary { gap: 10px; } | |
| .calculation-summary-item { padding: 14px 12px; } | |
| .calculation-summary-item > strong { font-size: 25px; } | |
| .calculation-summary-item > span, | |
| .calculation-summary-item > small { font-size: 11px; } | |
| .calculation-notes { margin-top: 17px; } | |
| } | |
| @media (max-width: 480px) { | |
| #result-card { padding: 22px 20px; } | |
| .score-comparison { grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr); gap: 18px; } | |
| .score-comparison .score-number { font-size: 54px; } | |
| .raw-score { padding-left: 18px; } | |
| .raw-total-number { font-size: 31px; } | |
| .expert-scores { grid-template-columns: repeat(3, minmax(0, 1fr)); } | |
| .expert-score { padding: 11px; } | |
| .expert-label { font-size: 11px; } | |
| .calculation-summary { grid-template-columns: 1fr; gap: 10px; } | |
| .calculation-summary-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: center; padding: 15px; } | |
| .calculation-summary-item > span { font-size: 11px; } | |
| .calculation-summary-item > strong { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 27px; } | |
| .calculation-summary-item > small { margin-top: 5px; font-size: 11px; } | |
| } | |
| @media (max-width: 380px) { | |
| .brand-mark { display: grid; width: 36px; height: 40px; } | |
| .brand { gap: 5px; } | |
| .brand-wordmark { font-size: 19px; letter-spacing: -.8px; } | |
| #result-card { padding: 20px 17px; } | |
| .score-comparison { gap: 13px; } | |
| .score-comparison .score-number { font-size: 48px; letter-spacing: -2px; } | |
| .raw-score { padding-left: 13px; } | |
| .raw-total-number { font-size: 28px; } | |
| .score-comparison-cell .score-label, | |
| .score-comparison-cell > span:first-child { font-size: 11px; } | |
| #fold-results.calculation-details { padding: 20px 15px; } | |
| } | |
| @media (max-width: 340px) { | |
| .topbar { padding-inline: 8px; gap: 4px; } | |
| .topbar-right { gap: 4px; } | |
| .theme-switch button { padding-inline: 3px; } | |
| .brand-mark { width: 32px; height: 36px; } | |
| .brand-wordmark { font-size: 17px; letter-spacing: -.7px; } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| *, *::before, *::after { | |
| animation: none ; | |
| transition: none ; | |
| scroll-behavior: auto ; | |
| } | |
| } | |