mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 18:23:39 +08:00
89d7b1861d
* FIX: increases resize observer throttle delay 25ms is not necessary and was sometimes causing jankyness. * FIX: removes ios momentum fix delay Instead of a 50ms, simply use next+schedule("afterRender") to attempt to have the shortest delay possible. * FIX: backdrop event propagation Prevents backdrop touch to propagate to underlying channel/thread. * UX: adds is-active class to container of active message This change allows to keep the background on the active message while the actions menu is displayed. * FIX: prevents skip-link to be selected on press * UX: allows to close actions menu instantly The backdrop should always receive events, we don't need to wait for the menu to be fully displayed. * UI: adds spacing between last message and composer * UI: makes backdrop less dark * FIX: makes events passive on long-press modifier
107 lines
1.6 KiB
SCSS
107 lines
1.6 KiB
SCSS
:root {
|
|
--channel-list-avatar-size: 38px;
|
|
}
|
|
|
|
.chat-message:not(.user-info-hidden) {
|
|
padding-top: 0.75em;
|
|
}
|
|
|
|
html.has-full-page-chat {
|
|
.footer-nav {
|
|
display: none !important;
|
|
}
|
|
|
|
body #main-outlet {
|
|
padding: 0;
|
|
|
|
.main-chat-outlet {
|
|
.chat-channel {
|
|
min-width: 0;
|
|
}
|
|
|
|
&.has-side-panel-expanded {
|
|
grid-template-columns: 1fr;
|
|
grid-template-areas: "threads";
|
|
|
|
.chat-channel {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.full-page-chat {
|
|
grid-template-columns: 100%;
|
|
overflow-x: hidden;
|
|
width: 100%;
|
|
|
|
.btn:active,
|
|
.btn:hover {
|
|
background: var(--secondary-very-high);
|
|
|
|
.d-icon {
|
|
color: var(--primary-medium);
|
|
}
|
|
}
|
|
|
|
.chat-channel {
|
|
border-radius: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.chat-drawer {
|
|
width: 100%;
|
|
}
|
|
|
|
.chat-full-page-header {
|
|
background-color: var(--secondary);
|
|
padding: 0 10px;
|
|
height: 50px;
|
|
min-height: 50px;
|
|
}
|
|
}
|
|
|
|
.sidebar-container .channels-list .chat-channel-divider {
|
|
padding-left: 1em;
|
|
}
|
|
|
|
.sidebar-container .channels-list .chat-channel-row {
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.create-channel-modal {
|
|
.modal-inner-container {
|
|
width: 95%;
|
|
}
|
|
}
|
|
|
|
.chat-full-page-header {
|
|
.chat-channel-header-details {
|
|
.chat-channel-retry-archive {
|
|
flex-direction: column;
|
|
|
|
.chat-channel-archive-failed-retry {
|
|
margin-top: 0.5em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.chat-message-separator {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.header-dropdown-toggle.chat-header-icon {
|
|
.icon {
|
|
&.active {
|
|
border: 1px solid var(--primary-low);
|
|
background: var(--primary-very-low);
|
|
|
|
.d-icon {
|
|
color: var(--primary-medium);
|
|
}
|
|
}
|
|
}
|
|
}
|