diff --git a/addons/dine360_dashboard/static/src/css/theme_variables.css b/addons/dine360_dashboard/static/src/css/theme_variables.css index 8eb9582..a9504a8 100644 --- a/addons/dine360_dashboard/static/src/css/theme_variables.css +++ b/addons/dine360_dashboard/static/src/css/theme_variables.css @@ -97,7 +97,7 @@ body, .o_main_navbar .o_menu_sections .o_nav_entry, .o_main_navbar .o_menu_systray .o_nav_entry { - color: white !important; + color: #111111 !important; font-size: 14px !important; font-weight: 600 !important; } diff --git a/addons/dine360_theme_chennora/static/src/scss/theme.scss b/addons/dine360_theme_chennora/static/src/scss/theme.scss index 90e6ea1..b03d0e6 100644 --- a/addons/dine360_theme_chennora/static/src/scss/theme.scss +++ b/addons/dine360_theme_chennora/static/src/scss/theme.scss @@ -88,24 +88,56 @@ header { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(254, 205, 79, 0.4); } + } - /* Cart Icon and Badge Fix */ - .o_wsale_shopping_cart { - &:hover { + /* Cart Icon and Badge Styling (Fixed Nesting) */ + .o_wsale_shopping_cart { + padding: 10px !important; + transition: all 0.3s ease; + + &:hover { + transform: translateY(-2px); + + .fa-shopping-cart { color: #FECD4F !important; - - .fa-shopping-cart { - color: white !important; - } } .cart-badge { color: white !important; - background-color: #d6111e !important; - font-weight: 800 !important; - z-index: 10; + background-color: #2BB1A5 !important; + opacity: 1 !important; } } + + .cart-badge { + color: white !important; + background-color: #2BB1A5 !important; + font-weight: 800 !important; + z-index: 10; + border: 2px solid #111 !important; + /* Match nav background */ + /* Match nav background */ + transition: all 0.3s ease; + } + } + + /* Mobile Icon (Hamburger) Fix */ + .navbar-toggler { + border: 1px solid rgba(255, 255, 255, 0.2) !important; + padding: 8px !important; + margin: 10px 0; + display: inline-flex !important; + align-items: center; + justify-content: center; + + .navbar-toggler-icon { + filter: none !important; + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; + } + + &:focus { + box-shadow: none !important; + } } } } @@ -1369,11 +1401,15 @@ footer#bottom { } // Global Link Hover & Active Color Fix -a:hover, -a:hover *, -.btn-link:hover, -.btn-link:hover * { - color: #2BB1A5 !important; +// Only apply global overrides to frontend/website elements to avoid breaking backend UI +body:not(.editor_enable):not(.o_edit_mode) { + + a:hover, + a:hover *, + .btn-link:hover, + .btn-link:hover * { + color: #2BB1A5 !important; + } } .active, @@ -1382,6 +1418,15 @@ a:hover *, color: #2BB1A5 !important; } + +// Fix for Odoo Backend Editor Menu overlap +body.o_edit_mode { + #top { + margin-top: 0px !important; + position: relative !important; // Some editor modes hate fixed headers + } +} + // Global Primary Button Color Fix (including Checkout) .btn-primary, .btn-primary:not(:disabled):not(.disabled):active,