This commit is contained in:
Đăng Nguyễn
2025-12-20 17:37:22 +07:00
parent 6cd32f8c98
commit 062a6478ce
17 changed files with 802 additions and 4 deletions

View File

@@ -0,0 +1,74 @@
.robot-monitor-container {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
overflow: hidden;
}
.toolbar {
display: flex;
align-items: center;
padding: 8px 16px;
background-color: #2d2d2d;
border-bottom: 1px solid #444;
gap: 8px;
min-height: 48px;
}
.action-button {
padding: 8px;
border: none;
background: #3d3d3d;
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
transition: background-color 0.2s;
}
.action-button:hover {
background: #4d4d4d;
}
.action-button:active {
background: #5d5d5d;
}
.icon-button {
font-size: 20px;
color: #fff;
}
.robot-position-info {
color: #fff;
font-size: 14px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 4px 12px;
background-color: #3d3d3d;
border-radius: 4px;
display: flex;
align-items: center;
gap: 8px;
}
.svg-container {
flex: 1;
overflow: hidden;
position: relative;
background-color: #fafafa;
}
.svg-container svg {
width: 100%;
height: 100%;
cursor: grab;
background-color: dimgray;
}
.svg-container svg:active {
cursor: grabbing;
}