Style Guide
Colors
var(--bs-primary)
var(--bs-secondary)
var(--bs-success)
var(--bs-danger)
var(--bs-warning)
var(--bs-info)
var(--bs-light)
var(--bs-dark)
var(--bs-body-color)
var(--bs-border-color)
Buttons
btn btn-primary
btn btn-secondary
btn btn-success
btn btn-danger
btn btn-warning
btn btn-info
btn btn-light
btn btn-dark
btn btn-link
btn btn-outline-primary
btn btn-outline-secondary
btn btn-outline-success
btn btn-outline-danger
btn btn-outline-warning
btn btn-outline-info
btn btn-outline-dark
btn btn-primary btn-sm
btn btn-primary
btn btn-primary btn-lg
btn btn-primary disabled
btn btn-primary disabled
Utilities
Typography
H1 Heading
H2 Heading
H3 Heading
H4 Heading
H5 Heading
H6 Heading
Body text with strong, emphasis, links, and
inline code.
Muted secondary text for subtle emphasis.
Lead paragraph to introduce sections.
Forms
Verification Switch
.state-not-verified to the switch input for a red track.Cards & Badges
Use .card with optional structural pieces:
.card-header → .card-body → .list-group → .card-footer.
Add utility classes like .h-100 when you need full-height columns.
- Cras justo odio
- Dapibus ac facilisis in
Badges
Pager
KPI Cards
KPI cards extend .card with .kpi-card plus a modifier (e.g. .kpi--primary).
Typical structure: KPI wrapper → .card-body with metrics → .card-footer for metadata or actions.
Theme Wrappers
Wrap any group with p-2 theme-* (add h-100 for equal heights) to tint the background.
The inner cards stay standard Bootstrap markup.
Named Gradient Cards
Soft Tinted Cards
Subtle, solid tints via .card-soft-* classes.
High Contrast
Use .theme-contrast to neutralize gradients for data-heavy views.
Tables & Pagination
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | Bird |
Rainbow Table
Applies colorful stripes to .table.table-striped (light theme).
| # | Label | Value | Status |
|---|---|---|---|
| 1 | Row 1 | 7% | Primary |
| 2 | Row 2 | 14% | Danger |
| 3 | Row 3 | 21% | Warning |
| 4 | Row 4 | 28% | Success |
| 5 | Row 5 | 35% | Info |
| 6 | Row 6 | 42% | Secondary |
| 7 | Row 7 | 49% | Primary |
| 8 | Row 8 | 56% | Danger |
| 9 | Row 9 | 63% | Warning |
| 10 | Row 10 | 70% | Success |
| 11 | Row 11 | 77% | Info |
| 12 | Row 12 | 84% | Secondary |
.table.table-striped with custom 6-color stripe cycle.Progress
Square Viewer (sv-*)
Grading Viewer (imggr-*)
Viewer Controls
Screenings Card
- Left image: available
- Right image: missing
- Reports: 2
- Report 1 — status: ok
- Report 2 — status: ok
- Report 3 — status: ok
- Report 4 — status: ok
- Report 5 — status: ok
- Report 6 — status: ok
- Report 7 — status: ok
- Report 8 — status: ok
.scr-card, .scr-badge, .scr-grid, .list-compact, .scr-scroll