fin1te/dsv1.0.0
  1. ds
  2. Components
  3. Panel

Panel

Side panels with sections and fields.

Code
<aside class="panel">
  <div class="panel-head"><h4>Component</h4><button class="btn icon sm ghost" aria-label="Close panel">…</button></div>
  <div class="panel-sec">
    <p class="label">Text</p>
    <label class="fld"><span>Label</span><input class="inp" value="PostgreSQL" /></label>
  </div>
  <div class="panel-sec">
    <p class="label">Look</p>
    <div class="fld"><span>Kind</span><div class="seg fill" role="radiogroup">…</div></div>
    <div class="fld"><span>Tone</span><div class="tones" role="radiogroup">…</div></div>
  </div>
  <div class="panel-sec"><p class="hint">…</p></div>
</aside>

topo's properties, diagram and code panels. The head sticks while the body scrolls; sections are separated by rules and start with a label.

ClassOnWhat it does
.panelasideFloating surface with padding and --shadow. Position it yourself.
.panel-headdivSticky title row.
.panel-secdivA section: a grid of fields with a rule under it.
.fld / .two / .hint / .metalabel, div, pFields, two-up rows, help text, mono footnote.