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);
|
|
|
|
bottom: 2rem;
|
|
|
|
right: 2rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
font-size: var(--font-up-4);
|
|
|
|
padding: 1rem;
|
|
|
|
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;
|
|
|
|
border-color: var(--quaternary);
|
|
|
|
outline-color: var(--quaternary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-29 01:38:05 +08:00
|
|
|
.channels-list {
|
2022-12-01 21:56:04 +08:00
|
|
|
overflow-y: auto;
|
2023-02-18 18:00:02 +08:00
|
|
|
overscroll-behavior: contain;
|
2022-12-01 21:56:04 +08:00
|
|
|
height: 100%;
|
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
|
position: relative;
|
2023-04-03 16:46:38 +08:00
|
|
|
@include chat-scrollbar();
|
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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.public-channel-empty-message {
|
|
|
|
margin: 0 0.5em 0.5em 0.5em;
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
|
|
|
|
2022-11-29 01:38:05 +08:00
|
|
|
.chat-channel-divider {
|
|
|
|
padding: 2.5rem 1.5rem 0.5rem 1.5rem;
|
2022-12-01 21:56:04 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
font-weight: bold;
|
|
|
|
font-family: var(--heading-font-family);
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
color: var(--quaternary);
|
|
|
|
|
|
|
|
.channel-title {
|
|
|
|
line-height: var(--line-height-medium);
|
|
|
|
}
|
2022-11-29 01:38:05 +08:00
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
padding-top: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|