Admin cockpit

This commit is contained in:
2026-05-06 19:10:08 +02:00
parent a886b10b0a
commit 7a7994e8b6
2 changed files with 239 additions and 33 deletions

View File

@@ -350,6 +350,67 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
align-items: flex-start;
}
.review-fullscreen {
position: fixed;
inset: 0;
z-index: 30;
display: grid;
grid-template-columns: minmax(0, 1fr) 360px;
gap: 1rem;
padding: 1rem;
background: rgba(248, 250, 252, 0.98);
}
.review-fullscreen-stage,
.review-fullscreen-panel {
min-height: 0;
display: flex;
flex-direction: column;
gap: 1rem;
border: 1px solid #dbe3ef;
border-radius: 18px;
background: white;
box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
padding: 1rem;
}
.review-fullscreen-head {
flex: 0 0 auto;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
}
.review-fullscreen-head h2,
.review-fullscreen-head p,
.review-fullscreen-panel h2 {
margin: 0;
}
.review-fullscreen-image {
min-height: 0;
flex: 1;
display: grid;
place-items: center;
border: 1px solid #e2e8f0;
border-radius: 14px;
background: #f8fafc;
overflow: hidden;
padding: 0.5rem;
}
.review-fullscreen-image img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.review-fullscreen-panel .admin-review-form {
flex: 1;
}
.layout {
display: grid;
grid-template-columns: 360px 1fr;
@@ -540,6 +601,23 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
text-overflow: ellipsis;
white-space: nowrap;
}
.program-tree-row .tree-label {
display: flex;
align-items: center;
gap: 0.45rem;
}
.program-tree-row .tree-label b {
display: grid;
place-items: center;
width: 1.15rem;
min-width: 1.15rem;
height: 1.15rem;
border-radius: 6px;
background: #e2e8f0;
color: #14213d;
font-size: 0.85rem;
line-height: 1;
}
.program-tree-row em,
.program-tree-row strong,
.review-pill {
@@ -578,13 +656,16 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
padding: 0.65rem;
}
.program-node-preview {
height: min(42vh, 380px);
min-height: 280px;
position: relative;
width: 100%;
height: 340px;
min-height: 0;
display: grid;
place-items: center;
border: 1px solid #e5e7eb;
border-radius: 12px;
background: white;
color: #14213d;
overflow: hidden;
padding: 0.75rem;
}
@@ -595,6 +676,17 @@ button:disabled { opacity: 0.5; cursor: not-allowed; }
object-fit: contain;
display: block;
}
.program-node-preview span {
position: absolute;
right: 0.75rem;
bottom: 0.75rem;
border-radius: 999px;
background: rgba(20, 33, 61, 0.82);
color: white;
padding: 0.45rem 0.7rem;
font-size: 0.82rem;
font-weight: 800;
}
.admin-review-note p {
margin: 0.35rem 0;
line-height: 1.45;