-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.css
115 lines (90 loc) · 1.92 KB
/
App.css
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
* {
padding: 0;
margin: 0;
font-family: "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html, body, #root {
width: 100%;
height: 100%;
color: #191919;
background-color: #ecf0f1;
}
hr {
border: 1px solid #34699B;
margin: 0;
}
/* App-wide styling */
.appContainer {
min-width: 100%;
width: 100%;
max-width: 100%;
min-height: 100%;
height: 100%;
max-width: 100%;
overflow: hidden;
}
/* Graph-specific styling */
.graphContainer {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
@media(max-width: 1366px) {
.gvGraph {
max-width: 80%;
float: right;
}
}
/* Bottom-right button for toggling between d3-graph and graphviz */
.graphToggler {
position: absolute;
width: 32px;
height: 32px;
bottom: .5rem;
right: .5rem;
color: #494949;
border: 1px solid #494949;
border-radius: 12px;
-webkit-transition: background-color .2s ease-in-out, color .2s ease-in-out;
-moz-transition: background-color .2s ease-in-out, color .2s ease-in-out;
-o-transition: background-color .2s ease-in-out, color .2s ease-in-out;
transition: background-color .2s ease-in-out, color .2s ease-in-out;
}
.graphToggler:hover {
background-color: #494949;
color: #ffffff;
cursor: pointer;
}
.graphToggler p {
width: 100%;
height: 100%;
text-align: center;
vertical-align: middle;
font-size: .7em;
font-style: bold;
line-height: 30px;
pointer-events: none;
}
/* "Made by..." in the bottom left */
.about {
position: absolute;
left: .5rem;
bottom: .5rem;
color: #494949;
font-size: .7em;
pointer-events: none;
}
.ghLink {
color: #494949;
text-decoration: none;
pointer-events: visible;
}
.ghLink:hover {
text-decoration: underline;
}
/* Makes the mouse ignore d3-graph node labels */
text {
pointer-events: none;
}