feat: Implement core chat functionality, shared components, and initial multi-platform project structure.
All checks were successful
Build and Release / build-and-release (push) Successful in 15m0s

This commit is contained in:
Bryan1029384756
2026-02-20 13:05:39 -06:00
parent a64ef84771
commit 5feb3f288d
10 changed files with 445 additions and 13 deletions

View File

@@ -4336,4 +4336,181 @@ img.search-dropdown-avatar {
.ephemeral-message-dismiss:hover {
text-decoration: underline;
}
/* ── Mobile Channel Header ── */
.mobile-channel-header-tap {
display: flex;
flex-direction: column;
align-items: flex-start;
background: none;
border: none;
padding: 2px 4px;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
min-height: 40px;
justify-content: center;
}
.mobile-channel-header-top {
display: flex;
align-items: center;
gap: 2px;
}
.mobile-channel-header-top .chat-header-name {
font-size: 16px;
font-weight: 700;
}
.mobile-channel-chevron {
color: var(--text-muted);
margin-left: 2px;
flex-shrink: 0;
}
.mobile-channel-header-bottom {
display: flex;
align-items: center;
gap: 4px;
margin-top: 1px;
}
.mobile-online-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background-color: #3ba55c;
flex-shrink: 0;
}
.mobile-online-count {
font-size: 11px;
color: var(--text-muted);
font-weight: 500;
}
/* ── Mobile Members Screen ── */
.mobile-members-screen {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--bg-primary, #313338);
z-index: 9999;
display: flex;
flex-direction: column;
transform: translateX(100%);
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-members-screen.visible {
transform: translateX(0);
}
.mobile-members-header {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
border-bottom: 1px solid var(--bg-tertiary, #1e1f22);
min-height: 56px;
flex-shrink: 0;
}
.mobile-members-back {
background: none;
border: none;
color: var(--text-normal, #dbdee1);
padding: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
-webkit-tap-highlight-color: transparent;
}
.mobile-members-header-info {
display: flex;
flex-direction: column;
min-width: 0;
}
.mobile-members-header-name {
font-size: 16px;
font-weight: 700;
color: var(--text-normal, #dbdee1);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mobile-members-header-subtitle {
font-size: 12px;
color: var(--text-muted, #949ba4);
margin-top: 1px;
}
.mobile-members-tabs {
display: flex;
gap: 0;
padding: 0 8px;
border-bottom: 1px solid var(--bg-tertiary, #1e1f22);
overflow-x: auto;
flex-shrink: 0;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.mobile-members-tabs::-webkit-scrollbar {
display: none;
}
.mobile-members-tab {
background: none;
border: none;
color: var(--text-muted, #949ba4);
font-size: 13px;
font-weight: 600;
padding: 12px 12px;
cursor: pointer;
white-space: nowrap;
border-bottom: 2px solid transparent;
transition: color 0.15s, border-color 0.15s;
-webkit-tap-highlight-color: transparent;
}
.mobile-members-tab.active {
color: var(--text-normal, #dbdee1);
border-bottom-color: var(--text-normal, #dbdee1);
}
.mobile-members-content {
flex: 1;
overflow-y: auto;
padding: 8px 0;
-webkit-overflow-scrolling: touch;
}
.mobile-member-item {
display: flex;
align-items: center;
padding: 8px 16px;
gap: 12px;
min-height: 48px;
cursor: pointer;
}
.mobile-member-item:active {
background: var(--bg-secondary, #2b2d31);
}
.mobile-members-placeholder {
display: flex;
align-items: center;
justify-content: center;
padding: 48px 16px;
}