token-visualiser / viewer.css
jejunepixels's picture
Shared start page, workspace and change-model button
603821f verified
Raw History Blame Contribute Delete
1.67 kB
/* Full viewport chart with an independently scrolling overlay on the left.
The round return button is styled in brand.css (shared-ui/). */
[data-testid="stMain"] { overflow: hidden; background: #080f18; }
[data-testid="stMainBlockContainer"] { padding: 0; max-width: none; }
.st-key-chart_pane {
position: fixed;
inset: 0;
width: auto !important;
height: auto !important;
min-height: 0;
padding: 0;
overflow: hidden;
border: 0;
border-radius: 0;
background: #080f18;
z-index: 0;
}
.st-key-controls_pane {
position: fixed;
top: 1rem;
left: 1rem;
width: 340px !important;
max-width: calc(100vw - 2rem);
max-height: calc(100dvh - 2rem);
height: auto !important;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: contain;
padding: .35rem;
border: 1px solid #6d9f9b66;
border-radius: 18px;
background: #eaf2eff5;
color: #203c3a;
box-shadow: 0 12px 50px #0006;
backdrop-filter: blur(18px);
z-index: 5;
}
.st-key-controls_pane:not(:has(details[open])) { width: 200px !important; }
.st-key-controls_pane > div { min-height: 0; }
.st-key-controls_pane > div > [data-testid="stExpander"] { border: 0; background: transparent; }
.st-key-controls_pane [data-testid="stSubheader"] { padding-top: 0; }
.st-key-controls_pane [data-testid="stMetricValue"] { font-size: 1.3rem; }
.st-key-controls_pane [data-testid="stVerticalBlockBorderWrapper"] { background: #f4f8f6; }
@media (max-width: 640px) {
.st-key-controls_pane {
top: .5rem;
left: .5rem;
max-width: calc(100vw - 1rem);
max-height: calc(100dvh - 4.5rem);
}
}