Files
blitzkit/src/app/tools/tankopedia/components/List/index.css.tsx
T

30 lines
782 B
TypeScript
Raw Normal View History

2023-12-01 12:23:17 -06:00
import { style } from '@vanilla-extract/css';
import { theme } from '../../../../../stitches.config';
export const listing = style({});
export const listingShadow = style({
boxShadow: `inset 0 -128px 128px -128px ${theme.colors.appBackground1}`,
[`.${listing}:hover &`]: {
boxShadow: `inset 0 0 128px -128px ${theme.colors.appBackground1}`,
},
});
export const listingLabel = style({
transition: `transform ${theme.durations.regular}`,
transform: 'translateY(0)',
[`.${listing}:hover &`]: {
transform: 'translateY(200%)',
},
});
export const listingImage = style({
transition: `transform ${theme.durations.regular}`,
transform: 'translateX(25%) translateY(0)',
[`.${listing}:hover &`]: {
transform: 'translateX(25%) translateY(10%)',
},
});