feat (ui): eerste wersie webui

This commit is contained in:
kodi
2026-03-08 07:06:56 +01:00
parent 01dfc5f2e6
commit 6bf753e3b7
6 changed files with 646 additions and 1 deletions
+138
View File
@@ -0,0 +1,138 @@
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: "Segoe UI", Tahoma, sans-serif;
background: #f2f4f8;
color: #1a1f2b;
}
.topbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
background: #0f172a;
color: #e2e8f0;
}
.topbar h1 {
margin: 0;
font-size: 20px;
}
#sessionMeta {
font-size: 12px;
}
.grid {
display: grid;
grid-template-columns: repeat(2, minmax(280px, 1fr));
gap: 12px;
padding: 12px;
}
.panel {
background: #ffffff;
border: 1px solid #d7dee9;
border-radius: 8px;
padding: 10px;
}
.panel h2 {
margin: 0 0 10px;
font-size: 16px;
}
.panel h3 {
margin: 10px 0 6px;
font-size: 14px;
}
.row {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.stack {
display: flex;
flex-direction: column;
}
input[type="text"],
select {
border: 1px solid #c3cedf;
border-radius: 6px;
padding: 6px 8px;
min-width: 160px;
}
button {
border: 1px solid #0f172a;
background: #0f172a;
color: #ffffff;
border-radius: 6px;
padding: 6px 10px;
cursor: pointer;
}
button.secondary {
background: #e2e8f0;
color: #1a1f2b;
border-color: #c3cedf;
}
.list {
list-style: none;
margin: 0;
padding: 0;
max-height: 260px;
overflow: auto;
border: 1px solid #e4eaf2;
border-radius: 6px;
}
.list li {
display: flex;
justify-content: space-between;
gap: 8px;
border-bottom: 1px solid #edf1f7;
padding: 6px 8px;
font-size: 13px;
}
.list li:last-child {
border-bottom: none;
}
.muted {
color: #475569;
font-size: 12px;
margin-bottom: 8px;
}
.output {
margin: 0 12px 12px;
}
#outputBox {
margin: 0;
background: #0b1220;
color: #dbeafe;
border-radius: 6px;
padding: 10px;
max-height: 320px;
overflow: auto;
font-size: 12px;
}
@media (max-width: 900px) {
.grid {
grid-template-columns: 1fr;
}
}