Overview
The inventory table displays all products with inline actions, status badges, and filtering capabilities.Search Bar
The search bar provides filtering controls above the inventory table.HTML Structure
panel_inventario.html:56-72
CSS Classes
.search-bar
- Display: Flex
- Align items: Center
- Gap: 8px
- Margin bottom: 18px
- Flex wrap: Wrap
base.css:427-433
Search Input
base.css:435-446
Focus State
base.css:448-451
Table Structure
HTML Structure
panel_inventario.html:74-153
CSS Classes
.t-wrap
Scrollable table wrapper
base.css:357-359
table
- Width: 100%
- Border collapse: Collapse
- Font size: 13px
base.css:361-365
thead th
Table headers
- Background: Light gray (
var(--gf)) - Color: Medium gray (
var(--gm)) - Font size: 10.5px
- Transform: Uppercase
- Letter spacing: 0.7px
- Padding: 9px 13px
- Text align: Left
- Font weight: 600
- Border bottom: 2px solid gray
base.css:367-377
tbody tr
Table rows
- Border bottom: 1px solid gray
- Transition: Background 0.12s
base.css:379-382
Row Hover
base.css:384-386
td
Table cells
- Padding: 11px 13px
- Vertical align: Middle
base.css:392-395
Product Row Structure
In Stock Product
panel_inventario.html:85-95
Low Stock Product
panel_inventario.html:96-106
Out of Stock Product
panel_inventario.html:118-128
Badge System
Status badges indicate product availability.CSS Classes
.badge
Base badge styles
- Display: Inline-block
- Padding: 2px 9px
- Border radius: 20px
- Font size: 11px
- Font weight: 600
base.css:398-404
Badge Variants
.b-green - In Stock
base.css:406-409
.b-orange - Low Stock
base.css:421-424
.b-red - Out of Stock
base.css:411-414
.b-gray - Inactive/Disabled
base.css:416-419
Badge Usage
panel_inventario.html:90,101,123
SKU Display
SKU codes are displayed in a monospace format.CSS
base.css:536-541
Action Buttons
Edit and Delete Buttons
panel_inventario.html:91-94
Button Classes
.btn-s (Secondary)
- Background: White
- Color: Black
- Border: 1px solid light gray
- Hover: Light gray background
base.css:211-219
.btn-d (Danger)
- Background: Light red (
var(--rojo-s)) - Color: Red (
var(--rojo)) - Border: 1px solid #f5c5c5
- Hover: Gray background
base.css:221-229
Pagination
Pagination controls are displayed below the table.HTML Structure
panel_inventario.html:154-163
Active Page Button
.btn-p (Primary) - Active page
- Background: Red (
var(--rojo)) - Color: White
- Hover: Darker red
base.css:202-209
Stock Level Styling
Critical Stock (Red)
panel_inventario.html:100,122
Responsive Behavior
On screens below 860px:- Table becomes horizontally scrollable via
.t-wrap - Search bar items wrap to multiple rows
base.css:357-359,544-557