2022-11-25 21:15:38 +08:00
|
|
|
body.composer-open .chat-drawer-outlet-container {
|
2022-11-02 21:41:30 +08:00
|
|
|
bottom: 11px; // prevent height of grippie from obscuring ...is typing indicator
|
|
|
|
}
|
|
|
|
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-outlet-container {
|
2022-11-02 21:41:30 +08:00
|
|
|
font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
|
|
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
|
|
// higher than timeline, lower than composer, lower than user card (bump up below)
|
|
|
|
z-index: z("usercard");
|
|
|
|
position: fixed;
|
|
|
|
right: var(--composer-right, 20px);
|
|
|
|
left: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
pointer-events: none !important;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-channel-title {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.composer-draft-collapsed {
|
|
|
|
bottom: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
max-height: 90vh;
|
|
|
|
padding-bottom: var(--composer-height, 0);
|
|
|
|
transition: all 100ms ease-in;
|
|
|
|
transition-property: bottom, padding-bottom;
|
|
|
|
|
|
|
|
.channels-list {
|
|
|
|
.chat-channel-row {
|
2022-11-29 01:38:05 +08:00
|
|
|
height: 3.6em;
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
margin: 0 0 0 0.5rem;
|
2022-11-02 21:41:30 +08:00
|
|
|
|
2022-11-29 01:38:05 +08:00
|
|
|
&:not(:last-of-type) {
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
}
|
2022-11-02 21:41:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-drawer {
|
|
|
|
align-self: flex-end;
|
|
|
|
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-container {
|
|
|
|
background: var(--secondary);
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
border-bottom: 0;
|
|
|
|
border-top-left-radius: 8px;
|
|
|
|
border-top-right-radius: 8px;
|
|
|
|
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.125);
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2022-11-02 21:41:30 +08:00
|
|
|
|
2022-11-25 21:15:38 +08:00
|
|
|
&.is-expanded {
|
|
|
|
.chat-drawer-container {
|
|
|
|
max-height: $float-height;
|
|
|
|
height: calc(85vh - var(--composer-height, 0px));
|
|
|
|
}
|
2022-11-02 21:41:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-live-pane {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-header__left-actions {
|
2022-11-02 21:41:30 +08:00
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-header__right-actions {
|
2022-11-02 21:41:30 +08:00
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
2022-11-11 13:39:15 +08:00
|
|
|
margin-left: auto;
|
2022-11-02 21:41:30 +08:00
|
|
|
}
|
|
|
|
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-header__top-line {
|
2022-11-02 21:41:30 +08:00
|
|
|
height: 2.5rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-header__bottom-line {
|
2022-11-02 21:41:30 +08:00
|
|
|
height: 1.5rem;
|
|
|
|
display: flex;
|
|
|
|
align-items: start;
|
|
|
|
}
|
|
|
|
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-header__title {
|
2022-11-02 21:41:30 +08:00
|
|
|
@include ellipsis;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
font-weight: 700;
|
2022-11-29 01:38:05 +08:00
|
|
|
padding: 0 0.5rem 0 1rem;
|
2022-11-02 21:41:30 +08:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.chat-channel-title {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-header {
|
2022-11-02 21:41:30 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
border-bottom: solid 1px var(--primary-low);
|
|
|
|
border-radius: 8px 8px 0 0;
|
|
|
|
background: var(--primary-very-low);
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-channel-title {
|
|
|
|
font-weight: 700;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.chat-name,
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-name,
|
2022-11-02 21:41:30 +08:00
|
|
|
.category-chat-name,
|
|
|
|
.dm-usernames {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
.category-chat-badge,
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-badge {
|
2022-11-02 21:41:30 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-content: center;
|
|
|
|
.d-icon:not(.d-icon-lock) {
|
|
|
|
width: 1.25em;
|
|
|
|
height: 1.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.category-chat-private .d-icon {
|
|
|
|
background-color: var(--primary-very-low);
|
|
|
|
}
|
|
|
|
.badge-wrapper.bullet {
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
.dm-usernames {
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.d-icon:not(.d-icon-hashtag) {
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
|
|
|
.category-hashtag {
|
|
|
|
padding: 2px 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__close-btn,
|
2022-11-11 13:39:15 +08:00
|
|
|
&__return-to-channels-btn,
|
2022-11-02 21:41:30 +08:00
|
|
|
&__full-screen-btn,
|
|
|
|
&__expand-btn {
|
|
|
|
max-height: 2.5rem;
|
2022-11-11 13:39:15 +08:00
|
|
|
height: 100%;
|
|
|
|
min-width: 40px;
|
|
|
|
width: 40px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-low-mid);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:visited {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-low-mid);
|
|
|
|
}
|
|
|
|
}
|
2022-11-02 21:41:30 +08:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
background: none;
|
|
|
|
color: var(--primary-low-mid);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-25 21:15:38 +08:00
|
|
|
.chat-drawer-content {
|
2022-11-02 21:41:30 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 1px;
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
|
|
|
|
.channels-list .chat-channel-divider {
|
2022-11-29 01:38:05 +08:00
|
|
|
padding: 1.5rem 0.5rem 1rem 1rem;
|
|
|
|
color: var(--quaternary);
|
2022-11-02 21:41:30 +08:00
|
|
|
}
|
|
|
|
}
|