diff --git a/web/index.html b/web/index.html index f288860..97fb49a 100644 --- a/web/index.html +++ b/web/index.html @@ -19,7 +19,7 @@ } main { - max-width: 760px; + max-width: 960px; margin: 0 auto; padding: 48px 24px; } @@ -29,6 +29,16 @@ font-size: 32px; } + h2 { + margin: 0 0 20px; + font-size: 22px; + } + + h3 { + margin: 0 0 12px; + font-size: 18px; + } + .subtitle { margin: 0 0 32px; color: #9ca3af; @@ -100,6 +110,10 @@ color: #fca5a5; } + .success { + color: #86efac; + } + .login { max-width: 420px; margin: 80px auto; @@ -136,6 +150,176 @@ button:hover { background: #4b5563; } + + button:disabled { + opacity: 0.6; + cursor: default; + } + + .section-header { + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + margin-bottom: 20px; + } + + .section-header h2 { + margin: 0; + } + + .address-card { + background: #111827; + border: 1px solid #374151; + border-radius: 10px; + padding: 18px; + margin-bottom: 12px; + } + + .address-card:last-child { + margin-bottom: 0; + } + + .address { + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; + font-size: 13px; + word-break: break-all; + } + + .address-header { + display: flex; + justify-content: space-between; + align-items: flex-start; + gap: 16px; + margin-bottom: 14px; + } + + .address-label { + font-weight: 600; + } + + .balance { + font-size: 20px; + font-weight: 700; + } + + .balance small { + font-size: 13px; + font-weight: 400; + color: #9ca3af; + } + + .stats { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 12px; + } + + .stat { + background: #1f2937; + border-radius: 8px; + padding: 12px; + } + + .stat-label { + display: block; + color: #9ca3af; + font-size: 12px; + margin-bottom: 4px; + } + + .stat-value { + font-weight: 600; + word-break: break-word; + } + + .transaction { + background: #111827; + border: 1px solid #374151; + border-radius: 10px; + padding: 16px; + margin-bottom: 10px; + } + + .transaction:last-child { + margin-bottom: 0; + } + + .transaction-header { + display: flex; + justify-content: space-between; + align-items: center; + gap: 16px; + margin-bottom: 10px; + } + + .txid { + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; + font-size: 12px; + word-break: break-all; + } + + .transaction button { + margin-top: 0; + white-space: nowrap; + } + + .transaction-meta { + display: flex; + flex-wrap: wrap; + gap: 16px; + color: #9ca3af; + font-size: 13px; + } + + .details { + margin-top: 14px; + padding-top: 14px; + border-top: 1px solid #374151; + } + + .details pre { + margin: 0; + padding: 14px; + overflow-x: auto; + background: #030712; + border-radius: 8px; + color: #d1d5db; + font-size: 12px; + white-space: pre-wrap; + word-break: break-word; + } + + .empty { + color: #9ca3af; + padding: 8px 0; + } + + @media (max-width: 700px) { + main { + padding: 28px 16px; + } + + .row { + align-items: flex-start; + flex-direction: column; + gap: 6px; + } + + .value { + text-align: left; + } + + .address-header, + .transaction-header { + align-items: flex-start; + flex-direction: column; + } + + .stats { + grid-template-columns: 1fr; + } + } @@ -162,7 +346,9 @@ \ No newline at end of file