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
|
|
|
|
2023-12-03 22:09:08 -06:00
|
|
|
export const listing = style({});
|
2023-12-03 21:44:58 -06:00
|
|
|
|
2023-12-03 22:09:08 -06:00
|
|
|
export const flag = style({
|
|
|
|
|
transitionDuration: theme.durations.regular,
|
|
|
|
|
left: '0',
|
|
|
|
|
top: '0',
|
2023-12-03 21:44:58 -06:00
|
|
|
|
2024-02-06 13:10:28 -06:00
|
|
|
// [`.${listing}:hover &, .${listing}:active &`]: {
|
|
|
|
|
// transform: 'translateX(-25%)',
|
|
|
|
|
// filter: 'blur(3rem)',
|
|
|
|
|
// },
|
2023-12-03 21:44:58 -06:00
|
|
|
});
|
2023-12-01 12:23:17 -06:00
|
|
|
|
|
|
|
|
export const listingShadow = style({
|
2023-12-03 22:11:37 -06:00
|
|
|
boxShadow: `inset 128px -128px 128px -128px ${theme.colors.appBackground1}`,
|
2023-12-01 12:23:17 -06:00
|
|
|
|
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)',
|
|
|
|
|
|
2024-02-06 13:10:28 -06:00
|
|
|
// [`.${listing}:hover &, .${listing}:active &`]: {
|
|
|
|
|
// transform: 'translateY(200%)',
|
|
|
|
|
// },
|
2023-12-01 12:23:17 -06:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const listingImage = style({
|
|
|
|
|
transition: `transform ${theme.durations.regular}`,
|
2023-12-03 21:44:58 -06:00
|
|
|
position: 'absolute',
|
|
|
|
|
left: '50%',
|
2023-12-01 12:23:17 -06:00
|
|
|
|
2024-02-06 13:10:28 -06:00
|
|
|
// [`.${listing}:hover &, .${listing}:active &`]: {
|
|
|
|
|
// transform: 'translate(-25%, 10%)',
|
|
|
|
|
// },
|
2023-12-01 12:23:17 -06:00
|
|
|
});
|
2023-12-12 23:35:08 -06:00
|
|
|
|
2024-01-06 17:56:12 -06:00
|
|
|
export const alignTopRight = style({
|
2023-12-12 23:35:08 -06:00
|
|
|
'@media': {
|
|
|
|
|
'screen and (min-width: 400px)': {
|
|
|
|
|
position: 'absolute',
|
|
|
|
|
right: 16,
|
|
|
|
|
top: 16,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
'screen and (max-width: 399px)': {
|
|
|
|
|
// left: 16,
|
|
|
|
|
// bottom: 16,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
});
|
2024-01-26 21:31:59 -06:00
|
|
|
|
2024-01-26 22:44:15 -06:00
|
|
|
export const characteristics = style({
|
|
|
|
|
display: 'flex',
|
|
|
|
|
gap: 32,
|
|
|
|
|
|
|
|
|
|
'@media': {
|
|
|
|
|
'screen and (max-width: 800px)': {
|
|
|
|
|
flexDirection: 'column',
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-01-26 21:31:59 -06:00
|
|
|
});
|
|
|
|
|
|
2024-01-26 22:44:15 -06:00
|
|
|
export const configurationChild = style({
|
|
|
|
|
display: 'flex',
|
|
|
|
|
gap: 8,
|
|
|
|
|
flexDirection: 'column',
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const configuration = style({
|
2024-01-26 21:31:59 -06:00
|
|
|
display: 'flex',
|
|
|
|
|
flexDirection: 'column',
|
2024-01-26 22:44:15 -06:00
|
|
|
gap: 16,
|
|
|
|
|
flex: 1,
|
2024-01-26 21:31:59 -06:00
|
|
|
});
|