<div class="veylo-win">
<h1 class="veylo-title"><span>My Window</span></h1>
<div class="veylo-body">Body content.</div>
</div>.veylo-win is a framed window with a bevel. h1.veylo-title is the title bar (accent colour); .veylo-body is the face-coloured content. Add off to the window for an inactive, greyed title bar. A .veylo-title can hold buttons after the title text.
<div class="veylo-card sunk">
<h4><span>Title</span><span class="veylo-count">2</span></h4>
<div>Body</div>
<footer><button class="sm">Cancel</button><button class="sm primary">Save</button></footer>
</div>| Part | Purpose |
|---|---|
.veylo-card | Title strip (h4), body, optional footer for buttons |
sunk | Field-coloured inset body |
plain | Neutral title strip instead of the accent |
.veylo-price | Large price with a small unit |
.veylo-well: a sunken area for demos, code and grouped content. m0 removes its margin.fieldset.veylo-group: etched group box with a legend (see Forms)..veylo-sheet and .veylo-panel: a scrolling page and its sections (see Navigation).<div class="veylo-accs" data-veylo-one>
<details class="veylo-acc" open><summary>One</summary><div>Text</div></details>
<details class="veylo-acc"><summary>Two</summary><div>Text</div></details>
</div>Built on native details, so it works without script. data-veylo-one on the wrapper keeps one panel open. Ctrl+click on a summary toggles all panels, and Up and Down move between summaries.
<ul class="veylo-list"><li>One</li><li class="sel">Two</li></ul>
<ul class="veylo-list multi"><li>One</li><li>Two</li></ul>A selectable list. Click selects, arrows move, Home and End jump. With multi, Ctrl+click, Shift+click, drag and Ctrl+A select several. Selected items get .sel and the list fires change with detail.items.
<ul class="veylo-tree">
<li><details open><summary>src</summary>
<ul><li class="leaf">main.js</li></ul>
</details></li>
<li class="leaf">package.json</li>
</ul>Folders are details; files are li.leaf. Right and Left expand and collapse a folder, Up and Down move.
<div class="veylo-media"><span class="veylo-avatar">AB</span><div><b>Ada</b>Posted a comment.</div></div>
<div class="veylo-divider">or</div>.veylo-media puts a figure beside text. .veylo-divider is a horizontal rule with an optional centred label. For splits, see .veylo-split in Layout.