@vcl/vcl
Version:
The whole VCL in one package
48 lines (28 loc) • 1.02 kB
Markdown
# [VCL](https://vcl.github.io/vcl/) toolbar
Horizontal bar which can contain navigation elements,
buttons, form controls etc.
## Features
Multiple levels can be visualized with the modifiers `leveln`
where `n` is the level number. The first level (n = 1) is the default and does
not require a modifier.
## Usage
### Website or App Main Toolbar
A toolbar with logo, controls and a navigation menu
as typically found as main application toolbar.
To account for its hierarchy level visually, it is enlarged by 10%.
[main toolbar example](/demo/example-main.html)
### Input
A variant with an embedded input.
[input example](/demo/example-input.html)
### Second Level
Second level toolbar with textual title in the middle.
[secondary example](/demo/example-secondary.html)
## Classes
- `toolbar`
- `toolbar-title`
## Modifiers
- `secondary`: Make is appear less important (level 2).
- `transparent`: Make the background color transparent.
## Variables
- `$toolbar-l1-bg-color`
- `$toolbar-l2-bg-color`