AeThex-Connect/astro-site/src/react-app/components/GameForgeChat/ChannelList.css
MrPiglr de54903c15
new file: astro-site/src/components/auth/SupabaseLogin.jsx
new file:   astro-site/src/components/auth/SupabaseLogin.jsx
2026-02-03 09:09:36 +00:00

84 lines
1.4 KiB
CSS

.channel-list {
flex: 1;
overflow-y: auto;
padding: 8px 0;
}
.channel-group {
margin-bottom: 16px;
}
.channel-group-header {
padding: 8px 16px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
color: var(--text-tertiary, #999);
letter-spacing: 0.5px;
}
.channel-item {
display: flex;
align-items: center;
padding: 8px 16px;
cursor: pointer;
transition: background 0.2s;
gap: 12px;
}
.channel-item:hover {
background: var(--hover-bg, #f5f5f5);
}
.channel-item.active {
background: var(--active-bg, #e3f2fd);
border-left: 3px solid var(--primary-color, #2196F3);
padding-left: 13px;
}
.channel-item.unread {
font-weight: 600;
}
.channel-icon {
font-size: 18px;
flex-shrink: 0;
}
.channel-name {
flex: 1;
font-size: 14px;
color: var(--text-primary, #333);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.unread-badge {
background: var(--error-color, #f44336);
color: white;
font-size: 11px;
font-weight: 600;
padding: 2px 6px;
border-radius: 10px;
min-width: 18px;
text-align: center;
}
/* Scrollbar styling */
.channel-list::-webkit-scrollbar {
width: 6px;
}
.channel-list::-webkit-scrollbar-track {
background: transparent;
}
.channel-list::-webkit-scrollbar-thumb {
background: var(--scrollbar-thumb, #ccc);
border-radius: 3px;
}
.channel-list::-webkit-scrollbar-thumb:hover {
background: var(--scrollbar-thumb-hover, #999);
}