Files
fluxer/fluxer_app/src/features/channel/components/ChannelReplyBar.module.css
T

114 lines
2.0 KiB
CSS

/* SPDX-License-Identifier: AGPL-3.0-or-later */
.text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 0.8125rem;
line-height: 1.25;
color: var(--text-primary);
}
.replyTargetButton {
display: block;
min-width: 0;
width: 100%;
cursor: pointer;
border: 0;
background: transparent;
padding: 0;
text-align: left;
font-family: inherit;
}
.authorName {
font-weight: 600;
}
.replyTargetButton:hover .authorName,
.replyTargetButton:focus-visible .authorName {
text-decoration: underline;
}
.controls {
display: flex;
align-items: center;
flex: 0 0 auto;
gap: 0.125rem;
min-height: var(--composer-status-pill-height, 1.5rem);
}
.mentionToggle {
display: flex;
cursor: pointer;
align-items: center;
justify-content: center;
height: calc(var(--composer-status-pill-height, 1.5rem) - 0.25rem);
inline-size: 3.5rem;
flex: 0 0 3.5rem;
padding: 0 0.5rem;
border: 0;
border-radius: var(--radius-full);
background: transparent;
font-family: inherit;
font-weight: 600;
font-size: 0.75rem;
text-transform: uppercase;
white-space: nowrap;
}
.mentionToggleOn {
color: rgb(96 165 250);
}
.mentionToggleOff {
color: var(--text-primary-muted);
transition: color 200ms;
cursor: pointer;
}
.mentionToggleOff:hover {
color: var(--text-primary);
}
.mentionIcon {
margin-right: 0.1875rem;
height: 1rem;
width: 1rem;
}
.divider {
height: 1.25rem;
width: 0.0625rem;
background-color: var(--background-header-secondary);
}
.closeButton {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
flex-shrink: 0;
border: none;
background-color: transparent;
width: var(--composer-status-pill-height, 1.5rem);
height: var(--composer-status-pill-height, 1.5rem);
padding: 0;
border-radius: var(--radius-full);
color: var(--text-primary-muted);
line-height: 0;
transition:
color 200ms,
background-color 200ms;
}
.closeButton:hover {
color: var(--text-primary);
background-color: var(--background-modifier-hover);
}
.closeIcon {
height: 1rem;
width: 1rem;
}