Repository navigation
Expand file tree
/
Copy pathsmartgraph-dark.css
More file actions
94 lines (81 loc) · 1.92 KB
/
Copy pathsmartgraph-dark.css
File metadata and controls
94 lines (81 loc) · 1.92 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
/*
* Dark theme for SmartGraphPanel. Applications may use this file as-is or
* provide their own URI through SmartGraphPanel#setDarkModeStylesheet(URI).
*/
.graph {
-fx-background-color: #202124;
}
.vertex {
-fx-stroke-width: 3;
-fx-stroke: #8ab4f8;
-fx-stroke-type: inside;
-fx-fill: #3c5f8a;
-fx-effect: dropshadow(gaussian, rgba(0,0,0,0.6), 8, 0.2, 0, 4);
}
.vertex:hover {
-fx-stroke-width: 4;
}
/*
* Asset replaces the default vertex style with one of these classes for
* semantic observation nodes. Keep the semantic colors in the dark theme as
* well; otherwise JavaFX falls back to the shape's default (black) fill.
*/
.qualityVertex {
-fx-stroke-width: 0;
-fx-stroke: #b7e35f;
-fx-stroke-type: inside;
-fx-fill: #9fda32;
}
.subjectVertex {
-fx-stroke-width: 0;
-fx-stroke: #d99a70;
-fx-stroke-type: inside;
-fx-fill: #d68f68;
}
.pluralSubjectVertex {
-fx-stroke-width: 2;
-fx-stroke: #d99a70;
-fx-stroke-type: inside;
-fx-fill: #d68f68;
}
.homeVertex {
-fx-stroke-width: 1;
-fx-stroke: #f1f3f4;
-fx-stroke-type: inside;
-fx-fill: #f1f3f4;
}
.vertex-label {
-fx-font: bold 8pt "sans-serif";
-fx-text-fill: #f1f3f4;
-fx-fill: #f1f3f4;
-fx-padding: 5px;
-fx-effect: dropshadow(gaussian, rgba(0,0,0,0.7), 8, 0.2, 0, 4);
}
.vertex-label:hover {
-fx-background-color: #303134;
-fx-background-radius: 5;
-fx-border-radius: 5;
-fx-border-color: #9aa0a6;
}
.edge {
-fx-stroke-width: 2;
-fx-stroke: #f28b82;
-fx-stroke-dash-array: 2 5 2 5;
-fx-fill: transparent;
-fx-stroke-line-cap: round;
-fx-opacity: 0.9;
}
.edge:hover {
-fx-stroke-width: 3;
}
.edge-label {
-fx-font: normal 7pt "sans-serif";
-fx-text-fill: #f1f3f4;
-fx-fill: #f1f3f4;
-fx-background-color: #8c2f2b;
-fx-border-color: #bdc1c6;
-fx-padding: 2px;
}
.arrow {
-fx-stroke-dash-array: none;
}