118 lines
1.8 KiB
CSS
118 lines
1.8 KiB
CSS
html,
|
|
body,
|
|
#cesiumContainer {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background: #d9e0e2;
|
|
}
|
|
|
|
#controls,
|
|
#diagnostics,
|
|
#status {
|
|
position: absolute;
|
|
z-index: 1;
|
|
border-radius: 4px;
|
|
background: rgba(20, 24, 28, 0.82);
|
|
color: #fff;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
#controls {
|
|
top: 12px;
|
|
left: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 8px;
|
|
}
|
|
|
|
#status {
|
|
left: 12px;
|
|
bottom: 12px;
|
|
max-width: 560px;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
#diagnostics {
|
|
right: 12px;
|
|
top: 12px;
|
|
min-width: 280px;
|
|
max-width: 360px;
|
|
padding: 10px 12px;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
#controls button,
|
|
#controls select {
|
|
height: 28px;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
#controls button {
|
|
padding: 0 10px;
|
|
background: #f2f5f7;
|
|
color: #111;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#controls button:active:not(:disabled) {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
#controls :disabled {
|
|
opacity: 0.45;
|
|
cursor: default;
|
|
}
|
|
|
|
#controls label:has(:disabled) {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
#controls input[type="range"] {
|
|
width: 120px;
|
|
}
|
|
|
|
#controls label {
|
|
display: inline-flex;
|
|
gap: 5px;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Playback / layers / camera each read as their own row of the panel. */
|
|
.control-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.control-group + .control-group {
|
|
padding-top: 6px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.16);
|
|
}
|
|
|
|
/* Per-asset checkboxes hang off the master "Scene" toggle. */
|
|
.control-subgroup {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px 10px;
|
|
align-items: center;
|
|
padding-left: 10px;
|
|
border-left: 1px solid rgba(255, 255, 255, 0.16);
|
|
}
|
|
|
|
.control-subgroup:empty {
|
|
display: none;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|