1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
import { style } from '@vanilla-extract/css';
import { vars } from '#/styles/contract.css';
import { space } from '#/styles/tokens.css';
export const dialogBody = style({
display: 'flex',
flex: 1,
flexDirection: 'column',
minHeight: 0,
overflow: 'hidden',
});
export const scrollContainer = style({
display: 'flex',
flex: 1,
flexDirection: 'column',
minHeight: 0,
overflowY: 'auto',
scrollbarColor: `${vars.palette.contrast_200} transparent`,
scrollbarGutter: 'stable',
});
export const stickyFooterWeb = style({
position: 'sticky',
bottom: 0,
zIndex: 2,
backgroundColor: vars.palette.contrast_0,
});
export const inactivePost = style({
opacity: 0.5,
});
export const postContainer = style({
display: 'flex',
position: 'relative',
flexDirection: 'row',
flexShrink: 0,
gap: space.md,
zIndex: 0,
paddingRight: space.lg,
paddingBottom: space.md,
paddingLeft: space.lg,
selectors: {
[`${stickyFooterWeb} + &`]: {
paddingTop: space.md,
},
},
});
export const col = style({
display: 'flex',
flexDirection: 'column',
flexGrow: 1,
gap: space.md,
minWidth: 0,
});
export const remove = style({
position: 'absolute',
top: 1,
right: 6,
zIndex: 2,
});
export const gifContainer = style({
position: 'relative',
marginTop: space.lg,
});
export const linkContainer = style({
position: 'relative',
marginTop: space.lg,
});
export const videoContainer = style({
marginTop: space.lg,
width: '100%',
});
export const quoteContainer = style({
position: 'relative',
paddingBottom: space.md,
});
export const quoteContainerWithVideo = style([
quoteContainer,
{
paddingTop: space.md,
},
]);
export const quoteContainerWithoutVideo = style([
quoteContainer,
{
paddingTop: space.xl,
},
]);
export const externalEmbedRemoveBtn = style({
position: 'absolute',
top: 8,
right: 8,
zIndex: 50,
});