const styles = theme => ({ root: { flexGrow: 1, marginTop: 20, marginBottom: 40 }, flex: { flex: 1, }, menuButton: { marginLeft: -12, marginRight: 20, }, wrapper: { fontFamily: theme.typography.fontFamily, position: 'relative', marginRight: theme.spacing(2), marginLeft: theme.spacing(1), borderRadius: 2, display: 'block', }, search: { width: 'auto', height: '100%', position: 'absolute', pointerEvents: 'none', display: 'flex', alignItems: 'center', justifyContent: 'center', }, input: { font: 'inherit', padding: `${theme.spacing(1)}px ${theme.spacing(1)}px ${theme.spacing(1)}px ${theme.spacing(4)}px`, border: 0, display: 'block', verticalAlign: 'middle', whiteSpace: 'normal', background: 'none', margin: 0, // Reset for Safari color: 'inherit', width: '100%', '&:focus': { outline: 0, }, }, }); export default styles;