Skip to content

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

701 B
Raw Blame
/* The shared collapse hook keeps the body inert. The CSS keeps the same grid/opacity
   timing without an uninspectable style object, including a reduced-motion
   transitionend so the lazy body can unmount after it closes. */
[data-background-task-fold] {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-background-task-fold][data-expanded='true'] {
  grid-template-rows: 1fr;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  [data-background-task-fold] {
    transition:
      grid-template-rows 0.01ms linear,
      opacity 0.01ms linear;
  }
}