UNPKG

cesium-navigation-es6

Version:
187 lines (164 loc) 3.31 kB
.distance-legend { pointer-events: auto; position: absolute; border-radius: 15px; padding-left: 5px; padding-right: 5px; bottom: 30px; height: 30px; width: 125px; box-sizing: content-box; } .distance-legend-label { display: inline-block; font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: lighter; line-height: 30px; color: #FFFFFF; width: 125px; text-align: center; } .distance-legend-scale-bar { border-left: 1px solid #FFFFFF; border-right: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF; position: absolute; height: 10px; top: 15px; } @media print { .distance-legend { display: none; } } @media screen and (max-width: 700px), screen and (max-height: 420px) { .distance-legend { display: none; } } .navigation-controls { position: absolute; right: 30px; top: 210px; width: 30px; border: 1px solid rgba(255, 255, 255, 0.1); font-weight: 300; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .navigation-control { cursor: pointer; border-bottom: 1px solid #555555; } .naviagation-control:active { color: #FFF; } .navigation-control-last { cursor: pointer; border-bottom: 1px solid #555555; border-bottom: 0; } .navigation-control-icon-zoom-in { position: relative; text-align: center; font-size: 20px; color: #FFFFFF; padding-bottom: 4px; } .navigation-control-icon-zoom-out { position: relative; text-align: center; font-size: 20px; color: #FFFFFF; } .navigation-control-icon-reset { position: relative; left: 10px; width: 10px; height: 10px; fill: rgba(255, 255, 255, 0.8); padding-top: 6px; padding-bottom: 6px; box-sizing: content-box; } .compass { pointer-events: auto; position: absolute; right: 0px; top: 100px; width: 95px; height: 95px; overflow: hidden; } .compass-outer-ring { position: absolute; top: 0; width: 95px; height: 95px; fill: rgba(255, 255, 255, 0.5); } .compass-outer-ring-background { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 44px; border: 12px solid rgba(47, 53, 60, 0.8); box-sizing: content-box; } .compass-gyro { pointer-events: none; position: absolute; top: 0; width: 95px; height: 95px; fill: #CCC; } .compass-gyro-active { fill: #68ADFE; } .compass-gyro-background { position: absolute; top: 30px; left: 30px; width: 33px; height: 33px; border-radius: 33px; background-color: rgba(47, 53, 60, 0.8); border: 1px solid rgba(255, 255, 255, 0.2); box-sizing: content-box; } .compass-gyro-background:hover+.compass-gyro { fill: #68ADFE; } .compass-rotation-marker { position: absolute; top: 0; width: 95px; height: 95px; fill: #68ADFE; } @media screen and (max-width: 700px), screen and (max-height: 420px) { .navigation-controls { display: none; } .compass { display: none; } } @media print { .navigation-controls { display: none; } .compass { display: none; } }