mirror of
https://github.com/apache/superset.git
synced 2024-09-07 06:17:45 -04:00
feat(dashboard): Change default opacity of icon in FiltersBadge (#23350)
This commit is contained in:
parent
78ee60e227
commit
f3055fcaff
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user