/** * All Rights Reserved * * Copyright (c) 2025 taskylizard * * All rights reserved. This code and its associated files may not be copied, modified, distributed, sublicensed, or used in any form, in whole or in part, without prior written permission from the copyright holder. */ $ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); $ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0); :root { --vp-c-bg: #fefbff; --vp-c-bg-alt: #f2f0f4; --vp-c-bg-elv: #f2f0f4; --vp-c-bg-soft: #f2f0f4; --vp-c-border: #c2c2c4; --vp-c-divider: #c4c6d0; --vp-c-gutter: #e2e2e3; --vp-c-text-1: #1b1b1f; --vp-c-text-2: #2f3033; --vp-c-text-3: #46464a; /* Divider under the mobile full-screen header bars. */ --wk-fs-header-divider: rgba(163, 163, 163, 0.25); /* Flat menu/option surfaces (settings menu, search help cards). */ --wk-c-menu-bg: #e8e6ec; /* Solid nav-pill segment background when effects (blur) are off. */ --wk-c-nav-solid-bg: var(--vp-c-bg); } .dark { --vp-c-bg: #121316; --vp-c-bg-alt: #0d0e11; --vp-c-bg-elv: #1b1b1f; --vp-c-bg-soft: #1b1b1f; --vp-c-border: #77777a; --vp-c-divider: #222429; --vp-c-gutter: #000000; --vp-c-text-1: #e3e2e6; --vp-c-text-2: #ababaf; --vp-c-text-3: #919094; --wk-fs-header-divider: rgba(82, 82, 82, 0.65); --wk-c-menu-bg: #2c2c31; --wk-c-nav-solid-bg: #151617; } :root { --vp-layout-max-width: 1490px; --vp-sidebar-width: 280px; --vp-nav-logo-height: 36px; /* Colors: Brand */ --vp-c-brand-1: theme("colors.brand.500"); --vp-c-brand-2: theme("colors.brand.600"); --vp-c-brand-3: theme("colors.brand.800"); --vp-c-brand-soft: color-mix( in oklch, theme("colors.brand.400") 40%, transparent ); /* Colors: Button */ --vp-button-brand-bg: var(--vp-c-brand-1); --vp-button-brand-border: var(--vp-c-brand-soft); --vp-button-brand-text: rgba(42, 40, 47); --vp-button-brand-hover-border: var(--vp-c-brand-soft); --vp-button-brand-hover-text: rgba(42, 40, 47); --vp-button-brand-hover-bg: var(--vp-c-brand-soft); --vp-button-brand-active-border: var(--vp-c-brand-soft); --vp-button-brand-active-text: rgba(42, 40, 47); --vp-button-brand-active-bg: var(--vp-button-brand-bg); --vp-button-alt-bg: #484848; --vp-button-alt-text: #f0eeee; --vp-button-alt-hover-bg: #484848; --vp-button-alt-hover-text: #f0eeee; /* Colors: Custom Block */ /** Info */ --vp-custom-block-info-bg: theme("colors.swarm.200"); --vp-custom-block-info-border: theme("colors.swarm.800"); --vp-custom-block-info-text: theme("colors.swarm.800"); --vp-custom-block-info-text-deep: theme("colors.swarm.900"); /** Tip */ --vp-custom-block-tip-bg: theme("colors.meadow.200"); --vp-custom-block-tip-border: theme("colors.meadow.800"); --vp-custom-block-tip-text: theme("colors.meadow.800"); --vp-custom-block-tip-text-deep: theme("colors.meadow.900"); /** Warning */ --vp-custom-block-warning-bg: theme("colors.merlin.200"); --vp-custom-block-warning-border: theme("colors.merlin.800"); --vp-custom-block-warning-text: theme("colors.merlin.800"); --vp-custom-block-warning-text-deep: theme("colors.merlin.900"); /** Danger */ --vp-custom-block-danger-bg: theme("colors.carnation.200"); --vp-custom-block-danger-border: theme("colors.carnation.800"); --vp-custom-block-danger-text: theme("colors.carnation.800"); --vp-custom-block-danger-text-deep: theme("colors.carnation.900"); /** Collapsible */ --vp-collapsible-bg: color-mix(in srgb, var(--vp-c-brand-1) 15%, transparent); --vp-collapsible-border: var(--vp-c-brand-3); --vp-collapsible-text: var(--vp-c-brand-3); --vp-badge-info-text: theme("colors.brand.200"); --vp-badge-info-bg: theme("colors.brand.800"); --vp-badge-tip-text: theme("colors.meadow.200"); --vp-badge-tip-bg: theme("colors.meadow.800"); --vp-badge-warning-text: theme("colors.merlin.200"); --vp-badge-warning-bg: theme("colors.merlin.800"); --vp-badge-danger-text: theme("colors.carnation.200"); --vp-badge-danger-bg: theme("colors.carnation.800"); --vp-c-brand-nav-active: color-mix( in srgb, var(--vp-c-brand-soft) 15%, transparent 100% ); --nav-pill-height: 2.5rem; --nav-pill-radius: 1.5rem; --nav-pill-item-size: 1.875rem; --nav-pill-gap: 0.125rem; --nav-pill-pad: 0.125rem; --nav-pill-icon-size: 18px; --nav-pill-blur: 12px; --nav-pill-bg: rgb(255 255 255 / 0.8); --nav-pill-border: rgb(64 64 64 / 0.08); } .dark { --nav-pill-bg: rgb(23 23 23 / 0.7); --nav-pill-border: rgb(212 212 212 / 0.1); } /* Nolebase sliders hardcode #fff / #e1e2da for the thumb and progress fill; use theme tokens (like the radio pills) so they follow the theme. */ .nolebase-ui-slider { --nolebase-ui-slider-thumb-color: var(--vp-c-bg); --nolebase-ui-slider-track-color: var(--vp-c-bg); --nolebase-ui-slider-track-progress-color: var(--vp-c-bg); } .dark .nolebase-ui-slider { --nolebase-ui-slider-thumb-color: var(--vp-c-text-1); --nolebase-ui-slider-track-color: var(--vp-c-text-1); --nolebase-ui-slider-track-progress-color: var(--vp-c-text-1); } .dark { /* Colors: Brand */ --vp-c-brand-1: theme("colors.brand.400"); --vp-c-brand-2: theme("colors.brand.500"); --vp-c-brand-3: theme("colors.brand.700"); --vp-c-brand-soft: color-mix( in oklch, theme("colors.brand.500") 20%, transparent ); /* Colors: Custom Block */ /** Info */ --vp-custom-block-info-bg: theme("colors.swarm.950"); --vp-custom-block-info-border: theme("colors.swarm.800"); --vp-custom-block-info-text: theme("colors.swarm.200"); --vp-custom-block-info-text-deep: theme("colors.swarm.200"); /** Tip */ --vp-custom-block-tip-bg: theme("colors.meadow.950"); --vp-custom-block-tip-border: theme("colors.meadow.800"); --vp-custom-block-tip-text: theme("colors.meadow.200"); --vp-custom-block-tip-text-deep: theme("colors.meadow.200"); /** Warning */ --vp-custom-block-warning-bg: theme("colors.merlin.950"); --vp-custom-block-warning-border: theme("colors.merlin.800"); --vp-custom-block-warning-text: theme("colors.merlin.200"); --vp-custom-block-warning-text-deep: theme("colors.merlin.200"); /** Danger */ --vp-custom-block-danger-bg: theme("colors.carnation.950"); --vp-custom-block-danger-border: theme("colors.carnation.800"); --vp-custom-block-danger-text: theme("colors.carnation.200"); --vp-custom-block-danger-text-deep: theme("colors.carnation.200"); /** Collapsible */ --vp-collapsible-bg: color-mix(in srgb, var(--vp-c-brand-1) 10%, transparent); --vp-collapsible-border: var(--vp-c-brand-3); --vp-collapsible-text: var(--vp-c-brand-1); --vp-badge-info-text: theme("colors.brand.200"); --vp-badge-info-bg: theme("colors.brand.950"); --vp-badge-tip-text: theme("colors.meadow.200"); --vp-badge-tip-bg: theme("colors.meadow.950"); --vp-badge-warning-text: theme("colors.merlin.200"); --vp-badge-warning-bg: theme("colors.merlin.950"); --vp-badge-danger-text: theme("colors.carnation.200"); --vp-badge-danger-bg: theme("colors.carnation.950"); } .search-result-highlight { display: inline; position: relative; padding: 0 0.25em; border: 1px solid var(--vp-c-brand-1); border-radius: 4px; background-color: var(--vp-collapsible-bg); color: var(--vp-c-brand-1); font-size: 0.9em; font-weight: 600; line-height: 1.5; white-space: normal; vertical-align: baseline; } .search-result-highlight--solid { border: none; background-color: var(--vp-c-brand-1); } html:not(.dark) .search-result-highlight--solid { color: #fff; } html.dark .search-result-highlight--solid { color: #000; } .vp-doc a { color: var(--vp-c-brand-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-style: dashed; text-decoration-thickness: 1px; text-decoration-color: transparent; -webkit-text-decoration-color: transparent; transition: text-decoration-color 0.25s; &:hover { color: var(--vp-c-brand-2); text-decoration-color: var(--vp-c-brand-2); -webkit-text-decoration-color: var(--vp-c-brand-2); } .dark & { color: var(--vp-c-brand-1); &:hover { color: var(--vp-c-brand-1); text-decoration-color: var(--vp-c-brand-1); -webkit-text-decoration-color: var(--vp-c-brand-1); } } } .vp-doc .custom-block a { text-decoration: underline; text-underline-offset: 4px; text-decoration-style: dashed; text-decoration-thickness: 1px; } ::selection { background-color: theme("colors.brand.400"); .dark & { background-color: theme("colors.brand.800"); } } :root { --vp-home-hero-name-color: transparent; --vp-home-hero-name-background: -webkit-linear-gradient( -30deg, #62cff4, #1473e6 ); --vp-home-hero-image-background-image: none; --vp-home-hero-image-filter: none; } .VPNavBarTitle .title { font-size: 18px; font-weight: 600; } .breadcrumb ol, .breadcrumb li, .breadcrumb a, .breadcrumb li > span { align-items: center; } .breadcrumb a, .breadcrumb li > span { display: inline-flex; min-height: 1.25rem; gap: 0.375rem; line-height: 1.25rem; vertical-align: middle; } .breadcrumb [class*="i-"] { display: inline-block; flex: 0 0 auto; width: 1rem; height: 1rem; line-height: 1; vertical-align: middle; } .medium-zoom-overlay { background-color: var(--vp-c-bg) !important; z-index: 100; } .medium-zoom-overlay ~ img { z-index: 101; } .medium-zoom--opened .medium-zoom-overlay { opacity: 0.98 !important; } .video_wrapper { position: relative; padding-bottom: 56.25%; } iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } main figure { margin: 2rem 0; transition: transform var(--vp-tt); } .vp-doc > div > p > img { @apply rounded-lg; } main figure img { margin: 0 auto; border-radius: 12px; } main figure figcaption { text-align: center; margin-top: 1.25rem; font-size: 0.875rem; color: var(--vp-c-text-2); } // VitePress v2 probably broke this somewhere idk .VPHero .image-src { width: unset !important; height: unset !important; object-fit: contain !important; } // no sidebar for 404 page @media (min-width: 960px) { .VPContent.has-sidebar:has(> .NotFoundPage) { padding-left: 0; } } @media (min-width: 1440px) { .VPContent.has-sidebar:has(> .NotFoundPage) { padding-right: 0; } } @media (min-width: 1440px) { :root { --vp-layout-max-width: 100% !important; /* 100% of the viewport width */ --vp-sidebar-width: 300px !important; /* increase sidebar width from default 272px */ } /* target a div with class .content-container*/ .content-container { max-width: 70% !important; /* 888px is the default max-width */ } } .custom-block { --uno: "rounded-xl border-2"; } :root:not(.dark) .details.custom-block a { color: var(--vp-c-brand-2); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-style: dashed; text-decoration-thickness: 1px; transition: opacity 0.25s; } :root:not(.dark) .details.custom-block a:hover { opacity: 0.7; color: var(--vp-c-brand-1); } .info.custom-block a { color: var(--vp-custom-block-info-text); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-style: dashed; text-decoration-thickness: 1px; transition: opacity 0.25s; } .info.custom-block a:hover { opacity: 0.7; color: var(--vp-custom-block-info-text-deep); } .note.custom-block a { color: var(--vp-custom-block-info-text); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-style: dashed; text-decoration-thickness: 1px; transition: opacity 0.25s; } .note.custom-block a:hover { opacity: 0.7; color: var(--vp-custom-block-note-text-deep); } .tip.custom-block a { color: var(--vp-custom-block-tip-text); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-style: dashed; text-decoration-thickness: 1px; transition: opacity 0.25s; } .tip.custom-block a:hover { opacity: 0.7; color: var(--vp-custom-block-tip-text-deep); } .warning.custom-block a { color: var(--vp-custom-block-warning-text); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-style: dashed; text-decoration-thickness: 1px; transition: opacity 0.25s; } .warning.custom-block a:hover { opacity: 0.7; color: var(--vp-custom-block-warning-text-deep); } .danger.custom-block a { color: var(--vp-custom-block-danger-text); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-style: dashed; text-decoration-thickness: 1px; transition: opacity 0.25s; } .danger.custom-block a:hover { opacity: 0.7; color: var(--vp-custom-block-danger-text-deep); } .info.custom-block { --icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWluZm8iPjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjEwIi8+PHBhdGggZD0iTTEyIDE2di00Ii8+PHBhdGggZD0iTTEyIDhoLjAxIi8+PC9zdmc+"); } .note.custom-block { --icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWluZm8iPjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjEwIi8+PHBhdGggZD0iTTEyIDE2di00Ii8+PHBhdGggZD0iTTEyIDhoLjAxIi8+PC9zdmc+"); } .tip.custom-block { --icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWxpZ2h0YnVsYiI+PHBhdGggZD0iTTE1IDE0Yy4yLTEgLjctMS43IDEuNS0yLjUgMS0uOSAxLjUtMi4yIDEuNS0zLjVBNiA2IDAgMCAwIDYgOGMwIDEgLjIgMi4yIDEuNSAzLjUuNy43IDEuMyAxLjUgMS41IDIuNSIvPjxwYXRoIGQ9Ik05IDE4aDYiLz48cGF0aCBkPSJNMTAgMjJoNCIvPjwvc3ZnPg=="); } .warning.custom-block { --icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWFsZXJ0LXRyaWFuZ2xlIj48cGF0aCBkPSJtMjEuNzMgMTgtOC0xNGEyIDIgMCAwIDAtMy40OCAwbC04IDE0QTIgMiAwIDAgMCA0IDIxaDE2YTIgMiAwIDAgMCAxLjczLTNaIi8+PHBhdGggZD0iTTEyIDl2NCIvPjxwYXRoIGQ9Ik0xMiAxN2guMDEiLz48L3N2Zz4="); } .danger.custom-block { --icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXNrdWxsIj48Y2lyY2xlIGN4PSI5IiBjeT0iMTIiIHI9IjEiLz48Y2lyY2xlIGN4PSIxNSIgY3k9IjEyIiByPSIxIi8+PHBhdGggZD0iTTggMjB2Mmg4di0yIi8+PHBhdGggZD0ibTEyLjUgMTctLjUtMS0uNSAxaDF6Ii8+PHBhdGggZD0iTTE2IDIwYTIgMiAwIDAgMCAxLjU2LTMuMjUgOCA4IDAgMSAwLTExLjEyIDBBMiAyIDAgMCAwIDggMjAiLz48L3N2Zz4="); } .custom-block-title { display: inline-flex; align-items: center; gap: 8px; } .custom-block-title::before { content: ""; width: 16px; height: 16px; -webkit-mask: var(--icon) no-repeat; mask: var(--icon) no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; background-color: currentColor; color: inherit; } .vp-doc h3 { text-decoration: underline; } .vp-doc h1 { font-size: 2.25rem; } .vp-doc h2 { font-size: 1.75rem; } .vp-doc h3 { font-size: 1.4rem; } .vp-doc h4 { font-size: 1.2rem; } .vp-doc h1 { margin-top: 0.5rem; margin-bottom: 0.5rem; } .vp-doc h2 { margin-top: 1.5rem; margin-bottom: 0.5rem; border-top-color: #525252; } .vp-doc h1 + .vp-nolebase-page-properties { display: none; } .vp-doc h4 { margin-top: 1rem; margin-bottom: 1rem; } /* Make the page half the width for class `sandbox` */ .sandbox { max-width: 50%; width: 50%; margin: 0 auto; } .v-popper__arrow-container { display: none; } /** Two-tone rows, applied per-cell so rowspan cells keep the default color */ .vp-doc table tbody tr:nth-child(even) td:not([rowspan]), table tbody tr:nth-child(even) td:not([rowspan]) { background-color: var(--vp-c-bg-soft); } .vp-doc table tbody td[rowspan], .vp-doc table tbody th[rowspan], table tbody td[rowspan], table tbody th[rowspan] { background-color: var(--vp-c-bg); } .vp-doc table tr, .vp-doc table td, .vp-doc table th { border-color: #3d3d3d; } /* width: max-content forces exact column sizing so favicon toggling doesn't shrink the right-side gap. */ @media (max-width: 767px) { .vp-doc table:not(.scrape-table) { width: max-content; } .vp-doc table:not(.scrape-table) th, .vp-doc table:not(.scrape-table) td { white-space: nowrap; } /* Scroll container injected by wrapTablesInRoot in Layout.vue, isolated from sibling content. */ .table-scroll { overflow-x: auto; } } .tip.custom-block table tr, .tip.custom-block table td, .tip.custom-block table th { border-color: theme("colors.meadow.800") !important; } .info.custom-block table tr, .info.custom-block table td, .info.custom-block table th { border-color: var(--vp-c-brand-3) !important; } .warning.custom-block table tr, .warning.custom-block table td, .warning.custom-block table th { border-color: theme("colors.merlin.800") !important; } .danger.custom-block table tr, .danger.custom-block table td, .danger.custom-block table th { border-color: theme("colors.carnation.800") !important; } .details.custom-block table:not(.scrape-table) tr, .details.custom-block table:not(.scrape-table) td, .details.custom-block table:not(.scrape-table) th { border-color: var(--vp-c-brand-3) !important; } /** fix for nolebase-git-changelog */ .vp-nolebase-git-changelog a { text-decoration: none !important; } /** New Styles */ ::view-transition-group(root) { animation-timing-function: $ease-in-expo; z-index: 100; } ::view-transition-new(root) { animation: var(--switch-name) var(--switch-duration); animation-fill-mode: both; animation-timing-function: cubic-bezier(0.7, 0, 0.84, 0); } ::view-transition-old(root), .dark::view-transition-old(root) { animation: var(--switch-name) var(--switch-duration); animation-fill-mode: both; animation-timing-function: cubic-bezier(0.7, 0, 0.84, 0); } @keyframes scale { 0% { mask-size: 0; } 10% { mask-size: 25vmax; } 90% { mask-size: 25vmax; } 100% { mask-size: 750vmax; } } @keyframes scale-fast { 0% { mask-size: 0; } 10% { mask-size: 25vmax; } 87.5% { mask-size: 25vmax; } 100% { mask-size: 750vmax; } } /* auto-height */ .VPSidebarItem { @apply relative; .is-link:hover { background-color: var(--vp-c-sidebar-active) !important; } .is-link.has-active { background-color: var(--vp-c-sidebar-active) !important; } &.collapsible { @apply relative grid w-full pl-0 border-0 motion-reduce:transition-none; grid-template-rows: 1fr; transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1); &.collapsed { @apply motion-reduce:transition-none; grid-template-rows: 0fr; transition: grid-template-rows 0.35s cubic-bezier(0.76, 0, 0.24, 1); & > .items { @apply block; } } & > .item { @apply absolute; } & > .items { @apply overflow-hidden pt-9; & > .VPSidebarItem { @apply cursor-pointer; } } } /* nested accordian */ .level-1.collapsible { @apply min-h-8; transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important; &.collapsed { @apply motion-reduce:transition-none; transition: grid-template-rows 0.325s cubic-bezier(0.5, 0, 0.75, 0) !important; } & > .item { @apply pl-4; } & > .items { @apply pt-8; & > .VPSidebarItem { @apply cursor-pointer; } } } } #VPSidebarNav > .group, #VPSidebarNavMobile > .group { @apply border-t-0 min-h-11 pt-2.25; & > .VPSidebarItem { @apply pb-1; & > .item { @apply hover:scale-[1.03] focus:scale-[1.03] active:scale-[0.98] transition-all! opacity-85; & > .text { @apply flex items-center text-base font-medium py-1.5; &::before { @apply mr-2.5 opacity-70; --uno-translate-y: calc(0.25rem * 0.175); translate: var(--uno-translate-x) var(--uno-translate-y); } } & > .caret { @apply scale-90 translate-y-0.5; } } & > .items { & > .VPSidebarItem { @apply pl-4 border-l dark:border-l-neutral-600 rounded-none transition-all duration-100 ease-out; /* Separation between nested table of content */ &:not(.collapsible), &.collapsible > .items > .VPSidebarItem { &:hover, &:focus, &.is-active.has-active { @apply rounded-lg border-transparent; background-color: var(--vp-c-brand-nav-active); & > .item > .indicator { background-color: var(--vp-c-brand-1); } } } &.collapsible { &:not(.is-active) { & > .item:has(.link):hover, & > .item:has(.link):focus { & > .caret { @apply -translate-x-2; } } } & > .item { @apply rounded-lg transition-all duration-100 ease-out; &:hover, &:focus { background-color: var(--vp-c-brand-nav-active); & > h3 { color: var(--vp-c-brand) !important; } & > .indicator { background-color: var(--vp-c-brand); } } & > .indicator { @apply translate-x-4; } & > h3 { @apply font-normal; } &:has(.link):hover, &:has(.link):focus { background-color: var(--vp-c-brand-nav-active); & > .indicator { background-color: var(--vp-c-brand); } & > .link > h3 { color: var(--vp-c-brand) !important; } } } &.is-active > .item { @apply pr-2; background-color: var(--vp-c-brand-nav-active); border-color: var(--vp-c-brand-nav-active) !important; & > .indicator { @apply translate-x-4; background-color: var(--vp-c-brand); } & > div > .caret-icon { color: var(--vp-c-brand); } } & > .items { @apply grid border-0 pl-0; & > .VPSidebarItem { @apply border-l pl-4 dark:border-l-neutral-600; } & > .caret { &:hover, &:focus { background-color: transparent; } } & > .VPSidebarItem { @apply min-h-8; } } } } } } } .VPLocalNav { @apply bg-transparent! border-0!; pointer-events: none; & > .container { @apply relative flex bg-transparent mx-auto px-4 sm:px-6 md:px-0 lg:px-0 py-0 mt-2; max-width: 688px; pointer-events: none; & > .menu { @apply p-0; pointer-events: auto; } & > .menu, & > .VPLocalNavOutlineDropdown > button { @apply bg-white/80! dark:bg-neutral-800/80! px-2 py-0.75 rounded-xl border border-neutral-700/10 dark:border-neutral-300/10 backdrop-blur-md; } & > .VPLocalNavOutlineDropdown { @apply p-0 ml-auto; pointer-events: auto; & > .items { @apply top-10 right-4 md:right-0 max-w-[calc(100%-32px)] sm:max-w-sm bg-white/75! dark:bg-neutral-800/75! p-1 rounded-2xl border border-neutral-700/10 dark:border-neutral-300/10 backdrop-blur-md shadow-2xl shadow-black/5; left: unset; transition-duration: 0.5s; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1); & > .header { @apply h-9 mb-2 bg-transparent; } & > .outline { @apply p-0 outline-0 bg-transparent; & > .nested { @apply px-0; & > li { & > a { @apply px-4; } & > a { &:hover, &:focus, &.active { @apply rounded-xl; background-color: var(--vp-c-brand-nav-active); color: var(--vp-c-brand); } &.active { @apply font-semibold; } } & > ul { @apply pl-4 pr-0; & > li { @apply border-l; & > a { @apply px-4; } & > a { &:hover, &:focus, &.active { @apply rounded-lg; background-color: var(--vp-c-brand-nav-active); color: var(--vp-c-brand); } &.active { @apply font-semibold; } } } } } } } } } } } .VPNav { @media (max-width: 1280px) { z-index: 40 !important; } & > .VPNavBar { @apply bg-transparent!; /* Doc layout */ & > .wrapper > .container > .content > .content-body { @apply bg-transparent gap-0; pointer-events: none; & > *:not(.VPNavBarSearch) { pointer-events: auto; } & > .VPNavBarSearch { pointer-events: none; } } & > .divider { @apply hidden; } } } .VPNavBar { @apply border-0 bg-white/60 dark:bg-neutral-900/60 transition-colors; & > .container { & > .content, & > .title { background: color-mix(in srgb, var(--vp-c-bg) 80%, transparent); } } } #contributors, #changelog, .vp-nolebase-git-changelog, .vp-nolebase-git-changelog-history { @apply max-w-2xl w-full mx-auto my-4; } .vp-nolebase-git-changelog-contributors-list { @apply gap-2 mb-4; & > a, & > div { font-size: 0; gap: 0; & > img { @apply w-10 h-10; } } } #changelog { @apply h-0 p-0 m-0 border-0; font-size: 0; } .vp-nolebase-git-changelog-history { @apply mt-0; } .vp-nolebase-git-changelog-history-list { @apply bg-neutral-50 dark:bg-neutral-800; } .VPSwitchAppearance { @apply hover:scale-[1.03] focus:scale-[1.03] active:scale-[0.98] transition-all! size-7! bg-transparent! border-0! opacity-80 pl-2! rounded-l-3xl!; &::before { @apply hidden; } .check { position: unset; .icon { margin-top: 2px; width: 100%; height: 100%; border-radius: 50%; overflow: visible; [class^="vpi-"] { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; color: currentColor; } } } } .VPSidebar { @apply pb-6! overflow-y-auto; /* Custom scrollbar */ scrollbar-width: thin; &::-webkit-scrollbar { width: 8px; } &::-webkit-scrollbar-track { background: transparent; } &::-webkit-scrollbar-thumb { border-radius: 4px; } @media (max-width: 959.9px) { @apply max-w-68 translate-x-2 translate-y-2 p-1! bg-white/85 dark:bg-neutral-800/85 border dark:border-neutral-700 border-neutral-200 rounded-3xl backdrop-blur shadow-lg overflow-x-hidden overflow-y-auto max-h-dvh; height: calc(100dvh - 1rem); & > .nav { @apply w-full p-4 pt-2; } } } .VPBackdrop.backdrop { @media (max-width: 1024px) { @apply bg-black/5!; } } #VPSidebarNav { @apply flex flex-col min-h-full; } .VPLocalSearchBox { & > .backdrop { @apply bg-black/7.5!; } & > .shell { /* 688px is the max-width of the content (Vitepress default) */ --uno: "gap-0! md:max-w-[688px] px-0! pt-0.5! md:translate-x-2 bg-white! md:bg-white/70! dark:bg-neutral-900! md:dark:bg-neutral-900/90! md:backdrop-blur-xl md:rounded-2xl! md:border dark:border-neutral-700 md:shadow-xl shadow-black/5"; & > .search-bar { --uno: "w-full py-1.5 px-2 border-0 border-b border-neutral-400/25! dark:border-neutral-600/65! rounded-none"; & > #localsearch-label { @apply opacity-50!; } & > .search-input { @apply pl-0; } & > .search-actions { @apply gap-0; } } & > .results { @apply relative gap-1 pb-4 px-3 min-h-full md:min-h-60; &:has(li)::before { @apply hidden; } & > li { @apply z-10 scroll-pt-2; &:first-child { @apply mt-2; } & > .result { @apply rounded-xl! py-0.5 border-0; &.selected { @apply bg-brand-500/5! dark:bg-brand-300/5!; } } } } & > .search-keyboard-shortcuts { @apply z-30 pt-2.5 px-3; & > span > kbd { @apply rounded-lg dark:bg-neutral-700!; } } } } .excerpt-wrapper { & > .excerpt-gradient-bottom, & > .excerpt-gradient-top { @apply hidden; } & > .excerpt { & > .vp-doc { @apply bg-transparent!; } } } .VPNavBarMenuGroup > .menu { @apply top-12 backdrop-blur-xl rounded-2xl; will-change: opacity; & > .VPMenu { @apply bg-white/80! dark:bg-neutral-700/80! p-1 border border-neutral-100 dark:border-neutral-700 rounded-2xl shadow-2xl shadow-black/5; & > .items { & > .VPMenuLink > .VPLink { @apply rounded-xl hover:bg-brand-500/5 focus:bg-brand-500/5 dark:hover:bg-brand-400/25 dark:focus:bg-brand-400/25 duration-0; } } } } .VPNavBarExtra.extra > .menu { @apply top-12 backdrop-blur-xl rounded-2xl; will-change: opacity; & > .VPMenu { @apply bg-white/80! dark:bg-neutral-700/80! border border-neutral-100 dark:border-neutral-700 rounded-2xl shadow-2xl shadow-black/5; } } .VPNavBarMenu.menu { @apply h-11 rounded-l-3xl; & > .VPFlyout.VPNavBarMenuGroup { & > .button { @apply h-11; } } & > .VPFlyout.VPNavBarMenuGroup > .button, & > a { @apply backdrop-blur-lg bg-white/80 dark:bg-neutral-900/70; } /* Skip screen reader content */ & > *:nth-child(2), & > *:nth-child(2) > .button { @apply rounded-l-3xl!; } } .VPNavBarAppearance.appearance, .VPSocialLinks.VPNavBarSocialLinks.social-links { @apply hidden!; } @media (min-width: 768px) { .VPFlyout.VPNavBarExtra.extra { @apply hidden!; } } #local-search { & > .DocSearch-Button { @apply hover:scale-[1.03] focus:scale-[1.03] active:scale-[0.98] h-10 rounded-xl backdrop-blur-sm lg:ml-2; transition: scale 150ms ease !important; color: var(--docsearch-secondary-text-color); & > .DocSearch-Button-Container { & > .DocSearch-Button-Placeholder { @apply hidden!; } } & > .DocSearch-Button-Keys { @apply hidden!; } } } .VPSidebarItem.is-link:not(.collapsible), .VPSidebarItem.is-link.collapsible > .item { @apply active:scale-[0.98] transition-all!; } .VPDocAside { & > .VPDocAsideOutline > .content { @apply pl-0 border-l-0; & > .outline-marker { @apply z-10 w-0.75; background-color: var(--vp-c-brand-1); transition-timing-function: $ease-out-expo; transition-duration: 0.3s; } & > .outline-title { @apply flex items-center font-medium text-neutral-700 dark:text-neutral-100; &::before { @apply inline-block size-3.5 bg-cover mr-1.5; content: ""; background-image: url("data:image/svg+xml;utf8,"); } .dark &::before { @apply invert-100; } } .VPDocOutlineItem.root > li { &:hover .toc-bookmark-btn, & .toc-bookmark-btn.is-bookmarked { opacity: 1; } & > .outline-link { position: relative; padding-right: 20px; @apply text-neutral-600/80 dark:text-neutral-300/80 transition-all dark:hover:text-neutral-300 dark:focus:text-neutral-300; &:hover, &:focus, &.active { @apply font-semibold; color: var(--vp-c-brand-1) !important; transition-timing-function: $ease-out-expo; transition-duration: 0.35s; } } & > ul { & > li { & > a { @apply leading-7 opacity-60 dark:opacity-70 transition-all; font-size: 0.825rem; &:hover, &:focus, &.active { @apply opacity-100 font-semibold; color: var(--vp-c-brand-1) !important; transition-timing-function: $ease-out-expo; transition-duration: 0.35s; } } } } } .toc-bookmark-btn { position: absolute; right: 2px; top: 0; height: 32px; display: flex; align-items: center; justify-content: center; width: 16px; padding: 0; opacity: 0; border: none; background: transparent; cursor: pointer; color: var(--vp-c-text-2); line-height: 0; transition: opacity 0.2s, color 0.15s; &.is-bookmarked { color: var(--vp-c-brand-1); svg path { fill: currentColor; } } &:hover { color: var(--vp-c-brand-1); } } & > .VPDocOutlineItem { --uno: "border-l-2! border-neutral-100 dark:border-neutral-600 pl-4"; } } } .VPLocalNavOutlineDropdown .outline > .VPDocOutlineItem > li { & > .outline-link { position: relative; padding-right: 28px !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; } } .VPLocalNavOutlineDropdown .outline { .toc-bookmark-btn { position: absolute; right: 4px; top: 0; height: 32px; display: flex; align-items: center; justify-content: center; width: 16px; padding: 0; opacity: 1; border: none; background: transparent; cursor: pointer; color: var(--vp-c-text-3); line-height: 0; transition: color 0.15s; &.is-bookmarked { color: var(--vp-c-brand-1); svg path { fill: currentColor; } } &:hover { color: var(--vp-c-brand-1); } } } @media (hover: none) { .VPDocAside .toc-bookmark-btn { opacity: 1; } } .aside-container { padding-top: calc( var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 24px ) !important; } .VPNavBarSearch.search { @apply ml-2 pl-0!; } // Search lives in the nav pill, which now shows on phones too. #local-search { @apply hidden!; pointer-events: auto; } // Nav list is empty and settings live in the pill's gear (which opens its own // panel), so the hamburger is unused on phones. .VPNavBarHamburger { display: none !important; } // uniform sidepadding for phone ui @media (max-width: 767px) { .VPNavBar .wrapper { padding-right: 24px !important; } } %thin-scrollbar { scrollbar-width: thin; &::-webkit-scrollbar { width: 8px; } &::-webkit-scrollbar-track { background: transparent; } &::-webkit-scrollbar-thumb { border-radius: 4px; } } %thin-scrollbar-narrow { scrollbar-width: thin; &::-webkit-scrollbar { width: 6px; } &::-webkit-scrollbar-track { background: transparent; } &::-webkit-scrollbar-thumb { border-radius: 3px; background-color: var(--vp-c-divider); } } /* Home sidebar menu button in navbar */ .home-menu-btn { display: none; align-items: center; justify-content: center; margin-right: 16px; color: var(--vp-c-text-2); cursor: pointer; transition: color 0.25s; &:hover { color: var(--vp-c-text-1); } @media (min-width: 960px) { display: inline-flex; } } .home-menu-icon { font-size: 20px; } .home-sidebar-backdrop { position: fixed; inset: 0; z-index: var(--vp-z-index-backdrop, 100); background-color: rgba(0, 0, 0, 0.6); } /* Home desktop sidebar (left slideout) */ .home-sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: calc(var(--vp-z-index-backdrop, 100) + 1); padding: 0 32px 32px; width: var(--vp-sidebar-width); max-width: calc(100vw - 64px); background-color: var(--vp-sidebar-bg-color); box-shadow: var(--vp-c-shadow-3); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; @extend %thin-scrollbar; .dark & { box-shadow: var(--vp-shadow-1); } } .home-sidebar-header { position: sticky; top: 0; z-index: 1; height: var(--vp-nav-height); display: flex; align-items: center; background-color: var(--vp-sidebar-bg-color); border-bottom: 1px solid var(--vp-c-divider); } .home-sidebar-logo { display: flex; align-items: center; height: var(--vp-nav-height); font-size: 16px; font-weight: 600; color: var(--vp-c-text-1); text-decoration: none; } .home-sidebar-logo-img { margin-right: 8px; height: var(--vp-nav-logo-height); } .home-sidebar-nav { padding-top: 10px; } /* Desktop sidebar transitions */ .home-fade-enter-active, .home-fade-leave-active { transition: opacity 0.25s; } .home-fade-enter-from, .home-fade-leave-to { opacity: 0; } .home-slide-enter-active { transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.25s; } .home-slide-leave-active { transition: transform 0.25s ease, opacity 0.5s; } .home-slide-enter-from, .home-slide-leave-to { transform: translateX(-100%); opacity: 0; } /* Hide navbar border when home NavScreen is open */ .VPNavBar.home.screen-open { border-bottom: none !important; } /* Home NavScreen: restyle as left-aligned floating panel matching VPSidebar */ .VPNavScreen:has(.home-screen-nav) { @apply bg-white/85 dark:bg-neutral-800/85 border dark:border-neutral-700 border-neutral-200 rounded-3xl backdrop-blur shadow-lg; padding: 0 !important; left: 0.5rem !important; right: auto !important; top: 0.5rem !important; bottom: 0.5rem !important; width: calc(100vw - 64px) !important; max-width: 320px !important; overflow-x: hidden !important; @extend %thin-scrollbar-narrow; & > * { max-width: 100% !important; padding: 16px 16px 0 !important; display: flex !important; flex-direction: column !important; min-height: 100%; } .VPNavScreenAppearance { margin-top: 24px !important; } .VPNavScreenSocialLinks { margin-top: auto !important; padding: 16px 0 !important; display: flex; justify-content: center; } } .home-screen-nav { padding-top: 8px; } /* Override NavScreen fade transition to slide-from-left on home */ .VPNavScreen:has(.home-screen-nav) { &.fade-enter-active, &.fade-leave-active { transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.25s !important; .container { transform: none !important; } } &.fade-enter-from, &.fade-leave-to { transform: translateX(-100%) !important; opacity: 0 !important; } } // Applied to when the "Effects" preference is off (the default). // Strips backdrop blur, view/page transitions and scaling bounces. html.effects-disabled { &::view-transition-group(root), &::view-transition-new(root), &::view-transition-old(root) { animation: none !important; } .VPLocalSearchBox, .VPLocalSearchBox * { animation: none !important; scroll-behavior: auto !important; transition-duration: 0s !important; } .VPLocalNav > .container > .menu, .VPLocalNav > .container > .VPLocalNavOutlineDropdown > button, .VPLocalNav > .container > .VPLocalNavOutlineDropdown > .items, .VPSidebar, .VPLocalSearchBox > .shell, .VPNavBarMenuGroup > .menu, .VPNavBarExtra.extra > .menu, .VPNavBarMenu.menu > .VPFlyout.VPNavBarMenuGroup > .button, .VPNavBarMenu.menu > a, .VPNavBarAppearance.appearance, .VPSocialLinks.VPNavBarSocialLinks.social-links, .VPFlyout.VPNavBarExtra.extra > .button, #local-search > .DocSearch-Button, .VPNolebaseEnhancedReadabilitiesMenuFlyout, .nav-actions, .VPNavScreen:has(.home-screen-nav) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; } .VPLocalNav > .container > .menu, .VPLocalNav > .container > .VPLocalNavOutlineDropdown > button, .VPLocalNav > .container > .VPLocalNavOutlineDropdown > .items, .VPLocalSearchBox > .shell, .VPNavBarMenuGroup > .menu > .VPMenu, .VPNavBarExtra.extra > .menu > .VPMenu, .VPNavBarMenu.menu > .VPFlyout.VPNavBarMenuGroup > .button, .VPNavBarMenu.menu > a, .VPNavBarAppearance.appearance, .VPSocialLinks.VPNavBarSocialLinks.social-links, .VPNolebaseEnhancedReadabilitiesMenuFlyout, .nav-actions, .VPFlyout.VPNavBarExtra.extra, .VPNavScreen:has(.home-screen-nav) { background-color: var(--vp-c-bg) !important; } &.dark { .VPNavBarAppearance.appearance, .VPSocialLinks.VPNavBarSocialLinks.social-links, .nav-actions, .VPNolebaseEnhancedReadabilitiesMenuFlyout { background-color: var(--wk-c-nav-solid-bg) !important; } } @media (max-width: 959.9px) { .VPSidebar { background-color: var(--vp-sidebar-bg-color) !important; } } // Sidebar group header hover/active scale bounce #VPSidebarNav > .group > .VPSidebarItem > .item, #VPSidebarNavMobile > .group > .VPSidebarItem > .item, // Sidebar link item active scale bounce .VPSidebarItem.is-link:not(.collapsible), .VPSidebarItem.is-link.collapsible > .item, // Search button hover/active scale bounce #local-search > .DocSearch-Button, // Appearance (dark/light) toggle hover/active scale bounce .VPSwitchAppearance { scale: none !important; transition: none !important; } // ToC semi-bold during being selected .VPDocAsideOutline a.outline-link, .VPLocalNavOutlineDropdown a.outline-link { font-weight: normal !important; transition: none !important; } // Nav-pill button + dropdown panel active/open scale bounces .nav-action-btn:active, .nav-actions .VPSocialLink:active, .VPNolebaseEnhancedReadabilitiesMenuFlyout .button:active, .bookmarks-btn:active, .bookmarks-panel-enter-from, .bookmarks-panel-leave-to, .settings-popup-enter-from, .settings-popup-leave-to { transform: none !important; } } // favicons beside external links .wk-favicon { display: inline-block; width: 14px; height: 14px; margin: 0 0.3em 0 0.1em; vertical-align: -2px; border-radius: 3px; background: var(--vp-c-default-soft); } .wk-favicon-fallback { background: none; color: var(--vp-c-text-3); position: relative; top: 2px; } /* Icon tooltips (hover on desktop, tap on mobile) */ .icon-tip { position: relative; display: inline-block; vertical-align: -0.125em; cursor: help; } /* Base icon wrapper for consistent alignment */ .icon { display: inline-block; vertical-align: -0.125em; } /* adds space betn mirror and tooltip button */ .mirror-wrapper + .v-popper.v-popper--theme-vp-tooltip, .v-popper.v-popper--theme-vp-tooltip + .mirror-wrapper { margin-left: 0.25em; } /* Fixed-position tooltip rendered into by JS to escape table overflow clipping */ .icon-tip-popup { position: fixed; padding: 4px 8px; border-radius: 6px; background: var(--vp-c-bg-elv); color: var(--vp-c-text-1); font-size: 12px; line-height: 1.4; white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); pointer-events: none; z-index: 9999; opacity: 0; transition: opacity 0.15s; &.visible { opacity: 1; } } /* Manual column copy button */ .vp-doc table td.has-manual-copy { vertical-align: middle; white-space: nowrap; } .manual-copy-btn { vertical-align: -0.2em; display: inline-flex; align-items: center; justify-content: center; margin-left: 4px; padding: 0; border: none; background: none; color: var(--vp-c-text-3); cursor: pointer; line-height: 1; transition: color 0.15s; &:hover { color: var(--vp-c-text-1); } &.copied { color: var(--vp-c-green-1); } } /* ScrapeTable */ :root { --scrape-cell-bg: #ebedf0; --scrape-cell-active: #56d364; --scrape-cell-active-sd: #ff4d4f; } .dark { --scrape-cell-bg: #151b23; } /* Override VitePress .vp-doc table/tr/th/td defaults */ .scrape-table { display: table !important; table-layout: fixed; border-collapse: separate !important; border-spacing: 0; white-space: nowrap; width: max-content; overflow: visible !important; margin: 0 !important; margin-right: 1px !important; .col-cell { width: 34px; } tr { background: transparent !important; border: none !important; } th, td { background: var(--vp-c-bg) !important; padding: 0 !important; border: none !important; } .corner, .source-header { border: 1px solid var(--vp-c-divider) !important; border-left: none !important; } .corner { position: sticky; left: 0; z-index: 2; padding: 0 12px !important; height: var(--scrape-header-height, 140px); background-color: var(--vp-c-bg-soft) !important; border-left: 1px solid var(--vp-c-divider) !important; color: var(--vp-c-text-1) !important; font-weight: 600; font-size: 13px; vertical-align: middle; text-align: center; } .source-header { vertical-align: bottom; height: var(--scrape-header-height, 140px); text-align: center; background: var(--vp-c-bg) !important; span { writing-mode: vertical-lr; transform: rotate(180deg); display: inline-block; font-weight: 600; color: var(--vp-c-text-1); font-size: 12px; } } .site-name { position: sticky; left: 0; z-index: 1; padding: 4px 12px !important; background: var(--vp-c-bg) !important; border: 1px solid var(--vp-c-divider) !important; border-top: none !important; color: var(--vp-c-text-1); font-weight: 600; font-size: 13px; line-height: 1; } .cell { border: 2px solid transparent !important; height: 34px; position: relative; &::before { content: ""; display: block; width: 100%; height: 100%; border-radius: 6px; background: var(--scrape-cell-bg); } &.active::before { background: var(--scrape-cell-active); } &.active-sd::before { background: var(--scrape-cell-active-sd); } &.active[title]:hover::after { content: attr(title); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 6px; background: var(--vp-c-bg-elv); color: var(--vp-c-text-1); font-size: 11px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); z-index: 10; pointer-events: none; } } } .vp-doc .vp-card, .vp-doc .vp-card:hover, .vp-doc .vp-card:focus, .vp-doc .vp-card:visited { text-decoration: none !important; } .VPFeature { border: 2px solid #3d3d3d !important; transition: border-color 0.25s !important; &:hover { border-color: var(--vp-c-brand-1) !important; } } .vp-doc .vp-card .vp-card-title { text-decoration: none !important; border-top: none !important; } :root { --vp-plugin-tabs-tab-text-color: var(--vp-c-text-2); --vp-plugin-tabs-tab-active-text-color: var(--vp-c-text-1); --vp-plugin-tabs-tab-hover-text-color: var(--vp-c-text-1); --vp-plugin-tabs-tab-bg: var(--vp-c-bg-soft); --vp-plugin-tabs-tab-divider: var(--vp-c-divider); --vp-plugin-tabs-tab-active-bar-color: var(--vp-c-brand-1); } .plugin-tabs { margin: 16px 0; background-color: var(--vp-plugin-tabs-tab-bg); border: 2px solid #3d3d3d; border-radius: var(--radius-xl); } .plugin-tabs--tab-list { position: relative; padding: 0 12px; overflow-x: auto; overflow-y: hidden; } .plugin-tabs--tab-list::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background-color: var(--vp-plugin-tabs-tab-divider); } .plugin-tabs--tab { position: relative; padding: 0 12px; border-bottom: 2px solid transparent; color: var(--vp-plugin-tabs-tab-text-color); font-size: 14px; font-weight: 500; line-height: 48px; white-space: nowrap; transition: color 0.25s; } .plugin-tabs--tab[aria-selected="true"] { color: var(--vp-plugin-tabs-tab-active-text-color); } .plugin-tabs--tab:hover { color: var(--vp-plugin-tabs-tab-hover-text-color); } .plugin-tabs--tab::after { content: ""; position: absolute; z-index: 1; right: 8px; bottom: -2px; left: 8px; height: 2px; background-color: transparent; transition: background-color 0.25s; } .plugin-tabs--tab[aria-selected="true"]::after { background-color: var(--vp-plugin-tabs-tab-active-bar-color); } .plugin-tabs--content { padding: 16px; } .plugin-tabs--content[data-is-print="true"]:not(:last-child) { border-bottom: 2px solid var(--vp-plugin-tabs-tab-divider); } .plugin-tabs--content > :first-child:first-child { margin-top: 0; } .plugin-tabs--content > :last-child:last-child { margin-bottom: 0; } .plugin-tabs--content > div[class*="language-"] { margin: 16px 0; border-radius: 8px; } :root:not(.dark) .plugin-tabs--content div[class*="language-"] { background-color: var(--vp-c-bg); } .vp-doc .collapsible-search-heading, .vp-doc .tab-search-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* noteblock icon shrinking and top-bottom padding fix */ .vp-doc .custom-block-title { display: flex; align-items: flex-start; gap: 6px; } .vp-doc .custom-block-title::before { flex-shrink: 0; margin-top: 3px; } /* so that the gap only applies to title only blocks. check layout.vue for initTitleOnly() */ .vp-doc .custom-block.title-only { padding-bottom: 16px; } html:not(.dark) .nolebase-ui-input-horizontal-option { --nolebase-ui-input-horizontal-option-active-bg: var(--vp-c-bg); --nolebase-ui-input-horizontal-option-active-text: var(--vp-c-text-1); } /* Hide the default VitePress mobile appearance toggle and social links — we render them ourselves in ScreenMenu */ #VPNavScreen .VPNavScreenAppearance, #VPNavScreen .VPNavScreenSocialLinks { display: none; } .screen-menu-social-links { padding-top: 8px; border-top: 1px solid var(--vp-c-divider); }