Repository navigation
Expand file tree
/
Copy pathf.css.ts
More file actions
97 lines (78 loc) · 1.58 KB
/
Copy pathf.css.ts
File metadata and controls
97 lines (78 loc) · 1.58 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
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
import { vars } from "@seed-design/design-token";
import { style } from "@vanilla-extract/css";
export const grid = style({
display: "grid",
});
export const flex = style({
display: "flex",
});
export const flexAlignCenter = style([
flex,
{
alignItems: "center",
},
]);
export const flexJustifyCenter = style([
flex,
{
justifyContent: "center",
},
]);
export const flexColumn = style([
flex,
{
flexDirection: "column",
},
]);
export const flex1 = style({
flex: 1,
});
export const posAbs = style({
position: "absolute",
});
export const posRel = style({
position: "relative",
});
export const top0 = style({
top: 0,
});
export const left0 = style({
left: 0,
});
export const fullWidth = style({
width: "100%",
});
export const fullHeight = style({
height: "100%",
});
export const posAbsFull = style([posAbs, top0, left0, fullWidth, fullHeight]);
export const nowrap = style({
whiteSpace: "nowrap",
});
export const resetButton = style({
appearance: "none",
border: 0,
padding: 0,
background: "none",
color: vars.$scale.color.gray900,
textAlign: "left",
});
export const cursorPointer = style({
cursor: "pointer",
WebkitTapHighlightColor: "transparent",
});
export const overflowHidden = style({
overflow: "hidden",
transform: "translate3d(0, 0, 0)",
maskImage: "-webkit-radial-gradient(white, black)",
});
export const overflowScroll = style({
overflowY: "scroll",
WebkitOverflowScrolling: "touch",
"::-webkit-scrollbar": {
display: "none",
},
});
export const rootLineHeight = style({
lineHeight: "1.15",
});