2023-02-10 23:36:50 +00:00

165 lines
2.2 KiB
CSS

/* Page style */
body {
display: flex;
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
width: 100%;
}
#map-container {
height: 100%;
width: 100%;
min-width: 820px;
}
#unit-info-panel {
position: fixed;
height: 160px;
width: 800px;
left: 10px;
bottom: 10px;
z-index: 1000;
}
#map-source-dropdown {
position: absolute;
left: 10px;
top: 10px;
width: 200px;
color: black;
}
#scenario-dropdown {
position: absolute;
left: 220px;
top: 10px;
width: 200px;
}
/**************************************/
.control-panel {
position: absolute;
z-index: 1000;
display: flex;
align-items: center;
}
.control-panel-top {
height: 30px;
justify-content: space-between;
top: 10px;
padding-left: 10px;
padding-right: 10px;
}
#visibility-control-panel {
left: 430px;
width: 110;
}
/***** AIC *****/
#aic-control-panel {
color:white;
left: 550px;
}
.aic-enabled #aic-control-panel .olympus-button {
filter:invert(100%);
}
#aic-formation-panel {
align-self: center;
background:#eaeaea;
border-bottom-right-radius: 10px;
border-top-right-radius: 10px;
display:none;
justify-self: left;
padding:10px;
position:absolute;
}
.aic-enabled #aic-formation-panel {
display:flex;
flex-direction: column;
}
#aic-formation-list {
display:flex;
flex-direction: column;
justify-content: center;
}
#aic-formation-list > div {
align-items: center;
display:flex;
flex-direction: column;
justify-content: center;
margin-top:1em;
}
#aic-formation-list .aic-formation-image img {
border: 1px solid #ccc;
border-radius: 10px;
max-width: 75px;
}
/**************************************/
#unit-control-buttons {
position: fixed;
top: 10px;
height: fit-content;
width: fit-content;
right: 270px;
z-index: 1000;
}
#unit-control-panel {
position: absolute;
top: 10px;
height: fit-content;
width: 250px;
right: 10px;
z-index: 1000;
}
#connection-status-panel {
position: absolute;
height: 30px;
width: 160px;
bottom: 10px;
right: 10px;
z-index: 1000;
}
#mouse-info-panel {
position: absolute;
height: fit-content;
width: 160px;
bottom: 50px;
right: 10px;
z-index: 1000;
}
@media only screen and (max-width: 1000px) {
#unit-control-buttons {
top: 50px;
}
#unit-control-panel {
top: 50px;
}
}