Overview
The dashboard displays real-time business metrics in card format with trend indicators and an activity feed showing recent system events.Metrics Container
The metrics grid displays key performance indicators across the top of the dashboard.HTML Structure
index.html:62-87
CSS Classes
.metrics
Container for all metric cards
- Display: CSS Grid
- Columns:
repeat(auto-fit, minmax(190px, 1fr)) - Gap: 14px
- Margin bottom: 24px
base.css:294-299
.metric
Individual metric card
- Background: White (
var(--bl)) - Border: 1px solid light gray (
var(--gb)) - Border radius: 8px
- Padding: 18px 20px
- Box shadow:
0 2px 12px rgba(0, 0, 0, .08) - Display: Flex column
- Gap: 5px
base.css:301-310
Border Left Color Variants
.metric.r - Red border (Sales/Revenue metrics)
base.css:312-314
.metric.n - Black border (Stock/Inventory metrics)
base.css:316-318
.metric.g - Gray border (Transaction metrics)
base.css:320-322
Metric Content Elements
Label
- Font size: 11px
- Color: Medium gray (
var(--gm)) - Transform: Uppercase
- Letter spacing: 0.5px
base.css:324-329
Value
- Font size: 26px
- Font weight: 800
- Line height: 1
base.css:331-335
Trend Indicator
- Font size: 11.5px
.upcolor: Green (#1E8A3E).downcolor: Red (var(--rojo))
base.css:337-347
Icon
- Font size: 20px
- Align: Flex-end (right)
- Opacity: 0.2
- Font style: Normal
base.css:349-354
Metric Examples
Sales Metric
index.html:63-68
Stock Metric
index.html:69-74
Transactions Metric
index.html:75-80
Revenue Metric
index.html:81-86
Activity Feed
The activity feed displays recent system events with color-coded indicators.HTML Structure
index.html:119-128
CSS Classes
.activity
List container
dashboard.css:38
.activity li
Individual activity item
- Display: Flex
- Align items: Flex-start
- Gap: 10px
- Padding: 10px 0
- Border bottom: 1px solid light gray
- Font size: 12.5px
dashboard.css:39-46
.dot
Activity indicator dot
- Width: 7px
- Height: 7px
- Border radius: 50%
- Margin top: 4px
- Flex shrink: 0
dashboard.css:48-53
Dot Color Variants
.dot-r - Red dot (sales events)
dashboard.css:54
.dot-n - Black dot (stock events)
dashboard.css:55
.dot-g - Gray dot (system events)
dashboard.css:56
.act-time
Timestamp display
- Font size: 10.5px
- Color: Medium gray (
var(--gm)) - Margin top: 1px
dashboard.css:57
Activity Event Types
Sale Event
index.html:122
Stock Update Event
index.html:123
New Product Event
index.html:125
Alert Event
index.html:126
Responsive Behavior
On screens below 860px:- Metrics grid switches to single column
- Activity feed maintains full width
base.css:544-557