diff --git a/MythicReactUI/src/components/App.js b/MythicReactUI/src/components/App.js
index 8933db4c..f7e34c24 100644
--- a/MythicReactUI/src/components/App.js
+++ b/MythicReactUI/src/components/App.js
@@ -447,6 +447,13 @@ const getModernThemeAdditions = (themeMode, preferences = operatorSettingDefault
fontSize: "0.86rem",
"--DataGrid-rowBorderColor": tableBorderSoft,
"--DataGrid-containerBackground": tableHeaderColor,
+ overflow: "hidden",
+ "& .MuiDataGrid-main": {
+ backgroundColor: backgroundPaper,
+ },
+ "& .MuiDataGrid-virtualScroller": {
+ backgroundColor: backgroundPaper,
+ },
"& .MuiDataGrid-columnHeaders": {
backgroundColor: tableHeaderColor,
borderBottom: `1px solid ${borderColor}`,
@@ -463,10 +470,16 @@ const getModernThemeAdditions = (themeMode, preferences = operatorSettingDefault
letterSpacing: 0,
textTransform: "uppercase",
},
+ "& .MuiDataGrid-columnSeparator": {
+ color: tableBorderSoft,
+ },
"& .MuiDataGrid-cell": {
borderBottom: `1px solid ${tableBorderSoft}`,
outline: "none",
},
+ "& .MuiDataGrid-cell:focus, & .MuiDataGrid-cell:focus-within, & .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within": {
+ outline: "none",
+ },
"& .MuiDataGrid-row:nth-of-type(even)": {
backgroundColor: tableRowStripeColor,
},
@@ -482,11 +495,29 @@ const getModernThemeAdditions = (themeMode, preferences = operatorSettingDefault
"& .MuiDataGrid-footerContainer": {
borderTop: `1px solid ${borderColor}`,
minHeight: 34,
+ color: textSecondary,
},
"& .MuiDataGrid-toolbarContainer": {
borderBottom: `1px solid ${tableBorderSoft}`,
minHeight: 34,
},
+ "& .MuiDataGrid-overlay": {
+ backgroundColor: backgroundPaper,
+ color: textSecondary,
+ },
+ "& .MuiTablePagination-root, & .MuiTablePagination-selectLabel, & .MuiTablePagination-displayedRows": {
+ color: textSecondary,
+ fontSize: "0.78rem",
+ },
+ "& .MuiSvgIcon-root, & .MuiIconButton-root": {
+ color: textSecondary,
+ },
+ "& .MuiCheckbox-root": {
+ color: textSecondary,
+ "&.Mui-checked, &.MuiCheckbox-indeterminate": {
+ color: primary,
+ },
+ },
},
},
},
diff --git a/MythicReactUI/src/components/MythicComponents/MythicDataGrid.js b/MythicReactUI/src/components/MythicComponents/MythicDataGrid.js
new file mode 100644
index 00000000..e8f2638f
--- /dev/null
+++ b/MythicReactUI/src/components/MythicComponents/MythicDataGrid.js
@@ -0,0 +1,33 @@
+import React from 'react';
+import Box from '@mui/material/Box';
+import { DataGrid } from '@mui/x-data-grid';
+
+export const MythicDataGrid = ({containerSx = {}, sx = {}, density = "compact", autoPageSize = true, pageSizeOptions = [10, 25, 50, 100], ...props}) => {
+ return (
+