generated from NEU-DS-4200-F20-Staff/Project
-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
280 lines (246 loc) · 4.99 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
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
/* General formatting */
body {
padding: 0 10px;
font: 18px/1.5 -apple-system, BlinkMacSystemFont, 'avenir next', avenir, 'Segoe UI', 'lucida grande',
'helvetica neue', helvetica, 'Fira Sans', roboto, noto, 'Droid Sans', cantarell, oxygen, ubuntu,
'franklin gothic medium', 'century gothic', 'Liberation Sans', sans-serif;
}
h1 {
line-height: 1.2;
}
h2 {
line-height: 1;
margin: 5px;
}
h3 {
line-height: 1;
margin-top: 10px;
margin-bottom: 10px;
margin-left: 0px;
margin-right: 0px;
}
h4 {
line-height: 1;
margin-top: 5px;
margin-bottom: 5px;
margin-left: 20px;
margin-right: 0px;
}
p {
margin: 5px;
}
/* A narrow column of text */
.narrow-column {
max-width: 650px;
margin: 20px auto;
text-align: justify;
text-justify: inter-word;
}
/* A container holding all visualization containers*/
.vis-holder {
width: 1300px;
height: 3100px;
/* Extra height needed to allow for split scrolling. Increasing this
number increases the distance between the end of the column of
linecharts and the beginning of the Demo Video header. */
margin: 20px auto;
}
/* A column on the left for a graph */
.side-graph-column {
width: 800px;
margin-bottom: 0px;
float: left;
}
/* A container for the FTE line graph */
.total-fte-holder {
width: 800px;
margin-bottom: 0px;
float: left;
}
/* A column on the right for text */
.side-text-column {
font-size: 16px;
width: 500px;
float: right;
text-align: justify;
text-justify: inter-word;
}
/* A container that 'sticks' to the top left corner of the
screen while scrolling through content on the right. The
violin and legend containers reside inside this container*/
.sticky-zone {
float: left;
margin-top: 0px;
position: -webkit-sticky;
position: sticky;
top: 0;
}
/* A container for the legend */
.legend-zone {
width: 800px;
margin: 0;
}
/* A container for the violinplot */
.violinplot-holder {
margin-top: 0px;
width: 800px;
float: left;
}
/* A container for the linegraphs pinned to the right side of the sticky-zone */
.linecharts-holder {
font-size: 16px;
float: right;
width: 500px;
/* when adjusting this number also look at:
linegraph.js lineWidth = ?px */
}
/* A temporary class for debugging */
.blank-area {
width: 650px;
height: 150px;
margin: auto;
}
/* ? */
circle.selected {
stroke: pink;
fill: red;
stroke-width: 3;
/* opacity: 0.5; */
}
/* ? */
.point {
fill: white;
stroke: #999;
}
/* x-axis and y-axis labels */
.axisLabel {
fill: #333;
font-size: 16px;
font-weight: bold;
}
/* School names in the legend */
.legend-text {
font-size: 14px;
color: #000;
}
/* From https://www.w3schools.com/css/css_tooltip.asp */
/* Tooltip container */
.tooltipicon {
position: relative;
display: inline-block;
animation: blinky 10s linear 1s infinite forwards
}
@keyframes blinky {
5% {color: black;}
10% {color: white;}
15% {color: black;}
20% {color: white;}
25% {color: black;}
}
/* Tooltip Icons in the body text */
.tooltipicon .tooltiptext {
visibility: hidden;
width: 400px;
background-color: lightsteelblue;
font: 14px sans-serif;
color: blue;
text-align: left;
padding: 10px;
border-radius: 6px;
top: 100%;
left: 50%;
margin-left: -200px;
animation: 0s;
opacity: 0;
transition: 350ms;
/* Position the tooltip text */
position: absolute;
z-index: 1;
}
/* Show the tooltip when you hover over the tooltip icon */
.tooltipicon:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
/* Format the expense linegraph tooltips */
div.tooltip {
position: absolute;
/* margin-left: -220px; */
/* margin-top: -5px; */
text-align: left;
padding: 4px;
font: 12px sans-serif;
background: lightsteelblue;
border: 0px;
border-radius: 4px;
pointer-events: none;
}
/* Format the enrollment linegraph tooltips */
div.tooltip2 {
position: absolute;
/* margin-top: -25px; */
text-align: left;
padding: 4px;
font: 12px sans-serif;
background: lightsteelblue;
border: 0px;
border-radius: 4px;
pointer-events: none;
}
/* Fork on GitHub ribbon via https://codepo8.github.io/css-fork-on-github-ribbon/# */
#forkongithub a {
background: #00F;
color: #fff;
text-decoration: none;
font-family: arial, sans-serif;
text-align: center;
font-weight: bold;
padding: 5px 40px;
font-size: 1rem;
line-height: 1.4rem;
position: relative;
transition: 0.5s;
}
#forkongithub a:hover {
background: #118;
color: #fff;
}
#forkongithub a::before,
#forkongithub a::after {
content: '';
width: 100%;
display: block;
position: absolute;
top: 1px;
left: 0;
height: 1px;
background: #fff;
}
#forkongithub a::after {
bottom: 1px;
top: auto;
}
@media screen and (min-width:1000px) {
#forkongithub {
position: absolute;
display: block;
top: 0;
right: 0;
width: 200px;
overflow: hidden;
height: 200px;
z-index: 9999;
}
#forkongithub a {
width: 200px;
position: absolute;
top: 60px;
right: -60px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
}
}