Skip to content

Commit 689b626

Browse files
committed
color changes
1 parent 4b1d800 commit 689b626

1 file changed

Lines changed: 9 additions & 15 deletions

File tree

  • src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOM

src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/BOM/BOMTable.tsx

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -95,27 +95,21 @@ const BOMTable: React.FC<BOMTableProps> = ({ setHideColumn, assignMaterial, colu
9595
sx={{
9696
height: 'calc(100vh - 200px)',
9797
width: '100%',
98+
9899
'& .super-app-theme--header': {
99100
backgroundColor: '#ef4345'
100101
},
102+
101103
'& .super-app-theme--even': {
102-
backgroundColor: theme.palette.grey[600],
103-
'&:hover': {
104-
backgroundColor: theme.palette.grey[700]
105-
},
106-
'&:focus': {
107-
backgroundColor: '#997570'
108-
}
104+
backgroundColor: theme.palette.background.paper,
105+
border: `1px solid ${theme.palette.mode === 'light' ? '#f0f0f0' : '#303030'}`
109106
},
110-
111107
'& .super-app-theme--odd': {
112-
backgroundColor: 'transparent',
113-
'&:hover': {
114-
backgroundColor: theme.palette.grey[200]
115-
},
116-
'&:focus': {
117-
backgroundColor: '#997570'
118-
}
108+
border: `1px solid ${theme.palette.mode === 'light' ? '#f0f0f0' : '#303030'}`
109+
},
110+
111+
'& .MuiDataGrid-row:hover': {
112+
backgroundColor: 'rgba(239, 67, 69, 0.6)'
119113
}
120114
}}
121115
>

0 commit comments

Comments
 (0)