-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBottomSheet.css.ts
More file actions
56 lines (48 loc) · 1.07 KB
/
BottomSheet.css.ts
File metadata and controls
56 lines (48 loc) · 1.07 KB
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
import { style } from "@vanilla-extract/css";
import { colors, semantic } from "@/styles";
import { zIndex } from "@/styles/zIndex.css";
export const overlay = style({
position: "fixed",
inset: 0,
backgroundColor: semantic.background.dim,
zIndex: zIndex.overlay,
});
export const content = style({
position: "fixed",
bottom: 0,
left: 0,
right: 0,
maxWidth: "48rem",
margin: "0 auto",
backgroundColor: colors.common[100],
borderRadius: "2.8rem 2.8rem 0 0",
zIndex: zIndex.modal,
});
export const innerContent = style({
width: "100%",
minHeight: "37.5rem",
maxHeight: "calc(100dvh - 52px)",
display: "flex",
flexDirection: "column",
});
export const handle = style({
width: "5.1rem",
height: "0.4rem",
backgroundColor: "#D9D9D9",
borderRadius: "100px",
margin: "0.8rem auto",
});
export const title = style({
width: "100%",
padding: "1.4rem 2rem",
});
export const sheetBody = style({
display: "flex",
flex: 1,
flexDirection: "column",
gap: "0.8rem",
padding: "2rem",
});
export const buttonContainer = style({
padding: "2rem",
});