From 02ac1c81164d9765569d1bda81ed93f6ad1e1c65 Mon Sep 17 00:00:00 2001 From: Alaguraj0361 Date: Tue, 24 Feb 2026 19:11:50 +0530 Subject: [PATCH] Add shop page styling with left sidebar filters and define core theme color variables. --- .../static/src/css/shop_style.css | 22 ++++++++++++++ .../static/src/css/theme_variables.css | 24 +++++++++++++-- .../static/src/scss/shop.scss | 29 +++++++++++++++---- .../views/product_details_page.xml | 14 ++++++++- 4 files changed, 80 insertions(+), 9 deletions(-) diff --git a/addons/dine360_dashboard/static/src/css/shop_style.css b/addons/dine360_dashboard/static/src/css/shop_style.css index 3201141..584c38b 100644 --- a/addons/dine360_dashboard/static/src/css/shop_style.css +++ b/addons/dine360_dashboard/static/src/css/shop_style.css @@ -287,4 +287,26 @@ background: #ffffff !important; border-color: var(--secondary-color, #d6111e) !important; color: var(--secondary-color, #d6111e) !important; +} + +.css_quantity input { + max-width: 20px !important; +} + +/* Product Details Quantity Input Fix */ +.css_quantity input.quantity { + color: #000000 !important; + background-color: #ffffff !important; + opacity: 1 !important; + width: 60px !important; + max-width: 60px !important; + height: 45px !important; + line-height: 45px !important; + font-weight: 600 !important; + font-size: 18px !important; + padding: 0 !important; + text-align: center !important; + border: 1px solid #000000 !important; + display: inline-block !important; + visibility: visible !important; } \ No newline at end of file diff --git a/addons/dine360_dashboard/static/src/css/theme_variables.css b/addons/dine360_dashboard/static/src/css/theme_variables.css index 1a03159..d093003 100644 --- a/addons/dine360_dashboard/static/src/css/theme_variables.css +++ b/addons/dine360_dashboard/static/src/css/theme_variables.css @@ -115,7 +115,7 @@ body, /* Breadcrumbs */ .breadcrumb-item a { - color: #ffffff !important; + color: #d6111e !important; font-weight: 700 !important; font-size: 18px !important; /* Larger headers */ @@ -485,10 +485,28 @@ a:hover, box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important; padding: 8px !important; margin-top: 5px !important; - z-index: 1050 !important; - /* Standard BS z-index */ + z-index: 10000 !important; + /* Raised to be above most backend elements */ } +/* Fix for Dropdowns being hidden in List Views (Editable rows) */ +.o_list_view .o_list_table { + overflow: visible !important; +} + +.o_list_view .o_list_table tbody tr, +.o_list_view .o_list_table tbody td { + overflow: visible !important; +} + +/* Ensure Autocomplete stays in front */ +.ui-autocomplete, +.o_autocomplete_dropdown, +.dropdown-menu.show { + z-index: 10001 !important; +} + + .o_main_navbar .o_menu_sections .o_nav_entry.active, .o_main_navbar .o_menu_sections .dropdown-toggle { background-color: none !important; diff --git a/addons/dine360_theme_chennora/static/src/scss/shop.scss b/addons/dine360_theme_chennora/static/src/scss/shop.scss index d3caa4f..6a8595b 100644 --- a/addons/dine360_theme_chennora/static/src/scss/shop.scss +++ b/addons/dine360_theme_chennora/static/src/scss/shop.scss @@ -487,9 +487,13 @@ .css_quantity { border: 2px solid #eee !important; border-radius: 50px !important; - overflow: hidden; + overflow: visible !important; display: inline-flex; margin-right: 15px; + background: white !important; + height: 45px !important; + align-items: center; + .btn { border: none !important; @@ -504,11 +508,26 @@ .quantity { border: none !important; - max-width: 50px; - text-align: center; - font-weight: bold; - background: transparent !important; + width: 80px !important; + max-width: 80px !important; + text-align: center !important; + font-weight: 900 !important; + font-size: 20px !important; + background: #ffffff !important; + color: #000000 !important; + padding: 0 !important; + margin: 0 !important; + height: 45px !important; + display: inline-block !important; + vertical-align: middle !important; + line-height: 45px !important; + box-shadow: none !important; + outline: none !important; + appearance: none !important; + -webkit-appearance: none !important; } + + } #add_to_cart { diff --git a/addons/dine360_theme_chennora/views/product_details_page.xml b/addons/dine360_theme_chennora/views/product_details_page.xml index 950e788..f934a53 100644 --- a/addons/dine360_theme_chennora/views/product_details_page.xml +++ b/addons/dine360_theme_chennora/views/product_details_page.xml @@ -60,14 +60,26 @@ - + + + + + + + + + + + + +