From a3fcd5157180f403590d82a074d11d738eb3e536 Mon Sep 17 00:00:00 2001 From: vidhya Date: Fri, 25 Sep 2026 23:14:07 +0530 Subject: [PATCH] Menu bar UI changes and faculty in dashboard fix --- .../static/src/js/education_dashboard.js | 2 +- .../static/src/scss/backend_forms.scss | 24 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/addons/education_dashboard/static/src/js/education_dashboard.js b/addons/education_dashboard/static/src/js/education_dashboard.js index f26bc7c..687bc1e 100644 --- a/addons/education_dashboard/static/src/js/education_dashboard.js +++ b/addons/education_dashboard/static/src/js/education_dashboard.js @@ -235,7 +235,7 @@ class EducationDashboard extends Component { openAddFaculty() { this.actionService.doAction({ name: "Faculty", type: "ir.actions.act_window", - res_model: "hr.employee", + res_model: "res.users", views: [[false, "list"], [false, "form"]], target: "current" }); } diff --git a/addons/theme_student_erp_custom/static/src/scss/backend_forms.scss b/addons/theme_student_erp_custom/static/src/scss/backend_forms.scss index aa557b9..4afaf8b 100644 --- a/addons/theme_student_erp_custom/static/src/scss/backend_forms.scss +++ b/addons/theme_student_erp_custom/static/src/scss/backend_forms.scss @@ -48,10 +48,10 @@ body.o_web_client:has(.o_sidebar_custom) .o_action_manager { .o_main_navbar { --o-navbar-height: 70px; font-size: 0.975rem; - background: linear-gradient(135deg, #e6f7f7 0%, #d1f1f1 100%) !important; - border-bottom: 1px solid #e2e8f0 !important; - box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important; - color: #144d4d !important; + background: linear-gradient(135deg, #1f8f8f 0%, #144d4d 55%, #0d3d3d 100%) !important; + border-bottom: 1px solid #0d3535 !important; + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2) !important; + color: #ffffff !important; width: 100%; z-index: 100; // Keep above sidebar @@ -74,28 +74,28 @@ body.o_web_client:has(.o_sidebar_custom) .o_action_manager { background-color: transparent !important; } - // Navbar Links - .o_menu_item > a, .o_nav_entry, .dropdown-toggle { - color: #144d4d !important; + // Navbar Links and Icons + .o_menu_item > a, .o_nav_entry, .dropdown-toggle, i, .fa { + color: #ffffff !important; font-weight: 600 !important; &:hover, &:focus { - color: #144d4d !important; - background-color: rgba(20, 77, 77, 0.05) !important; // Very light teal hover + color: #ffffff !important; + background-color: rgba(255, 255, 255, 0.1) !important; } } // App Switcher Icon (Grid) .o_menu_toggle { - color: #144d4d !important; + color: #ffffff !important; &:hover { - background-color: rgba(20, 77, 77, 0.1) !important; + background-color: rgba(255, 255, 255, 0.1) !important; } } // Brand Name (e.g. Education) .o_menu_brand { - color: #144d4d !important; + color: #ffffff !important; font-weight: 800 !important; } }