File tree Expand file tree Collapse file tree 1 file changed +43
-9
lines changed
src/app/styles/components Expand file tree Collapse file tree 1 file changed +43
-9
lines changed Original file line number Diff line number Diff line change 1
- @import url ('https://fonts.googleapis.com/css?family=Raleway&display=swap' );
2
- body {
3
- background-color : black;
4
- }
1
+ /* @import url('https://fonts.googleapis.com/css?family=Raleway&display=swap'); */
2
+ @import url ("https://fonts.googleapis.com/css?family=Overpass+Mono&display=swap" );
3
+ body {
4
+ background-color : black;
5
+ }
5
6
6
7
/* this represents leaf nodes aka nodes with no children */
7
8
.node circle {
8
9
fill : # 5249f7 ;
9
10
}
11
+
12
+ .node circle : hover {
13
+ fill : # 9cf4df ;
14
+ }
15
+
10
16
.node text {
11
17
font-size : 15px ;
12
- font-family : 'Raleway' , sans-serif ;
18
+ font-family : "Overpass Mono" , monospace ;
13
19
}
14
20
/* this represents text for leaf nodes aka the ones with no children */
15
- .node--leaf {
21
+ .node--leaf {
16
22
fill : # 71e9e1 ;
17
23
}
18
24
24
30
.node--internal text {
25
31
fill : # fae6e4 ;
26
32
font-size : 19px ;
27
-
28
33
}
29
34
.link {
30
35
fill : none;
31
- stroke : # 3853ea ;
36
+ stroke : # 3853ea ;
32
37
stroke-opacity : 0.4 ;
33
38
stroke-width : 3px ;
34
39
}
35
-
40
+
41
+ .d3-tip {
42
+ line-height : 1 ;
43
+ padding : 6px ;
44
+ background : # 9cf4df ;
45
+ color : # 320a5c ;
46
+ border-radius : 4px ;
47
+ font-size : 15px ;
48
+ font-family : "Overpass Mono" , monospace;
49
+ }
50
+
51
+ /* Creates a small triangle extender for the tooltip */
52
+ .d3-tip : after {
53
+ box-sizing : border-box;
54
+ display : inline;
55
+ font-size : 15px ;
56
+ width : 100% ;
57
+ line-height : 1 ;
58
+ color : # 9cf4df ;
59
+ content : "\25BC" ;
60
+ position : absolute;
61
+ text-align : center;
62
+ }
63
+
64
+ /* Style northward tooltips specifically */
65
+ .d3-tip .n : after {
66
+ margin : -2px 0 0 0 ;
67
+ top : 100% ;
68
+ left : 0 ;
69
+ }
You can’t perform that action at this time.
0 commit comments