diff --git a/addons/home_dashboard/__manifest__.py b/addons/home_dashboard/__manifest__.py index abac906..85cadf1 100644 --- a/addons/home_dashboard/__manifest__.py +++ b/addons/home_dashboard/__manifest__.py @@ -23,6 +23,9 @@ 'web.assets_common': [ 'home_dashboard/static/src/css/theme_variables.css', ], + 'point_of_sale._assets_pos': [ + 'home_dashboard/static/src/css/pos_style.css', + ], }, 'installable': True, 'application': True, diff --git a/addons/home_dashboard/static/src/css/pos_style.css b/addons/home_dashboard/static/src/css/pos_style.css new file mode 100644 index 0000000..588cd16 --- /dev/null +++ b/addons/home_dashboard/static/src/css/pos_style.css @@ -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; +} \ No newline at end of file