Lumi/plugins/throne_wishlist/public/admin.css
2026-06-10 18:57:38 +02:00

154 lines
2.1 KiB
CSS

.throne-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 18px;
}
.throne-header h1,
.throne-header p {
margin: 0;
}
.diagnostic-grid,
.destination-grid,
.template-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 12px;
}
.diagnostic-grid > div,
.destination-panel,
.template-panel {
border: 1px solid var(--border);
background: var(--surface-2);
padding: 14px;
border-radius: 8px;
}
.diagnostic-grid span,
.diagnostic-grid small,
.destination-panel small {
display: block;
color: var(--ink-soft);
}
.inline-form,
.copy-row,
.action-row,
.template-heading,
.debug-toolbar {
display: flex;
align-items: end;
gap: 10px;
}
.inline-form .field,
.copy-row input,
.debug-toolbar input {
flex: 1;
}
.throne-table code {
word-break: break-all;
}
.throne-table td small {
display: block;
}
.copy-status {
min-height: 1.2em;
}
.destination-panel {
min-width: 0;
}
.destination-panel legend {
font-weight: 700;
}
.destination-panel[disabled] {
opacity: 0.62;
}
.placeholder-list {
margin-bottom: 18px;
}
.placeholder-list summary {
cursor: pointer;
font-weight: 700;
}
.placeholder-list div {
margin-top: 10px;
line-height: 2;
}
.event-sections {
display: grid;
gap: 20px;
}
.event-section {
border-top: 1px solid var(--border);
padding-top: 12px;
}
.template-panel {
display: grid;
gap: 10px;
}
.template-heading {
justify-content: space-between;
align-items: center;
}
.button.danger {
background: var(--rose);
color: white;
}
.debug-modal {
width: min(900px, calc(100vw - 32px));
}
.debug-toolbar {
align-items: center;
margin-bottom: 12px;
}
.debug-summary {
display: grid;
gap: 4px;
margin-bottom: 12px;
}
.debug-json {
max-height: 52vh;
overflow: auto;
padding: 14px;
border: 1px solid var(--border);
background: var(--surface-3);
white-space: pre-wrap;
word-break: break-word;
}
@media (max-width: 720px) {
.throne-header,
.inline-form,
.action-row {
align-items: stretch;
flex-direction: column;
}
.throne-table {
min-width: 900px;
}
}