Project devices sidebar working

This commit is contained in:
2026-05-04 19:00:21 +02:00
parent 48b4dd0fc0
commit efbb81c13d
2 changed files with 311 additions and 10 deletions
+81
View File
@@ -52,6 +52,81 @@ body {
background: #fff;
}
.tree-editor-layout {
display: grid;
grid-template-columns: 320px 1fr;
gap: 0.75rem;
min-height: 560px;
}
.project-device-sidebar {
border: 1px solid #d9dee8;
background: #fff;
padding: 0.6rem;
display: flex;
flex-direction: column;
gap: 0.55rem;
}
.project-device-sidebar h3 {
margin: 0;
font-size: 1rem;
}
.project-device-sidebar input,
.project-device-sidebar select {
width: 100%;
border: 1px solid #cfd7e5;
border-radius: 4px;
padding: 0.25rem 0.35rem;
}
.project-device-list {
max-height: 360px;
overflow: auto;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.project-device-item {
border: 1px solid #d5ddec;
background: #f8faff;
text-align: left;
padding: 0.4rem;
border-radius: 4px;
display: flex;
flex-direction: column;
gap: 0.1rem;
font-size: 0.8rem;
}
.project-device-item.selected {
border-color: #4c7dd9;
background: #edf3ff;
}
.sidebar-actions {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.sidebar-actions label {
display: flex;
flex-direction: column;
gap: 0.2rem;
font-size: 0.82rem;
}
.sidebar-actions button {
border: 1px solid #c4cddc;
background: #fff;
border-radius: 4px;
padding: 0.3rem 0.45rem;
font-size: 0.82rem;
}
.tree-grid {
width: max-content;
min-width: 100%;
@@ -157,3 +232,9 @@ body {
font-size: 0.8rem;
margin: 0;
}
@media (max-width: 1200px) {
.tree-editor-layout {
grid-template-columns: 1fr;
}
}