client / static /css /pnginfo.css
P01yH3dr0n's picture
launch
774fe36
Raw
History Blame Contribute Delete
2.82 kB
/* ===== PNG Info Page ===== */
.pi-layout {
display: flex;
width: 100%;
height: 100%;
overflow: hidden;
}
.pi-left, .pi-right {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
min-width: 0;
}
.pi-left {
border-right: 1px solid var(--border);
}
.pi-panel-header {
padding: 8px 16px;
font-size: 0.8rem;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: 1px solid var(--border);
background: var(--bg-secondary);
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.pi-panel-body {
flex: 1;
overflow-y: auto;
padding: 12px 16px;
}
/* Preview */
.pi-preview-img {
width: 100%;
height: auto;
object-fit: contain;
border-radius: var(--radius);
border: 1px solid var(--border);
background: #000;
}
.pi-btn-row {
display: flex;
gap: 6px;
margin-top: 8px;
}
/* Info display */
.pi-raw-section {
margin-bottom: 16px;
}
.pi-raw-section label {
display: block;
font-size: 0.75rem;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 6px;
}
.pi-raw-text {
background: var(--bg-input);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 10px 12px;
font-size: 0.82rem;
color: var(--text-secondary);
line-height: 1.6;
white-space: pre-wrap;
word-break: break-all;
max-height: 200px;
overflow-y: auto;
font-family: 'Consolas', 'Monaco', monospace;
}
/* Params table */
.pi-params-section {
margin-bottom: 12px;
}
.pi-params-section label {
display: block;
font-size: 0.75rem;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 6px;
}
#pi-params-table {
display: flex;
flex-direction: column;
gap: 2px;
}
.pi-param-row {
display: flex;
gap: 8px;
padding: 4px 8px;
border-radius: 4px;
font-size: 0.82rem;
}
.pi-param-row:nth-child(odd) {
background: var(--bg-input);
}
.pi-param-key {
color: var(--accent);
font-weight: 600;
min-width: 120px;
max-width: 160px;
flex-shrink: 0;
word-break: break-all;
}
.pi-param-value {
color: var(--text-primary);
word-break: break-all;
flex: 1;
}
/* Send button at bottom */
.pi-action-bar {
padding: 10px 16px;
border-top: 1px solid var(--border);
background: var(--bg-secondary);
flex-shrink: 0;
}
@media (max-width: 900px) {
.pi-layout {
flex-direction: column;
}
.pi-left {
max-width: none;
border-right: none;
border-bottom: 1px solid var(--border);
}
}