55 lines
1.0 KiB
SCSS
55 lines
1.0 KiB
SCSS
|
.chat-channel-row {
|
||
|
height: 4em;
|
||
|
margin: 0;
|
||
|
padding: 0 1.5rem;
|
||
|
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;
|
||
|
will-change: height, left;
|
||
|
|
||
|
&__action-btn {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
position: absolute;
|
||
|
top: 0px;
|
||
|
bottom: 0px;
|
||
|
padding-inline: 1rem;
|
||
|
|
||
|
&.-cancel {
|
||
|
background: var(--primary-very-low);
|
||
|
color: var(--primary);
|
||
|
}
|
||
|
|
||
|
&.-leave {
|
||
|
background: var(--danger);
|
||
|
color: var(--primary-very-low);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__action-btn-icon {
|
||
|
margin-left: 0.5rem;
|
||
|
}
|
||
|
|
||
|
&.-fade-out {
|
||
|
background-color: var(--danger-low);
|
||
|
height: 0 !important;
|
||
|
overflow: hidden;
|
||
|
opacity: 0.5 !important;
|
||
|
}
|
||
|
|
||
|
&.-reset {
|
||
|
transition: left 0.25s ease-in-out;
|
||
|
}
|
||
|
|
||
|
.chat-channel-metadata {
|
||
|
.chat-channel-unread-indicator {
|
||
|
font-size: var(--font-down-2);
|
||
|
margin-top: 0.25rem;
|
||
|
}
|
||
|
&__date {
|
||
|
font-size: var(--font-down-2);
|
||
|
}
|
||
|
}
|
||
|
}
|