feat: Cleanup tx view

This commit is contained in:
2025-11-20 16:50:09 +11:00
parent 11267421b7
commit 47719db094
2 changed files with 143 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ main {
/* Info Grid */
.info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 0.75rem;
}
@@ -266,6 +266,74 @@ main {
margin: 0;
}
/* Transaction Details */
.tx-details {
color: #e0e0e0;
}
.tx-section {
margin-bottom: 1.5rem;
}
.tx-section h4 {
color: #ff6b35;
margin-bottom: 1rem;
font-size: 1.1rem;
}
.tx-io-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.tx-io-item {
background: rgba(20, 20, 20, 0.5);
border: 1px solid rgba(255, 107, 53, 0.15);
border-radius: 6px;
padding: 0.75rem;
}
.tx-io-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.tx-io-index {
color: #ff6b35;
font-weight: 600;
font-size: 0.9rem;
}
.tx-io-value {
color: #f7931e;
font-weight: 600;
font-size: 1rem;
}
.tx-io-address {
color: #b0b0b0;
font-family: 'Courier New', monospace;
font-size: 0.85rem;
margin-bottom: 0.5rem;
word-break: break-all;
}
.tx-io-hash {
color: #808080;
font-size: 0.75rem;
word-break: break-all;
}
.tx-covenant {
color: #ff6b35;
font-size: 0.85rem;
margin-top: 0.5rem;
font-style: italic;
}
/* Tabs */
.search-tabs {
display: flex;