Skip to content

Commit

Permalink
feat(dashboard): Change default opacity of icon in FiltersBadge (#23350)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje authored Mar 13, 2023
1 parent 78ee60e commit f3055fc
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions superset-frontend/src/dashboard/components/FiltersBadge/Styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,27 +73,30 @@ export const FilterName = styled.span`
`;

export const FilterItem = styled.button`
cursor: pointer;
display: flex;
text-align: left;
padding: 0;
border: none;
background: none;
outline: none;
width: 100%;
${({ theme }) => css`
cursor: pointer;
display: flex;
text-align: left;
padding: 0;
border: none;
background: none;
outline: none;
width: 100%;
&::-moz-focus-inner {
border: 0;
}
&::-moz-focus-inner {
border: 0;
}
& i svg {
color: transparent;
margin-right: ${({ theme }) => theme.gridUnit}px;
}
& i svg {
opacity: ${theme.opacity.mediumLight};
margin-right: ${theme.gridUnit}px;
transition: opacity ease-in-out ${theme.transitionTiming};
}
&:hover i svg {
color: inherit;
}
&:hover i svg {
opacity: 1;
}
`}
`;

export const FiltersContainer = styled.div`
Expand Down

0 comments on commit f3055fc

Please sign in to comment.