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 */
.container {
--guild-header-popout-surface: var(--settings-surface-background, var(--form-surface-background));
--guild-header-popout-border: var(--settings-border-color, var(--background-modifier-accent));
--guild-header-popout-hover-background: var(--settings-hover-background, var(--surface-interactive-hover-bg));
--guild-header-popout-danger-text: var(
--settings-danger-text,
color-mix(in srgb, var(--status-danger) 78%, var(--text-primary) 22%)
);
--guild-header-popout-danger-background: var(
--settings-danger-background,
color-mix(in srgb, var(--status-danger) 6%, var(--surface-interactive-hover-bg))
);
display: flex;
box-sizing: border-box;
width: max-content;
min-width: var(--layout-header-popout-width);
max-width: min(22rem, calc(100vw - 1rem));
flex-direction: column;
gap: 0.125rem;
border-radius: 0.5rem;
border: 0.0625rem solid var(--guild-header-popout-border);
background: var(--guild-header-popout-surface);
padding: 0.5rem;
box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 0.24);
}
:global(.theme-light) .container {
box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 0.14);
}
.itemButton.itemDanger {
color: var(--guild-header-popout-danger-text);
}
:global(:where(html.window-focused, html.unfocused-fully-interactive):not(.window-focus-activation-guard))
.itemButton.itemDanger:is(:hover, :focus, :focus-visible, [data-hovered], [data-focus-visible]) {
background: var(--guild-header-popout-danger-background);
color: var(--guild-header-popout-danger-text);
}
.checkboxIcon {
--checkbox-border-color: currentColor;
display: flex;
height: 1.25rem;
width: 1.25rem;
flex: 0 0 auto;
align-items: center;
justify-content: center;
}
.iconMedium {
height: 1.25rem;
width: 1.25rem;
flex: 0 0 auto;
}
.itemButton {
display: flex;
box-sizing: border-box;
width: 100%;
min-height: 2rem;
min-width: 0;
cursor: pointer;
align-items: center;
justify-content: space-between;
gap: 1rem;
border-radius: 0.375rem;
border: 0.0625rem solid transparent;
background: transparent;
padding: 0.3125rem 0.5rem;
text-align: start;
font-size: 0.8125rem;
line-height: 1.125rem;
color: var(--text-primary);
transition: none;
}
.itemTitle {
min-width: 0;
flex: 0 1 auto;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-weight: 500;
}
:global(:where(html.window-focused, html.unfocused-fully-interactive):not(.window-focus-activation-guard))
.itemButton:not(.itemDanger):is(:hover, :focus, :focus-visible, [data-hovered], [data-focus-visible]) {
background: var(--guild-header-popout-hover-background);
color: var(--text-primary);
}