dpassoni a7a41e60c4 Incorporated unit info panel into unit control panel
Converted callbacks to events
Mouse info drawing moved to mouseinfopanel.ts
2023-03-06 17:45:50 +01:00

88 lines
1.1 KiB
CSS

/* Page style */
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html {
font-family: 'Open Sans', sans-serif;
}
body {
display:grid;
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
width: 100%;
}
#map-container {
height: 100%;
width: 100%;
min-width: 820px;
}
#primary-toolbar {
position: absolute;
left: 10px;
top: 10px;
z-index: 1000;
}
.content #primary-toolbar {
position: static;
}
#unit-control-panel {
position: absolute;
top: 80px;
height: fit-content;
width: 250px;
left: 10px;
z-index: 1000;
}
.content #unit-control-panel {
position: static;
}
#connection-status-panel {
position: absolute;
height: 30px;
width: 160px;
bottom: 20px;
right: 10px;
z-index: 1000;
}
#mouse-info-panel {
position: absolute;
height: fit-content;
width: 160px;
bottom: 60px;
right: 10px;
z-index: 1000;
}
.content #mouse-info-panel {
margin-bottom: 100px;
position: static;
}
#log-panel {
position: absolute;
height: 200px;
width: 400px;
top: 60px;
left: 10px;
z-index: 1000;
}