import { style } from '@vanilla-extract/css'
import { subheadSmall } from 'nft/css/common.css'

import { sprinkles, themeVars, vars } from '../../../css/sprinkles.css'

export const section = style([
  sprinkles({
    paddingLeft: { sm: '16', lg: '0' },
    paddingRight: { sm: '16', lg: '0' },
  }),
  { maxWidth: '1000px', margin: '0 auto' },
])

export const buttonSelected = style({
  border: `2px solid ${vars.color.genieBlue}`,
})

export const ethIcon = style({
  marginBottom: '-3px',
})

export const subRowHover = style([
  subheadSmall,
  {
    ':hover': {
      background: themeVars.colors.backgroundInteractive,
    },
  },
])

export const verifiedBadge = style({
  height: '12px',
  width: '12px',
  marginLeft: '2px',
  marginBottom: '-2px',
  boxSizing: 'border-box',
})

/* From [contractAddress] */
export const dropDown = style({
  width: '190px',
})

export const activeDropDown = style({
  boxShadow: vars.color.dropShadow,
})

export const activeDropDownItems = style({
  boxShadow: '0 14px 16px 0 rgba(70, 115, 250, 0.4)',
})

export const collectionFilterBubbleText = style({
  whiteSpace: 'nowrap',
  maxWidth: '100px',
  textOverflow: 'ellipsis',
  overflow: 'hidden',
})
