generated from nathanwoodburn/python-webserver-template
feat: Add basic mempool info
This commit is contained in:
@@ -136,6 +136,136 @@ main {
|
||||
box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
|
||||
}
|
||||
|
||||
/* Mempool Transaction List */
|
||||
.mempool-txs-container {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.mempool-header {
|
||||
padding: 0.75rem;
|
||||
background: rgba(255, 107, 53, 0.1);
|
||||
border-radius: 6px;
|
||||
margin-bottom: 0.75rem;
|
||||
color: #ff6b35;
|
||||
}
|
||||
|
||||
.tx-list {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.tx-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.5rem;
|
||||
background: rgba(20, 20, 20, 0.5);
|
||||
border: 1px solid rgba(255, 107, 53, 0.15);
|
||||
border-radius: 6px;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.tx-hash {
|
||||
flex: 1;
|
||||
font-size: 0.8rem;
|
||||
color: #b0b0b0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.tx-view-btn {
|
||||
padding: 0.4rem 0.8rem;
|
||||
background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
|
||||
color: #ffffff;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 600;
|
||||
transition: all 0.3s ease;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tx-view-btn:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
|
||||
}
|
||||
|
||||
/* Transaction Modal */
|
||||
.tx-modal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1000;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.tx-modal-content {
|
||||
background: rgba(30, 30, 30, 0.95);
|
||||
border-radius: 12px;
|
||||
max-width: 900px;
|
||||
width: 100%;
|
||||
max-height: 80vh;
|
||||
border: 1px solid rgba(255, 107, 53, 0.3);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.tx-modal-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 1.5rem;
|
||||
border-bottom: 1px solid rgba(255, 107, 53, 0.2);
|
||||
}
|
||||
|
||||
.tx-modal-header h3 {
|
||||
margin: 0;
|
||||
color: #ff6b35;
|
||||
}
|
||||
|
||||
.tx-modal-close {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #e0e0e0;
|
||||
font-size: 2rem;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.tx-modal-close:hover {
|
||||
background: rgba(255, 107, 53, 0.2);
|
||||
color: #ff6b35;
|
||||
}
|
||||
|
||||
.tx-modal-body {
|
||||
padding: 1.5rem;
|
||||
overflow-y: auto;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.tx-modal-body pre {
|
||||
color: #b0b0b0;
|
||||
font-family: 'Courier New', monospace;
|
||||
font-size: 0.9rem;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Tabs */
|
||||
.search-tabs {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user