-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathdc.graph.css
More file actions
144 lines (120 loc) · 2.61 KB
/
dc.graph.css
File metadata and controls
144 lines (120 loc) · 2.61 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
.dc-graph {
-moz-user-select: none;
user-select: none;
position: relative;
}
.dc-graph div.chart {
float: left;
}
.dc-graph .edge {
fill: none;
}
.dc-graph .node-label {
font: 18px sans-serif;
text-anchor: middle;
dominant-baseline: central;
pointer-events: none;
}
/* Tippy tooltip styling */
.tippy-box[data-theme~='light-border'] {
background-color: #fff;
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-size: 13px;
line-height: 1.4;
}
.tippy-box[data-theme~='light-border'] .tippy-content {
padding: 8px 12px;
color: #333;
}
.tippy-box[data-theme~='light-border'] .tippy-content table {
border-collapse: collapse;
margin: 0;
font-size: 12px;
}
.tippy-box[data-theme~='light-border'] .tippy-content table td {
padding: 2px 6px;
border-bottom: 1px solid #eee;
vertical-align: top;
}
.tippy-box[data-theme~='light-border'] .tippy-content table td:first-child {
font-weight: 500;
color: #666;
padding-right: 12px;
}
.tippy-box[data-theme~='light-border'] .tippy-arrow {
color: #fff;
}
.dc-graph .edge-label {
font: 10px sans-serif;
pointer-events: none;
}
.dc-graph-legend text.legend-label {
font: 18px sans-serif;
}
.dc-graph g.brush rect.extent {
fill: #4682b4;
fill-opacity: 0.125;
}
.dc-graph > svg {
display: block;
}
.no-paths.error {
white-space: pre;
color: darkred;
font-family: Monaco, monospace;
}
.dc-graph g.node image.icon {
pointer-events: none;
}
.dc-graph .dropdown {
position: absolute;
padding: 0.5em;
background-color: rgba(210, 240, 255, 0.8);
}
.dc-graph .dropdown::-webkit-scrollbar {
-webkit-appearance: none;
width: 7px;
}
.dc-graph .dropdown::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(0,0,0,.5);
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}
.dc-graph .dropdown .dropdown-item {
padding: 0.1em;
}
.dc-graph .dropdown .dropdown-item:hover {
background-color: rgba(0, 25, 180, 0.9);
color: white;
}
.dc-graph .graph-draw-crossout {
fill: rgba(240, 16, 8, 0.85);
stroke: none;
pointer-events: none;
}
.dc-graph .grid-line {
stroke: black;
opacity: 0.1;
fill: none;
}
div.d3-tip {
max-width: 500px;
font-size: 12px;
}
.d3-tip p,
.d3-tip table {
font-weight: normal;
margin: 1ex 0;
}
.d3-tip table td,
.d3-tip table th {
font-size: 10px;
}
.d3-tip table th,
.d3-tip table td {
border: 1px solid #777;
padding: 2px;
}