Skip to content

Commit 5942a2a

Browse files
committed
adding back hover shading
1 parent ee2d905 commit 5942a2a

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

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

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

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,23 @@ const BOMTable: React.FC<BOMTableProps> = ({ setHideColumn, assignMaterial, colu
9898
backgroundColor: '#ef4345'
9999
},
100100
'& .super-app-theme--even': {
101-
backgroundColor: theme.palette.grey[400]
101+
backgroundColor: theme.palette.grey[600],
102+
'&:hover': {
103+
backgroundColor: theme.palette.grey[700]
104+
},
105+
'&:focus': {
106+
backgroundColor: '#997570'
107+
}
102108
},
109+
103110
'& .super-app-theme--odd': {
104-
backgroundColor: 'transparent'
111+
backgroundColor: 'transparent',
112+
'&:hover': {
113+
backgroundColor: theme.palette.grey[200]
114+
},
115+
'&:focus': {
116+
backgroundColor: '#997570'
117+
}
105118
}
106119
}}
107120
>

0 commit comments

Comments
 (0)