The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Bar: Fuobe FX from 1280 px, items a little narrower to 1599 px
Adarsh3b8cb85fea5e
diff --git a/src/app/nav-states.css b/src/app/nav-states.cssindex 2d292745..2d6d65ab 100644--- a/src/app/nav-states.css+++ b/src/app/nav-states.css@@ -120,7 +120,7 @@ html:not([data-input="pointer"]) .nav-focus-out:focus-visible {html [data-top-bar][data-menu-open] [data-bar-menu].nav-row:is(:hover, :focus-visible) {background-color: transparent;}-/* More, below 1280 px, holds Apps and Motions & effects (and below 1024 px Fuobe FX): their page marks it there. */+/* More, below 1280 px, holds Fuobe FX, Apps and Motions & effects: their page marks it there. */@media (max-width: 1279.98px) {.nav-row.nav-mark-under[data-narrow]::before {content: "";@@ -135,20 +135,6 @@ html [data-top-bar][data-menu-open] [data-bar-menu].nav-row:is(:hover, :focus-vipointer-events: none;}}-@media (max-width: 1023.98px) {- .nav-row.nav-mark-under[data-narrow-lg]::before {- content: "";- position: absolute;- bottom: 3px;- left: 50%;- width: 16px;- height: 3px;- margin-left: -8px;- border-radius: 9999px;- background-color: var(--nav-mark);- pointer-events: none;- }-}@media (forced-colors: active) {[data-bar-indicator] {background-color: transparent;diff --git a/src/components/nav/bar-split.tsx b/src/components/nav/bar-split.tsxindex 593a962a..d61dd9c3 100644--- a/src/components/nav/bar-split.tsx+++ b/src/components/nav/bar-split.tsx@@ -17,9 +17,9 @@ import { useBarMenu, type TriggerHandlers } from "./bar-menus";* chevron and the bar's one open highlight (BarIndicator) behind it.*/-/** The item: 40 px (44 to tap), 10 px left and 8 px right of the words (14 and 10 from 1440 px), then the chevron. */+/** The item: 40 px (44 to tap), 10 px left and 8 px right of the words (14 and 10 from 1600 px), then the chevron. */export const BAR_TRIGGER =- "nav-row nav-mark-under group/bar-item inline-flex h-10 shrink-0 items-center gap-1 rounded-[10px] pr-2 pl-2.5 text-[14px] whitespace-nowrap text-foreground/80 nav-hover:text-foreground focus-visible:text-foreground data-[open]:text-foreground data-[active]:font-semibold data-[active]:text-foreground min-[1440px]:pr-2.5 min-[1440px]:pl-3.5 [@media(pointer:coarse)]:h-11 [@media(pointer:coarse)]:min-w-11";+ "nav-row nav-mark-under group/bar-item inline-flex h-10 shrink-0 items-center gap-1 rounded-[10px] pr-2 pl-2.5 text-[14px] whitespace-nowrap text-foreground/80 nav-hover:text-foreground focus-visible:text-foreground data-[open]:text-foreground data-[active]:font-semibold data-[active]:text-foreground min-[1600px]:pr-2.5 min-[1600px]:pl-3.5 [@media(pointer:coarse)]:h-11 [@media(pointer:coarse)]:min-w-11";/** The chevron: a quiet mark inside the item (no box of its own); it turns while the menu is open. */export const BarChevron = () => (diff --git a/src/components/nav/top-bar.tsx b/src/components/nav/top-bar.tsxindex b987e430..a3040d14 100644--- a/src/components/nav/top-bar.tsx+++ b/src/components/nav/top-bar.tsx@@ -31,10 +31,10 @@ export { prefetchHrefs } from "./nav-prefetch";* Library; search; New creation; who is looking. 56 px on every page. What doesn't fit moves into More, by CSS alone* (nothing is measured, so nothing moves after the first paint):* 1600 and up everything, search 280 px, a guest's Log in- * 1440-1599 the same, search 220 px (Apps, Motions & effects and Canvas each carry a chevron)+ * 1440-1599 the same, search 220 px, items 4 px narrower a side (Apps, Motions & effects and Canvas each carry a chevron)* 1280-1439 Canvas and Assist in More, search 200 px- * 1024-1279 Apps and Motions & effects in More too- * 768-1023 the same, Fuobe FX in More too, search and New creation as icon buttons+ * 1024-1279 Fuobe FX, Apps and Motions & effects in More too+ * 768-1023 the same, search and New creation as icon buttons* Measured with the site's fonts for a guest, an account and the owner, a classic scrollbar's width to spare at every* width. Below md the phone tabs take over (phone-tabs.tsx).*/@@ -45,7 +45,7 @@ export { prefetchHrefs } from "./nav-prefetch";* BAR_TRIGGER (bar-split.tsx).*/export const BAR_ITEM =- "nav-row nav-mark-under group/bar-item inline-flex h-10 shrink-0 [@media(pointer:coarse)]:h-11 items-center gap-1.5 rounded-[10px] px-2.5 text-[14px] whitespace-nowrap text-foreground/80 nav-hover:text-foreground focus-visible:text-foreground data-[state=open]:text-foreground data-[active]:font-semibold data-[active]:text-foreground aria-[current=page]:font-semibold aria-[current=page]:text-foreground min-[1440px]:px-3.5";+ "nav-row nav-mark-under group/bar-item inline-flex h-10 shrink-0 [@media(pointer:coarse)]:h-11 items-center gap-1.5 rounded-[10px] px-2.5 text-[14px] whitespace-nowrap text-foreground/80 nav-hover:text-foreground focus-visible:text-foreground data-[state=open]:text-foreground data-[active]:font-semibold data-[active]:text-foreground aria-[current=page]:font-semibold aria-[current=page]:text-foreground min-[1600px]:px-3.5";/*** Which bar item holds the open page, one item per page (areaOfPath): Create for the create tools, Studios for a studio@@ -129,7 +129,7 @@ function MoreItems() {const on = useOn();return (<>- <div className="lg:hidden">+ <div className="xl:hidden"><FxRow current={on(FX_ENTRY)} row={0} /></div>{pick(["apps", "motions", "effects"]).map((e, i) => (@@ -169,11 +169,9 @@ function MoreMenu({ active }: { active: Active }) {onOpen={warmMore}cardClassName="w-80"className="min-[1440px]:hidden"- // Marked when it holds the open page at this width: Canvas and Assist always; Apps, Motions and Effects below xl.+ // Marked when it holds the open page at this width: Canvas and Assist always; Fuobe FX, Apps, Motions and Effects below xl.active={active.canvas || active.assist}- data-narrow={active.apps || active.motions || undefined}- // Fuobe FX is in it below lg only.- data-narrow-lg={active.fx || undefined}+ data-narrow={active.apps || active.motions || active.fx || undefined}><MoreItems /></BarCardMenu>@@ -192,7 +190,7 @@ function BarLinks({ active, onTap }: { active: Active; onTap?: (href: string) =>{/* An item is marked anywhere in its area, its own page (/create, /studios …) included. */}<CreateMenu active={active.create || active.page === "create"} /><MegaLauncher id="studios" active={active.studios || active.page === "studios"} />- <MegaLauncher id="fx" active={active.fx || active.page === "fx"} className="hidden lg:inline-flex" />+ <MegaLauncher id="fx" active={active.fx || active.page === "fx"} className="hidden xl:inline-flex" /><MegaLauncher id="apps" active={active.apps || active.page === "apps"} className="hidden xl:inline-flex" /><MegaLauncher id="motions" active={active.motions || active.page === "motions"} className="hidden xl:inline-flex" /><MegaLauncher id="canvas" active={active.canvas || active.canvasHome} className="hidden min-[1440px]:inline-flex" />@@ -284,8 +282,7 @@ function RightCluster() {export function warmBar(): void {if (!window.matchMedia("(min-width: 768px)").matches) return;const ids: FetchedMegaId[] = [];- if (window.matchMedia("(min-width: 1024px)").matches) ids.push("fx");- if (window.matchMedia("(min-width: 1280px)").matches) ids.push("apps", "motions");+ if (window.matchMedia("(min-width: 1280px)").matches) ids.push("fx", "apps", "motions");if (window.matchMedia("(min-width: 1440px)").matches) ids.push("canvas");preloadMegaPanel();loadMenusNow(ids);