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 */
.editorShell {
position: relative;
display: flex;
align-items: center;
align-self: stretch;
flex: 1 1 auto;
min-width: 0;
min-height: 2.25rem;
cursor: text;
}
.editable {
flex: 1 1 auto;
width: 100%;
min-width: 0;
min-height: 1.375rem;
overflow-x: auto;
overflow-y: hidden;
outline: none;
color: var(--search-input-text-color, var(--text-primary));
font-size: 0.875rem;
line-height: 1.375rem;
white-space: pre !important;
word-break: normal !important;
caret-color: var(--search-input-text-color, var(--text-primary));
scrollbar-width: none;
-webkit-user-modify: read-write-plaintext-only;
}
.editable::-webkit-scrollbar {
display: none;
}
.paragraph {
margin: 0;
display: block;
min-width: 100%;
}
.tokenBase {
align-items: center;
background-color: var(--background-modifier-selected);
border: 1px solid var(--border-color);
border-radius: var(--radius-sm);
color: var(--text-primary);
display: inline-flex;
height: 1.375rem;
line-height: normal;
margin-inline-start: unset;
padding: 0.0625rem var(--spacing-1);
position: relative;
top: -0.0625rem;
vertical-align: middle;
}
.tokenKey {
border-end-end-radius: 0;
border-start-end-radius: 0;
font-weight: 600;
}
.tokenValue {
border-end-start-radius: 0;
border-start-start-radius: 0;
margin-inline: -0.125rem 0.125rem;
}
.tokenKey + .tokenKey {
padding-inline-start: 0.125rem;
}
.tokenKey:has(+ .tokenValue),
.tokenKey:has(+ .tokenUnapplied) {
border-inline-end: none;
}
.tokenKey + .tokenValue,
.tokenKey + .tokenUnapplied {
border-inline-start: none;
margin-inline-start: 0;
padding-inline-start: 0;
}
.tokenUnapplied {
border-end-start-radius: 0;
border-start-start-radius: 0;
margin-inline: -0.125rem 0.125rem;
color: var(--text-warning);
text-decoration: underline wavy var(--status-warning);
text-underline-offset: 0.1875rem;
}
.tokenExclude {
background-color: color-mix(in srgb, var(--button-danger-fill) 92%, var(--background-primary));
color: var(--button-danger-text);
}
.placeholder {
position: absolute;
top: 50%;
inset-inline-start: 0;
transform: translateY(-50%);
pointer-events: none;
user-select: none;
color: var(--search-input-placeholder-color, var(--text-secondary));
font-size: 0.875rem;
line-height: 1.375rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}