Message popup

This commit is contained in:
Bryan1029384756
2026-02-20 12:48:48 -06:00
parent 8b9df69931
commit a64ef84771
8 changed files with 368 additions and 5 deletions

View File

@@ -3417,6 +3417,134 @@ body {
}
/* ============================================
MOBILE MESSAGE ACTION DRAWER
============================================ */
@keyframes mobileDrawerOverlayIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes mobileDrawerSlideUp {
from { transform: translateY(100%); }
to { transform: translateY(0); }
}
@keyframes mobileDrawerSlideDown {
from { transform: translateY(0); }
to { transform: translateY(100%); }
}
.mobile-drawer-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 10002;
animation: mobileDrawerOverlayIn 0.2s ease;
}
.mobile-drawer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
max-height: 70vh;
background: #1C1D22;
border-radius: 16px 16px 0 0;
z-index: 10003;
animation: mobileDrawerSlideUp 0.25s ease-out;
padding-bottom: env(safe-area-inset-bottom, 0px);
touch-action: none;
overflow-y: auto;
}
.mobile-drawer.mobile-drawer-closing {
animation: mobileDrawerSlideDown 0.2s ease-in forwards;
}
.mobile-drawer-handle {
display: flex;
justify-content: center;
padding: 10px 0 6px;
}
.mobile-drawer-handle-bar {
width: 40px;
height: 4px;
border-radius: 2px;
background: hsla(240, 4%, 60%, 0.4);
}
.mobile-drawer-reactions {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
padding: 8px 16px 12px;
}
.mobile-drawer-reaction-btn {
width: 44px;
height: 44px;
border-radius: 50%;
background: #2E3138;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border: none;
-webkit-tap-highlight-color: transparent;
transition: background-color 0.15s;
}
.mobile-drawer-reaction-btn:active {
background: hsla(240, 4%, 40%, 0.4);
}
.mobile-drawer-separator {
height: 1px;
background: hsla(240, 4%, 60%, 0.12);
margin: 0 16px;
}
.mobile-drawer-card {
margin: 8px 16px;
border-radius: 12px;
background: #27272F;
overflow: hidden;
}
.mobile-drawer-action {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 16px;
color: var(--text-normal, #dbdee1);
font-size: 15px;
cursor: pointer;
border: none;
background: none;
width: 100%;
text-align: left;
-webkit-tap-highlight-color: transparent;
}
.mobile-drawer-action:active {
background: hsla(240, 4%, 60%, 0.08);
}
.mobile-drawer-action + .mobile-drawer-action {
border-top: 1px solid hsla(240, 4%, 60%, 0.12);
}
.mobile-drawer-action-danger {
color: #ed4245;
}
/* Remove border between server-list and channel-list on mobile */
.is-mobile .server-list {
border-right: none;