Windows

Something that opens over the page, from the middle, and closes back to where you were

A window opens over the page without leaving it. You close it to get back to exactly where you were.

  • Modal: stops the page until you close it. The page dims behind it.
  • Pop-up: small, opened by something on the page, saying one thing.
  • Floating: the page carries on behind it. You can move it by its grip, and it scrolls on its own.
  • Large corners (12px) and the soft shadow: it floats, so it is the one place a shadow belongs.
  • Always a way out: a close in the top right, the Escape key, and (for a modal) a click outside.
  • One at a time. A window never opens another window.

It comes from the middle. If it comes from an edge, it is a Drawer.

In use: the Live view (floating), an opened figure, Your Scenario on gip.philpin.com (modal).