2016-03-31 17:06:21 -06:00
|
|
|
body {
|
|
|
|
color: #fff;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-04-14 18:18:20 -06:00
|
|
|
background: #000;
|
|
|
|
}
|
|
|
|
main {
|
|
|
|
overflow: hidden;
|
2016-03-31 17:06:21 -06:00
|
|
|
}
|
|
|
|
|
2017-03-15 01:33:02 -06:00
|
|
|
/* Alerts */
|
2016-03-31 17:06:21 -06:00
|
|
|
.centered.alert {
|
|
|
|
text-align:center;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
|
2017-03-15 01:33:02 -06:00
|
|
|
/* Map and streetview */
|
2016-03-31 17:06:21 -06:00
|
|
|
#map, #pano {position:relative;}
|
|
|
|
#pano {float:right;}
|
2017-04-25 11:44:11 -06:00
|
|
|
#panoImg { width:100%; height:100%; }
|
2017-03-15 01:33:02 -06:00
|
|
|
#notset {display:none}
|
2016-03-31 17:06:21 -06:00
|
|
|
|
2017-03-15 01:33:02 -06:00
|
|
|
/* Tracman logo */
|
2017-04-25 11:44:11 -06:00
|
|
|
#map-logo {
|
2016-03-31 17:06:21 -06:00
|
|
|
margin-left: -75px;
|
2017-04-25 11:44:11 -06:00
|
|
|
background: #444;
|
2016-03-31 17:06:21 -06:00
|
|
|
background: rgba(0,0,0,.7);
|
|
|
|
padding: 0 10px 0 75px;
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
2017-04-25 11:44:11 -06:00
|
|
|
#map-logo a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
#map-logo img {
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
#map-logo .text {
|
|
|
|
color: #fbc93d;
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
2016-03-31 17:06:21 -06:00
|
|
|
|
2017-03-15 01:33:02 -06:00
|
|
|
/* Timestamp */
|
2017-04-25 11:44:11 -06:00
|
|
|
#timestamp {
|
2017-05-19 18:35:42 -06:00
|
|
|
z-index: 1000000 !important;
|
|
|
|
text-align: right;
|
2016-03-31 17:06:21 -06:00
|
|
|
color: #000;
|
|
|
|
font-size: 12px;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
background-color: rgba(255,255,255,.7);
|
|
|
|
}
|
|
|
|
|
2017-03-18 08:22:26 -06:00
|
|
|
/* Signs */
|
2017-04-25 11:44:11 -06:00
|
|
|
#spd-sign, #alt-sign {
|
2017-03-18 08:22:26 -06:00
|
|
|
text-align: center;
|
2017-03-18 09:01:19 -06:00
|
|
|
padding: 2%;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 3%;
|
2017-04-26 22:49:11 -06:00
|
|
|
}
|
|
|
|
#spd-sign {
|
2016-03-31 17:06:21 -06:00
|
|
|
color: #000;
|
|
|
|
background-color: #FFF;
|
2017-03-18 08:22:26 -06:00
|
|
|
border: 2px solid #000;
|
2017-04-26 22:49:11 -06:00
|
|
|
}
|
|
|
|
#alt-sign {
|
2016-03-31 17:06:21 -06:00
|
|
|
color: #FFF;
|
2017-03-18 08:22:26 -06:00
|
|
|
background-color: #009800;
|
2016-03-31 17:06:21 -06:00
|
|
|
border: 2px solid #FFF;
|
2017-03-18 08:22:26 -06:00
|
|
|
}
|
2017-04-26 22:49:11 -06:00
|
|
|
@media (max-width:300px) {
|
2017-04-25 11:44:11 -06:00
|
|
|
#spd, #alt {
|
2017-04-26 22:49:11 -06:00
|
|
|
height: 20px;
|
2017-03-18 08:23:42 -06:00
|
|
|
font-size: 18px;
|
2017-03-18 09:01:19 -06:00
|
|
|
}
|
2017-04-25 11:44:11 -06:00
|
|
|
#alt-unit, #spd-unit {
|
2017-04-26 22:49:11 -06:00
|
|
|
font-size: 8px;
|
2017-03-18 09:01:19 -06:00
|
|
|
}
|
2017-04-25 11:44:11 -06:00
|
|
|
#alt-label, #spd-label {
|
2017-04-26 22:49:11 -06:00
|
|
|
font-size: 9px;
|
|
|
|
height: 9px;
|
2017-03-18 09:01:19 -06:00
|
|
|
}
|
2017-04-26 22:49:11 -06:00
|
|
|
}
|
|
|
|
@media (min-width:300px) and (max-width:350px) {
|
2017-04-25 11:44:11 -06:00
|
|
|
#spd, #alt {
|
2017-03-18 09:01:19 -06:00
|
|
|
height: 22px;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2017-04-25 11:44:11 -06:00
|
|
|
#alt-unit, #spd-unit {
|
2017-03-18 09:01:19 -06:00
|
|
|
font-size: 9px;
|
|
|
|
}
|
2017-04-25 11:44:11 -06:00
|
|
|
#alt-label, #spd-label {
|
2017-03-18 09:01:19 -06:00
|
|
|
font-size: 11px;
|
|
|
|
height: 11px;
|
|
|
|
}
|
2017-04-26 22:49:11 -06:00
|
|
|
}
|
|
|
|
@media (min-width:350px) and (max-width:400px) {
|
2017-04-25 11:44:11 -06:00
|
|
|
#spd, #alt {
|
2017-04-26 22:49:11 -06:00
|
|
|
height: 30px;
|
|
|
|
font-size: 28px;
|
2017-03-18 09:01:19 -06:00
|
|
|
}
|
2017-04-25 11:44:11 -06:00
|
|
|
#alt-unit, #spd-unit {
|
2017-04-26 22:49:11 -06:00
|
|
|
font-size: 10px;
|
2017-03-18 09:01:19 -06:00
|
|
|
}
|
2017-04-25 11:44:11 -06:00
|
|
|
#alt-label, #spd-label {
|
2017-04-26 22:49:11 -06:00
|
|
|
font-size: 14px;
|
|
|
|
height: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width:400px) {
|
|
|
|
#spd, #alt {
|
|
|
|
height: 40px;
|
|
|
|
font-size: 32px;
|
|
|
|
}
|
|
|
|
#alt-unit, #spd-unit {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
#alt-label, #spd-label {
|
|
|
|
font-size: 18px;
|
|
|
|
height: 18px;
|
2017-03-18 08:23:42 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-26 22:49:11 -06:00
|
|
|
|
2017-03-15 01:33:02 -06:00
|
|
|
/* Control buttons */
|
2017-03-18 08:07:36 -06:00
|
|
|
#controls {
|
|
|
|
width: 100vw;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 50px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
2017-04-26 22:49:11 -06:00
|
|
|
}
|
|
|
|
#controls .btn {
|
2017-03-15 01:33:02 -06:00
|
|
|
z-index: 50;
|
|
|
|
background: #222;
|
2017-03-18 08:07:36 -06:00
|
|
|
height: 10vh;
|
|
|
|
padding: 2vh 0;
|
2017-04-26 22:49:11 -06:00
|
|
|
}
|
|
|
|
#controls .btn .fa {
|
|
|
|
margin: 0 2vw;
|
|
|
|
}
|
|
|
|
#controls .btn:hover {
|
2017-03-15 01:33:02 -06:00
|
|
|
background: #333;
|
2017-03-18 08:07:36 -06:00
|
|
|
}
|
|
|
|
#controls .btn.set, #controls .btn.clear {
|
|
|
|
width: 30vw;
|
2017-04-26 22:49:11 -06:00
|
|
|
}
|
|
|
|
#controls .btn.track {
|
2017-03-18 08:07:36 -06:00
|
|
|
width: 35vw;
|
2017-04-26 22:49:11 -06:00
|
|
|
}
|
|
|
|
@media (max-width:250px) {
|
|
|
|
#controls .btn { font-size:.8em; }
|
|
|
|
}
|
|
|
|
@media (min-width:250px) and (max-width:350px) {
|
|
|
|
#controls .btn { font-size:1em; }
|
|
|
|
}
|
|
|
|
@media (min-width:350px) and (max-width:450px) {
|
|
|
|
#controls .btn { font-size:1.15em; }
|
|
|
|
}
|
|
|
|
@media (min-width:450px) {
|
|
|
|
#controls .btn { font-size:1.3em; }
|
2017-03-15 01:33:02 -06:00
|
|
|
}
|