2015-10-23 13:42:32 +00:00
|
|
|
body {
|
|
|
|
font-family: 'Segoe UI', Tahoma, sans-serif;
|
|
|
|
font-size: 12px;
|
|
|
|
color: #303030;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.control-gimbals {
|
|
|
|
/* A generous padding around the window edges ensures that we continue to receive mousemove events (since
|
|
|
|
* cursor stays in the window for longer)
|
|
|
|
*/
|
2015-11-10 00:13:21 +00:00
|
|
|
padding: 25px;
|
|
|
|
padding-bottom: 0;
|
|
|
|
text-align: center;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.control-gimbal {
|
2015-11-10 00:13:21 +00:00
|
|
|
position: relative;
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
background-color: #eee;
|
|
|
|
margin-left: 1em;
|
|
|
|
margin-right: 1em;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: pointer;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.crosshair {
|
2015-11-10 00:13:21 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
background-color: #ddd;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.crosshair-vert {
|
2015-11-10 00:13:21 +00:00
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
left: 50%;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.crosshair-horz {
|
2015-11-10 00:13:21 +00:00
|
|
|
height: 1px;
|
|
|
|
width: 100%;
|
|
|
|
top: 50%;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.gimbal-label {
|
2015-11-10 00:13:21 +00:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.gimbal-label-horz {
|
2015-11-10 00:13:21 +00:00
|
|
|
top: calc(100% + 0.5em);
|
|
|
|
width: 100%;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.gimbal-label-vert {
|
2015-11-10 00:13:21 +00:00
|
|
|
transform: rotate(-90deg);
|
2015-10-23 13:42:32 +00:00
|
|
|
/*transform-origin:0% 100%;*/
|
2015-11-10 00:13:21 +00:00
|
|
|
top: calc(50% - 0.5em);
|
|
|
|
width: 100%;
|
|
|
|
left: calc(-50% - 1em);
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.control-stick {
|
2015-11-10 00:13:21 +00:00
|
|
|
background-color: rgba(255, 50, 50, 1.0);
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin-left: -10px;
|
|
|
|
margin-top: -10px;
|
|
|
|
display: block;
|
|
|
|
border-radius: 100%;
|
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.control-slider {
|
2015-11-10 00:13:21 +00:00
|
|
|
margin: 20px;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip {
|
|
|
|
position: absolute;
|
|
|
|
left: calc(100% + 24px);
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.control-slider .slider {
|
2015-11-10 00:13:21 +00:00
|
|
|
margin-left: 50px;
|
|
|
|
margin-right: 50px;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.slider-label {
|
2015-11-10 00:13:21 +00:00
|
|
|
position: absolute;
|
|
|
|
text-align: right;
|
|
|
|
width: 40px;
|
|
|
|
left: -65px;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-enable {
|
2015-11-10 00:13:21 +00:00
|
|
|
padding: 0.5em;
|
|
|
|
font-size: 110%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: block;
|
2015-10-23 13:42:32 +00:00
|
|
|
}
|