Add asset listing and delete

This commit is contained in:
2025-12-04 16:51:31 +01:00
parent 9475ca8cea
commit 93db7c2d2f
3 changed files with 291 additions and 12 deletions

View File

@@ -66,9 +66,20 @@ body {
width: 100%;
height: 100%;
border: none;
filter: brightness(0.35) saturate(0.7);
}
.overlay canvas, .broadcast-body canvas {
.overlay canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: auto;
z-index: 2;
}
.broadcast-body canvas {
position: absolute;
top: 0;
left: 0;
@@ -100,3 +111,45 @@ body {
.panel li {
margin: 6px 0;
}
.asset-list {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 12px;
}
.asset-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 12px;
border-radius: 8px;
background: #111827;
border: 1px solid #1f2937;
cursor: pointer;
}
.asset-item.selected {
border-color: #7c3aed;
box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.6);
}
.asset-item .meta {
display: flex;
flex-direction: column;
gap: 4px;
}
.asset-item small {
color: #94a3b8;
}
.asset-item .actions {
display: flex;
gap: 8px;
}
.asset-item.hidden {
opacity: 0.6;
}