Skip to content

Commit

Permalink
Merge pull request #75 from QueroDelivery/fix/add-hover-row-table
Browse files Browse the repository at this point in the history
[LOG-1139] - Criar hover na linha da tabela
  • Loading branch information
FelipeQq authored Dec 12, 2023
2 parents 3345698 + 83197ef commit 3ec4b2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/Table/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ export const Container = styled.div<ContainerProps>`
border: none !important;
}
.ui.table tbody tr {
&:hover {
background-color: ${colors.hoverLight};
}
}
/* Table Cells */
.ui.table td {
padding: 0.78571429em 0.78571429em;
Expand Down
1 change: 1 addition & 0 deletions src/styles/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const colors = {

transparent: 'rgba(0, 0, 0, 0)',
hover: 'rgba(211, 211, 211, 0.4)',
hoverLight: '#F2F2F2',

highlight: '#FF0000',

Expand Down

0 comments on commit 3ec4b2e

Please sign in to comment.