summaryrefslogtreecommitdiff
path: root/res/client/css/partials/graph-view.scss
blob: 2652ee9c234a74ea4896e44eeb2208fe2f0ea244 (plain)
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
.graph-view {
  width:100%;
  background-color: #f5f5fa; //$light-grey
  position: relative;
}

.node {
  stroke-width: 1px;
  font-size: $h3-size;
  z-index:100;
}

.ghostnode{

}

.circle {
  z-index: 100;
  pointer-events:all;
  fill: $dark-grey;
}

.nodetext {
  fill: $dark-grey;
  font-size: $h3-size;
  z-index:3;
}

// editor for node text
.svg-input-fo-node {
  fill: $dark-grey;
  z-index:3;
}

.svg-input-fo-node input {
  font-size: $h3-size;
  background-color: transparent;
}

.linklabel{
  stroke: $dark-grey;
  font-size: $h4-size;
  background-color: transparent;
}

// editor for link text
.svg-input-fo-link {
    stroke: $dark-grey;
}

.svg-input-fo-link input {
  font-size: $h4-size;;
  background-color: transparent;
}

.link {
  fill: none;
  stroke: $mid-grey;
  stroke-width: 1px;
  stroke-opacity: 0.5;
  z-index:1;
}

.ghostlink {
  opacity: 0.0;
  fill: none;
  stroke-width: 15px;
  z-index:2; /* higher than link, lower than node */
}

.circle.chosen {
  stroke: $cyan;
  stroke-opacity: 0.5;
}
.circle.enter {
  stroke: $cyan;
  stroke-opacity: 0.5;
}

.circle.bubble {
  fill: rgba(255,255,255,0.9);
  pointer-events:none;
}
.circle.exit {
  stroke: $cyan;
  stroke-opacity: 0.5;
}
.circle.chainlink {
  stroke: #AAA;
}

.circle.temp {
  box-shadow: 0 0 40px #FFFF8F;
}

.circle.temp, .circle.chosen {
  stroke-width: 3px;
}

.circle.temp.empty {
  stroke-width: 1.5px;
}

/* Per node and edge type (type is a property of nodes and links) styling
 * note that this should be automatically generated somehow for user settings.
 */

.circle.person {
  fill: $blue;
}

.circle.club {
  fill: $magenta;
}

.circle.skill {
  fill: $yellow;
}

.circle.interest {
  fill: $purple;
}

.circle.project {
  fill: $green;
}

.circle.third-internship-proposal {
  fill: $cyan;
}

.circle.internship {
  fill: $orange;
}

.circle.empty {
  fill: $mid-grey;
}

.circle.chainlink {
  fill: $dark-grey;
}


/* Selected parts of the graph, right now by clicking, later with search. */

.notselected {
  opacity: 0.2;
}

.graph.link.temp_and {
  stroke-dasharray: 3,3;
}

.highlightlink {
  fill: none;
  stroke: $cyan;
  stroke-opacity: 0.5;
  stroke-width: 2px;
  z-index:1;
}

.link.enter, .link.exit, .link.selected {
  fill: none;
  stroke: $cyan;
  stroke-opacity: 0.5;
  stroke-width: 2px;
  z-index:1;
}

#editbox input{
  width:130px;
}

.overlay {
  fill:none;
  pointer-events: all;
  z-index:0;

}

.editinfo{
  position: fixed;
  top:-40px;
  z-index:5;
}

.editlinkinfo{
  position: fixed;
  top:-40px;
  z-index:5;
}

#editlinkname{
  width:inherit;
  height:inherit;
  font-size: $h3-size;

}

#editname{
  width:inherit;
  height:inherit;
  font-size: $h3-size;

}