diff --git a/web/index.html b/web/index.html index 97fb49a..c90e58d 100644 --- a/web/index.html +++ b/web/index.html @@ -168,6 +168,34 @@ margin: 0; } + .display-toggle { + display: inline-flex; + align-items: center; + gap: 4px; + padding: 4px; + background: #111827; + border: 1px solid #374151; + border-radius: 8px; + } + + .display-toggle button { + margin: 0; + padding: 7px 12px; + background: transparent; + color: #9ca3af; + border-radius: 6px; + } + + .display-toggle button:hover { + background: #374151; + color: #f9fafb; + } + + .display-toggle button.active { + background: #4b5563; + color: #f9fafb; + } + .address-card { background: #111827; border: 1px solid #374151; @@ -201,6 +229,7 @@ .balance { font-size: 20px; font-weight: 700; + white-space: nowrap; } .balance small { @@ -233,6 +262,56 @@ word-break: break-word; } + .utxo-toggle { + width: 100%; + margin-top: 14px; + text-align: left; + } + + .utxo-list { + margin-top: 12px; + padding-top: 12px; + border-top: 1px solid #374151; + } + + .utxo { + padding: 12px 0; + border-bottom: 1px solid #374151; + } + + .utxo:last-child { + border-bottom: 0; + padding-bottom: 0; + } + + .utxo:first-child { + padding-top: 0; + } + + .utxo-row { + display: flex; + justify-content: space-between; + align-items: flex-start; + gap: 16px; + } + + .utxo-txid { + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; + font-size: 12px; + word-break: break-all; + } + + .utxo-index { + color: #9ca3af; + font-size: 12px; + margin-top: 4px; + } + + .utxo-value { + font-weight: 600; + white-space: nowrap; + } + .transaction { background: #111827; border: 1px solid #374151; @@ -310,8 +389,14 @@ text-align: left; } + .section-header { + align-items: flex-start; + flex-direction: column; + } + .address-header, - .transaction-header { + .transaction-header, + .utxo-row { align-items: flex-start; flex-direction: column; } @@ -409,6 +494,23 @@

Watched addresses

+ +
+ + +
@@ -431,12 +533,36 @@