Menu bar UI changes and faculty in dashboard fix

This commit is contained in:
Vidhya 2026-09-25 23:14:07 +05:30
parent 5601c58a44
commit a3fcd51571
2 changed files with 13 additions and 13 deletions

View File

@ -235,7 +235,7 @@ class EducationDashboard extends Component {
openAddFaculty() { openAddFaculty() {
this.actionService.doAction({ this.actionService.doAction({
name: "Faculty", type: "ir.actions.act_window", name: "Faculty", type: "ir.actions.act_window",
res_model: "hr.employee", res_model: "res.users",
views: [[false, "list"], [false, "form"]], target: "current" views: [[false, "list"], [false, "form"]], target: "current"
}); });
} }

View File

@ -48,10 +48,10 @@ body.o_web_client:has(.o_sidebar_custom) .o_action_manager {
.o_main_navbar { .o_main_navbar {
--o-navbar-height: 70px; --o-navbar-height: 70px;
font-size: 0.975rem; font-size: 0.975rem;
background: linear-gradient(135deg, #e6f7f7 0%, #d1f1f1 100%) !important; background: linear-gradient(135deg, #1f8f8f 0%, #144d4d 55%, #0d3d3d 100%) !important;
border-bottom: 1px solid #e2e8f0 !important; border-bottom: 1px solid #0d3535 !important;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2) !important;
color: #144d4d !important; color: #ffffff !important;
width: 100%; width: 100%;
z-index: 100; // Keep above sidebar 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; background-color: transparent !important;
} }
// Navbar Links // Navbar Links and Icons
.o_menu_item > a, .o_nav_entry, .dropdown-toggle { .o_menu_item > a, .o_nav_entry, .dropdown-toggle, i, .fa {
color: #144d4d !important; color: #ffffff !important;
font-weight: 600 !important; font-weight: 600 !important;
&:hover, &:focus { &:hover, &:focus {
color: #144d4d !important; color: #ffffff !important;
background-color: rgba(20, 77, 77, 0.05) !important; // Very light teal hover background-color: rgba(255, 255, 255, 0.1) !important;
} }
} }
// App Switcher Icon (Grid) // App Switcher Icon (Grid)
.o_menu_toggle { .o_menu_toggle {
color: #144d4d !important; color: #ffffff !important;
&:hover { &:hover {
background-color: rgba(20, 77, 77, 0.1) !important; background-color: rgba(255, 255, 255, 0.1) !important;
} }
} }
// Brand Name (e.g. Education) // Brand Name (e.g. Education)
.o_menu_brand { .o_menu_brand {
color: #144d4d !important; color: #ffffff !important;
font-weight: 800 !important; font-weight: 800 !important;
} }
} }