A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
/* SPDX-License-Identifier: AGPL-3.0-or-later */
.channelHeader {
margin-top: 1rem;
margin-bottom: 0.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
padding-inline-start: 0.5rem;
padding-inline-end: 0.5rem;
}
.channelHeader:first-child {
margin-top: 0;
}
.channelHeaderCompact {
margin-top: 0.5rem;
margin-bottom: 0.25rem;
}
.channelIcon {
height: 1.25rem;
width: 1.25rem;
flex-shrink: 0;
color: var(--text-primary-muted);
}
.channelIconAvatar {
display: inline-flex;
align-items: center;
justify-content: center;
height: 1.25rem;
width: 1.25rem;
flex-shrink: 0;
}
.channelIconAvatarImage {
height: 1.25rem;
width: 1.25rem;
border-radius: 50%;
}
.channelNameButton {
border: none;
background: none;
color: var(--text-primary);
font-weight: 600;
font-size: 0.875rem;
padding: 0;
cursor: pointer;
text-align: start;
font-family: inherit;
display: inline-flex;
flex-direction: column;
align-items: flex-start;
gap: 0.125rem;
}
.channelNameButton:hover {
text-decoration: underline;
}
.channelNameText {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
gap: 0.125rem;
}
.channelNamePrimary {
font-weight: 600;
font-size: 0.875rem;
line-height: 1.2;
}
.channelScopeRow {
display: inline-flex;
align-items: center;
gap: 0.25rem;
font-size: 0.75rem;
color: var(--text-primary-muted);
}
.channelScopeGuildIcon {
display: inline-flex;
align-items: center;
justify-content: center;
--guild-icon-size: 0.75rem;
}
.channelScopeGuildName {
font-weight: 600;
color: var(--text-primary);
line-height: 1;
}
.channelScopeChevron {
height: 0.75rem;
width: 0.75rem;
color: var(--text-primary-muted);
}
.channelScopeChannelInfo {
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.channelScopeChannelIcon {
height: 0.75rem;
width: 0.75rem;
color: var(--text-primary-muted);
}
.channelScopeChannelName {
font-weight: 600;
color: var(--text-primary);
line-height: 1;
}
.focusRingTight {
border-radius: 0.5rem;
}