SHA256
Доработать вложенные файлы и архив проекта
This commit is contained in:
@@ -1373,3 +1373,303 @@
|
||||
right: 0;
|
||||
bottom: 104px;
|
||||
}
|
||||
|
||||
/* ===== DM file transfer v2 + voice notes ===== */
|
||||
.dm-attachment-stack {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dm-send-icon-btn svg {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.dm-send-icon-btn.is-recording {
|
||||
transform: scale(1.04);
|
||||
box-shadow: 0 0 0 5px rgba(255, 104, 126, 0.08), 0 0 24px rgba(255, 104, 126, 0.18);
|
||||
}
|
||||
|
||||
.dm-send-icon-btn.is-recording:not(.is-locked) {
|
||||
color: rgba(255, 190, 202, 0.98);
|
||||
}
|
||||
|
||||
.dm-send-icon-btn.is-locked {
|
||||
color: rgba(255, 218, 226, 0.98);
|
||||
background: rgba(164, 45, 70, 0.28);
|
||||
border-color: rgba(255, 150, 171, 0.32);
|
||||
}
|
||||
|
||||
.dm-send-busy-dot {
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.dm-voice-recording-status {
|
||||
grid-column: 1;
|
||||
min-height: 42px;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.10);
|
||||
border-radius: 14px;
|
||||
background: rgba(255, 255, 255, 0.035);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dm-voice-recording-status[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dm-voice-recording-dot {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 104, 126, 0.96);
|
||||
box-shadow: 0 0 12px rgba(255, 104, 126, 0.55);
|
||||
animation: dmVoicePulse 1s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes dmVoicePulse {
|
||||
0%, 100% { opacity: 0.55; transform: scale(0.82); }
|
||||
50% { opacity: 1; transform: scale(1); }
|
||||
}
|
||||
|
||||
.dm-voice-recording-time {
|
||||
font-variant-numeric: tabular-nums;
|
||||
font-size: 13px;
|
||||
font-weight: 720;
|
||||
color: rgba(255, 230, 235, 0.96);
|
||||
}
|
||||
|
||||
.dm-voice-recording-hint {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
text-align: right;
|
||||
font-size: 11px;
|
||||
color: rgba(210, 222, 241, 0.66);
|
||||
}
|
||||
|
||||
.dm-chat-input--recording .dm-actions-col {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.dm-voice-card {
|
||||
min-width: min(280px, 72vw);
|
||||
max-width: min(330px, 76vw);
|
||||
display: grid;
|
||||
grid-template-columns: 42px minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.dm-voice-card__play {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
min-width: 42px;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-size: 15px;
|
||||
line-height: 1;
|
||||
background: rgba(92, 190, 255, 0.12);
|
||||
border: 1px solid rgba(159, 211, 255, 0.22);
|
||||
}
|
||||
|
||||
.dm-voice-card__play:disabled {
|
||||
opacity: 0.65;
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
.dm-voice-card__body {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.dm-voice-card__track {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 18px;
|
||||
min-height: 18px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dm-voice-card__track::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 8px;
|
||||
height: 2px;
|
||||
border-radius: 999px;
|
||||
background: rgba(220, 234, 255, 0.20);
|
||||
}
|
||||
|
||||
.dm-voice-card__fill {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 7px;
|
||||
width: 0;
|
||||
height: 4px;
|
||||
border-radius: 999px;
|
||||
background: currentColor;
|
||||
box-shadow: 0 0 8px rgba(92, 190, 255, 0.35);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.dm-voice-card__meta {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
font-size: 11px;
|
||||
color: rgba(205, 219, 242, 0.68);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
@media (max-width: 390px) {
|
||||
.dm-voice-card {
|
||||
min-width: min(252px, 76vw);
|
||||
}
|
||||
|
||||
.dm-voice-recording-hint {
|
||||
max-width: 150px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Пересылка DM: выбор чата и подтверждение остаются внутри одного feature-owned modal. */
|
||||
.dm-forward-modal {
|
||||
align-items: center;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.dm-forward-card {
|
||||
width: min(92vw, 430px);
|
||||
max-height: min(78vh, 680px);
|
||||
overflow: hidden;
|
||||
gap: 12px;
|
||||
border: 1px solid rgba(104, 193, 255, 0.25);
|
||||
border-radius: 24px;
|
||||
background: linear-gradient(155deg, rgba(20, 31, 49, 0.98), rgba(7, 13, 24, 0.98));
|
||||
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.52), 0 0 34px rgba(56, 165, 255, 0.12);
|
||||
backdrop-filter: blur(24px) saturate(130%);
|
||||
-webkit-backdrop-filter: blur(24px) saturate(130%);
|
||||
}
|
||||
|
||||
.dm-forward-head,
|
||||
.dm-forward-confirm-peer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.dm-forward-head {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.dm-forward-close {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 50%;
|
||||
font-size: 25px;
|
||||
line-height: 1;
|
||||
color: rgba(255, 255, 255, 0.78);
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.dm-forward-preview {
|
||||
padding: 11px 13px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 14px;
|
||||
color: rgba(242, 247, 255, 0.76);
|
||||
background: rgba(255, 255, 255, 0.035);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dm-forward-preview--confirm {
|
||||
white-space: normal;
|
||||
max-height: 128px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.dm-forward-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
min-height: 120px;
|
||||
max-height: min(54vh, 460px);
|
||||
overflow-y: auto;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.dm-forward-chat-row {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr auto;
|
||||
align-items: center;
|
||||
gap: 11px;
|
||||
min-height: 62px;
|
||||
padding: 8px 10px;
|
||||
border: 0;
|
||||
border-radius: 15px;
|
||||
text-align: left;
|
||||
color: var(--text);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.dm-forward-chat-row:hover,
|
||||
.dm-forward-chat-row:focus-visible {
|
||||
outline: none;
|
||||
background: rgba(67, 166, 255, 0.11);
|
||||
}
|
||||
|
||||
.dm-forward-chat-copy {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.dm-forward-chat-copy strong,
|
||||
.dm-forward-chat-copy span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dm-forward-chat-arrow {
|
||||
font-size: 28px;
|
||||
color: rgba(130, 205, 255, 0.7);
|
||||
}
|
||||
|
||||
.dm-forward-loading {
|
||||
padding: 20px 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dm-forward-confirm-peer {
|
||||
padding: 12px;
|
||||
border-radius: 16px;
|
||||
background: rgba(67, 166, 255, 0.08);
|
||||
}
|
||||
|
||||
.dm-forward-confirm-actions {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user