Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
.popover-ui {
display: flex;
max-height: min(var(--popover-available-height, 1700px), 1700px);
max-width: min(calc(100vw - 1rem), var(--popover-available-width, 100vw));
flex-direction: column;
overflow: auto;
overscroll-behavior: contain;
border-radius: var(--theme-menu-radius, 0.7rem);
border-width: 1px;
border-style: solid;
border-color: rgb(var(--border-menu) / var(--border-menu-alpha, var(--border-light-alpha, 1)));
background-color: rgb(var(--surface-popover));
padding: 0.5rem;
color: rgb(var(--text-primary));
/* The `menuShadow` role, whose light default is this literal. */
box-shadow: var(
--theme-menu-shadow,
0 10px 15px -3px rgb(var(--black) / 0.1),
0 4px 6px -4px rgb(var(--black) / 0.1)
);
transform-origin: var(--popover-transform-origin, top);
opacity: 0;
transition-property: opacity, scale;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
scale: 0.95;
margin-top: 4px;
margin-inline-end: -2px;
}
/* Elevation here is a black shadow, which carries no separation at all against
* a pure black surface. Lives with the primitive rather than in the app
* stylesheet, which the published package does not include. */
/* A form-field list takes the theme's list roles: `listMinWidth` (0 sizes it by its
* trigger) and `listMaxHeight`, never past the room the popover leaves below or above it. */
.popover-ui[data-variant='field'] {
min-width: var(--theme-list-min-width, 8rem);
max-height: min(var(--theme-list-max-height, 24rem), var(--popover-available-height, 100dvh));
}
/* ...and is never narrower than its trigger. The floor sits on Ariakit's wrapper, where the
* anchor width is set and which the list fills, because a role of `0` (unitless) cannot be
* combined with a length in `max()`. */
.popover-field-wrapper {
min-width: var(--popover-anchor-width, 0px);
}
html.high-contrast .popover-ui {
border: 1px solid rgb(var(--border-medium));
box-shadow: none;
}
.popover-animate {
opacity: 0;
transform: scale(0.95) translateY(-0.5rem);
transition:
opacity 150ms cubic-bezier(0.4, 0, 0.2, 1),
transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.popover-animate[data-enter] {
opacity: 1;
transform: scale(1) translateY(0);
}
.popover-ui:focus-visible,
.popover-ui[data-focus-visible] {
outline: 2px solid rgb(var(--focus-control));
outline-offset: -1px;
}
.popover-ui:where(.dark, .dark *) {
background-color: rgb(var(--surface-popover));
color: rgb(var(--text-secondary));
box-shadow: var(
--theme-menu-shadow,
0 10px 15px -3px rgb(var(--black) / 0.25),
0 4px 6px -4px rgb(var(--black) / 0.1)
);
}
.select-item {
display: flex;
cursor: pointer;
scroll-margin: 0.5rem;
align-items: center;
gap: 0.5rem;
border-radius: var(--theme-radius-lg, 0.5rem);
padding: 0.5rem;
outline: none !important;
}
.select-item[aria-disabled='true'] {
opacity: 0.5;
}
.select-item[data-active-item] {
background-color: rgb(var(--surface-hover));
color: rgb(var(--text-primary));
}
.popover-ui[data-enter] {
opacity: 1;
scale: 1;
}