Spaces:
Sleeping
Sleeping
| :root { | |
| --gh-text: var(--body-text-color, #e6edf3); | |
| --gh-muted: var(--body-text-color-subdued, #9aa4b2); | |
| --gh-border: rgba(127, 127, 127, 0.22); | |
| --gh-tooltip-bg: #161b22; | |
| --gh-tooltip-text: #f0f6fc; | |
| --gh-empty-cell: #ebedf0; | |
| --gh-weekday-width: 6px; | |
| --gh-grid-gap: 4px; | |
| --gh-month-offset: calc(var(--gh-weekday-width) + var(--gh-grid-gap)); | |
| --gh-cell-size: clamp(10px, 1.2vw, 14px); | |
| --gh-cell-gap: 2px; | |
| --gh-month-font-size: 12px; | |
| --gh-weekday-font-size: 12px; | |
| --gh-legend-font-size: 13px; | |
| --gh-legend-cell-size: 10px; | |
| --gh-legend-gap: 4px; | |
| --gh-title-size: 18px; | |
| --gh-meta-size: 14px; | |
| } | |
| .dark, .gradio-container.dark { | |
| --gh-text: #e6edf3; | |
| --gh-muted: #9aa4b2; | |
| --gh-border: rgba(240, 246, 252, 0.12); | |
| --gh-empty-cell: #161b22; | |
| } | |
| .light, .gradio-container.light { | |
| --gh-text: #1f2328; | |
| --gh-muted: #57606a; | |
| --gh-border: rgba(31, 35, 40, 0.12); | |
| --gh-empty-cell: #ebedf0; | |
| } | |
| .gradio-container { | |
| width: min(100%, 1080px) ; | |
| max-width: 1080px ; | |
| margin: 0 auto ; | |
| padding-left: 20px ; | |
| padding-right: 20px ; | |
| box-sizing: border-box ; | |
| } | |
| #top-controls .wrap { | |
| align-items: end; | |
| } | |
| .gh-status, | |
| .gh-card, | |
| .gh-chart-card { | |
| color: var(--gh-text); | |
| } | |
| .gh-status { | |
| border: 1px solid var(--gh-border); | |
| background: transparent; | |
| border-radius: 14px; | |
| padding: 12px 14px; | |
| font-size: 14px; | |
| } | |
| .stats-grid { | |
| display: grid; | |
| grid-template-columns: repeat(4, minmax(0, 1fr)); | |
| gap: 12px; | |
| } | |
| .gh-card { | |
| border: 1px solid var(--gh-border); | |
| background: transparent; | |
| border-radius: 16px; | |
| padding: 14px 16px; | |
| } | |
| .gh-card-label, | |
| .gh-card-sub, | |
| .gh-chart-subtitle, | |
| .gh-chart-total, | |
| .gh-month-label, | |
| .gh-weekday, | |
| .gh-legend-text, | |
| .gh-empty { | |
| color: var(--gh-muted); | |
| } | |
| .gh-card-label { | |
| font-size: 13px; | |
| margin-bottom: 8px; | |
| } | |
| .gh-card-value { | |
| font-size: 28px; | |
| line-height: 1; | |
| font-weight: 700; | |
| color: var(--gh-text); | |
| } | |
| .gh-card-sub { | |
| margin-top: 10px; | |
| font-size: 13px; | |
| } | |
| .gh-chart-card { | |
| border: 1px solid var(--gh-border); | |
| background: transparent; | |
| border-radius: 16px; | |
| padding: 14px 16px; | |
| margin-bottom: 14px; | |
| min-width: 0; | |
| } | |
| .gh-chart-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-start; | |
| gap: 16px; | |
| margin-bottom: 12px; | |
| } | |
| .gh-chart-title { | |
| font-size: var(--gh-title-size); | |
| font-weight: 700; | |
| color: var(--gh-text); | |
| line-height: 1.2; | |
| } | |
| .gh-chart-subtitle, | |
| .gh-chart-total, | |
| .gh-empty { | |
| font-size: var(--gh-meta-size); | |
| } | |
| .gh-chart-wrap { | |
| width: 100%; | |
| overflow: visible; | |
| padding-bottom: 4px; | |
| } | |
| .gh-chart-inner { | |
| width: 100%; | |
| min-width: 0; | |
| max-width: 100%; | |
| } | |
| .gh-months { | |
| display: grid; | |
| grid-template-columns: repeat(55, minmax(0, 1fr)); | |
| column-gap: var(--gh-cell-gap); | |
| margin-left: var(--gh-month-offset); | |
| margin-bottom: 6px; | |
| width: calc(100% - var(--gh-month-offset)); | |
| align-items: end; | |
| min-height: 14px; | |
| line-height: 0; | |
| } | |
| .gh-month-label { | |
| font-size: var(--gh-month-font-size); | |
| line-height: 1; | |
| white-space: nowrap; | |
| } | |
| .gh-grid-area { | |
| display: grid; | |
| grid-template-columns: var(--gh-weekday-width) 1fr; | |
| grid-template-rows: repeat(7, minmax(0, var(--gh-cell-size))); | |
| column-gap: var(--gh-grid-gap); | |
| row-gap: var(--gh-cell-gap); | |
| align-items: center; | |
| width: 100%; | |
| min-width: 0; | |
| } | |
| .gh-weekday { | |
| font-size: var(--gh-weekday-font-size); | |
| display: flex; | |
| align-items: center; | |
| justify-content: flex-start; | |
| line-height: 1; | |
| } | |
| .weekday-mon { | |
| grid-column: 1; | |
| grid-row: 1; | |
| } | |
| .weekday-wed { | |
| grid-column: 1; | |
| grid-row: 3; | |
| } | |
| .weekday-fri { | |
| grid-column: 1; | |
| grid-row: 5; | |
| } | |
| .gh-grid { | |
| grid-column: 2; | |
| grid-row: 1 / span 7; | |
| display: grid; | |
| grid-template-columns: repeat(55, minmax(0, 1fr)); | |
| grid-template-rows: repeat(0, minmax(0, var(--gh-cell-size))); | |
| gap: var(--gh-cell-gap); | |
| width: 100%; | |
| min-width: 0; | |
| align-items: start; | |
| align-content: start; | |
| line-height: 0; | |
| } | |
| button.gh-cell { | |
| appearance: none; | |
| -webkit-appearance: none; | |
| border: 1px solid rgba(255, 255, 255, 0.04); | |
| padding: 0; | |
| margin: 0; | |
| font: inherit; | |
| color: inherit; | |
| background-clip: padding-box; | |
| } | |
| .gh-cell { | |
| width: 100%; | |
| aspect-ratio: 1 / 1; | |
| max-height: var(--gh-cell-size); | |
| border-radius: clamp(1px, 0.2vw, 3px); | |
| box-sizing: border-box; | |
| position: relative; | |
| cursor: pointer; | |
| background: transparent; | |
| min-width: 0; | |
| } | |
| .light .gh-cell, | |
| .gradio-container.light .gh-cell { | |
| border-color: rgba(27, 31, 36, 0.06); | |
| } | |
| .gh-cell:hover, | |
| .gh-cell:focus-visible, | |
| .gh-cell:focus { | |
| outline: 1px solid rgba(255, 255, 255, 0.35); | |
| outline-offset: 1px; | |
| z-index: 20; | |
| } | |
| .light .gh-cell:hover, | |
| .light .gh-cell:focus-visible, | |
| .light .gh-cell:focus, | |
| .gradio-container.light .gh-cell:hover, | |
| .gradio-container.light .gh-cell:focus-visible, | |
| .gradio-container.light .gh-cell:focus { | |
| outline-color: rgba(31, 35, 40, 0.35); | |
| } | |
| .gh-cell-outside { | |
| background: transparent ; | |
| border-color: transparent ; | |
| cursor: default; | |
| } | |
| .gh-tooltip { | |
| position: absolute; | |
| left: 50%; | |
| bottom: calc(100% + 8px); | |
| transform: translateX(-50%); | |
| background: var(--gh-tooltip-bg); | |
| color: var(--gh-tooltip-text); | |
| font-size: 12px; | |
| line-height: 1.2; | |
| padding: 6px 8px; | |
| border-radius: 6px; | |
| white-space: nowrap; | |
| pointer-events: none; | |
| opacity: 0; | |
| visibility: hidden; | |
| transition: opacity 0.08s ease; | |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); | |
| z-index: 999; | |
| } | |
| .gh-tooltip::after { | |
| content: ""; | |
| position: absolute; | |
| top: 100%; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| border-width: 5px; | |
| border-style: solid; | |
| border-color: var(--gh-tooltip-bg) transparent transparent transparent; | |
| } | |
| .gh-cell:hover .gh-tooltip, | |
| .gh-cell:focus .gh-tooltip, | |
| .gh-cell:focus-visible .gh-tooltip, | |
| .gh-cell:active .gh-tooltip { | |
| opacity: 1; | |
| visibility: visible; | |
| } | |
| .gh-tooltip-bottom .gh-tooltip { | |
| top: calc(100% + 8px); | |
| bottom: auto; | |
| } | |
| .gh-tooltip-bottom .gh-tooltip::after { | |
| top: auto; | |
| bottom: 100%; | |
| border-color: transparent transparent var(--gh-tooltip-bg) transparent; | |
| } | |
| .gh-tooltip-right .gh-tooltip { | |
| left: 0; | |
| transform: translateX(0); | |
| } | |
| .gh-tooltip-right .gh-tooltip::after { | |
| left: 10px; | |
| transform: none; | |
| } | |
| .gh-tooltip-left .gh-tooltip { | |
| left: auto; | |
| right: 0; | |
| transform: translateX(0); | |
| } | |
| .gh-tooltip-left .gh-tooltip::after { | |
| left: auto; | |
| right: 10px; | |
| transform: none; | |
| } | |
| .gh-tooltip-bottom.gh-tooltip-right .gh-tooltip::after { | |
| left: 10px; | |
| right: auto; | |
| } | |
| .gh-tooltip-bottom.gh-tooltip-left .gh-tooltip::after { | |
| left: auto; | |
| right: 10px; | |
| } | |
| .gh-legend { | |
| display: flex; | |
| justify-content: flex-end; | |
| align-items: center; | |
| gap: var(--gh-legend-gap); | |
| margin-top: 12px; | |
| } | |
| .gh-legend-text { | |
| font-size: var(--gh-meta-size); | |
| line-height: 1; | |
| } | |
| .gh-legend-cell { | |
| width: var(--gh-legend-cell-size); | |
| height: var(--gh-legend-cell-size); | |
| border-radius: clamp(1px, 0.2vw, 3px); | |
| display: inline-block; | |
| border: 1px solid rgba(255, 255, 255, 0.04); | |
| flex: 0 0 auto; | |
| } | |
| .light .gh-legend-cell, | |
| .gradio-container.light .gh-legend-cell { | |
| border-color: rgba(27, 31, 36, 0.06); | |
| } | |
| #repo-visibility-toggle, | |
| #pr-view-toggle, | |
| #discussion-view-toggle, | |
| #upvotes-view-toggle, | |
| #likes-view-toggle, | |
| #papers-view-toggle, | |
| #space-updates-view-toggle { | |
| border: none ; | |
| box-shadow: none ; | |
| outline: none ; | |
| background: transparent ; | |
| padding: 10px ; | |
| margin: 0 ; | |
| } | |
| #repo-visibility-toggle > div, | |
| #pr-view-toggle > div, | |
| #discussion-view-toggle > div, | |
| #upvotes-view-toggle > div, | |
| #likes-view-toggle > div, | |
| #papers-view-toggle > div, | |
| #space-updates-view-toggle > div { | |
| border: none ; | |
| box-shadow: none ; | |
| background: transparent ; | |
| padding: 0 ; | |
| margin: 0 ; | |
| } | |
| .gh-toggle-radio fieldset { | |
| border: none ; | |
| box-shadow: none ; | |
| background: transparent ; | |
| padding: 0 ; | |
| margin: 0 ; | |
| min-width: 0 ; | |
| } | |
| .gh-toggle-radio [data-testid="block-info"] { | |
| color: var(--gh-muted); | |
| font-size: 13px; | |
| margin-bottom: 8px; | |
| display: block; | |
| } | |
| .gh-toggle-radio .wrap { | |
| display: flex ; | |
| flex-wrap: wrap ; | |
| gap: 8px ; | |
| padding: 0 ; | |
| margin: 0 ; | |
| border: none ; | |
| background: transparent ; | |
| box-shadow: none ; | |
| width: auto ; | |
| } | |
| .gh-toggle-radio label { | |
| position: relative ; | |
| margin: 0 ; | |
| padding: 0 ; | |
| border: none ; | |
| background: transparent ; | |
| box-shadow: none ; | |
| cursor: pointer ; | |
| } | |
| .gh-toggle-radio input[type="radio"] { | |
| position: absolute ; | |
| inset: 0 ; | |
| opacity: 0 ; | |
| margin: 0 ; | |
| width: 100% ; | |
| height: 100% ; | |
| cursor: pointer ; | |
| } | |
| .gh-toggle-radio label span { | |
| display: inline-flex ; | |
| align-items: center ; | |
| justify-content: center ; | |
| padding: 7px 12px ; | |
| border-radius: 999px ; | |
| font-size: 13px ; | |
| line-height: 1 ; | |
| white-space: nowrap ; | |
| color: var(--gh-muted) ; | |
| background: transparent ; | |
| border: 1px solid var(--gh-border) ; | |
| box-shadow: none ; | |
| transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease ; | |
| } | |
| .gh-toggle-radio label:hover span { | |
| color: var(--gh-text) ; | |
| border-color: rgba(127, 127, 127, 0.32) ; | |
| } | |
| .gh-toggle-radio label.selected span { | |
| background: rgba(127, 127, 127, 0.14) ; | |
| color: var(--gh-text) ; | |
| border-color: rgba(127, 127, 127, 0.28) ; | |
| } | |
| .gh-toggle-radio input:focus-visible + span { | |
| outline: 1px solid rgba(127, 127, 127, 0.35) ; | |
| outline-offset: 1px ; | |
| } | |
| .toggles-container, | |
| .toggles-container > div, | |
| .toggles-container > .svelte-d5xbca { | |
| background: transparent ; | |
| } | |
| .toggles-container > .svelte-d5xbca { | |
| border: none ; | |
| margin-bottom: -20px; | |
| } | |
| @media (max-width: 980px) { | |
| .stats-grid { | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| } | |
| } | |
| @media (max-width: 640px) { | |
| :root { | |
| --gh-weekday-width: 16px; | |
| --gh-grid-gap: 3px; | |
| --gh-month-offset: calc(var(--gh-weekday-width) + var(--gh-grid-gap)); | |
| --gh-month-font-size: 10px; | |
| --gh-weekday-font-size: 9px; | |
| --gh-cell-size: 10px; | |
| --gh-cell-gap: 1px; | |
| } | |
| .stats-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .gh-chart-header { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| } | |
| .gradio-container { | |
| padding-left: 14px ; | |
| padding-right: 14px ; | |
| } | |
| .gh-toggle-radio .wrap { | |
| gap: 6px ; | |
| } | |
| .gh-toggle-radio label span { | |
| padding: 7px 10px ; | |
| font-size: 12px ; | |
| } | |
| } |