summaryrefslogtreecommitdiff
path: root/public/css/default.css
blob: 8d76d3983ed5d54fd9c1cd834df778da3efa4eef (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
body {
	font-family: sans-serif;
}

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

input, select {
	border: 1px solid black;
}

input.dimension {
	width: 4em;
}

input.delay {
	width: 3em;
}

input.train_no {
	width: 4em;
}

div.field {
	width: 100%;
	clear: both;
}

div.field div.desc {
	float: left;
	width: 12em;
	text-align: right;
	padding-right: 0.5em;
}

div.individuallist table {
	margin-top: 1em;
	border-collapse: collapse;
}

div.individuallist th,
div.individuallist td {
	border: 1px solid #bbbbbb;
	margin: 0;
	padding: 0.2em;
}

div.individuallist .cancelled {
	text-decoration: line-through;
	text-decoration-color: red;
}

div.individuallist span.undelay {
	color: #008800;
}

div.individuallist span.delay0 {
	color: #888888;
}

div.individuallist span.delay {
	color: #880000;
}

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