diff --git a/addons/dine360_dashboard/__manifest__.py b/addons/dine360_dashboard/__manifest__.py index c1b8bc4..cc34078 100644 --- a/addons/dine360_dashboard/__manifest__.py +++ b/addons/dine360_dashboard/__manifest__.py @@ -11,6 +11,7 @@ 'views/web_title_template.xml', 'views/website_logo.xml', 'views/shop_template.xml', + 'data/branding_data.xml', ], 'assets': { 'web.assets_backend': [ diff --git a/addons/dine360_dashboard/data/branding_data.xml b/addons/dine360_dashboard/data/branding_data.xml new file mode 100644 index 0000000..d1ec9b2 --- /dev/null +++ b/addons/dine360_dashboard/data/branding_data.xml @@ -0,0 +1,15 @@ + + + + + web.base_title + Chennora + + + + + +1(647)856-2878 + + + + diff --git a/addons/dine360_dashboard/static/src/css/home_menu.css b/addons/dine360_dashboard/static/src/css/home_menu.css index 9593da0..b3e0fff 100644 --- a/addons/dine360_dashboard/static/src/css/home_menu.css +++ b/addons/dine360_dashboard/static/src/css/home_menu.css @@ -57,7 +57,7 @@ body.o_home_dashboard, .o_app:hover .o_app_icon_container { transform: translateY(-10px) rotate(2deg) !important; background: #ffffff !important; - border: 1px solid #d6111e !important; + border-bottom: 2px solid #d6111e !important; box-shadow: 0 20px 25px -5px rgba(214, 17, 30, 0.2), 0 10px 10px -5px rgba(23, 20, 34, 0.1) !important; @@ -65,6 +65,7 @@ body.o_home_dashboard, .o_app_icon_container::before { content: ""; + --pos-accent-red: #d6111e; position: absolute; top: 0; left: 0; @@ -119,8 +120,9 @@ body.o_home_dashboard, backdrop-filter: blur(15px) !important; -webkit-backdrop-filter: blur(15px); border-radius: 50px !important; - border: 1px solid rgba(255, 255, 255, 0.15) !important; - box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important; + border-color: #d6111e !important; + box-shadow: 0 0 0 3px rgba(214, 17, 30, 0.15) !important; + box-shadow: 0 12px 25px rgba(214, 17, 30, 0.3) !important; } .o_top_item { diff --git a/addons/dine360_dashboard/static/src/css/login_style.css b/addons/dine360_dashboard/static/src/css/login_style.css index bb4db61..b374b63 100644 --- a/addons/dine360_dashboard/static/src/css/login_style.css +++ b/addons/dine360_dashboard/static/src/css/login_style.css @@ -4,7 +4,7 @@ height: 100vh !important; width: 100vw !important; overflow: hidden; - background: url('/dine360_dashboard/static/src/img/dashboard_bg.png') !important; + background: url('/dine360_theme_chennora/static/src/img/chen-banner-2.webp') !important; background-repeat: no-repeat !important; background-position: center center !important; background-size: cover !important; @@ -120,21 +120,23 @@ /* Login Button with Gradient */ .oe_login_buttons .btn-primary { - background: #d6111e !important; + background: #FECD4F !important; border: none !important; border-radius: 12px !important; padding: 14px !important; font-weight: 700 !important; font-size: 1rem !important; - color: white !important; + color: #04121D !important; width: 100% !important; transition: all 0.3s ease !important; - box-shadow: 0 4px 15px rgba(214, 17, 30, 0.3) !important; + box-shadow: 0 4px 15px rgba(254, 205, 79, 0.3) !important; } .oe_login_buttons .btn-primary:hover { + background: #04121D !important; + color: #FECD4F !important; transform: translateY(-2px); - box-shadow: 0 8px 20px rgba(214, 17, 30, 0.4) !important; + box-shadow: 0 8px 20px rgba(254, 205, 79, 0.4) !important; } @@ -232,7 +234,7 @@ body.o_custom_login_body .o_login_main_wrapper { height: 100vh !important; /* width: 100vw !important; */ overflow: hidden !important; - background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/dine360_dashboard/static/src/img/dashboard_bg.png') no-repeat center center !important; + background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/dine360_theme_chennora/static/src/img/chen-banner-2.webp') no-repeat center center !important; background-size: cover !important; } diff --git a/addons/dine360_dashboard/static/src/css/pos_style.css b/addons/dine360_dashboard/static/src/css/pos_style.css index 7b474b2..b8a4e99 100644 --- a/addons/dine360_dashboard/static/src/css/pos_style.css +++ b/addons/dine360_dashboard/static/src/css/pos_style.css @@ -6,13 +6,13 @@ --pos-primary: #171422; /* Secondary Dark */ --pos-secondary: #d6111e; - /* Main Red (Dine360 Red) */ + /* Main Teal */ --pos-accent-orange: #e66421; /* Biryani Orange */ --pos-accent-gold: #cc9900; /* Tandoor Gold */ --pos-accent-red: #d6111e; - /* Main Red */ + /* Main Teal */ --pos-bg-main: #f8fafc; /* Ultra light gray */ --pos-card-dark: #1a1d23; diff --git a/addons/dine360_dashboard/static/src/css/shop_style.css b/addons/dine360_dashboard/static/src/css/shop_style.css index 584c38b..f7f750e 100644 --- a/addons/dine360_dashboard/static/src/css/shop_style.css +++ b/addons/dine360_dashboard/static/src/css/shop_style.css @@ -76,7 +76,7 @@ .oe_website_sale #products_grid_before h5, .oe_website_sale #products_grid_before .h5, .oe_website_sale #products_grid_before h6 { - color: var(--secondary-color, #d6111e) !important; + color: var(--secondary-color, #2BB1A5) !important; font-weight: 700 !important; font-size: 1.1rem !important; margin-bottom: 15px !important; @@ -113,7 +113,7 @@ .oe_website_sale #products_grid_before li:hover, .oe_website_sale #products_grid_before .list-group-item:hover { - background: #d6111e !important; + background: #2bb1a5 !important; transform: translateX(5px); } @@ -125,13 +125,13 @@ /* Active Category */ .oe_website_sale #products_grid_before li.active, .oe_website_sale #products_grid_before .list-group-item.active { - background: #d6111e !important; - box-shadow: 0 4px 12px rgba(214, 17, 30, 0.3) !important; + background: transparent !important; + box-shadow: none !important; } .oe_website_sale #products_grid_before li.active a, .oe_website_sale #products_grid_before .list-group-item.active a { - color: #ffffff !important; + color: #000000 !important; font-weight: 700 !important; } @@ -148,9 +148,9 @@ .oe_website_sale #products_grid_before .form-control:focus, .oe_website_sale #products_grid_before input:focus { - border-color: var(--secondary-color, #d6111e) !important; + border-color: var(--secondary-color, #2BB1A5) !important; background: #ffffff !important; - box-shadow: 0 0 0 3px rgba(214, 17, 30, 0.15) !important; + box-shadow: 0 0 0 3px rgba(43, 177, 165, 0.15) !important; outline: none; } @@ -164,15 +164,15 @@ } .oe_website_sale #products_grid_before .btn-primary { - background: #d6111e !important; + background: #2BB1A5 !important; border: none !important; color: #ffffff !important; - box-shadow: 0 4px 12px rgba(214, 17, 30, 0.3) !important; + box-shadow: 0 4px 12px rgba(43, 177, 165, 0.3) !important; } .oe_website_sale #products_grid_before .btn-primary:hover { transform: translateY(-2px); - box-shadow: 0 8px 15px rgba(214, 17, 30, 0.4) !important; + box-shadow: 0 8px 15px rgba(43, 177, 165, 0.4) !important; } /* Attribute Filters (Color, Size, etc.) */ @@ -189,9 +189,9 @@ .oe_website_sale #products_grid_before .css_attribute_color:hover, .oe_website_sale #products_grid_before .css_attribute_color.active { - border-color: var(--secondary-color, #d6111e); + border-color: var(--secondary-color, #2BB1A5); transform: scale(1.1); - box-shadow: 0 2px 8px rgba(214, 17, 30, 0.3); + box-shadow: 0 2px 8px rgba(43, 177, 165, 0.3); } /* Price Range Filter */ @@ -201,12 +201,12 @@ .oe_website_sale #products_grid_before .o_wsale_price_filter input[type="range"] { width: 100%; - accent-color: var(--secondary-color, #d6111e); + accent-color: var(--secondary-color, #2BB1A5); } /* Collapse/Expand Buttons */ .oe_website_sale #products_grid_before .btn-link { - color: var(--secondary-color, #d6111e) !important; + color: var(--secondary-color, #2BB1A5) !important; text-decoration: none !important; font-weight: 600 !important; } @@ -285,8 +285,8 @@ .oe_website_sale .o_wsale_clear_filters .btn:hover { background: #ffffff !important; - border-color: var(--secondary-color, #d6111e) !important; - color: var(--secondary-color, #d6111e) !important; + border-color: var(--secondary-color, #2BB1A5) !important; + color: var(--secondary-color, #2BB1A5) !important; } .css_quantity input { diff --git a/addons/dine360_dashboard/static/src/css/theme_variables.css b/addons/dine360_dashboard/static/src/css/theme_variables.css index d093003..e8b8774 100644 --- a/addons/dine360_dashboard/static/src/css/theme_variables.css +++ b/addons/dine360_dashboard/static/src/css/theme_variables.css @@ -7,9 +7,9 @@ :root { /* Primary Brand Colors */ --primary-color: #d6111e; - --primary-dark: #b50e19; - --primary-light: #e54d57; - --primary-lighter: #f08a91; + --primary-dark: #8B0A0E; + --primary-light: #E57373; + --primary-lighter: #FFCDD2; /* Secondary/Accent Color */ --secondary-color: #171422; @@ -18,7 +18,7 @@ /* Gradient Combinations Removed - Using Solid Colors */ --gradient-primary: #d6111e; - --gradient-primary-hover: #b50e19; + --gradient-primary-hover: #8B0A0E; /* Home Page Background */ --bg-gradient-main: #ffffff; @@ -26,11 +26,11 @@ /* UI Element Colors */ --btn-primary-bg: #d6111e; --link-color: #171422; - --link-hover: #b50e19; + --link-hover: #d6111e; /* Status Colors */ --success-color: #171422; - --warning-color: #d6111e; + --warning-color: #FECD4F; --danger-color: #d6111e; --info-color: #2d293d; diff --git a/addons/dine360_dashboard/static/src/css/website_style.css b/addons/dine360_dashboard/static/src/css/website_style.css index 4f8dd6e..44ddfa3 100644 --- a/addons/dine360_dashboard/static/src/css/website_style.css +++ b/addons/dine360_dashboard/static/src/css/website_style.css @@ -42,20 +42,20 @@ header#top .nav-link:hover, body .o_header_standard .nav-link:hover, header#top i:hover, body .o_header_standard i:hover { - color: #d6111e !important; + color: #2BB1A5 !important; } /* Active States - Using Theme Gold */ header#top .nav-link.active, body .o_header_standard .nav-link.active { - color: #d6111e !important; + color: #2BB1A5 !important; } /* Dropdown Menu overrides (ensure visibility) */ header#top .dropdown-menu, body .o_header_standard .dropdown-menu { background-color: #171422 !important; - border: 1px solid rgba(214, 17, 30, 0.2); + border: 1px solid rgba(43, 177, 165, 0.2); } header#top .dropdown-item, @@ -65,6 +65,74 @@ body .o_header_standard .dropdown-item { header#top .dropdown-item:hover, body .o_header_standard .dropdown-item:hover { - background-color: #d6111e !important; + background-color: #2BB1A5 !important; color: #ffffff !important; +} + +/* Header Cart & Search Icon Adjustments */ +.o_wsale_my_cart, +.o_nav_item_search, +.o_nav_item_cart, +header .navbar-nav .nav-item a[href="/shop/cart"], +header .navbar-nav .nav-item a.o_navlink_background_hover { + transition: all 0.3s ease !important; +} + +/* Hover background for Search and Cart icons */ +.o_wsale_my_cart:hover, +.o_nav_item_search:hover, +.o_nav_item_cart:hover, +header .navbar-nav .nav-item a[href="/shop/cart"]:hover, +header .o_search_button:hover { + background-color: #FECD4F !important; + border-radius: 50px !important; +} + +/* Ensure icons turn dark on yellow background hover */ +.o_wsale_my_cart:hover i, +.o_nav_item_search:hover i, +.o_nav_item_cart:hover i, +header .navbar-nav .nav-item a[href="/shop/cart"]:hover i, +header .o_search_button:hover i { + color: #111 !important; +} + +/* Cart Count Badge Color */ +.o_wsale_my_cart .badge, +.o_wsale_my_cart .o_wsale_cart_quantity, +header .navbar-nav .nav-item .badge-pill, +header .navbar-nav .nav-item .badge { + background-color: #2BB1A5 !important; + color: #ffffff !important; + border: none !important; +} + +/* Header Action Buttons */ +header .btn, +header .btn-primary, +header .o_header_cta_btn, +header .btn-contact, +header a.btn[href="/contactus"], +header a.btn[href*="contact"] { + background-color: #FECD4F !important; + color: #04121D !important; + border: none !important; + border-radius: 8px !important; + padding: 10px 25px !important; + font-weight: 700 !important; + text-transform: uppercase !important; + transition: all 0.3s ease !important; + box-shadow: 0 4px 10px rgba(254, 205, 79, 0.3) !important; + text-decoration: none !important; +} + +header .btn:hover, +header .btn-primary:hover, +header .o_header_cta_btn:hover, +header .btn-contact:hover, +header a.btn[href="/contactus"]:hover, +header a.btn[href*="contact"]:hover { + background-color: #FECD4F !important; + color: #FECD4F !important; + transform: translateY(-2px) !important; } \ No newline at end of file diff --git a/addons/dine360_dashboard/views/web_title_template.xml b/addons/dine360_dashboard/views/web_title_template.xml index 29f6a66..cce9fab 100644 --- a/addons/dine360_dashboard/views/web_title_template.xml +++ b/addons/dine360_dashboard/views/web_title_template.xml @@ -3,6 +3,13 @@ Chennora + + + + + + + h1:not(.display-5), + >.product_price, + >#product_attributes_simple, + >.text-muted:not(.chennora-premium-content *), + >div[data-name="description_sale"] { + display: none !important; + } + + /* Target the Terms and Conditions block */ + >hr+div, + >div:has(a[href*="terms"]), + .o_not_editable { + /* Only hide if it's not the ones we want */ + } + + /* Dedicated hide for Odoo's extra info */ + hr+div, + a[href*="terms-and-conditions"] { + display: none !important; + } + + /* Force Add to Cart to theme yellow everywhere in shop */ + #add_to_cart, + .a-submit, + .btn-add-to-cart-overlay { + background: #FECD4F !important; + color: #000000 !important; + border: none !important; + } } \ No newline at end of file diff --git a/addons/dine360_theme_chennora/static/src/scss/theme.scss b/addons/dine360_theme_chennora/static/src/scss/theme.scss index 97f7bdf..f5ddfd7 100644 --- a/addons/dine360_theme_chennora/static/src/scss/theme.scss +++ b/addons/dine360_theme_chennora/static/src/scss/theme.scss @@ -14,10 +14,18 @@ header { color: #2BB1A5 !important; transform: translateY(-2px); } + + &.active, + &.active-item { + color: #2BB1A5 !important; + border-bottom: 2px solid #2BB1A5; + } } - .nav-item.active .nav-link { - color: #FECD4F !important; + .nav-item.active .nav-link, + .nav-item .nav-link.active, + .nav-item .nav-link.active-item { + color: #2BB1A5 !important; } } @@ -25,16 +33,27 @@ header { .o_header_affix_top { a:not(.btn):not(.btn-primary) { color: #FECD4F !important; - transition: color 0.3s ease; + transition: all 0.3s ease; + position: relative; &:hover { - color: #2BB1A5 !important; + color: #111 !important; + background-color: #FECD4F !important; + border-radius: 50px; } } - .fa { + .fa, + .oi { color: #FECD4F !important; } + + // Cart badge color + .o_wsale_cart_quantity { + background-color: #2BB1A5 !important; + color: white !important; + border: none; + } } // Contact Us Button - Odoo CTA Button @@ -1331,4 +1350,48 @@ footer#bottom { color: #FECD4F; } } +} + +/* Global Red Color Removal & Theme Alignment */ +.text-danger { + color: #2BB1A5 !important; // Replace red text with theme teal +} + +.bg-danger, +.btn-danger { + background-color: #2BB1A5 !important; + border-color: #2BB1A5 !important; + color: white !important; +} + +.badge-danger { + background-color: #FECD4F !important; + color: #04121D !important; +} + +// Force Shop category sidebar active item to NOT be red +#products_grid_before .nav-link.active { + background-color: #2BB1A5 !important; + color: white !important; +} + +// Global Link Hover & Active Color Fix +a:hover, +a:hover *, +.btn-link:hover, +.btn-link:hover * { + color: #2BB1A5 !important; +} + +.active, +.nav-link.active, +.nav-pills .nav-link.active { + color: #2BB1A5 !important; +} + +// Special case for buttons or text that should be white on teal background +.nav-pills .nav-link.active, +.category-list .active, +.category-list .active span { + color: white !important; } \ No newline at end of file diff --git a/addons/dine360_theme_chennora/views/contact_page.xml b/addons/dine360_theme_chennora/views/contact_page.xml index abad838..2a26113 100644 --- a/addons/dine360_theme_chennora/views/contact_page.xml +++ b/addons/dine360_theme_chennora/views/contact_page.xml @@ -110,7 +110,7 @@
@@ -123,7 +123,7 @@
@@ -136,7 +136,7 @@
@@ -149,7 +149,7 @@
diff --git a/addons/dine360_theme_chennora/views/layout.xml b/addons/dine360_theme_chennora/views/layout.xml index 5743ae0..dd0ea37 100644 --- a/addons/dine360_theme_chennora/views/layout.xml +++ b/addons/dine360_theme_chennora/views/layout.xml @@ -33,7 +33,7 @@ - + @@ -82,6 +82,21 @@ extra_items_toggle_aria_label + + + + + +