.site-drawer-root { height: 100vh; height: 100dvh; bottom: auto; } .site-drawer-backdrop { background: rgba(3,0,7,.32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity 300ms ease; } .site-drawer-root.is-open .site-drawer-backdrop { opacity: 1; } .site-drawer { isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 65% 75%,#28102f 0%,#10051c 46%,#030007 100%); transform: translate3d(-104%,0,0); transition: transform 320ms cubic-bezier(.4,0,.3,1); box-shadow: 12px 0 36px rgba(3,0,7,.22); } .site-drawer-root.is-open .site-drawer { transform: translate3d(0,0,0); transition-duration: 660ms; transition-timing-function: cubic-bezier(.16,1,.3,1); } .site-drawer > .flow-background { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; } .drawer-head, .drawer-nav { position: relative; z-index: 1; } .drawer-head { flex: 0 0 var(--ds-header-h); } .drawer-close { min-width: 44px; min-height: 44px; } .drawer-nav { overscroll-behavior: contain; } .drawer-nav li { opacity: 0; transform: translate3d(-18px,9px,0); transition: opacity 160ms ease, transform 200ms ease; } .site-drawer-root.is-open .drawer-nav li { opacity: 1; transform: translate3d(0,0,0); transition-duration: 520ms; transition-timing-function: cubic-bezier(.16,1,.3,1); transition-delay: calc(95ms + var(--menu-i,0) * 65ms); } .site-drawer-root.is-open .drawer-nav li:focus-within { opacity: 1; transform: none; transition: none; } .drawer-nav a { position: relative; min-height: 48px; padding: .65rem .8rem; text-shadow: 0 1px 2px rgba(3,0,7,.8); } .drawer-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 120ms ease; } .drawer-outline path { fill: none; stroke: var(--ds-accent); stroke-width: 1; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 140ms ease-in; } @media (hover: hover) { .site-drawer-root.is-open .drawer-nav a:hover .drawer-outline { opacity: 1; } .site-drawer-root.is-open .drawer-nav a:hover .drawer-outline path { stroke-dashoffset: 0; transition-duration: 480ms; transition-timing-function: cubic-bezier(.2,.7,.3,1); } } .site-drawer-root.is-open .drawer-nav a:focus-visible .drawer-outline { opacity: 1; } .site-drawer-root.is-open .drawer-nav a:focus-visible .drawer-outline path { stroke-dashoffset: 0; transition-duration: 480ms; } @media (prefers-reduced-motion: reduce) { .site-drawer, .site-drawer-backdrop, .drawer-nav li, .site-drawer-root.is-open .drawer-nav li, .drawer-outline, .drawer-outline path { transition: none !important; transition-delay: 0ms !important; } }
