lumina/ui/views/explorer/asset-details-page.scss
2025-11-30 04:03:12 +03:00

111 lines
2.2 KiB
SCSS

.asset-details-page {
max-width: 1200px;
margin: 2rem auto;
padding: 0 1rem;
.asset-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 2rem;
.asset-icon {
width: 64px;
height: 64px;
border-radius: 50%;
}
h1 {
margin: 0;
font-size: 2rem;
}
a {
color: #3b82f6;
text-decoration: none;
&:hover { text-decoration: underline; }
}
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-bottom: 2rem;
.stat-card {
background: rgba(255,255,255,0.05);
padding: 1.5rem;
border-radius: 8px;
label {
display: block;
font-size: 0.875rem;
color: #a0a0b0;
margin-bottom: 0.5rem;
}
.value {
font-size: 1.5rem;
font-weight: 600;
}
}
}
.chart-section, .holders-section, .txs-section {
background: rgba(255,255,255,0.05);
padding: 1.5rem;
border-radius: 8px;
margin-bottom: 1.5rem;
h3 {
margin: 0 0 1rem 0;
}
}
.simple-chart {
display: flex;
align-items: flex-end;
height: 150px;
gap: 2px;
.bar {
flex: 1;
background: #3b82f6;
min-height: 2px;
cursor: pointer;
transition: opacity 0.2s;
&:hover { opacity: 0.7; }
}
}
table {
width: 100%;
border-collapse: collapse;
th, td {
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
th {
font-weight: 600;
color: #a0a0b0;
}
code {
background: rgba(0,0,0,0.3);
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.875rem;
}
}
.loader, .error {
text-align: center;
padding: 3rem;
font-size: 1.25rem;
}
}