Skip to content

Commit

Permalink
[Slider]: Remove visual zero state from thumb
Browse files Browse the repository at this point in the history
The spec does not show any visual difference between thumbs at zero and
non-zero values. Zero values now allow different thumb colors depending
on state (i.e. enabled sliders appeared to be disabled).
  • Loading branch information
eps1lon committed Jul 22, 2018
1 parent c65d419 commit 5857d54
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/material-ui-lab/src/Slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,6 @@ export const styles = theme => {
height: 9,
backgroundColor: colors.disabled,
},
'&$zero': {
border: `2px solid ${colors.disabled}`,
backgroundColor: 'transparent',
},
'&$focused$zero': {
border: `2px solid ${colors.focused}`,
backgroundColor: fade(colors.focused, 0.34),
boxShadow: `0px 0px 0px 9px ${fade(colors.focused, 0.34)}`,
},
'&$activated$zero': {
border: `2px solid ${colors.focused}`,
},
'&$jumped': {
width: 17,
height: 17,
Expand Down

0 comments on commit 5857d54

Please sign in to comment.