| /* HugeGraph homepage: preserve the original product copy and isometric brand | |
| * artwork while using OINK's accessible navigation and landing primitives. | |
| * `params.brand_color` publishes the project accent as this CSS custom | |
| * property in hooks/head-end.html. */ | |
| .td-home { | |
| /* Keep OINK's display face for headings, but restore the original site's | |
| * native system stack for body copy, links, buttons, and navigation. */ | |
| --td-ui-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, | |
| "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", sans-serif, | |
| "Apple Color Emoji", "Segoe UI Emoji"; | |
| --td-body-font-family: var(--td-ui-font-family); | |
| --td-heading-font-family: "Inter", var(--td-ui-font-family); | |
| } | |
| .td-site-header--wide > .td-site-container { | |
| max-width: none; | |
| padding-inline: clamp(16px, 1.5vw, 28px); | |
| } | |
| .td-home > .td-site-header { | |
| position: fixed; | |
| inset-block-start: 0; | |
| inset-inline: 0; | |
| z-index: 100; | |
| width: 100%; | |
| border-block-end: 0; | |
| background: transparent; | |
| color: var(--hg-home-nav-ink, #fff); | |
| -webkit-backdrop-filter: none; | |
| backdrop-filter: none; | |
| transition: background-color 180ms ease, box-shadow 180ms ease, -webkit-backdrop-filter 180ms ease, backdrop-filter 180ms ease; | |
| } | |
| .td-home > .td-site-header::after { | |
| display: none; | |
| } | |
| .td-home > .td-site-header.td-scrolled { | |
| background: color-mix(in srgb, var(--hg-theme-color) 96%, transparent); | |
| box-shadow: 0 6px 22px rgba(20, 17, 73, 0.24); | |
| -webkit-backdrop-filter: blur(10px); | |
| backdrop-filter: blur(10px); | |
| } | |
| .td-home > .td-site-header .td-nav-title { | |
| background: none; | |
| color: var(--hg-home-nav-ink, #fff); | |
| font-family: var(--td-ui-font-family); | |
| font-size: 1.08rem; | |
| font-weight: 700; | |
| letter-spacing: 0; | |
| -webkit-text-fill-color: currentColor; | |
| } | |
| .td-home > .td-site-header .td-nav-brand, | |
| .td-home > .td-site-header .td-nav-menu-zone > .nav-link, | |
| .td-home > .td-site-header .td-nav-menu-zone .td-nav-menu > .nav-link, | |
| .td-home > .td-site-header .td-nav-search-box, | |
| .td-home > .td-site-header .td-nav-version-menu > .td-nav-util, | |
| .td-home > .td-site-header .td-site-nav__language > .td-language-selector__trigger, | |
| .td-home > .td-site-header .td-nav-appearance > .td-nav-util, | |
| .td-home > .td-site-header .td-shell-keyboard__trigger, | |
| .td-home > .td-site-header .td-nav-overflow__trigger, | |
| .td-home > .td-site-header .td-nav-github, | |
| .td-home > .td-site-header .td-site-drawer-toggle { | |
| color: var(--hg-home-nav-ink, #fff); | |
| } | |
| .td-home > .td-site-header .td-nav-search-box { | |
| border-color: color-mix(in srgb, currentColor 38%, transparent); | |
| background: var(--hg-home-nav-search, rgba(15, 24, 92, 0.2)); | |
| } | |
| .td-home > .td-site-header .td-nav-search-box kbd { | |
| border-color: color-mix(in srgb, currentColor 32%, transparent); | |
| background: rgba(255, 255, 255, 0.1); | |
| color: var(--hg-home-nav-ink, #fff); | |
| } | |
| .td-home > .td-site-header .td-nav-brand:hover, | |
| .td-home > .td-site-header .td-nav-brand:focus-visible, | |
| .td-home > .td-site-header .td-nav-menu-zone > .nav-link:hover, | |
| .td-home > .td-site-header .td-nav-menu-zone > .nav-link:focus-visible, | |
| .td-home > .td-site-header .td-nav-menu-zone .td-nav-menu > .nav-link:hover, | |
| .td-home > .td-site-header .td-nav-menu-zone .td-nav-menu > .nav-link:focus-visible, | |
| .td-home > .td-site-header .td-nav-menu-zone .td-nav-menu > .nav-link[aria-expanded='true'], | |
| .td-home > .td-site-header .td-nav-search-box:hover, | |
| .td-home > .td-site-header .td-nav-search-box:focus-visible, | |
| .td-home > .td-site-header .td-nav-util:hover, | |
| .td-home > .td-site-header .td-nav-util:focus-visible, | |
| .td-home > .td-site-header .td-nav-overflow__trigger:hover, | |
| .td-home > .td-site-header .td-nav-github:hover, | |
| .td-home > .td-site-header .td-nav-overflow__trigger:focus-visible, | |
| .td-home > .td-site-header .td-nav-github:focus-visible, | |
| .td-home > .td-site-header .td-site-drawer-toggle:hover, | |
| .td-home > .td-site-header .td-site-drawer-toggle:focus-visible { | |
| background: var(--hg-home-nav-hover, rgba(15, 24, 92, 0.28)); | |
| color: var(--hg-home-nav-ink, #fff); | |
| } | |
| /* Keep global help with the other persistent header utilities. The OINK | |
| * shortcut panel is reused intact; only its trigger and viewport anchoring are | |
| * adapted from the former footer placement. */ | |
| .td-site-header .td-shell-keyboard__trigger { | |
| width: 34px; | |
| height: 34px; | |
| padding: 0 8px; | |
| color: var(--bs-tertiary-color); | |
| } | |
| .td-site-header .td-shell-keyboard-help { | |
| width: min(54rem, calc(100vw - 2rem)); | |
| white-space: normal; | |
| max-height: calc(100dvh - 5rem); | |
| gap: 0; | |
| padding: 0; | |
| overflow-y: auto; | |
| inset-inline-start: auto; | |
| inset-inline-end: 0; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero { | |
| min-height: clamp(650px, 100svh, 780px); | |
| padding: clamp(108px, calc(7vh + 50px), 132px) 0 24px; | |
| align-items: flex-start; | |
| background-color: #356fe8; | |
| background-image: url("/img/home/hugegraph-hero-1920.jpg"); | |
| background-position: center bottom; | |
| background-repeat: no-repeat; | |
| background-size: cover; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__glow { | |
| display: none; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__copy { | |
| max-width: 1040px; | |
| text-shadow: 0 1px 3px rgba(11, 25, 67, 0.48); | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__copy > .td-landing-hero__title { | |
| order: 0; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__copy > .td-landing-hero__actions { | |
| order: 1; | |
| margin: 18px 0 28px; | |
| display: inline-grid; | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| max-width: 100%; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__copy > .td-landing-hero__lead { | |
| order: 2; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__copy > .td-landing-hero__note { | |
| order: 3; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__title { | |
| margin-bottom: 0; | |
| color: #fff; | |
| font-size: clamp(2.8rem, 4.6vw, 4.35rem); | |
| line-height: 1.04; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__lead, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__note { | |
| display: block; | |
| max-width: 1040px; | |
| margin: 0 auto 10px; | |
| color: #fff; | |
| font-family: var(--bs-body-font-family); | |
| font-size: clamp(1rem, 1.35vw, 1.16rem); | |
| font-weight: 500; | |
| letter-spacing: 0; | |
| line-height: 1.55; | |
| text-wrap: balance; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__lead a, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__note a { | |
| color: inherit; | |
| text-decoration-color: rgba(255, 255, 255, 0.72); | |
| text-decoration-line: underline; | |
| text-decoration-thickness: 1px; | |
| text-underline-offset: 0.16em; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__lead a:hover, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__note a:hover { | |
| text-decoration-thickness: 2px; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__note i { | |
| display: none; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-button { | |
| min-height: 48px; | |
| padding: 13px 25px; | |
| border-radius: 999px; | |
| box-shadow: 0 8px 24px rgba(20, 17, 73, 0.28); | |
| text-shadow: none; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-button--primary { | |
| background: #5930b8; | |
| color: #fff; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-button--primary:hover { | |
| background: #48239e; | |
| color: #fff; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-button--ghost { | |
| border-color: transparent; | |
| background: #ffa630; | |
| color: #fff; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-button--ghost:hover { | |
| border-color: transparent; | |
| background: #e38100; | |
| color: #fff; | |
| } | |
| .td-home .td-landing-landing :where(p, li) a:not(.td-landing-button) { | |
| color: #3176d9; | |
| } | |
| .td-home .td-landing-landing :where(p, li) a:not(.td-landing-button):hover, .td-home .td-landing-landing :where(p, li) a:not(.td-landing-button):focus-visible { | |
| color: #1e53a0; | |
| } | |
| [data-bs-theme="dark"] | |
| .td-home | |
| .td-landing-landing | |
| :where(p, li) | |
| a:not(.td-landing-button) { | |
| color: #78b7ff; | |
| } | |
| [data-bs-theme="dark"] | |
| .td-home | |
| .td-landing-landing | |
| :where(p, li) | |
| a:not(.td-landing-button):hover, [data-bs-theme="dark"] | |
| .td-home | |
| .td-landing-landing | |
| :where(p, li) | |
| a:not(.td-landing-button):focus-visible { | |
| color: #a8d0ff; | |
| } | |
| /* Restore the solid purple Docs banner from the previous site while keeping | |
| * OINK's sticky header, search, version, language, theme, and help controls. */ | |
| .td-shell-chrome .td-site-header { | |
| border-block-end-color: rgba(255, 255, 255, 0.22); | |
| background: var(--hg-theme-color); | |
| color: #fff; | |
| -webkit-backdrop-filter: none; | |
| backdrop-filter: none; | |
| } | |
| .td-shell-chrome .td-site-header .td-nav-title { | |
| color: #fff; | |
| -webkit-text-fill-color: #fff; | |
| } | |
| .td-shell-chrome .td-site-header .td-nav-brand, | |
| .td-shell-chrome .td-site-header .td-nav-menu-zone > .nav-link, | |
| .td-shell-chrome .td-site-header .td-nav-menu-zone .td-nav-menu > .nav-link, | |
| .td-shell-chrome .td-site-header .td-nav-version-menu > .td-nav-util, | |
| .td-shell-chrome .td-site-header .td-site-nav__language > .td-language-selector__trigger, | |
| .td-shell-chrome .td-site-header .td-nav-appearance > .td-nav-util, | |
| .td-shell-chrome .td-site-header .td-shell-keyboard__trigger, | |
| .td-shell-chrome .td-site-header .td-nav-overflow__trigger, | |
| .td-shell-chrome .td-site-header .td-nav-github, | |
| .td-shell-chrome .td-site-header .td-site-drawer-toggle { | |
| color: #fff; | |
| } | |
| .td-shell-chrome .td-site-header .td-nav-search-box { | |
| border-color: rgba(255, 255, 255, 0.4); | |
| background: rgba(20, 17, 73, 0.18); | |
| color: #fff; | |
| } | |
| .td-shell-chrome .td-site-header .td-nav-search-box kbd { | |
| border-color: rgba(255, 255, 255, 0.32); | |
| background: rgba(255, 255, 255, 0.1); | |
| color: #fff; | |
| } | |
| .td-shell-chrome .td-site-header .td-nav-brand:hover, | |
| .td-shell-chrome .td-site-header .td-nav-brand:focus-visible, | |
| .td-shell-chrome .td-site-header .td-nav-menu-zone > .nav-link:hover, | |
| .td-shell-chrome .td-site-header .td-nav-menu-zone > .nav-link:focus-visible, | |
| .td-shell-chrome .td-site-header .td-nav-menu-zone .td-nav-menu > .nav-link:hover, | |
| .td-shell-chrome .td-site-header .td-nav-menu-zone .td-nav-menu > .nav-link:focus-visible, | |
| .td-shell-chrome .td-site-header .td-nav-menu-zone .td-nav-menu > .nav-link[aria-expanded='true'], | |
| .td-shell-chrome .td-site-header .td-nav-search-box:hover, | |
| .td-shell-chrome .td-site-header .td-nav-search-box:focus-visible, | |
| .td-shell-chrome .td-site-header .td-nav-util:hover, | |
| .td-shell-chrome .td-site-header .td-nav-util:focus-visible, | |
| .td-shell-chrome .td-site-header .td-nav-overflow__trigger:hover, | |
| .td-shell-chrome .td-site-header .td-nav-github:hover, | |
| .td-shell-chrome .td-site-header .td-nav-overflow__trigger:focus-visible, | |
| .td-shell-chrome .td-site-header .td-nav-github:focus-visible, | |
| .td-shell-chrome .td-site-header .td-site-drawer-toggle:hover, | |
| .td-shell-chrome .td-site-header .td-site-drawer-toggle:focus-visible { | |
| background: rgba(20, 17, 73, 0.24); | |
| color: #fff; | |
| } | |
| /* The header uses white controls on purple, but the language popover uses | |
| * OINK's theme-colored surface. Keep its text independent of the header and | |
| * let the outer utility provide the trigger's hover background. */ | |
| .td-home > .td-site-header .td-site-nav__language > ul, | |
| .td-shell-chrome .td-site-header .td-site-nav__language > ul { | |
| color: var(--bs-body-color); | |
| } | |
| .td-home > .td-site-header .td-site-nav__language > .td-language-selector__trigger:hover, | |
| .td-home > .td-site-header .td-site-nav__language > .td-language-selector__trigger:focus-visible, | |
| .td-shell-chrome .td-site-header .td-site-nav__language > .td-language-selector__trigger:hover, | |
| .td-shell-chrome .td-site-header .td-site-nav__language > .td-language-selector__trigger:focus-visible { | |
| background: transparent; | |
| } | |
| /* The desktop Docs sidebar deliberately overlays the navbar's left edge. Give | |
| * its identity row the same band treatment so the two structural regions read | |
| * as one header, while the drawer keeps its light mobile surface. */ | |
| @media (min-width: 768px) { | |
| .td-shell-chrome--navbar .td-shell-sidebar__brand-row { | |
| min-height: var(--td-shell-nav-h); | |
| margin: calc(-1 * 1rem) calc(-1 * 1rem) 0; | |
| padding-inline: 1rem; | |
| border-block-end: 1px solid rgba(255, 255, 255, 0.22); | |
| background: var(--hg-theme-color); | |
| color: #fff; | |
| box-shadow: 1px 0 var(--hg-theme-color); | |
| } | |
| .td-shell-chrome--navbar .td-shell-sidebar__brand-row .td-shell-wordmark { | |
| background: none; | |
| color: #fff; | |
| -webkit-text-fill-color: #fff; | |
| } | |
| .td-shell-chrome--navbar .td-shell-sidebar__brand-row .td-shell-iconbtn { | |
| color: #fff; | |
| } | |
| .td-shell-chrome--navbar .td-shell-sidebar__brand-row .td-shell-iconbtn:hover, .td-shell-chrome--navbar .td-shell-sidebar__brand-row .td-shell-iconbtn:focus-visible { | |
| background: rgba(20, 17, 73, 0.24); | |
| color: #fff; | |
| } | |
| /* A hover preview is a continuation of the global header, rather than a | |
| * second offset card. Align its panel to the same top and left edges so the | |
| * brand row and navbar read as one surface while the normal sidebar keeps | |
| * its authored overlay geometry. */ | |
| [data-td-shell-sidebar='collapsed'] | |
| .td-shell-sidebar--overlay | |
| .td-shell-sidebar__panel { | |
| inset-block-start: 0; | |
| transform: translateX(0); | |
| border-block-start: 0; | |
| border-start-start-radius: 0; | |
| border-start-end-radius: 0; | |
| } | |
| [dir='rtl'][data-td-shell-sidebar='collapsed'] | |
| .td-shell-sidebar--overlay | |
| .td-shell-sidebar__panel { | |
| transform: translateX(0); | |
| } | |
| } | |
| @media (forced-colors: active) and (min-width: 768px) { | |
| .td-shell-chrome--navbar .td-shell-sidebar__brand-row { | |
| border-color: CanvasText; | |
| background: Canvas; | |
| color: CanvasText; | |
| } | |
| .td-shell-chrome--navbar .td-shell-sidebar__brand-row .td-shell-wordmark, | |
| .td-shell-chrome--navbar .td-shell-sidebar__brand-row .td-shell-iconbtn { | |
| color: CanvasText; | |
| -webkit-text-fill-color: CanvasText; | |
| } | |
| } | |
| .td-home .hg-home-introduction { | |
| padding-block: clamp(46px, 6vw, 76px); | |
| background: color-mix(in srgb, var(--td-blue) 8%, var(--bs-body-bg)); | |
| } | |
| .td-home .hg-home-introduction .td-landing-markdown { | |
| max-width: 1040px; | |
| margin: 0 auto; | |
| color: var(--td-ink); | |
| font-size: clamp(1.02rem, 1.4vw, 1.16rem); | |
| line-height: 1.75; | |
| text-align: center; | |
| } | |
| .td-home .hg-home-introduction .td-landing-markdown p:last-child { | |
| margin-bottom: 0; | |
| } | |
| /* Use the native button surface and hover treatment with community-specific colors. */ | |
| .hg-community-hero .td-landing-button--primary { | |
| --td-primary-bg: #cfdcca; | |
| --td-primary-bg-hover: #bbcfb6; | |
| --td-primary-fg: #253b2d; | |
| --td-control-border: #718772; | |
| } | |
| .hg-community-hero .td-landing-button--primary:focus-visible { | |
| outline-color: currentColor; | |
| } | |
| [data-bs-theme="dark"] .hg-community-hero .td-landing-button--primary { | |
| --td-primary-bg: #354b3f; | |
| --td-primary-bg-hover: #405b4b; | |
| --td-primary-fg: #e4eee1; | |
| } | |
| .td-home .hg-home-capabilities, | |
| .td-home .hg-home-community { | |
| padding-block: clamp(54px, 6vw, 82px); | |
| } | |
| .td-home .hg-home-capabilities .td-landing-card, | |
| .td-home .hg-home-community .td-landing-card { | |
| height: 100%; | |
| } | |
| .td-home .hg-home-band { | |
| padding-block: clamp(42px, 5vw, 66px); | |
| background: color-mix(in srgb, var(--td-blue) 10%, var(--bs-body-bg)); | |
| text-align: center; | |
| } | |
| .td-home .hg-home-band .td-landing-section__head { | |
| margin: 0; | |
| } | |
| .td-home .hg-home-band .td-landing-section__head h2 { | |
| font-size: clamp(1.75rem, 3.4vw, 2.6rem); | |
| } | |
| .td-home .hg-home-welcome { | |
| background: color-mix(in srgb, var(--td-copper) 9%, var(--bs-body-bg)); | |
| } | |
| .hg-asf-footer { | |
| border-block-start: 1px dashed var(--bs-border-color); | |
| background: var(--bs-body-bg); | |
| color: var(--bs-secondary-color); | |
| } | |
| .hg-asf-footer__container { | |
| display: grid; | |
| grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.7fr); | |
| align-items: center; | |
| gap: clamp(1.5rem, 4vw, 4rem); | |
| max-width: 1440px; | |
| margin: 0 auto; | |
| padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 5vw, 4.5rem); | |
| } | |
| .hg-asf-footer__brand { | |
| text-align: center; | |
| } | |
| .hg-asf-footer__brand > a { | |
| display: inline-block; | |
| } | |
| .hg-asf-footer__brand img { | |
| display: block; | |
| width: 100%; | |
| max-width: 260px; | |
| height: auto; | |
| margin: 0 auto 0.7rem; | |
| } | |
| .hg-asf-footer__brand ul { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| gap: 0.25rem 1rem; | |
| margin: 0; | |
| padding: 0; | |
| list-style: none; | |
| } | |
| .hg-asf-footer a { | |
| color: var(--bs-body-color); | |
| text-decoration-color: currentColor; | |
| text-underline-offset: 0.16em; | |
| } | |
| .hg-asf-footer a:hover, .hg-asf-footer a:focus-visible { | |
| color: var(--bs-emphasis-color); | |
| text-decoration: underline; | |
| text-decoration-thickness: 2px; | |
| } | |
| .hg-asf-footer__legal { | |
| font-size: clamp(0.9rem, 1.25vw, 1.02rem); | |
| line-height: 1.5; | |
| text-align: center; | |
| } | |
| .hg-asf-footer__legal a { | |
| text-decoration-line: underline; | |
| } | |
| .hg-asf-footer__legal p { | |
| margin: 0; | |
| } | |
| .hg-asf-footer__legal p + p { | |
| margin-top: 0.6rem; | |
| } | |
| [data-bs-theme="dark"] .hg-asf-footer__brand img { | |
| filter: brightness(1.5); | |
| } | |
| body:has(.hg-ask-ai-launcher:not([hidden])) .hg-asf-footer__legal { | |
| padding-inline-end: 3.5rem; | |
| } | |
| .hg-shell-mobile-utils { | |
| display: none; | |
| } | |
| .hg-version-overflow { | |
| color: var(--bs-body-color); | |
| } | |
| .hg-version-overflow summary { | |
| cursor: pointer; | |
| padding: .5rem .75rem; | |
| list-style: none; | |
| } | |
| .hg-version-overflow summary::-webkit-details-marker { | |
| display: none; | |
| } | |
| .hg-version-overflow summary:focus-visible { | |
| outline: 2px solid var(--bs-primary); | |
| } | |
| .hg-search-retry { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 0.75rem; | |
| margin: 0.5rem 0.75rem 0.75rem; | |
| padding: 0.7rem 0.8rem; | |
| border: 1px solid var(--bs-border-color); | |
| border-radius: 0.6rem; | |
| background: var(--bs-tertiary-bg); | |
| color: var(--bs-secondary-color); | |
| font-size: 0.84rem; | |
| } | |
| .hg-ask-ai-launcher { | |
| position: fixed; | |
| z-index: 1040; | |
| inset-inline-end: max(1rem, env(safe-area-inset-right)); | |
| /* Keep the launcher clear of the footer while preserving the safe-area | |
| * inset on mobile. The offset is intentionally site-owned so OINK upgrades | |
| * do not require changing the widget or theme source. */ | |
| inset-block-end: calc(max(1rem, env(safe-area-inset-bottom)) + 4rem); | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.45rem; | |
| min-height: 44px; | |
| padding: 0.65rem 0.9rem; | |
| border: 1px solid color-mix(in srgb, var(--hg-theme-color) 72%, #fff); | |
| border-radius: 999px; | |
| background: var(--hg-theme-color); | |
| box-shadow: 0 8px 24px rgba(20, 17, 73, 0.24); | |
| color: #fff; | |
| font: 600 0.86rem/1 var(--td-ui-font-family); | |
| } | |
| .hg-ask-ai-launcher[hidden] { | |
| display: none; | |
| } | |
| .hg-ask-ai-launcher:hover, .hg-ask-ai-launcher:focus-visible { | |
| background: color-mix(in srgb, var(--hg-theme-color) 86%, #000); | |
| color: #fff; | |
| } | |
| .hg-ask-ai-launcher[data-hg-ai-state='error'] { | |
| border-style: dashed; | |
| } | |
| .hg-ask-ai-launcher[aria-busy='true'] { | |
| cursor: wait; | |
| opacity: 0.72; | |
| } | |
| .hg-ai-status:not(:empty) { | |
| position: fixed; | |
| z-index: 1039; | |
| inset-inline-end: max(1rem, env(safe-area-inset-right)); | |
| inset-block-end: calc(max(1rem, env(safe-area-inset-bottom)) + 6.8rem); | |
| width: min(18rem, calc(100vw - 2rem)); | |
| padding: 0.55rem 0.7rem; | |
| border: 1px solid var(--bs-border-color); | |
| border-radius: 0.55rem; | |
| background: var(--bs-body-bg); | |
| box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); | |
| color: var(--bs-body-color); | |
| font-size: 0.78rem; | |
| } | |
| @media (max-width: 767.98px) { | |
| .td-shell-chrome .td-site-nav__menu-toggle { | |
| border: 1px solid rgba(255, 255, 255, 0.42); | |
| background: rgba(20, 17, 73, 0.22); | |
| color: #fff; | |
| } | |
| .hg-ask-ai-launcher { | |
| min-width: 44px; | |
| min-height: 44px; | |
| padding: 0.65rem; | |
| } | |
| .hg-ask-ai-launcher span { | |
| width: 1px !important; | |
| height: 1px !important; | |
| padding: 0 !important; | |
| margin: -1px !important; | |
| overflow: hidden !important; | |
| clip: rect(0, 0, 0, 0) !important; | |
| white-space: nowrap !important; | |
| border: 0 !important; | |
| } | |
| .hg-ask-ai-launcher span:not(caption) { | |
| position: absolute !important; | |
| } | |
| .hg-ask-ai-launcher span * { | |
| overflow: hidden !important; | |
| } | |
| .hg-shell-mobile-utils { | |
| display: grid; | |
| gap: 0.75rem; | |
| padding: 0.9rem; | |
| border-block-start: 1px solid var(--bs-border-color); | |
| background: var(--bs-body-bg); | |
| } | |
| .hg-shell-mobile-utils__group { | |
| display: grid; | |
| gap: 0.35rem; | |
| } | |
| .hg-shell-mobile-utils__group > strong { | |
| color: var(--bs-tertiary-color); | |
| font-family: var(--td-meta-font-family); | |
| font-size: 0.68rem; | |
| letter-spacing: 0.08em; | |
| text-transform: uppercase; | |
| } | |
| .hg-shell-mobile-utils__links { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 0.35rem; | |
| } | |
| .hg-shell-mobile-utils__links > a, | |
| .hg-shell-mobile-utils__links > button, | |
| .hg-shell-mobile-utils__links > .hg-version-overflow > a { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.4rem; | |
| min-height: 36px; | |
| padding: 0.4rem 0.6rem; | |
| border: 0; | |
| border-radius: 0.5rem; | |
| background: var(--bs-tertiary-bg); | |
| color: var(--bs-body-color); | |
| font-size: 0.8rem; | |
| text-decoration: none; | |
| } | |
| .hg-shell-mobile-utils__links > a[aria-current='page'], | |
| .hg-shell-mobile-utils__links > .hg-version-overflow > a[aria-current='page'], | |
| .hg-shell-mobile-utils__links > button[aria-pressed='true'] { | |
| background: var(--bs-primary-bg-subtle); | |
| color: var(--bs-primary-text-emphasis); | |
| } | |
| .hg-shell-mobile-utils__links > .hg-version-overflow > a { | |
| margin-inline-end: 0.35rem; | |
| margin-block-start: 0.35rem; | |
| } | |
| .hg-shell-mobile-utils__github { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.45rem; | |
| min-height: 36px; | |
| color: var(--bs-body-color); | |
| font-size: 0.82rem; | |
| text-decoration: none; | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .hg-asf-footer__container { | |
| grid-template-columns: minmax(0, 1fr); | |
| gap: 2rem; | |
| } | |
| .hg-asf-footer__brand img { | |
| width: 76vw; | |
| max-width: 220px; | |
| } | |
| } | |
| @media (max-width: 900px) { | |
| .td-default main .td-landing-hero.hg-home-hero { | |
| min-height: 720px; | |
| padding-top: 102px; | |
| background-position: center bottom; | |
| background-image: url("/img/home/hugegraph-hero-960.jpg"); | |
| background-size: auto 100%; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__copy { | |
| max-width: 680px; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__lead, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__note { | |
| max-width: 680px; | |
| } | |
| } | |
| @media (max-width: 575.98px) { | |
| .td-default main .td-landing-hero.hg-home-hero { | |
| min-height: 760px; | |
| padding: 88px 0 20px; | |
| background-position: 50% bottom; | |
| background-size: auto 74%; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__copy { | |
| align-items: stretch; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__title { | |
| font-size: clamp(2.25rem, 11vw, 3rem); | |
| text-align: center; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__actions { | |
| justify-content: center; | |
| margin-bottom: 24px; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__lead, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__note { | |
| font-size: 0.98rem; | |
| line-height: 1.48; | |
| text-align: start; | |
| text-wrap: pretty; | |
| } | |
| } | |
| @media (forced-colors: active) { | |
| .td-home > .td-site-header { | |
| background: Canvas; | |
| } | |
| .td-home > .td-site-header .td-nav-title, | |
| .td-home > .td-site-header .td-nav-brand, | |
| .td-home > .td-site-header .td-nav-menu-zone > .nav-link, | |
| .td-home > .td-site-header .td-nav-search-box, | |
| .td-home > .td-site-header .td-nav-util, | |
| .td-home > .td-site-header .td-nav-overflow__trigger, | |
| .td-home > .td-site-header .td-nav-github, | |
| .td-home > .td-site-header .td-site-drawer-toggle { | |
| color: CanvasText; | |
| -webkit-text-fill-color: CanvasText; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero { | |
| min-height: auto; | |
| background-image: none; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__copy { | |
| text-shadow: none; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__title, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__lead, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__note { | |
| color: CanvasText; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-button { | |
| border: 2px solid ButtonText; | |
| box-shadow: none; | |
| } | |
| } | |
| @media print { | |
| .td-home .td-landing-landing { | |
| --td-ink: #000; | |
| --td-soft: #222; | |
| --td-muted: #333; | |
| --td-paper: #fff; | |
| background: #fff; | |
| color: #000; | |
| } | |
| .td-home .td-landing-landing::before { | |
| display: none; | |
| } | |
| .td-home .td-landing-section, | |
| .td-home .td-landing-card, | |
| .td-home .td-landing-final-cta { | |
| background: #fff; | |
| color: #000; | |
| box-shadow: none; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero { | |
| min-height: auto; | |
| padding: 1rem 0; | |
| background-color: #fff; | |
| background-image: none; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__copy { | |
| text-shadow: none; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__title, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__lead, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-hero__note { | |
| color: #000; | |
| } | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-button, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-button--primary, | |
| .td-default main .td-landing-hero.hg-home-hero .td-landing-button--ghost { | |
| border: 1px solid #000; | |
| background: #fff; | |
| box-shadow: none; | |
| color: #000; | |
| } | |
| } | |
| /* ASF download tables (layouts/_partials/asf-downloads.html): keep the cells | |
| * on one line so the wide table scrolls inside td-asset-list__table-wrap | |
| * instead of squeezing every column, and lay the release meta out inline. */ | |
| /* The focusable wrapper owns horizontal scrolling, not td-content's table. */ | |
| .hg-asf-release .td-asset-list__table-wrap { | |
| overflow-x: auto !important; | |
| overflow-y: hidden; | |
| } | |
| .hg-asf-release .td-asset-list__table { | |
| display: table !important; | |
| width: max-content; | |
| min-width: 100%; | |
| overflow: visible !important; | |
| } | |
| .hg-asf-release .td-asset-list__table th, | |
| .hg-asf-release .td-asset-list__table td { | |
| white-space: nowrap; | |
| } | |
| .hg-asf-release__meta { | |
| list-style: none; | |
| padding-left: 0; | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 0.25rem 1.5rem; | |
| } | |
| /* Let documentation results scroll without covering them with the AI action. */ | |
| .td-shell-search__list:has(> [aria-labelledby="td-shell-search-group-actions"]) { | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| } | |
| .td-shell-search__list:has(> [aria-labelledby="td-shell-search-group-actions"]) > .td-shell-search__group { | |
| min-height: 0; | |
| overflow-y: auto; | |
| overscroll-behavior: contain; | |
| } | |
| .td-shell-search__group[aria-labelledby="td-shell-search-group-actions"] { | |
| flex-shrink: 0; | |
| background: var(--bs-body-bg); | |
| border-top: 1px solid var(--bs-border-color); | |
| box-shadow: 0 -0.25rem 0.75rem rgba(0, 0, 0, 0.06); | |
| } | |
| .td-shell-search__group[aria-labelledby="td-shell-search-group-actions"] .td-shell-search__item { | |
| color: var(--bs-primary); | |
| background: rgba(var(--bs-primary-rgb), 0.08); | |
| } | |
| /* The first-use notice opens beside the AI entry after explicit activation. */ | |
| .hg-ai-consent { | |
| position: fixed; | |
| z-index: 1040; | |
| inset-inline-end: max(1rem, env(safe-area-inset-right)); | |
| inset-block-end: calc(max(1rem, env(safe-area-inset-bottom)) + 4rem); | |
| width: calc(100% - 2rem); | |
| max-width: 22rem; | |
| padding: 1rem; | |
| border: 1px solid var(--bs-border-color); | |
| border-radius: .75rem; | |
| background: var(--bs-body-bg); | |
| color: var(--bs-body-color); | |
| box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.12); | |
| font-size: .85rem; | |
| } | |
| .hg-ai-consent[hidden] { | |
| display: none; | |
| } | |
| .hg-ai-consent p { | |
| margin-bottom: .6rem; | |
| } | |
| .hg-ai-consent .hg-ai-consent-actions { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: flex-end; | |
| gap: .5rem; | |
| } | |
| .hg-ai-consent .hg-ai-consent-actions .btn { | |
| font-size: inherit; | |
| } | |
| .hg-toolchain-recording { | |
| width: 100%; | |
| max-width: 36rem; | |
| } | |
| @media screen { | |
| /* Let configuration keys set the width of their own column. */ | |
| .td-content .td-table-scroll:not(.td-table-scroll--static) > .hg-config-keys > tbody > tr > td:first-child { | |
| max-width: none; | |
| } | |
| } | |
| /* OINK Duo View loads ordinary pages in same-origin iframes. Keep content-level | |
| * interactions, but remove HugeGraph's top-level AI chrome from both panes. */ | |
| html[data-td-compare-pane] .hg-ask-ai-launcher, | |
| html[data-td-compare-pane] .hg-ai-consent, | |
| html[data-td-compare-pane] .hg-ai-status { | |
| display: none !important; | |
| } |