Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
1.01 kB
import { style } from '@vanilla-extract/css'
import { vars } from '../../styles/theme-contract.css'
import { darkThemeClass } from '../../styles/dark-theme.css'
export const animatedIcon = style({
position: 'absolute',
left: '50%',
top: '50%',
transform: 'translate(-50%, -50%)',
})
export const absoluteContainer = style({
display: 'block',
position: 'relative',
height: '100%',
width: '100%',
})
export const copyButton = style({
backgroundColor: vars.colors.codeBackground,
border: 'none',
padding: 0,
height: 32,
width: 32,
overflow: 'hidden',
borderRadius: vars.radii.r4,
marginLeft: 14,
cursor: 'pointer',
'@media': {
'(hover: hover)': {
':hover': {
backgroundColor: vars.colors.red40,
},
selectors: {
[`${darkThemeClass} &:hover`]: {
backgroundColor: vars.colors.red40,
},
},
},
'(prefers-reduced-motion: no-preference)': {
transition: 'background-color 250ms ease-out',
},
},
})