Skip to content

Commit

Permalink
style: fix browser focus and active borders
Browse files Browse the repository at this point in the history
  • Loading branch information
wildergd committed Dec 9, 2020
1 parent a1cf615 commit e8ece8c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/PathStep/styled/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,24 @@ export const StyledStepItem = attachThemeAttrs(styled.button)`
font-weight: 400;
transition: all 0.3s linear;
::-moz-focus-inner,
::-moz-focus-inner {
border: 0;
padding: 0;
}
&:hover {
background: ${props => getBgColor(props)};
color: ${props => props.palette.getContrastText(getBgColor(props))};
border-right: 2px solid ${props => getBgColor(props)};
box-shadow: ${props => props.shadows.shadow_10};
}
&:focus,
&:active {
outline: 0;
}
${props =>
props.isSelected &&
`
Expand Down

0 comments on commit e8ece8c

Please sign in to comment.