Spaces:
Sleeping
Sleeping
Download static/scenes.css from elhamb/yoloe_explorer: direct link, hf CLI and curl.
- Browser
- Download file 16.2 kB
-
https://huggingface.co/spaces/elhamb/yoloe_explorer/resolve/main/static/scenes.css
- Command line
-
hf download hf://spaces/elhamb/yoloe_explorer/static/scenes.css
-
curl -L -o scenes.css https://huggingface.co/spaces/elhamb/yoloe_explorer/resolve/main/static/scenes.css
16.2 kB
main {
max-width:1200px;
padding-top:28px;
}
.top-note,
.audience-label {
display:none;
}
.screen-navigation {
display:flex;
gap:5px;
margin-left:auto;
}
.screen-navigation button {
border:0;
padding:10px 15px;
border-radius:6px;
background:transparent;
font-size:13px;
}
.screen-navigation button[aria-current=page] {
background:var(--ink);
color:white;
}
.intro {
display:block;
margin-bottom:24px;
}
.intro h1 {
font-size:clamp(28px,3.4vw,42px);
}
.intro-copy {
max-width:680px;
}
.architecture .section-heading h2 {
font-size:24px;
}
.architecture-scroll {
overflow-x:auto;
}
.architecture svg {
display:block;
width:100%;
min-width:790px;
font-family:inherit;
font-size:13px;
}
.architecture svg .node-title {
font-size:16px;
font-weight:650;
}
.architecture-component {
cursor:help;
}
.architecture-component rect {
fill:#f0f5eb;
stroke:#cbdcca;
stroke-width:1.5;
}
.architecture-component text {
fill:var(--ink);
text-anchor:middle;
pointer-events:none;
}
.architecture-component.architecture-head rect {
fill:var(--ink);
}
.architecture-component.architecture-head text {
fill:white;
}
.architecture-component.architecture-clue rect {
fill:#fcf0e6;
stroke:#e7cbb7;
}
.architecture-component:hover rect,
.architecture-component:focus rect,
.architecture-component.described rect {
stroke:var(--orange);
stroke-width:3;
}
.architecture-component:focus {
outline:none;
}
#text-editor {
position:fixed;
right:16px;
bottom:16px;
z-index:1000;
width:min(420px,calc(100vw - 32px));
max-height:55vh;
overflow-y:auto;
padding:14px;
border:2px solid var(--orange);
border-radius:9px;
background:var(--white);
box-shadow:0 5px 25px #173e4233;
font-size:13px;
}
#text-editor .editor-toolbar {
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
}
#text-editor button {
padding:5px 10px;
margin-right:5px;
border:1px solid var(--line);
border-radius:5px;
background:var(--mint);
}
#text-editor textarea {
display:block;
width:100%;
margin:10px 0;
padding:8px;
resize:vertical;
font:14px/1.5 system-ui,sans-serif;
}
#text-editor p {
margin:8px 0 0;
}
#edit-message:empty {
display:none;
}
.editing-copy main :is(h1,h2,h3,p,strong,summary,label,button,small,figcaption,svg text):hover {
outline:1px dashed var(--orange);
cursor:text;
}
.text-edit-selected {
outline:2px solid var(--orange)!important;
outline-offset:3px;
}
.architecture-input {
cursor:default;
}
.architecture-input rect {
fill:#f0f5eb;
stroke:#cbdcca;
stroke-width:1.5;
}
.architecture-input.architecture-clue rect {
fill:#fcf0e6;
stroke:#e7cbb7;
}
.architecture-input text {
fill:var(--ink);
text-anchor:middle;
}
.architecture-phrase {
display:flex;
align-items:center;
justify-content:center;
height:100%;
font:14px/1.3 system-ui,sans-serif;
color:var(--ink);
text-align:center;
overflow-y:auto;
overflow-wrap:anywhere;
}
.architecture-description {
min-height:105px;
padding:16px 20px;
border-left:3px solid var(--orange);
background:#f3f2e8;
border-radius:7px;
margin-top:14px;
}
.architecture-description strong {
font-size:15px;
}
.architecture-description p {
margin:6px 0 0;
color:var(--muted);
font-size:14px;
max-width:850px;
}
.workspace {
grid-template-columns:1fr;
gap:18px;
max-width:1000px;
margin:auto;
}
.controls {
position:static;
padding:18px 22px;
}
.picture-toolbar {
display:grid;
grid-template-columns:auto minmax(0,1fr) auto;
gap:12px;
align-items:center;
font-size:14px;
}
#scene-select {
width:100%;
min-width:0;
font-size:13px;
text-overflow:ellipsis;
}
.upload {
font-size:13px;
}
.upload:focus-within {
outline:3px solid var(--orange);
outline-offset:3px;
}
.file-caption {
font-size:12px;
overflow-wrap:anywhere;
margin:8px 0;
}
.picture-options {
margin-top:8px;
}
.scene-navigation {
display:flex;
justify-content:space-between;
align-items:center;
gap:12px;
margin:12px 0;
}
.scene-thumbnails {
display:grid;
grid-template-columns:repeat(6,1fr);
gap:8px;
margin-bottom:12px;
}
.scene-thumbnail {
padding:2px;
border:2px solid transparent;
border-radius:5px;
background:var(--cream);
overflow:hidden;
}
.scene-thumbnail.selected {
border-color:var(--teal);
}
.scene-thumbnail img {
display:block;
width:100%;
aspect-ratio:4/3;
object-fit:contain;
}
.drop-zone {
display:block;
border:1px dashed #bacdc0;
padding:12px;
border-radius:7px;
margin-top:12px;
cursor:pointer;
}
.drop-zone strong,
.drop-zone span {
display:block;
font-size:13px;
}
.drop-zone span {
margin-top:5px;
color:var(--muted);
}
.drop-zone.drag-over {
outline:2px solid var(--teal);
background:var(--mint);
}
.matching-query-form {
display:grid;
grid-template-columns:auto minmax(0,1fr) auto;
gap:12px;
align-items:center;
margin-top:14px;
}
.matching-query-form input {
min-width:0;
padding:11px 12px;
border:1px solid #b9cebd;
border-radius:6px;
background:var(--white);
color:var(--ink);
font:inherit;
}
.matching-query-form .primary {
width:auto;
margin:0;
gap:18px;
font-size:14px;
}
.status {
min-height:0;
margin:6px 0 0;
font-size:12px;
}
.fine,
.compact-details {
font-size:12px;
}
.compact-details {
color:var(--muted);
margin-top:12px;
}
.compact-details[open]>summary {
margin-bottom:12px;
}
.compact-details summary {
color:var(--ink);
}
.exploration {
gap:14px;
}
.view-copy {
margin:0;
padding:0 3px;
font-size:14px;
color:var(--muted);
}
.matching-panel .section-heading {
margin-bottom:5px;
}
.matching-controls {
display:flex;
flex-wrap:wrap;
gap:12px;
align-items:center;
margin:12px 0;
}
.matching-controls label {
display:flex;
gap:8px;
align-items:center;
font-size:13px;
}
.matching-controls .secondary {
font-size:12px;
}
.scene-wrap canvas {
max-height:410px;
}
#matching-canvas {
cursor:crosshair;
}
.selection-key {
margin:9px 0 0;
font-size:12px;
color:var(--muted);
}
.empty-state {
padding:16px;
font-size:13px;
}
.score-flow-card {
margin-top:14px;
padding:14px;
border:1px solid #d8e2d1;
border-radius:8px;
background:#eef3e9;
}
.score-operands {
margin:0 0 12px;
font-size:12px;
color:var(--muted);
}
.number-bridge-flow {
display:grid;
grid-template-columns:minmax(100px,1fr) 16px minmax(130px,175px) 16px minmax(105px,1fr);
gap:8px;
align-items:center;
}
.number-bridge-flow h3 {
font-size:13px;
margin:0 0 6px;
}
.bridge-product-box strong,
.bridge-result strong {
display:block;
font-size:25px;
font-variant-numeric:tabular-nums;
overflow-wrap:anywhere;
}
.bridge-result strong {
color:var(--teal);
white-space:nowrap;
overflow-wrap:normal;
}
.bridge-product-box small,
.bridge-result small {
display:block;
margin-top:5px;
color:var(--muted);
font-size:11px;
}
.bridge-arrow {
color:var(--orange);
font-size:22px;
text-align:center;
}
.sigmoid-figure {
margin:0;
}
.sigmoid-figure figcaption {
text-align:center;
font-size:12px;
font-weight:600;
margin-bottom:4px;
}
.sigmoid-figure svg {
display:block;
width:100%;
max-width:175px;
overflow:visible;
margin:auto;
}
.sigmoid-grid {
stroke:#dce2da;
stroke-width:1;
stroke-dasharray:4 4;
fill:none;
}
.sigmoid-axis {
stroke:#6c8480;
stroke-width:1.5;
fill:none;
}
.sigmoid-tick {
font-size:11px;
fill:var(--muted);
}
.sigmoid-curve {
stroke:var(--teal);
stroke-width:2.5px;
fill:none;
}
.sigmoid-guides {
stroke:var(--orange);
stroke-width:1.5;
stroke-dasharray:5 4;
fill:none;
}
.sigmoid-marker {
fill:var(--orange);
stroke:white;
stroke-width:2;
}
.sigmoid-marker-label {
fill:var(--ink);
font-size:11px;
font-weight:700;
paint-order:stroke;
stroke:#eef3e9;
stroke-width:3px;
stroke-linejoin:round;
}
.selection-caption {
font-size:12px;
margin:10px 0 0;
color:var(--muted);
}
.paired-vectors {
display:grid;
grid-template-columns:1fr 20px 1fr;
gap:10px;
align-items:center;
}
.paired-vectors h3 {
font-size:13px;
}
.vector-strip {
display:grid;
grid-template-columns:repeat(4,1fr);
gap:4px;
}
.vector-component {
text-align:center;
border-radius:3px;
padding:7px 2px;
font-size:11px;
font-variant-numeric:tabular-nums;
}
.bridge-calculation {
overflow-x:auto;
}
.calculation-table {
width:100%;
border-collapse:collapse;
font-size:12px;
font-variant-numeric:tabular-nums;
}
.calculation-table th,
.calculation-table td {
padding:7px;
text-align:right;
border-bottom:1px solid var(--line);
}
.calculation-table th:first-child {
text-align:left;
}
.score-name {
overflow-wrap:anywhere;
}
.score-fill {
display:block;
height:100%;
background:var(--teal);
}
.score-value {
text-align:right;
font-variant-numeric:tabular-nums;
}
.grid-options {
display:flex;
flex-direction:column;
gap:12px;
font-size:12px;
}
.grid-options select {
display:block;
margin-top:6px;
}
.feature-source-row {
display:flex;
gap:12px;
align-items:center;
margin:16px 0;
}
.feature-source-row img {
width:92px;
height:69px;
object-fit:contain;
border-radius:5px;
background:#183b3d;
}
.feature-overview {
display:block;
width:100%;
aspect-ratio:1;
border-radius:5px;
image-rendering:pixelated;
}
.feature-stage h3 {
font-size:14px;
}
.feature-stage p,
.feature-legend {
font-size:12px;
}
.channel-details {
margin-top:12px;
font-size:12px;
}
.channel-details .tiles {
grid-template-columns:repeat(2,1fr);
margin-top:10px;
}
.tile span {
font-size:12px;
background:#173e42cc;
padding:2px 4px;
border-radius:3px;
}
.feature-detail img {
max-width:45%;
}
@media(max-width:760px) {
.topbar {
flex-wrap:wrap;
gap:10px;
}
.screen-navigation button {
padding:8px;
font-size:12px;
}
main {
padding:22px 4vw;
}
.architecture .section-heading {
flex-wrap:wrap;
}
.architecture-description {
min-height:130px;
}
.picture-toolbar {
gap:8px;
grid-template-columns:minmax(0,1fr) auto;
}
.picture-toolbar>label:first-child {
grid-column:1/-1;
}
.scene-thumbnails {
grid-template-columns:repeat(3,1fr);
}
.controls {
padding:15px;
}
.feature-grid {
grid-template-columns:1fr;
}
.feature-stage {
display:grid;
grid-template-columns:minmax(0,1fr) minmax(100px,42%);
gap:5px 16px;
padding:14px;
}
.feature-stage h3,
.feature-stage>p,
.feature-stage .channel-details {
grid-column:1;
}
.feature-stage .feature-overview {
grid-column:2;
grid-row:1/5;
}
}
@media(max-width:480px) {
.number-bridge-flow {
grid-template-columns:minmax(65px,1fr) 9px minmax(95px,1.3fr) 9px minmax(65px,1fr);
gap:3px;
}
.score-flow-card {
padding:9px;
}
.number-bridge-flow h3 {
font-size:11px;
}
.bridge-product-box strong,
.bridge-result strong {
font-size:18px;
}
.bridge-product-box small,
.bridge-result small {
font-size:10px;
}
.bridge-arrow {
font-size:15px;
}
.sigmoid-figure figcaption {
font-size:10px;
}
.matching-query-form {
grid-template-columns:minmax(0,1fr) auto;
gap:8px;
}
.matching-query-form>label {
grid-column:1/-1;
}
.paired-vectors {
grid-template-columns:1fr;
}
.paired-vectors>span {
text-align:center;
}
}
.experiment-model {
padding: 18px 20px;
}
.experiment-model > h2 {
font-size: 16px;
margin: 0 0 15px;
}
.model-explanation {
margin-top: 16px;
padding: 13px 15px;
border-left: 3px solid var(--orange);
background: #f3f2e8;
border-radius: 5px;
}
.model-explanation > strong {
font-size: 15px;
}
.model-explanation .view-copy {
margin: 7px 0;
padding: 0;
color: var(--ink);
font-size: 14px;
}
.view-reading {
margin: 7px 0 0;
color: var(--muted);
font-size: 13px;
}
.pattern-order {
margin: 0 0 14px;
font-size: 13px;
color: var(--muted);
}
.pattern-recipe {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
padding: 12px;
margin-bottom: 14px;
font-size: 12px;
background: #edf2e8;
border-radius: 6px;
text-align: center;
}
.pattern-recipe b {
color: var(--orange);
}
#features > .feature-stage {
position: relative;
}
#features > .feature-stage:not(:last-child)::after {
content: '\2192';
position: absolute;
right: -18px;
top: 48%;
color: var(--muted);
font-size: 18px;
}
@media(max-width:760px) {
#features > .feature-stage:not(:last-child)::after {
content: '\2193';
top: auto;
right: 49%;
bottom: -24px;
}
#features {
gap: 26px;
}
.experiment-model {
padding: 15px;
}
}
.experiment-model svg {
display:block;
width:100%;
min-width:790px;
font-family:inherit;
font-size:13px;
}
.experiment-model svg .node-title {
font-size:16px;
font-weight:650;
}
.architecture-component[data-view] {
cursor:pointer;
}
.architecture-component.model-active rect {
stroke:var(--orange);
stroke-width:4;
}
.experiment-model .architecture-description {
min-height:0;
}
.encoding-flow {
display:grid;
grid-template-columns:minmax(100px,.7fr) 20px minmax(120px,.8fr) 20px minmax(180px,2fr);
align-items:center;
gap:12px;
margin:24px 0;
}
.encoding-flow strong {
display:block;
margin-top:8px;
overflow-wrap:anywhere;
}
.encoding-step {
padding:18px 12px;
border:2px solid var(--orange);
border-radius:8px;
text-align:center;
background:#fcf0e6;
}
.encoding-step small {
font-size:11px;
}
.encoder-values {
display:grid;
grid-template-columns:repeat(4,minmax(0,1fr));
gap:5px;
margin-top:8px;
}
.encoder-number {
font-family:monospace;
font-size:12px;
padding:6px 3px;
text-align:center;
border-radius:4px;
background:#edf2e8;
}
.detection-workbench {
display:grid;
grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
gap:20px;
align-items:start;
}
.detection-picture,
.detection-workbench .score-flow-card {
min-width:0;
}
.detection-workbench .score-flow-card {
margin-top:0;
padding:14px;
}
.detection-workbench .number-bridge-flow {
grid-template-columns:minmax(60px,1fr) 10px minmax(105px,1.25fr) 10px minmax(55px,.8fr);
gap:4px;
}
.detection-workbench .number-bridge-flow h3 {
font-size:12px;
}
.detection-workbench .bridge-product-box strong,
.detection-workbench .bridge-result strong {
font-size:20px;
}
.detection-workbench .number-bridge-flow {
grid-template-columns:minmax(55px,1fr) 10px minmax(90px,1.2fr) 10px minmax(88px,1fr);
}
.detection-workbench .bridge-result strong {
font-size:16px;
}
@media(max-width:480px) {
.detection-workbench .number-bridge-flow {
grid-template-columns:minmax(45px,1fr) 8px minmax(75px,1.2fr) 8px minmax(80px,1fr);
gap:3px;
}
}
@media(max-width:850px) {
.detection-workbench {
grid-template-columns:1fr;
}
.encoding-flow {
grid-template-columns:1fr;
}
.encoding-flow>span {
text-align:center;
transform:rotate(90deg);
}
}
main {
max-width:1200px;
padding-top:28px;
}
.top-note,
.audience-label {
display:none;
}
.screen-navigation {
display:flex;
gap:5px;
margin-left:auto;
}
.screen-navigation button {
border:0;
padding:10px 15px;
border-radius:6px;
background:transparent;
font-size:13px;
}
.screen-navigation button[aria-current=page] {
background:var(--ink);
color:white;
}
.intro {
display:block;
margin-bottom:24px;
}
.intro h1 {
font-size:clamp(28px,3.4vw,42px);
}
.intro-copy {
max-width:680px;
}
.architecture .section-heading h2 {
font-size:24px;
}
.architecture-scroll {
overflow-x:auto;
}
.architecture svg {
display:block;
width:100%;
min-width:790px;
font-family:inherit;
font-size:13px;
}
.architecture svg .node-title {
font-size:16px;
font-weight:650;
}
.architecture-component {
cursor:help;
}
.architecture-component rect {
fill:#f0f5eb;
stroke:#cbdcca;
stroke-width:1.5;
}
.architecture-component text {
fill:var(--ink);
text-anchor:middle;
pointer-events:none;
}
.architecture-component.architecture-head rect {
fill:var(--ink);
}
.architecture-component.architecture-head text {
fill:white;
}
.architecture-component.architecture-clue rect {
fill:#fcf0e6;
stroke:#e7cbb7;
}
.architecture-component:hover rect,
.architecture-component:focus rect,
.architecture-component.described rect {
stroke:var(--orange);
stroke-width:3;
}