-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
196 lines (188 loc) · 3.59 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
/* Overall */
html, body, div#map {
width:100%;
height:100%;
margin:0;
overflow: hidden;
font-family: sans-serif;
}
/* Layout */
div#top {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2em;
padding: 0.6em 1em 0.3em 1em;
z-index: 999;
overflow: hidden;
}
div#topright {
float: right;
margin-right: 2em;
overflow: hidden;
}
div#tote {
width: 43em;
height:100%;
float: right;
padding: 4.5em 1em 1em 1em;
overflow: hidden;
}
div#tracktablearea {
max-height: 65%;
overflow-y: scroll;
}
div#map {
width:auto;
height:100%;
margin:0;
overflow: hidden;
}
div.centre {
text-align: center;
}
div#controls {
margin-top: 1em;
margin-bottom: 2em;
overflow-y: auto;
}
div#buttons {
line-height: 2em;
text-align: center;
}
div#checkboxes {
margin-top: 0.5em;
line-height: 2em;
text-align: center;
}
div#dropdowns {
margin-top: 0.7em;
line-height: 2em;
text-align: center;
}
div#mobileswitcher {
display: none;
position: absolute;
top: 10px;
right: 0px;
width: 40px;
height: 30px;
z-index: 1000;
overflow: hidden;
}
/* Styles */
div#top {
background-color: #b8c6db;
background-image: linear-gradient(0deg, #b8c6db 0%, #f5f7fa 74%);
border-bottom: 1px solid lightgrey;
}
span#title {
font-size: 1.5em;
font-weight: bold;
}
span#description {
font-size: 0.7em;
margin-left: 2em;
color: #555;
}
span#meta {
font-size: 0.7em;
color: #555;
line-height: 3.3em;
}
span#meta a {
color: #333;
}
div#mobileswitcher {
border-top: 1px solid grey;
border-left: 1px solid grey;
border-bottom: 1px solid grey;
background-color: #f5f7fa;
line-height: 23px;
font-weight: 900;
font-size: 26px;
padding-left: 10px;
}
div#tote {
background-color: #f5f7fa;
border-left: 1px solid lightgrey;
font-size: 0.9em;
}
table.tracktable {
margin-top: 1em;
font-size: 1em;
border-collapse: collapse;
width: 100%;
}
table.tracktable, table.tracktable th, table.tracktable td {
border: 1px solid black;
text-align: center;
cursor: default;
}
table.tracktable th {
background-color: #b8c6db;
background-image: linear-gradient(0deg, #b8c6db 0%, #f5f7fa 74%);
}
table.tracktable tr:hover {
background-color: #b8c6db;
}
table.tracktable tr.selected {
background-color: #4581CC !important;
}
td.red {
background-color: red;
}
td.orange {
background-color: orange;
}
td.green {
background-color: green;
}
span#trackerstatus {
font-weight: bold;
}
span.trackerstatusgood {
color: green;
}
span.trackerstatuswarning {
color: orange;
}
span.trackerstatuswaiting {
animation: blinker 1s linear infinite;
color: orange;
}
span.trackerstatuserror {
animation: blinker 1s linear infinite;
color: red;
}
@keyframes blinker {
50% {
opacity: 0;
}
}
div.tablenodata {
margin: 0.5em;
text-align: center;
font-weight: bold;
color: orange;
}
/* Leaflet.js mods */
.leaflet-container .leaflet-control-attribution {
background: none;
}
/* Mobile */
@media only screen and (max-width: 600px) {
div#top, div#topright {
display: none;
}
div#tote {
display: none;
width: 100%;
padding: 4em 0em 0em 0em;
font-size: 8.5px;
}
div#mobileswitcher {
display: block;
}
}