Files
Krishnan Ramachandran 64a93d1a0f style: polish accordion styling and responsive layout
- Match accordion colors to dark carousel theme (#1a1a1a, #2a2a2a)
- Use monospace font for consistency with carousel
- Implement responsive flex layout with wrapping
- Both carousel and accordion resize proportionally
- Set intelligent minimum widths (carousel 300px, accordion 250px)
- Remove overflow issues when node is resized narrowly
- Accordion now moves and scales with carousel instead of staying fixed
2026-02-20 16:29:09 +00:00

93 lines
1.6 KiB
CSS

/* Asset Stats Accordion Styling */
.asset-stats-panel {
display: flex;
flex-direction: column;
border: 1px solid #333;
border-radius: 4px;
background-color: #1a1a1a;
overflow: hidden;
font-family: monospace;
}
.asset-stats-header {
padding: 12px;
background-color: #2a2a2a;
cursor: pointer;
font-weight: 600;
font-size: 13px;
border-bottom: 1px solid #333;
user-select: none;
transition: background-color 0.2s;
color: #aaa;
font-family: monospace;
}
.asset-stats-header:hover {
background-color: #3a3a3a;
}
.asset-stats-content {
display: block;
overflow: hidden;
transition: max-height 0.3s ease;
}
.asset-stats-content.collapsed {
max-height: 0;
padding: 0;
border: none;
}
.asset-stats-section {
padding: 12px;
border-bottom: 1px solid #333;
}
.asset-stats-section:last-child {
border-bottom: none;
}
.asset-stats-section-title {
font-weight: 600;
font-size: 11px;
color: #888;
text-transform: uppercase;
margin-bottom: 8px;
letter-spacing: 0.5px;
font-family: monospace;
}
.asset-stats-item {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6px;
font-size: 12px;
font-family: monospace;
}
.asset-stats-item:last-child {
margin-bottom: 0;
}
.asset-stats-item .label {
font-weight: 500;
color: #888;
font-family: monospace;
}
.asset-stats-item .value {
color: #aaa;
font-family: monospace;
text-align: right;
}
/* Responsive adjustments */
@media (max-width: 1200px) {
.asset-stats-panel {
flex: 1;
min-width: 250px;
}
}