| .toolbar { | |
| display: none; | |
| } | |
| @media (max-width: 996px) { | |
| .toolbar { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| margin-bottom: 0.75rem; | |
| } | |
| } | |
| .toolbarSearch { | |
| flex: 1 1 auto; | |
| min-width: 0; | |
| } | |
| .toolbarSearch :global(.navbar__search) { | |
| margin-left: 0 !important; | |
| width: 100%; | |
| } | |
| .toolbarSearch :global(.navbar__search-input) { | |
| width: 100% !important; | |
| height: 2.25rem !important; | |
| } | |
| .toolbarIconBtn { | |
| flex: none; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 2.25rem; | |
| height: 2.25rem; | |
| padding: 0; | |
| border: 1px solid #dfe5f0; | |
| border-radius: 4px; | |
| background-color: #fff; | |
| color: var(--global-colors-text-primary); | |
| cursor: pointer; | |
| } | |
| .toolbarIconBtn:hover { | |
| border-color: var(--ifm-color-primary); | |
| color: var(--ifm-color-primary); | |
| } | |
| .toolbarMenuBtn { | |
| width: auto; | |
| padding: 0 0.75rem; | |
| gap: 0.5rem; | |
| } | |
| .toolbarMenuLabel { | |
| font-size: 0.8125rem; | |
| font-weight: 600; | |
| white-space: nowrap; | |
| } | |
| .toolbarIcon { | |
| width: 1rem; | |
| height: 1rem; | |
| flex: none; | |
| } | |
| .backdrop { | |
| position: fixed; | |
| inset: 0; | |
| background-color: rgba(0, 0, 0, 0.45); | |
| opacity: 0; | |
| pointer-events: none; | |
| transition: opacity 0.25s ease; | |
| z-index: 1000; | |
| } | |
| .drawer { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| bottom: 0; | |
| width: min(320px, 85vw); | |
| background-color: var(--global-colors-background, #fff); | |
| box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); | |
| transform: translateX(-100%); | |
| transition: transform 0.25s ease; | |
| z-index: 1001; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .open .backdrop { | |
| opacity: 1; | |
| pointer-events: auto; | |
| } | |
| .open .drawer { | |
| transform: translateX(0); | |
| } | |
| .header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 1rem 1.25rem; | |
| border-bottom: 1px solid #edf2fa; | |
| font-weight: 600; | |
| font-size: 0.9375rem; | |
| } | |
| .close { | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| padding: 0.25rem; | |
| color: var(--global-colors-text-primary); | |
| line-height: 0; | |
| } | |
| .body { | |
| flex: 1; | |
| overflow-y: auto; | |
| padding: 0.5rem 0; | |
| } | |
| .menu { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| } |