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