-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlertModal.css.ts
More file actions
59 lines (50 loc) · 1.17 KB
/
AlertModal.css.ts
File metadata and controls
59 lines (50 loc) · 1.17 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
57
58
59
import { style } from "@vanilla-extract/css";
import { radius, semantic, typography } 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({
maxHeight: "80vh",
display: "flex",
flexDirection: "column",
position: "fixed",
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
width: "min(30rem, 90vw)",
background: semantic.background.white,
borderRadius: radius[160],
zIndex: zIndex.modal,
});
export const innerContent = style({
overflowY: "auto",
padding: "4.8rem 1.6rem",
display: "flex",
flexDirection: "column",
alignItems: "center",
});
export const title = style({
...typography.title3Sb,
color: semantic.text.normal,
});
export const description = style({
...typography.body2Rg,
color: semantic.text.alternative,
marginTop: "0.8rem",
width: "100%",
textAlign: "center",
});
export const footer = style({
width: "100%",
display: "flex",
});
export const cancelButton = style({
flex: 1,
});
export const confirmButton = style({
flex: 1,
});