summaryrefslogtreecommitdiff
path: root/public/css/default.css
blob: 92d5f51fc17f3de761cac60dbb2bc0e9789fe5d8 (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
body {
	padding-left: 0.4em;
	padding-right: 0.4em;
}

div.intro,
div.usage,
div.stationlist,
div.globalstats {
	margin-bottom: 1em;
}

div.error {
	color: orangered;
	font-weight: bold;
	margin: 2em;
}

div.about {
	position: absolute;
	top: 0.5em;
	right: 0.5em;
	color: #666666;
}

svg {
  font: 10px sans-serif;
}

arc path {
   stroke: #fff;
}

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.bar {
  fill: orange;
}

.stddev {
	stroke: #000;
	shape-rendering: crispEdges;
}

.bar:hover {
  fill: orangered ;
}

.x.axis path {
  display: none;
}

.d3-tip {
  line-height: 1;
  font-weight: bold;
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 2px;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  content: "\25BC";
  position: absolute;
  text-align: center;
}

/* Style northward tooltips differently */
.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}