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
/* Doctrine Map Explorer — graph (SL-093 PHASE-01) */
@layer layout {
/* ---------------------------------------------------------------------------
* Graph area
* ------------------------------------------------------------------------- */
.graph-area {
border: 1px solid var(--border);
height: 70vh;
min-height: 400px;
margin-bottom: 1rem;
overflow: hidden;
position: relative;
cursor: grab;
touch-action: none; /* allow drag-to-pan on touch devices (SL-094 PHASE-02) */
}
.graph-area.grabbing {
cursor: grabbing;
}
.graph-transform-layer {
position: absolute;
transform-origin: 0 0;
}
/* SVG node highlight classes */
.doctrine-node {
cursor: pointer;
}
.doctrine-node--focus {
filter: brightness(1.2) drop-shadow(0 0 5px var(--kind-SL));
}
.doctrine-node--focus polygon,
.doctrine-node--focus ellipse {
stroke: var(--kind-SL);
stroke-width: 3;
}
.doctrine-node--hover {
filter: brightness(1.15);
}
/* SVG inherits page background — nodes are filled via style="filled" (SL-075 D1) */
.graph-area svg {
border-radius: 4px;
}
/* ---------------------------------------------------------------------------
* Hover detail pane
* ------------------------------------------------------------------------- */
.hover-detail {
border: 1px solid var(--border);
padding: 0.75rem 1rem;
margin-bottom: 1rem;
min-height: 3.4rem;
overflow: hidden;
}
.hover-detail-content {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.hover-detail-title {
font-weight: 600;
font-size: 0.9rem;
}
.hover-detail-meta {
font-size: 0.8rem;
color: var(--muted);
}
/* ---------------------------------------------------------------------------
* Placeholder
* ------------------------------------------------------------------------- */
.placeholder {
color: var(--muted);
font-style: italic;
}
}