Introduce home_dashboard module with custom Point of Sale styling.

This commit is contained in:
Alaguraj0361 2026-01-07 17:49:30 +05:30
parent 57d6ee8784
commit 33a1baef46
2 changed files with 124 additions and 0 deletions

View File

@ -23,6 +23,9 @@
'web.assets_common': [ 'web.assets_common': [
'home_dashboard/static/src/css/theme_variables.css', 'home_dashboard/static/src/css/theme_variables.css',
], ],
'point_of_sale._assets_pos': [
'home_dashboard/static/src/css/pos_style.css',
],
}, },
'installable': True, 'installable': True,
'application': True, 'application': True,

View File

@ -0,0 +1,121 @@
/* ========================================
ODOO POINT OF SALE (POS) THEME
Golden Yellow & Teal Premium
======================================== */
:root {
--pos-primary: #fecd4f;
--pos-secondary: #2bb1a5;
--pos-header-bg: #ffffff;
}
/* 1. Main POS Header */
.pos .pos-topheader {
background: var(--pos-header-bg) !important;
border-bottom: 2px solid var(--pos-primary) !important;
color: #2c3e50 !important;
margin-bottom: 20px !important;
}
/* 2. Replace POS Logo with Company Logo from Settings */
.pos .pos-logo {
content: url('/web/binary/company_logo') !important;
height: 40px !important;
width: auto !important;
padding: 5px !important;
object-fit: contain !important;
}
/* 3. Floor Map Header (The purple bar in image) */
.pos .floor-map .header {
background: var(--pos-secondary) !important;
color: #ffffff !important;
font-weight: 700 !important;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}
/* 4. Table/Seat Icons in Floor Map */
.pos .floor-map .table {
border-radius: 12px !important;
transition: all 0.3s ease !important;
}
.pos .floor-map .table.selected {
background: var(--pos-primary) !important;
color: #000 !important;
}
/* 5. Product Screen - Action Pad & Numpad */
.pos .action-pad .button,
.pos .numpad .button {
border-radius: 10px !important;
font-weight: 600 !important;
transition: all 0.2s ease !important;
}
.pos .action-pad .button.pay {
background: var(--pos-secondary) !important;
color: white !important;
border: none !important;
}
.pos .action-pad .button.pay:hover {
background: #259a8f !important;
}
.pos .numpad .button:active {
background: var(--pos-primary) !important;
color: #000 !important;
}
/* 6. Order Widget */
.pos .order-container {
background: #f8fafc !important;
}
.pos .order-line.selected {
background: rgba(254, 205, 79, 0.15) !important;
border-left: 4px solid var(--pos-primary) !important;
}
/* 7. Product List */
.pos .product-list .product {
border-radius: 15px !important;
overflow: hidden !important;
border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.pos .product-list .product:hover {
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
border-color: var(--pos-primary) !important;
}
.pos .product .price-tag {
background: var(--pos-secondary) !important;
}
/* 8. POS Buttons */
.pos .button {
border-radius: 8px !important;
}
.pos .button.highlight {
background: var(--pos-primary) !important;
color: #000 !important;
}
/* 9. Search Bar */
.pos .search-bar input {
border-radius: 20px !important;
border: 1px solid #e2e8f0 !important;
}
.pos .search-bar input:focus {
border-color: var(--pos-secondary) !important;
}
.btn-primary {
color: #FFFFFF;
background-color: #259a8f !important;
border-color: #259a8f !important;
}