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

92 lines
1.9 KiB
CSS

/* SPDX-License-Identifier: AGPL-3.0-or-later */
.barrierLayout {
display: grid;
grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
align-items: start;
position: relative;
min-height: var(--textarea-min-height);
box-sizing: border-box;
padding: var(--textarea-padding-y) 0;
column-gap: var(--textarea-upload-gap);
min-width: 0;
width: 100%;
max-width: 100%;
}
.barrierLayoutNoAction {
grid-template-columns: minmax(0, auto) minmax(0, 1fr);
}
.icon {
display: flex;
align-items: center;
justify-content: center;
width: var(--textarea-button-height);
height: var(--textarea-button-height);
color: var(--text-primary-muted);
flex-shrink: 0;
}
.icon svg {
width: var(--textarea-button-icon-size);
height: var(--textarea-button-icon-size);
}
.messageArea {
min-width: 0;
}
.message {
font-size: 0.875rem;
line-height: var(--textarea-line-height);
color: var(--text-tertiary);
white-space: normal;
overflow-wrap: break-word;
}
.actionArea {
justify-content: flex-end;
}
.actionArea > button {
margin: 0;
height: var(--textarea-button-height);
min-height: var(--textarea-button-height);
}
.timer {
display: inline-flex;
align-items: center;
box-sizing: border-box;
height: var(--textarea-button-height);
border-radius: 0.375rem;
background-color: var(--background-secondary-alt);
padding: 0 0.75rem;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 600;
color: var(--text-primary);
justify-self: end;
transition: all 0.2s ease;
border: 0.0625rem solid transparent;
}
.timer:hover {
background-color: var(--background-tertiary);
border-color: var(--user-area-divider-color);
}
@media (max-width: 768px) {
.barrierLayout {
grid-template-columns: minmax(0, auto) minmax(0, 1fr);
row-gap: var(--spacing-2);
}
.actionArea {
grid-column: 2;
justify-content: flex-start;
}
}