Обновить UI-кнопки и прокрутку

This commit is contained in:
2026-08-22 11:28:12 +03:00
parent d3e6aa2be2
commit bc8c7f318b
9 changed files with 286 additions and 26 deletions
+55 -3
View File
@@ -6408,9 +6408,9 @@ html, body { overflow-x: hidden; }
.dm-screen .bubble.out {
justify-self: end;
border-radius: 18px 18px 4px 18px;
border: 1px solid rgba(212, 175, 55, 0.38);
background: rgba(212, 175, 55, 0.16);
color: rgba(255, 236, 191, 0.96);
border: 1px solid rgba(83, 216, 251, 0.4);
background: rgba(83, 216, 251, 0.16);
color: rgba(225, 248, 255, 0.97);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
@@ -8141,3 +8141,55 @@ html, body { overflow-x: hidden; }
.notifications-screen .notification-card--clickable:active {
transform: scale(0.99);
}
/* ===== Общая кнопка прокрутки ленты вниз ===== */
.scroll-to-bottom-btn {
position: absolute;
right: 18px;
bottom: calc(var(--toolbar-height, 78px) + var(--composer-height, 0px) + 18px + env(safe-area-inset-bottom));
width: 48px;
height: 48px;
margin: 0;
padding: 0;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
border-radius: 999px;
border: 1px solid rgba(212, 175, 55, 0.45);
background: linear-gradient(160deg, rgba(16, 24, 38, 0.94), rgba(12, 18, 30, 0.9));
color: rgba(255, 227, 150, 0.96);
box-shadow: 0 12px 26px rgba(3, 8, 18, 0.45), 0 0 20px rgba(212, 175, 55, 0.16);
display: inline-flex;
align-items: center;
justify-content: center;
z-index: 38;
opacity: 0;
pointer-events: none;
transform: translateY(8px);
transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.scroll-to-bottom-btn.is-visible {
opacity: 1;
pointer-events: auto;
transform: translateY(0);
}
.scroll-to-bottom-btn:hover {
box-shadow: 0 14px 30px rgba(3, 8, 18, 0.55), 0 0 24px rgba(212, 175, 55, 0.22);
}
.scroll-to-bottom-btn:focus-visible {
outline: 2px solid rgba(255, 227, 150, 0.92);
outline-offset: 3px;
}
.scroll-to-bottom-btn__icon {
font-size: 22px;
line-height: 1;
transform: translateY(-1px);
}
body.chat-topbar-overlay .app-shell.keyboard-open .scroll-to-bottom-btn {
bottom: calc(var(--keyboard-offset, 0px) + var(--composer-height, 0px) + 18px);
}