UI: добавить просмотр данных блокчейна сообщения

This commit is contained in:
AidarKC
2026-07-31 17:41:30 +04:00
parent d640dd66e2
commit d5f41d12e8
5 changed files with 388 additions and 25 deletions
+102 -2
View File
@@ -3878,6 +3878,36 @@ textarea.input {
padding: 8px 10px;
}
.channel-message-card--deleted-compact {
gap: 7px;
padding-top: 9px;
padding-bottom: 9px;
}
.deleted-message-pill {
appearance: none;
width: 100%;
border: 1px solid rgba(255, 160, 120, 0.28);
border-radius: 12px;
background: rgba(70, 31, 25, 0.45);
color: rgba(255, 216, 190, 0.9);
font-size: 13px;
line-height: 1.2;
text-align: left;
padding: 8px 10px;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.deleted-message-pill:hover,
.deleted-message-pill:focus-visible {
border-color: rgba(255, 196, 142, 0.55);
background: rgba(98, 42, 31, 0.58);
outline: none;
}
.channel-message-time {
font-size: 11px;
color: rgba(255, 255, 255, 0.48);
@@ -3919,12 +3949,15 @@ textarea.input {
appearance: none;
border: 0;
background: transparent;
position: relative;
min-height: 0;
padding: 0;
margin: 0;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 5px;
min-width: 24px;
color: rgba(255, 255, 255, 0.55);
cursor: pointer;
transition: color 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease;
@@ -3954,9 +3987,37 @@ textarea.input {
}
.channel-action-label {
font-size: 12px;
line-height: 1;
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.channel-action-item:hover::after,
.channel-action-item:focus-visible::after {
content: attr(title);
position: absolute;
left: 50%;
bottom: calc(100% + 8px);
z-index: 30;
transform: translateX(-50%);
max-width: 180px;
padding: 5px 8px;
border: 1px solid rgba(255, 220, 140, 0.24);
border-radius: 8px;
background: rgba(20, 20, 24, 0.94);
color: rgba(255, 244, 210, 0.96);
font-size: 11px;
line-height: 1.15;
letter-spacing: 0.01em;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
pointer-events: none;
white-space: nowrap;
}
.message-edited-marker {
@@ -3995,6 +4056,45 @@ textarea.input {
transform: translateX(0);
}
.blockchain-details-card {
max-width: min(620px, calc(100vw - 28px));
}
.blockchain-details-grid {
display: grid;
grid-template-columns: max-content minmax(0, 1fr);
gap: 8px 12px;
padding: 12px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 14px;
background: rgba(255, 255, 255, 0.035);
}
.blockchain-details-grid span {
color: rgba(255, 255, 255, 0.58);
font-size: 12px;
}
.blockchain-details-grid code,
.blockchain-details-grid strong {
min-width: 0;
color: rgba(255, 244, 210, 0.96);
font-size: 12px;
overflow-wrap: anywhere;
}
.blockchain-raw-block {
max-height: 280px;
overflow: auto;
padding: 12px;
border-radius: 14px;
background: rgba(0, 0, 0, 0.32);
color: rgba(255, 255, 255, 0.82);
font-size: 11px;
line-height: 1.45;
white-space: pre-wrap;
}
.thread-summary {
color: #efd9a4;
border-color: rgba(212, 171, 90, 0.36);