Files
I150/srcs/RobotNet10/RobotApp/RobotNet10.RobotApp.Client/Components/SLAM/MapEdit.razor.css
2026-07-03 16:37:12 +07:00

83 lines
1.5 KiB
CSS

.map-edit-page {
display: flex;
flex-direction: column;
height: 100vh;
width: 100%;
background-color: #1e1e1e;
}
.control-bar {
background-color: #2d2d2d;
padding: 8px 16px;
border-bottom: 1px solid #404040;
flex-shrink: 0;
}
.content-area {
display: flex;
flex: 1;
min-height: 0;
overflow: hidden;
}
.info-bar {
width: 280px;
background-color: #2d2d2d;
padding: 16px;
border-right: 1px solid #404040;
overflow-y: auto;
flex-shrink: 0;
}
.info-item {
display: flex;
align-items: center;
padding: 4px 0;
}
.info-item-origin {
flex-wrap: nowrap;
}
/* Reuse same CSS classes as MapLocalization for consistency */
.map-localization-container {
background-color: #CCCCCC;
flex: 1;
cursor: grab;
overflow: hidden;
position: relative;
min-height: 0;
display: flex;
flex-direction: column;
}
.map-localization-container:active {
cursor: grabbing;
}
.map-view-movement {
width: fit-content;
height: fit-content;
position: absolute;
cursor: default;
overflow: hidden;
}
.map-canvas {
position: absolute;
top: 0;
left: 0;
transform: scale(1, 1);
transform-origin: center;
pointer-events: none;
image-rendering: pixelated;
}
.map-editor {
position: absolute;
top: 0;
left: 0;
transform: scale(1, -1);
transform-origin: center;
}