lvwerra's picture
lvwerra HF Staff
Stop preselecting a search match, and make the Database jump look like a jump
1fcd3e5 verified
Raw History Blame
7.48 kB
/* Global component styling, paired with the landing graphic's scoped atlas.css. */
.gradio-container { max-width:1280px!important; margin:auto!important; padding:24px 20px 40px!important; color-scheme:light; }
#eukaryotic-atlas { padding:0!important; border:0!important; background:transparent!important; }
.gradio-container .atlas-panel { background:transparent; border:0; border-radius:0; padding:22px 20px; box-shadow:none; gap:16px; margin-top:0; }
.gradio-container .atlas-panel + .atlas-panel { border-top:1px solid #e3e9dc; }
.workspace-heading { display:flex; align-items:flex-start; gap:14px; padding:0 0 4px; }
.workspace-step { width:32px; height:32px; border:1px solid #cdddc8; background:#eaf1e2; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; font:500 11px Arial,sans-serif; color:#527261; margin-top:4px; }
.workspace-heading h2 { margin:0 0 8px; font:400 32px/1.15 Georgia,'Times New Roman',serif; letter-spacing:-.7px; color:#173c30; }
.workspace-heading p { margin:0; color:#647467; font:13px/1.6 Arial,Helvetica,sans-serif; }
.gradio-container .quiet-note { color:#647467; font-size:12px; line-height:1.7; }
.gradio-container .quiet-note p { color:#647467; font-size:12px; line-height:1.7; }
.gradio-container .scope-note { padding:11px 15px; border:1px solid #e0e6d8; border-radius:12px; background:#edf3e7; }
.gradio-container .scope-note p { margin:0; }
.gradio-container .action-button { align-self:flex-end; min-height:46px; }
/* The jump out of the atlas should read as the one action on the page, not as
another quiet control among the disclosures. */
.gradio-container #atlas-open-database { align-self:stretch; width:100%; margin-top:4px; background:#1f5740; border-color:#1f5740; color:#f6faf3; font:600 15px/1.3 Arial,Helvetica,sans-serif; letter-spacing:.2px; }
.gradio-container #atlas-open-database:hover { background:#143c2b; border-color:#143c2b; }
.gradio-container #atlas-open-database[disabled], .gradio-container #atlas-open-database:disabled { background:#e7eee0; border-color:#dbe3d3; color:#7d8c79; }
.gradio-container .atlas-panel > .form { border:0; background:transparent; box-shadow:none; }
.gradio-container .atlas-panel .form { border-radius:14px; }
.gradio-container .atlas-panel button { transition:background-color .15s, border-color .15s; }
.gradio-container button:focus-visible,.gradio-container a:focus-visible { outline:2px solid #327555; outline-offset:3px; }
.gradio-container .prose a { text-underline-offset:3px; }
.gradio-container .prose code { color:#315641; }
/* Gradio's block padding sat around the whole disclosure, so a one-line title
occupied 76px. The frame is the button; the body carries its own padding. */
.gradio-container .atlas-disclosure { border:1px solid #e3e9dc; border-radius:12px; box-shadow:none; margin-top:8px; padding:0; background:#fbfcf7; }
.gradio-container .atlas-disclosure > button.label-wrap { padding:11px 14px; min-height:0; }
.gradio-container .atlas-disclosure > button.label-wrap > span:first-child { font:600 14px/1.4 Arial,Helvetica,sans-serif; color:#2a4a38; }
.gradio-container .atlas-disclosure > button.label-wrap > span.icon { font-size:9px; line-height:1; color:#8c9a86; }
.gradio-container .atlas-disclosure > button.label-wrap + * { padding:0 14px 14px; }
.lineage-query textarea, .lineage-query input { font-size:14px; }
.lineage-matches .wrap { display:flex; flex-direction:column; gap:2px; }
.lineage-matches label { border-radius:8px; padding:7px 10px; font-size:13px; }
.lineage-matches label:hover { background:#eef3e9; }
#annotation-plot { border:1px solid #e0e6d8; background:#fffefa; border-radius:16px; overflow:hidden; }
#annotation-plot .plot-container { background:#fffefa; }
#annotation-examples { font-size:12px; }
#annotation-examples .label { color:#647467; }
#annotation-results { border-radius:14px; }
.workspace-footer { border-top:1px solid #e0e6d8; padding-top:18px; margin-top:6px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font:11px/1.6 Arial,sans-serif; color:#75836f; }
.workspace-footer a { color:#315641; text-decoration:none; }
.workspace-footer a:hover { text-decoration:underline; }
@media(max-width:700px) {
.gradio-container { padding:12px 10px 24px!important; }
.gradio-container .atlas-panel { padding:18px 12px; }
#atlas-navigation { border-radius:18px; padding:8px 8px 0; }
.workspace-heading h2 { font-size:28px; }
.workspace-heading { gap:10px; }
.gradio-container .action-button { width:100%; }
}
@media(prefers-reduced-motion:reduce) { .gradio-container .atlas-panel button { transition:none; } }
/* Full-width navigation: one equal segment for each view. */
.gradio-container { width:100%!important; min-width:0!important; box-sizing:border-box; }
/* The navigation is the card: the two views sit inside one curved boundary and
the control reads as a toggle rather than a pair of tabs. */
#atlas-navigation { border:1px solid #e0e6d8; background:#f7f8f0; border-radius:24px; padding:12px 12px 0; min-width:0; max-width:100%; box-shadow:0 12px 50px #234b2910; }
#atlas-navigation > .tab-wrapper { width:100%; height:auto!important; min-height:0; border:0!important; box-shadow:none!important; margin:0; padding:0; }
#atlas-navigation > .tab-wrapper > .tab-container { display:grid!important; grid-template-columns:1fr 1fr; gap:4px; width:100%!important; height:auto!important; box-sizing:border-box; border:0!important; border-radius:14px; padding:4px; margin:0; background:#e7eee0; box-shadow:none!important; }
#atlas-navigation > .tab-wrapper > .tab-container > button { display:flex!important; align-items:center; justify-content:center; width:100%; min-width:0; min-height:40px; height:auto!important; box-sizing:border-box; padding:9px 12px; margin:0!important; border:0!important; border-radius:11px; box-shadow:none!important; background:transparent; color:#4c6450; font:600 14px/1.3 Arial,Helvetica,sans-serif; white-space:nowrap; text-align:center; text-decoration:none!important; transition:background-color .15s, color .15s; }
#atlas-navigation > .tab-wrapper > .tab-container > button:hover { background:#dce6d4; color:#173c30; }
#atlas-navigation > .tab-wrapper > .tab-container > button[aria-selected="true"] { background:#1f5740; color:#f6faf3; }
#atlas-navigation > .tab-wrapper::before, #atlas-navigation > .tab-wrapper::after,
#atlas-navigation > .tab-wrapper > .tab-container::before, #atlas-navigation > .tab-wrapper > .tab-container::after,
#atlas-navigation > .tab-wrapper > .tab-container > button::before, #atlas-navigation > .tab-wrapper > .tab-container > button::after { content:none!important; display:none!important; }
#atlas-navigation > .tab-wrapper > .overflow-menu { display:none!important; }
#atlas-overview, #atlas-database { border:0; background:transparent; padding:0; min-width:0; max-width:100%; }
.database-heading { padding:14px 4px 12px; }
.database-heading .database-eyebrow { color:#647467; font:11px/1.4 Arial,Helvetica,sans-serif; letter-spacing:2px; margin:0 0 12px; }
.database-heading h1 { color:#173c30; font:400 clamp(32px,5vw,48px)/1.1 Georgia,'Times New Roman',serif; letter-spacing:-1px; margin:0 0 12px; }
.database-heading p { color:#647467; font:14px/1.6 Arial,Helvetica,sans-serif; margin:0; }
@media(max-width:700px) {
#atlas-navigation > .tab-wrapper > .tab-container { gap:18px; }
#atlas-navigation > .tab-wrapper > .tab-container > button { font-size:13px; padding:0 1px 9px; }
}