:root { --un-text-opacity: 100%; } /* Keep portaled select options scrollable within the available window height. * Reserve the two border pixels on FormSelect's enclosing content. */ [data-reka-select-viewport] { max-height: calc(var(--reka-select-content-available-height) - 2px); overscroll-behavior-y: contain; } /* * Thin/transparent scrollbar, matching packages/ui/src/styles/global.css - * that stylesheet only reaches the Nuxt plugin apps, not this injected * webcomponents shell, which otherwise falls back to the browser default * (thick, opaque-gutter) scrollbar clashing with the translucent dock. * `:host`, not `:root` - this stylesheet is adopted into the dock's shadow * root (`defineCustomElement(..., { shadowRoot: true, styles: [css] })`), * where `:root` only ever matches the top-level document's . * Rules below are unscoped (not `#devframes-anchor ...`) since the * shadow boundary already keeps them from leaking onto the host page, and * scoping under the anchor's id would miss edge-docked mode entirely * (`DockEmbedded.vue` renders `DockEdge`/`#devframes-edge-panel` and * `Dock`/`#devframes-anchor` as mutually exclusive siblings). */ :host { --app-scrollbar-size: 6px; --app-scrollbar-radius: 1px; --app-scrollbar-thumb: #8884; --app-scrollbar-thumb-hover: #8885; --devframes-safe-area-top: env(safe-area-inset-top, 0px); --devframes-safe-area-right: env(safe-area-inset-right, 0px); --devframes-safe-area-bottom: env(safe-area-inset-bottom, 0px); --devframes-safe-area-left: env(safe-area-inset-left, 0px); } ::-webkit-scrollbar { width: var(--app-scrollbar-size); } ::-webkit-scrollbar:horizontal { height: var(--app-scrollbar-size); } ::-webkit-scrollbar-corner { background: transparent; } ::-webkit-scrollbar-thumb { background-color: var(--app-scrollbar-thumb); transition: background 0.2s ease; border-radius: var(--app-scrollbar-radius); } ::-webkit-scrollbar-thumb:hover { background-color: var(--app-scrollbar-thumb-hover); } ::-webkit-scrollbar-track { border-radius: var(--app-scrollbar-radius); background: transparent; } #devframes-anchor { --uno: w-0 z-floating-anchor fixed origin-center font-sans text-[15px] box-border; transform: translate(-50%, -50%) rotate(0); } #devframes-anchor #devframes-dock-container { --uno: absolute left-0 top-0 w-max flex; height: var(--devframes-dock-height, 40px); min-width: var(--devframes-dock-min-width, 100px); transform: translate(-50%, -50%); } #devframes-anchor.devframes-vertical #devframes-dock-container { transform: translate(-50%, -50%) rotate(90deg); --uno: transition-all duration-500; } #devframes-anchor #devframes-dock { --uno: h-full rounded-lg select-none touch-none ma flex border border-base; --uno: "shadow text-[#333] dark:text-white bg-glass:80"; --uno: transition-all duration-500; height: var(--devframes-dock-height, 40px); width: calc-size(max-content, size); } #devframes-anchor.devframes-minimized #devframes-dock { --uno: px-0 py-[2px] rounded-full; width: var(--devframes-dock-minimized-size, 22px); height: var(--devframes-dock-minimized-size, 22px); } #devframes-anchor:hover #devframes-glowing { --uno: opacity-60; } #devframes-anchor #devframes-glowing { --uno: absolute left-0 top-0 opacity-0 transition-all duration-[1000ms] ease-out pointer-events-none -z-[1] rounded-full; width: var(--devframes-dock-glow-size, 160px); height: var(--devframes-dock-glow-size, 160px); filter: blur(var(--devframes-dock-glow-blur, 60px)); transform: translate(-50%, -50%); /* Follows the brand: derived from the primary ramp (overridable via --devframe-primary), so a rebrand retints the glow automatically. */ background-image: linear-gradient( 45deg, var(--colors-primary-300, #adc77f), var(--colors-primary-500, #517158), var(--colors-primary-DEFAULT, #486954) ); } /* * Edge-mode collapse (opt-in via `settings.autoCollapseEdgeToolbar`): the * panel itself shrinks to a small pill (see `DockEdge.vue`'s `panelStyle` * collapsed branches) rather than fading in place; this transition just * animates that resize + the border-radius change. */ #devframes-edge-panel { --uno: transition-all duration-500; transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1); } @media print { #devframes-anchor { --uno: hidden; } } .devframes-resize-handle-horizontal { --uno: absolute left-[6px] right-[6px] h-[10px] -my-[5px] cursor-ns-resize rounded-md; } .devframes-resize-handle-vertical { --uno: absolute top-[6px] bottom-0 w-[10px] -mx-[5px] cursor-ew-resize rounded-md; } .devframes-resize-handle-corner { --uno: absolute w-[14px] h-[14px] -m-[6px] rounded-md; } .devframes-resize-handle { --uno: z-viewframe-resizer; } .devframes-resize-handle:hover { --uno: bg-gray-400:10; } @keyframes devframes-shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } } .devframes-shake { animation: devframes-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97); } @media (prefers-reduced-motion: reduce) { .devframes-shake { animation: none; } #devframes-edge-panel { transition: none !important; } }