477 lines
8.3 KiB
CSS
477 lines
8.3 KiB
CSS
body { margin: 0; padding: 0; }
|
|
#map { position: absolute; top: 0; bottom: 0; width: 100%; }
|
|
|
|
.legend {
|
|
background-color: #fff;
|
|
border-radius: 3px;
|
|
bottom: 30px;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
padding: 10px;
|
|
position: absolute;
|
|
right: 10px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.legend h4 {
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.legend div span {
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
height: 10px;
|
|
margin-right: 5px;
|
|
width: 10px;
|
|
}
|
|
|
|
body{margin:0; padding:0; font-size:13px; font-family:Georgia, "Times New Roman", Times, serif; color:#919191; background-color:#232323;}
|
|
|
|
.float-child {
|
|
width: 50%;
|
|
float: left;
|
|
}
|
|
|
|
.sceneMap {
|
|
width: 200px;
|
|
height: 50vh;
|
|
border: 0px solid #CCC;
|
|
/*margin: 20px;*/
|
|
perspective: 400px;
|
|
}
|
|
|
|
|
|
.sceneMap, #map {
|
|
width: 100%;
|
|
}
|
|
|
|
.right-col {
|
|
display: flex;
|
|
flex-flow: wrap;
|
|
width: 34%;
|
|
max-width: 460px;
|
|
}
|
|
.left-col {
|
|
display: flex;
|
|
flex-flow: wrap;
|
|
width: calc(66% - 20px);
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
.compass-container {
|
|
display: flex;
|
|
flex-flow: wrap;
|
|
}
|
|
|
|
.outer {
|
|
position: relative;
|
|
width: 300px;
|
|
height: 200px;
|
|
margin: 20px;
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
canvas {
|
|
position: absolute;
|
|
}
|
|
.speedMin {
|
|
position: absolute;
|
|
left: 0%;
|
|
transform: translate(-50%, 0);
|
|
font-size: 30px;
|
|
bottom: 0;
|
|
margin-bottom: -50px;
|
|
}
|
|
.speed14 {
|
|
position: absolute;
|
|
left: 8%;
|
|
transform: translate(-50%, 0);
|
|
font-size: 20px;
|
|
bottom: 0;
|
|
margin-bottom: 90px;
|
|
}
|
|
.speedMed {
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
font-size: 20px;
|
|
bottom: 0;
|
|
margin-bottom: 140px;
|
|
}
|
|
.speed34 {
|
|
position: absolute;
|
|
left: 92%;
|
|
transform: translate(-50%, 0);
|
|
font-size: 20px;
|
|
bottom: 0;
|
|
margin-bottom: 90px;
|
|
}
|
|
.speedMax {
|
|
position: absolute;
|
|
Left: 100%;
|
|
transform: translate(-50%, 0);
|
|
font-size: 30px;
|
|
bottom: 0;
|
|
margin-bottom: -50px;
|
|
}
|
|
|
|
#compass {
|
|
position: relative;
|
|
width: 200px;
|
|
height: 200px;
|
|
/*margin: 20px;*/
|
|
}
|
|
#compass1 {
|
|
position: relative;
|
|
width: 200px;
|
|
height: 200px;
|
|
/*margin: 20px;*/
|
|
}
|
|
|
|
.accuracy-container {
|
|
display: flex;
|
|
flex-flow: wrap;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.accuracy-values {
|
|
margin: 28px 20px 0 20px;
|
|
}
|
|
|
|
.led-container {
|
|
display: flex;
|
|
flex-flow: column;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
#bezel {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
border-radius: 50%;
|
|
}
|
|
#bezelTCP {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
#axis {
|
|
position: absolute;
|
|
left: 88px;
|
|
top: 88px;
|
|
width: 10px;
|
|
height: 10px;
|
|
background: #ffff;
|
|
border: 6px solid #666;
|
|
border-radius: 50%;
|
|
}
|
|
#axisTCP {
|
|
position: absolute;
|
|
left: 88px;
|
|
top: 88px;
|
|
width: 10px;
|
|
height: 10px;
|
|
background: #ffff;
|
|
border: 6px solid #666;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
#needle {
|
|
position: absolute;
|
|
left: 96px;
|
|
width: 4px;
|
|
height: 160px;
|
|
top: 16px;
|
|
}
|
|
#needleTCP {
|
|
position: absolute;
|
|
left: 96px;
|
|
width: 4px;
|
|
height: 160px;
|
|
top: 16px;
|
|
}
|
|
|
|
#needle:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -1px;
|
|
width: 0;
|
|
height: 0;
|
|
border: 4px solid transparent;
|
|
border-bottom: 80px solid #FF3600;
|
|
}
|
|
|
|
#needle:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 80px;
|
|
left: -1px;
|
|
width: 0;
|
|
height: 0;
|
|
border: 4px solid transparent;
|
|
border-top: 80px solid #666;
|
|
}
|
|
#needleTCP:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -1px;
|
|
width: 0;
|
|
height: 0;
|
|
border: 4px solid transparent;
|
|
border-bottom: 80px solid #FF3600;
|
|
}
|
|
|
|
#needleTCP:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 80px;
|
|
left: -1px;
|
|
width: 0;
|
|
height: 0;
|
|
border: 4px solid transparent;
|
|
border-top: 80px solid #666;
|
|
}
|
|
|
|
#N {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 88px;
|
|
color: #FF3600;
|
|
}
|
|
|
|
#E {
|
|
position: absolute;
|
|
right: 5px;
|
|
top: 80px;
|
|
}
|
|
|
|
#S {
|
|
position: absolute;
|
|
bottom: 5px;
|
|
left: 88px;
|
|
}
|
|
|
|
#W {
|
|
position: absolute;
|
|
left: 5px;
|
|
top: 80px;
|
|
}
|
|
#NTCP {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 88px;
|
|
color: #FF3600;
|
|
}
|
|
|
|
#ETCP {
|
|
position: absolute;
|
|
right: 5px;
|
|
top: 80px;
|
|
}
|
|
|
|
#STCP {
|
|
position: absolute;
|
|
bottom: 5px;
|
|
left: 88px;
|
|
}
|
|
|
|
#WTCP {
|
|
position: absolute;
|
|
left: 5px;
|
|
top: 80px;
|
|
}
|
|
|
|
.dir {
|
|
font-family: arial, sans-serif;
|
|
color: #999;
|
|
font-size: 20px;
|
|
padding: 5px;
|
|
}
|
|
|
|
.quad {
|
|
display: block;
|
|
width: 2px;
|
|
background: #ddd;
|
|
height: 130px;
|
|
position: absolute;
|
|
top: 30px;
|
|
left: 98px;
|
|
}
|
|
|
|
#NWSE {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
#NESW {
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
#WE {
|
|
transform: rotate(90deg);
|
|
}
|
|
#NWSETCP {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
#NESWTCP {
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
#WETCP {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
|
|
@-webkit-keyframes spin {
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.scene {
|
|
width: 200px;
|
|
height: 200px;
|
|
border: 0px solid #CCC;
|
|
margin: 70px;
|
|
perspective: 400px;
|
|
}
|
|
|
|
.lamp {
|
|
width: 50px;
|
|
height: 50px;
|
|
background-color: gray;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.lamps {
|
|
display: flex;
|
|
flex-flow: row;
|
|
}
|
|
|
|
.lampinner{
|
|
width: 40px;
|
|
height: 40px;
|
|
position: relative;
|
|
top: 5px;
|
|
left: 5px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.cube {
|
|
width: 200px;
|
|
height: 200px;
|
|
position: relative;
|
|
transform-style: preserve-3d;
|
|
/*transform: translateZ(-100px);*/
|
|
transition: transform 25ms;
|
|
}
|
|
|
|
.cube.show-front { transform:translateZ(-100px) rotateY( 0deg); }
|
|
.cube.show-right { transform:translateZ(-100px) rotateY( -90deg); }
|
|
.cube.show-back { transform:translateZ(-100px) rotateY(-180deg); }
|
|
.cube.show-left { transform:translateZ(-100px) rotateY( 90deg); }
|
|
.cube.show-top { transform:translateZ(-100px) rotateX( -90deg); }
|
|
.cube.show-bottom { transform:translateZ(-100px) rotateX( 90deg); }
|
|
|
|
.cube__face {
|
|
position: absolute;
|
|
width: 200px;
|
|
height: 200px;
|
|
border: 1px solid white;
|
|
line-height: 200px;
|
|
font-size: 40px;
|
|
/*font-weight: bold;*/
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
|
|
.cube__face--front { background: hsla( 0, 100%, 50%, 0.7); }
|
|
.cube__face--right { background: hsla( 60, 100%, 50%, 0.7); }
|
|
.cube__face--back { background: hsla(120, 100%, 50%, 0.7); }
|
|
.cube__face--left { background: hsla(180, 100%, 50%, 0.7); }
|
|
.cube__face--top { background: hsla(240, 100%, 50%, 0.7); }
|
|
.cube__face--bottom { background: hsla(300, 100%, 50%, 0.7); }
|
|
|
|
.cube__face--front { transform: rotateY( 0deg) translateZ(100px) translateY(50px); height: 100px; line-height: 100px; }
|
|
.cube__face--right { transform: rotateY( 90deg) translateZ(100px) translateY(50px); height: 100px; line-height: 100px; }
|
|
.cube__face--back { transform: rotateY(180deg) translateZ(100px) translateY(50px); height: 100px; line-height: 100px; }
|
|
.cube__face--left { transform: rotateY(-90deg) translateZ(100px) translateY(50px); height: 100px; line-height: 100px; }
|
|
.cube__face--top { transform: rotateX( 90deg) translateZ(50px); }
|
|
.cube__face--bottom { transform: rotateX(-90deg) translateZ(50px); }
|
|
|
|
label { margin-right: 10px; }
|
|
|
|
.slidecontainer {
|
|
width: 100%;
|
|
overflow: visible;
|
|
padding: 10px 0px;
|
|
}
|
|
|
|
#manCalContainer {
|
|
display: none;
|
|
}
|
|
/*.slider {*/
|
|
/* -webkit-appearance: none;*/
|
|
/* width: 100%;*/
|
|
/* height: 25px;*/
|
|
/* background: #d3d3d3;*/
|
|
/* outline: none;*/
|
|
/* opacity: 0.7;*/
|
|
/* -webkit-transition: .2s;*/
|
|
/* transition: opacity .2s;*/
|
|
/*}*/
|
|
|
|
.slider:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.slider::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 20px;
|
|
height: 20px;
|
|
background: #4CAF50;
|
|
cursor: pointer;
|
|
border-radius: 50%;
|
|
border: none;
|
|
}
|
|
|
|
.slider::-moz-range-thumb {
|
|
width: 20px;
|
|
height: 20px;
|
|
background: #4CAF50;
|
|
cursor: pointer;
|
|
border-radius: 50%;
|
|
border: none;
|
|
}
|
|
|
|
.slider {
|
|
-webkit-appearance: none;
|
|
width: 100%;
|
|
height: 8px;
|
|
border-radius: 5px;
|
|
background: #d3d3d3;
|
|
outline: none;
|
|
opacity: 0.7;
|
|
-webkit-transition: opacity .15s ease-in-out;
|
|
transition: opacity .15s ease-in-out;
|
|
}
|
|
|
|
#viewport {
|
|
width: 100%;
|
|
height: 360px;
|
|
}
|
|
|
|
.compass-digital {
|
|
width: 400px;
|
|
}
|