<commit_before>import colors from 'common/colors';

const styles = ({ columnWidth, rowHeight }) => ({
  container: {
    minWidth: columnWidth,
    background: colors.lightGrey,
    borderRight: `1px solid ${colors.grey}`,
    overflowY: 'auto',
    display: 'flex',
    flexGrow: 1,
    flexShrink: 1,
    flexDirection: 'column',
    '& .items-wrapper': {
      display: 'flex',
      flexDirection: 'row',
      flexWrap: 'wrap',
      flexGrow: 1,
      justifyContent: 'space-evenly',
      paddingLeft: 10,
      paddingRight: 10,
      paddingTop: 10,
    },
  },

  listItem: {
    flexGrow: 1,
    cursor: 'pointer',
    padding: '0 14px',
    width: columnWidth,
    height: rowHeight,
    borderRadius: 3,
    '&:not(.selected):not(:active):hover': {
      background: 'linear-gradient(to right, #f0f0f0, #f9f9f9)',
    },
    '&:active': { backgroundColor: '#e0e0e0' },
    '&.selected': {
      backgroundColor: '#f0f0f0',
    },
  },

  filler: {
    width: columnWidth,
    height: rowHeight,
  },
});

export default styles;<commit_msg>update styling for selected item<commit_after>import colors from 'common/colors';

const styles = ({ columnWidth, rowHeight }) => ({
  container: {
    minWidth: columnWidth,
    background: colors.lightGrey,
    borderRight: `1px solid ${colors.grey}`,
    overflowY: 'auto',
    display: 'flex',
    flexGrow: 1,
    flexShrink: 1,
    flexDirection: 'column',
    '& .items-wrapper': {
      display: 'flex',
      flexDirection: 'row',
      flexWrap: 'wrap',
      flexGrow: 1,
      justifyContent: 'space-evenly',
      paddingLeft: 10,
      paddingRight: 10,
      paddingTop: 10,
    },
  },

  listItem: {
    flexGrow: 1,
    cursor: 'pointer',
    padding: '0 14px',
    width: columnWidth,
    height: rowHeight,
    borderRadius: 3,
    '&:not(.selected):not(:active):hover': {
      background: 'linear-gradient(to right, #f0f0f0, #f9f9f9)',
    },
    '&:active': { backgroundColor: '#e0e0e0' },
    '&.selected': {
      backgroundColor: '#fbfbfb',
      boxShadow: `-1px 2px 1px 0px rgba(199, 194, 199, 0.9), 0px 0px 2px 0px rgba(195, 184, 195, 0.9)`,
    },
  },

  filler: {
    width: columnWidth,
    height: rowHeight,
  },
});

export default styles;
{'fraction_non_alphanumeric': 0.1589582397844634, 'fraction_numerical': 0.03637180062864841, 'mean_word_length': 2.8347676419965575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4141646', 'n_tokens_mistral': 843, 'n_tokens_neox': 777, 'n_words': 176}