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
|
import { style } from "@vanilla-extract/css";
import { themeContract } from "../styles/theme.css";
/**
* Error state container
*/
export const errorContainer = style({
height: "100%",
display: "flex",
alignItems: "center",
justifyContent: "center",
backgroundColor: themeContract.colors.background.primary,
});
export const errorCard = style({
borderRadius: themeContract.radii.xl,
overflow: "hidden",
});
export const errorContent = style({
position: "relative",
zIndex: 10,
color: themeContract.colors.text.secondary,
paddingLeft: themeContract.space[6],
paddingRight: themeContract.space[6],
paddingTop: themeContract.space[4],
paddingBottom: themeContract.space[4],
});
/**
* Main graph container
* Position relative so absolutely positioned children position relative to this container
*/
export const mainContainer = style({
position: "relative",
height: "100%",
borderRadius: themeContract.radii.xl,
overflow: "hidden",
backgroundColor: themeContract.colors.background.primary,
});
/**
* Spaces selector positioning
* Top-left corner, below most overlays
*/
export const spacesSelectorContainer = style({
position: "absolute",
top: themeContract.space[4],
left: themeContract.space[4],
zIndex: 15, // Above base elements, below loading/panels
});
/**
* Graph canvas container
*/
export const graphContainer = style({
width: "100%",
height: "100%",
position: "relative",
overflow: "hidden",
touchAction: "none",
userSelect: "none",
WebkitUserSelect: "none",
});
/**
* Navigation controls positioning
* Bottom-left corner
*/
export const navControlsContainer = style({
position: "absolute",
bottom: themeContract.space[4],
left: themeContract.space[4],
zIndex: 15, // Same level as spaces dropdown
});
|