diff --git a/src/App.css b/src/App.css index c695958f9b..a48b309b46 100644 --- a/src/App.css +++ b/src/App.css @@ -109,6 +109,10 @@ body { background-color: #3A506B !important; } +.bg-yinmn-blue-light{ + background-color:#2f4157; +} + .bg-azure{ background-color: #007BFF !important; } @@ -130,7 +134,11 @@ body { } .text-dark-green{ - background-color: #193D31 !important; + color: #193D31 !important; +} + +.text-custom-grey{ + color: rgb(192, 192, 192) !important; } .box-shadow-dark { diff --git a/src/components/Header/Header.css b/src/components/Header/Header.css index 30d4ee6bcc..12b5520a06 100644 --- a/src/components/Header/Header.css +++ b/src/components/Header/Header.css @@ -58,6 +58,10 @@ align-items: center; } +.dropdown-item-hover:hover{ + background-color: #2f4157 !important; +} + @media (max-width: 1400px) { .nav-links{ flex-direction: column !important; diff --git a/src/components/Header/Header.jsx b/src/components/Header/Header.jsx index 960516d091..c41c5ecc04 100644 --- a/src/components/Header/Header.jsx +++ b/src/components/Header/Header.jsx @@ -263,6 +263,8 @@ export function Header(props) { } }, [lastDismissed, userId, userDashboardProfile]); + const fontColor = darkMode ? 'text-white dropdown-item-hover' : ''; + return (
@@ -310,18 +312,18 @@ export function Header(props) { {REPORTS} - + {canGetReports && - + {REPORTS} } {canGetWeeklySummaries && - + {WEEKLY_SUMMARIES_REPORT} } - + {TEAM_LOCATIONS} @@ -353,40 +355,40 @@ export function Header(props) { {OTHER_LINKS} - + {canAccessUserManagement ? ( - + {USER_MANAGEMENT} ) : ( )} {canAccessBadgeManagement ? ( - + {BADGE_MANAGEMENT} ) : ( )} {(canAccessProjects) && ( - + {PROJECTS} )} {(canAccessTeams) && ( - + {TEAMS} )} {(canAccessPermissionsManagement) && ( - + {SEND_EMAILS} )} {canAccessPermissionsManagement && ( <> - + {PERMISSIONS_MANAGEMENT} @@ -410,14 +412,14 @@ export function Header(props) { {WELCOME}, {firstName} - - Hello {firstName} + + Hello {firstName} - + {VIEW_PROFILE} {!cantUpdateDevAdminDetails(props.userProfile.email, props.userProfile.email) && ( - + {UPDATE_PASSWORD} )} @@ -425,7 +427,7 @@ export function Header(props) { - {LOGOUT} + {LOGOUT}