2023-07-06 00:18:27 +08:00
|
|
|
.btn-floating.open-new-message-btn {
|
2023-05-15 17:46:33 +08:00
|
|
|
position: fixed;
|
|
|
|
background: var(--tertiary);
|
2024-01-16 14:29:33 +08:00
|
|
|
bottom: 5rem;
|
2023-05-15 17:46:33 +08:00
|
|
|
right: 2rem;
|
|
|
|
border-radius: 50%;
|
2024-01-16 14:29:33 +08:00
|
|
|
font-size: var(--font-up-3);
|
|
|
|
padding: 0.5rem;
|
2023-05-15 17:46:33 +08:00
|
|
|
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
|
|
|
z-index: z("usercard");
|
|
|
|
box-shadow: 0px 5px 5px -1px rgba(0, 0, 0, 0.25);
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-very-low);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
box-shadow: 0px 0px 5px -1px rgba(0, 0, 0, 0.25);
|
|
|
|
transform: scale(0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
@include default-focus;
|
2024-06-24 21:54:34 +08:00
|
|
|
border-color: var(--d-nav-color--active);
|
|
|
|
outline-color: var(--d-nav-color--active);
|
2023-05-15 17:46:33 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-28 21:00:04 +08:00
|
|
|
.channels-list,
|
|
|
|
.channels-list-container {
|
2022-12-01 21:56:04 +08:00
|
|
|
position: relative;
|
2023-04-03 16:46:38 +08:00
|
|
|
@include chat-scrollbar();
|
2024-05-28 21:00:04 +08:00
|
|
|
height: 100%;
|
2024-10-07 13:09:27 +08:00
|
|
|
padding-bottom: 1rem;
|
2022-12-01 21:56:04 +08:00
|
|
|
|
|
|
|
@include breakpoint(mobile-large) {
|
|
|
|
@include chat-scrollbar();
|
|
|
|
}
|
|
|
|
|
|
|
|
.open-browse-page-btn,
|
|
|
|
.open-draft-channel-page-btn,
|
|
|
|
.chat-channel-leave-btn {
|
|
|
|
position: relative;
|
|
|
|
padding: 0;
|
|
|
|
background: transparent;
|
|
|
|
color: var(--primary-medium);
|
|
|
|
font-size: var(--font-0-rem);
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: -50%;
|
|
|
|
left: -50%;
|
|
|
|
width: 200%;
|
|
|
|
height: 200%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-16 14:29:33 +08:00
|
|
|
.channel-list-empty-message {
|
2022-12-01 21:56:04 +08:00
|
|
|
display: flex;
|
2024-05-28 21:00:04 +08:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2022-12-01 21:56:04 +08:00
|
|
|
align-items: center;
|
2024-05-28 21:00:04 +08:00
|
|
|
gap: 1rem;
|
|
|
|
height: 100%;
|
2022-12-01 21:56:04 +08:00
|
|
|
|
|
|
|
.channel-title {
|
2024-05-28 21:00:04 +08:00
|
|
|
margin-bottom: 1rem;
|
2022-12-01 21:56:04 +08:00
|
|
|
}
|
2024-05-28 21:00:04 +08:00
|
|
|
}
|
|
|
|
}
|
2022-11-29 01:38:05 +08:00
|
|
|
|
2024-05-28 21:00:04 +08:00
|
|
|
.chat-channel-divider {
|
|
|
|
padding: 0.5rem 1rem 0.5rem 1rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
font-family: var(--heading-font-family);
|
2024-06-24 21:54:34 +08:00
|
|
|
color: var(--primary);
|
2024-05-28 21:00:04 +08:00
|
|
|
|
|
|
|
.channel-title {
|
|
|
|
line-height: var(--line-height-medium);
|
2022-11-29 01:38:05 +08:00
|
|
|
}
|
|
|
|
}
|