Commit f824fb25 authored by Kaylee George's avatar Kaylee George Committed by GitHub

fix: explore table hover state colors (#4479)

* fix hover state colors

* colors

* fixed
parent 28a6ea7e
...@@ -65,7 +65,7 @@ const StyledTokenRow = styled.div<{ first?: boolean; last?: boolean; loading?: b ...@@ -65,7 +65,7 @@ const StyledTokenRow = styled.div<{ first?: boolean; last?: boolean; loading?: b
${({ loading, theme }) => ${({ loading, theme }) =>
!loading && !loading &&
css` css`
background-color: ${theme.accentActionSoft}; background-color: ${theme.hoverDefault};
`} `}
${({ last }) => ${({ last }) =>
last && last &&
...@@ -160,16 +160,12 @@ const DataCell = styled(Cell)<{ sortable: boolean }>` ...@@ -160,16 +160,12 @@ const DataCell = styled(Cell)<{ sortable: boolean }>`
justify-content: flex-end; justify-content: flex-end;
min-width: 80px; min-width: 80px;
user-select: ${({ sortable }) => (sortable ? 'none' : 'unset')}; user-select: ${({ sortable }) => (sortable ? 'none' : 'unset')};
transition: ${({ transition: ${({
theme: { theme: {
transition: { duration, timing }, transition: { duration, timing },
}, },
}) => css`background-color ${duration.medium} ${timing.ease}`}; }) => css`background-color ${duration.medium} ${timing.ease}`};
&:hover {
color: ${({ theme, sortable }) => sortable && theme.white};
background-color: ${({ theme, sortable }) => sortable && theme.accentActionSoft};
}
` `
const MarketCapCell = styled(DataCell)` const MarketCapCell = styled(DataCell)`
padding-right: 8px; padding-right: 8px;
...@@ -222,6 +218,10 @@ const HeaderCellWrapper = styled.span<{ onClick?: () => void }>` ...@@ -222,6 +218,10 @@ const HeaderCellWrapper = styled.span<{ onClick?: () => void }>`
height: 100%; height: 100%;
justify-content: flex-end; justify-content: flex-end;
width: 100%; width: 100%;
&:hover {
opacity: 60%;
}
` `
const SparkLineCell = styled(Cell)` const SparkLineCell = styled(Cell)`
padding: 0px 24px; padding: 0px 24px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment