Async-Redis
view release on metacpan or search on metacpan
examples/pagi-chat/public/css/style.css view on Meta::CPAN
flex-direction: column;
overflow: hidden;
}
.sidebar-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem;
border-bottom: 1px solid var(--border-color);
}
.sidebar-header h2 {
font-size: 1.25rem;
color: var(--accent-color);
}
/* Connection Status */
.connection-status {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: var(--bg-tertiary);
font-size: 0.85rem;
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--warning-color);
}
.connection-status.connected .status-dot {
background: var(--success-color);
}
.connection-status.disconnected .status-dot {
background: var(--error-color);
}
/* User Info */
.user-info {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1rem;
border-bottom: 1px solid var(--border-color);
}
.user-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--accent-color);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1rem;
}
.user-name {
font-weight: 500;
}
/* Sidebar Sections */
.sidebar-section {
padding: 1rem;
border-bottom: 1px solid var(--border-color);
}
.sidebar-section:last-child {
border-bottom: none;
margin-top: auto;
}
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.75rem;
}
.section-header h3 {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--text-muted);
}
.badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
height: 20px;
padding: 0 6px;
border-radius: 10px;
background: var(--bg-tertiary);
color: var(--text-secondary);
font-size: 0.75rem;
font-weight: 500;
}
/* Navigation Lists */
.nav-list {
list-style: none;
max-height: 200px;
overflow-y: auto;
}
.nav-list li {
padding: 0.5rem 0.75rem;
border-radius: 6px;
cursor: pointer;
transition: background 0.2s;
display: flex;
align-items: center;
( run in 1.435 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )