UI: добавить журнал загрузок Arweave

This commit is contained in:
AidarKC
2026-07-31 13:13:58 +04:00
parent c530627078
commit 98eba54621
11 changed files with 310 additions and 27 deletions
+87
View File
@@ -2498,6 +2498,93 @@ textarea.input {
font-weight: 700;
}
.ar-attachment-history-tiles {
display: grid;
gap: 0.75rem;
max-height: 58vh;
overflow: auto;
padding-right: 0.1rem;
}
.ar-attachment-history-tile {
background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(236, 253, 245, 0.96));
border: 1px solid rgba(20, 184, 166, 0.22);
border-radius: 1rem;
color: #0f172a;
display: grid;
gap: 0.45rem;
padding: 0.9rem;
}
.ar-attachment-history-tile.is-selected {
border-color: rgba(34, 197, 94, 0.55);
box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.18);
}
.ar-attachment-history-tile--page {
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.ar-attachment-history-tile-head {
align-items: flex-start;
display: flex;
gap: 0.65rem;
justify-content: space-between;
}
.ar-attachment-history-tile-head strong {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ar-attachment-history-txid {
background: rgba(15, 23, 42, 0.06);
border-radius: 0.65rem;
padding: 0.45rem 0.55rem;
}
.ar-attachment-status {
border-radius: 999px;
flex: 0 0 auto;
font-size: 0.74rem;
font-weight: 800;
line-height: 1;
padding: 0.35rem 0.55rem;
}
.ar-attachment-status--available {
background: rgba(220, 252, 231, 0.96);
color: #166534;
}
.ar-attachment-status--pending {
background: rgba(254, 249, 195, 0.96);
color: #854d0e;
}
.ar-attachment-status--unavailable {
background: rgba(254, 226, 226, 0.96);
color: #991b1b;
}
.arweave-uploads-screen {
min-height: calc(100vh - 2rem);
}
.arweave-uploads-toolbar {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: 0.7rem;
}
.arweave-uploads-list {
max-height: calc(100vh - 18rem);
min-height: 18rem;
}
.mono-cell {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
overflow-wrap: anywhere;