-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
133 lines (120 loc) · 2.08 KB
/
style.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#graph-menu {
min-height: 5vh;
padding: 1em;
margin: 0.1em;
background: rgba(255, 255, 255, 0);
}
#node-toggles {
float: right;
padding: 0.1em;
}
#edge-toggles {
float: right;
padding: 0.1em;
}
#graph-viewer {
position: absolute;
top: 10em;
left: 17.5em;
right: 15em;
bottom: 10em;
background: rgba(255, 255, 255, 0);
}
#nodes-adder {
position: fixed;
top: 5em;
left: 0;
height: 20em;
width: 15em;
padding: 0.25em;
margin: 0.25em;
z-index: 1;
background: rgba(255, 255, 255, 0.7);
border: 2px solid rgb(0, 0, 0);
border-radius: 10px;
}
#edges-adder {
position: fixed;
top: 27.5em;
left: 0;
height: 25em;
width: 15em;
padding: 0.25em;
margin: 0.25em;
z-index: 1;
background: rgba(255, 255, 255, 0.7);
border: 2px solid rgb(0, 0, 0);
border-radius: 10px;
}
#reload-graph-layout {
position: fixed;
top: 12.5%;
right: 0.5em;
}
#hidden-nodes {
position: fixed;
top: 20%;
right: 0;
height: 70%;
width: 12.5em;
padding: 0.25em;
margin: 0.25em;
z-index: 1;
background: rgba(255, 255, 255, 0.7);
border: 2px solid rgb(0, 0, 0);
border-radius: 10px;
}
.node {
position: absolute;
background: rgba(255, 255, 255, 0.5);
padding: 0.5em;
border: 2px solid rgba(0, 0, 0, 0.8);
border-radius: 10px;
}
.node-isHidden {
background: rgba(255, 255, 255, 0.05);
float: right;
padding: 0.5em;
margin: 0.25em;
}
.green-node {
border: 2px solid rgba(19, 230, 0, 0.8);
border-radius: 10px;
}
.blue-node {
border: 2px solid rgba(0, 81, 255, 0.8);
border-radius: 10px;
}
.red-node {
border: 2px solid rgba(204, 1, 1, 0.8);
border-radius: 10px;
}
/* Edit arrow styles by class */
.blue-dashed-edge .svg {
fill: blue;
}
.blue-dashed-edge .svg-line {
stroke: blue;
stroke-dasharray: 8;
}
.purple-edge .svg {
fill: purple;
}
.purple-edge .svg-line {
stroke: purple;
}
.orange-edge .svg {
fill: orange;
}
.orange-edge .svg-line {
stroke: orange;
}
/* Edit width of arrow line and text */
.svg {
fill: black;
/* Black color by default for svg elems*/
}
.svg-line {
stroke: black;
stroke-width: 2;
}