summaryrefslogtreecommitdiff
path: root/public/css/style.css
blob: cf418eb7ed0cf3ff1ef662a1bcff55ac94110b38 (plain) (blame)
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
/* Ensure sane defaults */
html, body, #vis, #main, .side {
  height: 100%;
}
body {
  padding: 0;
  margin: 0;
}

/* Top-level layout */
.side {
  float: right;
  border-left: 1px solid lightgray;
}
#main {
  overflow: hidden;
}

#mask {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #333;
  opacity: .8;
  -moz-transition: opacity 1s linear;
  -o-transition: opacity 1s linear;
  -webkit-transition: opacity 1s linear;
  transition: opacity 1s linear;
  top: 0;
}

body, #main, #status, .side {
  min-height: 920px;
}

body {
  min-width: 1350px;
}

#status {
  width: 100%;
  font-size: smaller;
}

/* Columns */

/* General column utility */
.column-container {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.column-container > div {
  position: relative;
  float: left;
}

/* Separators between columns */
.column-container-separated > div:first-child:before, .column-container-separated > div:first-child:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  top: 0; bottom: -800%; left:-6%;
  width: 2px;
  border: 1px solid #555;
  border-width: 0 1px;
  margin: 0 0 0 -2px;
  background: #fff;
}
.column-container-separated > div:first-child:after {
  left: auto; right: -6%;
  margin: 0 -2px 0 0;
}

/* Top-level column widths */
.med {
  width: 400px;
}

.thin {
  width: 250px;
}

/* Titles */
h3 {
  margin: 0;
  padding: 0.3em 0.8em;
}

/* Loadinfo panel */

#loadinfo {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  width: 777px;
  height: 650px;
  border: 1px grey solid;
  margin: auto;
  background-color: #fff;
  padding: 20px;
}

#loadinfo-online-desc {
  border:1px solid gray;
  border-width: 0 0 1px 0;
  padding: 1em;
}

/* Loadinfo columns */
.loader-column-container {
  background: rgb(226, 235, 253);
}
.loader-column-container:after {
  content:"";
  display:block;
  position:absolute;
  z-index:-1;
  top:0; right:0; bottom:0;
  left:50%;
  background: rgb(247, 250, 193);
}

.loader-column-container > div {
  width: 45%;
  margin: 0 2.5% 1em 2.5%;
}

/* Hide charts while loadinfo is shown */

.vis-hide {
  display: none;
  opacity: 0;
}

/* Loading bars */
.progressbar {
  margin: 10px 0;
  padding: 3px;
  border: 1px solid #000;
  font-size: 14px;
  clear: both;
  opacity: 0;
}

.progressbar.loading {
  opacity: 1.0;
}

.progressbar .percent {
  background-color: #99ccff;
  height: auto;
  width: 0;
  white-space: nowrap;
}

/* Stat chart */

/* Border lines */
#stat-chart .x-axis-dim-label line, #stat-chart .y-axis-dim-label line {
  fill: none;
  opacity: .5;
  shape-rendering: crispEdges;
}

#stat-chart .x-axis-dim-label line {
  stroke: #666;
}
#stat-chart .y-axis-dim-label line {
  stroke: #bbb;
}

/* Text labels */
/* Domain labels */
#stat-chart text {
  font: 10px sans-serif;
}
#stat-chart .x-axis-dim-label text {
  text-anchor: middle;
}
#stat-chart .y-axis-dim-label text {
  text-anchor: end;
}
/* Dimension labels, keeping a consistent style as axis labels */
#stat-chart text.dim-label, .axis-label {
  font: 12px sans-serif;
  font-weight: bold;
}

/* Axis labels */
.axis-label {
  height: 0;
  width: 0;
  position: relative;
  white-space: nowrap;
}

.x-axis-label {
  left: 50%;
}

.y-axis-label {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

/* Chart meta info */

p.info {
  font: 10px sans-serif;
  color: #777;
  margin: 0 .4em;
  padding: 0;
}

p.filterinfo {
  font: 11px sans-serif;
  color: #555;
  margin: .4em;
  padding: 0;
  /* Specify size and block specifically, so that the space needed is always reserved */
  display: block;
  height: 11px;
}

/* User list */

#connection-warning {
  display: none;
  position: absolute;
  border: 2px black solid;
  background: #fccccc;
  top: 0;
  right: 0;
  padding: 1em;
}

#connect-status {
  border-left: 1px black solid;
  border-bottom: 1px black solid;
  display: none;
  height: 208px;
  overflow-y: scroll;
}

#connect-status a {
  font-size: smaller;
}

#users-status .channel {
  border: 1px gray solid;
  margin: 0 2em;
}

#users-status .channel:before {
  content: "channel";
  font: 10px sans-serif;
  color: "#888";
  padding: 0;
  margin: 0;
  display: block;
}

#users-status a {
  margin-left: 1em;
}

#users-status ul {
  padding-left: 20px;
}

#users-status li.user {
  list-style: none;
}

/* Charts */

.dc-chart, .mv-chart {
  border-bottom: 1px #eee solid;
  float: left;
}

/* Utility */
.fader {
  -moz-transition: opacity 1s linear;
  -o-transition: opacity 1s linear;
  -webkit-transition: opacity 1s linear;
  transition: opacity 1s linear;
}

.help {
  cursor: help;
}

/* Non-layout critical style niceties */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333333;
  background-color: #ffffff;
}

a {
  color: #0066aa;
  text-decoration: none;
}

a:hover {
  color: #005580;
  text-decoration: underline;
}

.button {
  border-top: 1px solid #96d1f8;
  background: #65a9d7;
  background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7));
  background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
  background: -moz-linear-gradient(top, #3e779d, #65a9d7);
  background: -ms-linear-gradient(top, #3e779d, #65a9d7);
  background: -o-linear-gradient(top, #3e779d, #65a9d7);
  padding: 6px 12px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
  -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
  box-shadow: rgba(0,0,0,1) 0 1px 0;
  text-shadow: rgba(0,0,0,.4) 0 1px 0;
  color: white;
  font-size: 13px;
  font-family: 'Lucida Grande', Helvetica, Arial, Sans-Serif;
  text-decoration: none;
  vertical-align: middle;
}
.button:hover {
  border-top-color: #28597a;
  background: #28597a;
  color: #ccc;
}
.button:active {
  border-top-color: #1b435e;
  background: #1b435e;
}

.disabled-button, .disabled-button:hover, .disabled-button:active {
  border-top: 1px solid #999;
  background: #777;
  text-decoration: none;
  color: white;
}