mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 17:43:43 +08:00
7dafd275ac
- FIX: improves reactions and thread indicator touch event on mobile These "buttons" are located inside a scroll list which makes them very specific. The general idea is to ensure these events are passive and are not bubbling to the parent. - DEV: moves state on top level message node - FIX: ensures popover arrow has the correct border - FIX: makes a message expanded by default - FIX applies the same ios scroll fix on thread and channel - UI: better active/hover state for thread indicator - UI: attempts to follow more closely our BEM naming scheme - FIX: reduces bottom padding on message with thread indicator and user info hidden - UI: add padding for first message in thread - FIX: prevents actions backdrop to open thread - UI: makes thread indicator resizable
112 lines
1.8 KiB
SCSS
112 lines
1.8 KiB
SCSS
:root {
|
|
--channel-list-avatar-size: 38px;
|
|
}
|
|
|
|
.chat-message-container:not(.-user-info-hidden) {
|
|
.chat-message {
|
|
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);
|
|
}
|
|
}
|
|
.chat-channel-unread-indicator {
|
|
border-color: var(--primary-very-low);
|
|
}
|
|
}
|
|
}
|