summaryrefslogtreecommitdiff
path: root/public/css/style.css
blob: c0701f3b26f6b19f8b1f91de5732a3308fb21f7a (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
/* 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: 40px;
}

body {
  min-width: 1350px;
}

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

/* Columns */

.med {
  width: 400px;
}

.thin {
  width: 250px;
}

#main, .side {
  font-size: smaller;
}

/* 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;
}

/* 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 */

#stat-chart .border-line {
  fill: none;
  stroke: #ccc;
  opacity: .5;
  shape-rendering: crispEdges;
}

#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;
}

#stat-chart text.dim-label, .axis-label {
  font: 12px sans-serif;
  font-weight: bold;
}

.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: 200px;
  overflow-y: scroll;
}

#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;
}