Sessions

Sessions
128+12 this week
Open findings
—
Loading
┌────────────┬───────────────────────────────────────┐
│ logo  ws ▾ │ ┌───────────────────────────────────┐ │  page: muted at 40%
│ ────────── │ │                                   │ │
│ Section    │ │   content panel                   │ │  panel: card colour,
│ Section    │ │   14px radius, depth-panel        │ │  inset 12px top/right/bottom
│ Section    │ │   the only thing that scrolls     │ │
│            │ │                                   │ │
│ (footer)   │ └───────────────────────────────────┘ │
└────────────┴───────────────────────────────────────┘
  • No top bar. The workspace and account switcher sits at the head of the side navigation, next to the logo, which links home.
  • Navigation items are 14px muted text with 14px icons, a 12px radius and 6×8px padding. Active and hover states use the sidebar-accent fill and the foreground colour. Group labels are 12px medium muted text.
  • The shell is exactly the viewport height. The content panel scrolls on its own.
  • Pages center in the space left by the navigation, not on the window's center line.
  • Small screens: there is no inset panel and no side navigation. A 56px top row holds a menu button, the logo and the switcher.

Markup

<div class="app-shell">
  <aside class="app-sidebar">
    <div class="app-sidebar-head">logo, workspace switcher, usage</div>
    <nav class="nav">…</nav>
  </aside>
  <div class="app-main">
    <div class="app-mobile-bar">menu button, logo, switcher</div>
    <div class="app-panel">
      <div class="route-enter" key="section"><div class="page">…</div></div>
    </div>
  </div>
</div>
Part Value
.app-shell Viewport height, overflow hidden. From 768px the page behind the panel is muted at 40%
.app-sidebar 256px, hidden below 768px
.app-sidebar-head / .app-mobile-bar 56px rows. The mobile bar shows only below 768px
.app-main Insets the panel by 12px on the top, right and bottom from 768px
.app-panel The only scrolling element. From 768px: card fill, 14px radius, depth-panel
.route-enter 300ms fade and 8px rise. Key it on the section, not the full URL: moving between items in one section shouldn't look like a page reload
.page Page content: 40px vertical padding, 16px sides (24px from 768px). .page-narrow for forms (672px), .page-settings for settings (896px, 40px sides)
sesan.studio