2023-09-11 20:51:13 +08:00
|
|
|
.chat-channel-row {
|
|
|
|
margin: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
transition: height 0.25s ease-in-out, opacity 0.25s ease-out;
|
|
|
|
transform-origin: top center;
|
2023-09-15 00:48:29 +08:00
|
|
|
will-change: height, opacity, left;
|
|
|
|
height: 4em;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&.-fade-out {
|
|
|
|
.chat-channel-row__content {
|
|
|
|
background-color: var(--danger-low);
|
|
|
|
}
|
|
|
|
|
|
|
|
height: 0 !important;
|
|
|
|
overflow: hidden;
|
|
|
|
opacity: 0.5 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
padding-inline: 1.5rem;
|
|
|
|
z-index: 2;
|
|
|
|
background: var(--primary-very-low);
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 100%;
|
|
|
|
transition: border-radius 0.25s ease-in-out;
|
|
|
|
|
|
|
|
&.-animate-reset {
|
|
|
|
transition: margin-right 0.15s ease-out;
|
|
|
|
margin-right: 0px !important;
|
|
|
|
}
|
|
|
|
}
|
2023-09-11 20:51:13 +08:00
|
|
|
|
|
|
|
&__action-btn {
|
2023-09-15 00:48:29 +08:00
|
|
|
z-index: 1;
|
2023-09-11 20:51:13 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
2023-09-15 00:48:29 +08:00
|
|
|
right: 0px;
|
|
|
|
left: 0px;
|
|
|
|
background: var(--danger);
|
|
|
|
color: var(--primary-very-low);
|
2023-09-11 20:51:13 +08:00
|
|
|
|
2023-09-15 00:48:29 +08:00
|
|
|
.d-icon {
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
transform-box: fill-box;
|
|
|
|
transition: scale 0.2s ease-out;
|
|
|
|
margin: 0 1rem 0 auto;
|
|
|
|
padding-left: 1rem;
|
2023-09-11 20:51:13 +08:00
|
|
|
}
|
|
|
|
|
2023-09-15 00:48:29 +08:00
|
|
|
&.-not-at-threshold {
|
|
|
|
.d-icon {
|
|
|
|
scale: 0.7;
|
|
|
|
}
|
2023-09-11 20:51:13 +08:00
|
|
|
}
|
|
|
|
|
2023-09-15 00:48:29 +08:00
|
|
|
&.-at-threshold {
|
|
|
|
.d-icon {
|
|
|
|
scale: 1.5;
|
|
|
|
}
|
|
|
|
}
|
2023-09-11 20:51:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-channel-metadata {
|
|
|
|
.chat-channel-unread-indicator {
|
|
|
|
font-size: var(--font-down-2);
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
}
|
|
|
|
&__date {
|
|
|
|
font-size: var(--font-down-2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|