diff --git a/Src/WitsmlExplorer.Frontend/components/ContentViews/ServerManager.tsx b/Src/WitsmlExplorer.Frontend/components/ContentViews/ServerManager.tsx
index 861722e5f..f38656e45 100644
--- a/Src/WitsmlExplorer.Frontend/components/ContentViews/ServerManager.tsx
+++ b/Src/WitsmlExplorer.Frontend/components/ContentViews/ServerManager.tsx
@@ -122,15 +122,17 @@ const ServerManager = (): React.ReactElement => {
dispatchOperation({ type: OperationType.DisplayModal, payload: });
};
- const CellHeaderStyle = {
+ const CellStyle = {
color: colors.interactive.primaryResting,
padding: "0.3rem",
- background: colors.ui.backgroundLight,
borderBottom: `2px solid ${colors.interactive.disabledBorder}`
};
+ const CellHeaderStyle = {
+ ...CellStyle,
+ background: colors.ui.backgroundLight
+ };
const CloudIconStyle = {
textlign: "center",
- background: colors.ui.backgroundLight,
borderBottom: `2px solid ${colors.interactive.disabledBorder}`
};
@@ -166,27 +168,27 @@ const ServerManager = (): React.ReactElement => {
.sort((a, b) => a.name.localeCompare(b.name))
.map((server: Server) => (
-
+
{isConnected(server) ? (
dispatchNavigation({ type: NavigationType.SelectServer, payload: { server } })}>{server.name}
) : (
server.name
)}
- {server.url}
- {server.currentUsername == null ? "" : server.currentUsername}
+ {server.url}
+ {server.currentUsername == null ? "" : server.currentUsername}
-
+
onSelectItem(server)} />
-
+
-
+
@@ -249,11 +251,11 @@ const StyledConnectButton = styled(Button)<{ isConnected: boolean; colors: Color
const StyledTableBody = styled(Table.Body)<{ colors: Colors }>`
tr:nth-child(even) {
- background-color: ${(props) => props.colors.interactive.tableHeaderFillResting};
+ background-color: ${(props) => props.colors.ui.backgroundLight};
}
tr:nth-child(odd) {
- background-color: white;
+ background-color: ${(props) => props.colors.ui.backgroundDefault};
}
`;