2022-10-03 17:49:39 +02:00
|
|
|
/* Width of emoji used by user to display status. */
|
|
|
|
$user_status_emoji_width: 24px;
|
|
|
|
|
2017-04-17 22:19:47 +02:00
|
|
|
.right-sidebar {
|
2023-03-17 22:10:10 +01:00
|
|
|
& a:hover {
|
2020-06-06 13:03:54 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-12-04 22:29:16 +01:00
|
|
|
}
|
|
|
|
|
2023-11-08 20:33:55 +01:00
|
|
|
.right-sidebar-title {
|
|
|
|
color: var(--color-text-sidebar-heading);
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: normal;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2020-05-26 13:58:18 +02:00
|
|
|
#buddy_list_wrapper {
|
2017-09-27 20:41:19 +02:00
|
|
|
position: relative;
|
2017-01-04 00:37:01 +01:00
|
|
|
margin-left: 0;
|
2017-07-31 20:25:38 +02:00
|
|
|
overflow: auto;
|
2017-01-04 00:37:01 +01:00
|
|
|
}
|
|
|
|
|
2023-08-23 02:18:53 +02:00
|
|
|
.toggle-narrow-users,
|
|
|
|
.toggle-other-users {
|
|
|
|
width: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#buddy-list-users-matching-view-container,
|
|
|
|
#buddy-list-other-users-container {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
&.no-display {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-all-subscribers-link,
|
|
|
|
.view-all-users-link {
|
|
|
|
margin-left: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#buddy-list-users-matching-view-container.collapsed {
|
|
|
|
#buddy-list-users-matching-view,
|
|
|
|
.view-all-subscribers-link {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#buddy-list-other-users-container.collapsed {
|
|
|
|
#buddy-list-other-users,
|
|
|
|
.view-all-users-link {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#buddy-list-users-matching-view,
|
|
|
|
#buddy-list-other-users {
|
|
|
|
width: 90%;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-bottom: 0;
|
2019-05-20 12:25:48 +02:00
|
|
|
overflow-x: hidden;
|
2020-06-08 10:25:14 +02:00
|
|
|
list-style-position: inside; /* Draw the bullets inside our box */
|
2024-05-30 22:09:38 +02:00
|
|
|
line-height: var(--line-height-sidebar-row);
|
2019-03-01 20:27:15 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li {
|
2019-05-21 12:25:54 +02:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2020-06-08 10:25:14 +02:00
|
|
|
list-style-type: none;
|
|
|
|
border-radius: 4px;
|
2024-05-30 22:09:38 +02:00
|
|
|
padding: 0;
|
2019-05-21 12:25:54 +02:00
|
|
|
|
2020-04-16 16:15:39 +02:00
|
|
|
.user-list-sidebar-menu-icon {
|
2024-05-31 20:18:53 +02:00
|
|
|
visibility: hidden;
|
|
|
|
justify-self: center;
|
2019-05-21 12:25:54 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2023-09-01 20:25:18 +02:00
|
|
|
font-size: 17px;
|
2024-05-31 20:18:53 +02:00
|
|
|
/* Ensure the icon takes the same baseline
|
|
|
|
as the rest of the row, for perfect
|
|
|
|
vertical alignment with the username and
|
|
|
|
status circle. */
|
|
|
|
line-height: inherit;
|
2019-05-21 12:25:54 +02:00
|
|
|
}
|
|
|
|
|
2021-03-02 06:24:40 +01:00
|
|
|
/*
|
|
|
|
Hover does not work for touch-based devices like mobile phones.
|
2024-05-20 22:16:21 +02:00
|
|
|
Hence the icons does not appear, making the user unaware of its
|
2021-03-02 06:24:40 +01:00
|
|
|
presence on such devices. The following media property displays the
|
|
|
|
icon by default for such behaviour.
|
|
|
|
*/
|
|
|
|
|
|
|
|
@media (hover: none) {
|
2024-05-31 20:18:53 +02:00
|
|
|
visibility: visible;
|
2023-09-15 18:45:08 +02:00
|
|
|
/* Show dots on touchscreens in a less distracting,
|
|
|
|
lighter shade. */
|
|
|
|
color: var(--color-vdots-hint);
|
2021-03-02 06:24:40 +01:00
|
|
|
}
|
2019-05-21 12:25:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2020-04-16 16:15:39 +02:00
|
|
|
.user-list-sidebar-menu-icon {
|
2024-05-31 20:18:53 +02:00
|
|
|
visibility: visible;
|
2019-05-21 12:25:54 +02:00
|
|
|
cursor: pointer;
|
2023-09-15 18:45:08 +02:00
|
|
|
color: var(--color-vdots-visible);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-vdots-hover);
|
|
|
|
}
|
2019-05-21 12:25:54 +02:00
|
|
|
}
|
|
|
|
}
|
2020-06-08 10:25:14 +02:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&.highlighted_user {
|
2023-08-23 02:18:53 +02:00
|
|
|
background-color: var(--color-buddy-list-highlighted-user);
|
2020-06-08 10:25:14 +02:00
|
|
|
}
|
2019-05-21 12:25:54 +02:00
|
|
|
}
|
2019-03-01 20:27:15 +01:00
|
|
|
|
2020-06-08 10:25:14 +02:00
|
|
|
.user_circle {
|
2024-06-26 17:11:57 +02:00
|
|
|
width: var(--length-user-status-circle);
|
|
|
|
height: var(--length-user-status-circle);
|
2024-05-31 21:11:26 +02:00
|
|
|
grid-area: starting-anchor-element;
|
|
|
|
place-self: center center;
|
2020-06-08 10:25:14 +02:00
|
|
|
}
|
2017-06-19 19:03:39 +02:00
|
|
|
|
2023-10-15 12:23:06 +02:00
|
|
|
.empty-list-message {
|
2023-08-23 02:18:53 +02:00
|
|
|
font-style: italic;
|
|
|
|
color: var(--color-text-empty-list-message);
|
|
|
|
/* Overwrite default empty list font size, to look better under the subheaders. */
|
|
|
|
font-size: 14px;
|
|
|
|
/* Override .empty-list-message !important styling */
|
|
|
|
padding: 0 !important;
|
|
|
|
margin-left: 5px;
|
|
|
|
text-align: left;
|
2023-08-16 15:58:46 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-23 02:18:53 +02:00
|
|
|
/* Overwrite some stray list rules (including one in left_sidebar.css) to turn color
|
|
|
|
back to the bootstrap default. */
|
|
|
|
.view-all-subscribers-link,
|
|
|
|
.view-all-users-link {
|
|
|
|
color: var(--color-text-url);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-text-url-hover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& a {
|
2020-06-08 10:25:14 +02:00
|
|
|
color: inherit;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-left: 0;
|
2020-06-08 10:25:14 +02:00
|
|
|
}
|
2017-01-04 00:37:01 +01:00
|
|
|
}
|
|
|
|
|
2023-08-23 02:18:53 +02:00
|
|
|
.buddy-list-subsection-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: var(--color-background);
|
|
|
|
line-height: 1;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
|
|
|
color: var(--color-text-default);
|
|
|
|
}
|
|
|
|
|
|
|
|
.buddy-list-heading {
|
|
|
|
user-select: none;
|
|
|
|
font-weight: 600;
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.buddy-list-subsection-header.no-display {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-06-27 00:08:28 +02:00
|
|
|
.user-presence-link,
|
2017-01-04 00:37:01 +01:00
|
|
|
.user_sidebar_entry .selectable_sidebar_block {
|
|
|
|
overflow: hidden;
|
2021-06-28 10:02:45 +02:00
|
|
|
|
|
|
|
.user-name {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2017-01-04 00:37:01 +01:00
|
|
|
}
|
|
|
|
|
2018-06-23 23:52:51 +02:00
|
|
|
.user_sidebar_entry .selectable_sidebar_block {
|
2024-05-31 20:18:53 +02:00
|
|
|
grid-area: row-content;
|
2024-05-31 21:11:26 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template:
|
|
|
|
"starting-anchor-element row-content markers-and-controls" var(
|
|
|
|
--line-height-sidebar-row
|
|
|
|
)
|
|
|
|
". row-content ." auto / 20px minmax(0, 1fr)
|
|
|
|
minmax(0, auto);
|
|
|
|
align-items: baseline;
|
2022-10-03 17:26:05 +02:00
|
|
|
}
|
|
|
|
|
2018-06-27 00:08:28 +02:00
|
|
|
.user-presence-link {
|
2024-05-31 21:11:26 +02:00
|
|
|
grid-area: row-content;
|
2020-04-06 07:15:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.my_user_status {
|
|
|
|
opacity: 0.5;
|
2018-06-23 23:52:51 +02:00
|
|
|
}
|
|
|
|
|
2017-05-03 21:31:16 +02:00
|
|
|
.selectable_sidebar_block {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2022-10-03 17:49:39 +02:00
|
|
|
.user_list_style_values {
|
|
|
|
.user-name-and-status-emoji {
|
2023-09-18 20:57:22 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-10-03 17:49:39 +02:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.user-name {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: calc(100% - $user_status_emoji_width);
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2023-03-15 21:56:35 +01:00
|
|
|
.status-emoji {
|
2022-10-03 17:49:39 +02:00
|
|
|
line-height: 20px;
|
2023-09-18 20:57:22 +02:00
|
|
|
margin-left: 6px;
|
2022-10-03 17:49:39 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-text {
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-11 19:00:34 +02:00
|
|
|
.user_sidebar_entry {
|
2024-05-31 20:18:53 +02:00
|
|
|
display: grid;
|
|
|
|
/* We establish a two-row, two-column outer grid so
|
|
|
|
that controls remain aligned with the username,
|
|
|
|
even when there is a status line shown below.
|
|
|
|
|
|
|
|
The 26px column for the vdots is less than the
|
|
|
|
30px allotted in the left sidebar, but it holds
|
|
|
|
the username area constant, so that no ellipsis
|
|
|
|
appears on the username on hover. */
|
|
|
|
grid-template:
|
|
|
|
"row-content ending-anchor-element" var(--line-height-sidebar-row)
|
|
|
|
"row-content ." auto / minmax(0, 1fr) 26px;
|
|
|
|
align-content: baseline;
|
2018-04-11 19:00:34 +02:00
|
|
|
|
2022-08-12 22:41:06 +02:00
|
|
|
.user-name-and-status-emoji {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-text {
|
|
|
|
display: block;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
opacity: 0.75;
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& span.status-text:not(:empty) {
|
2024-05-30 22:09:38 +02:00
|
|
|
/* Cinch up the status text by one quarter of the
|
|
|
|
sidebar row's line-height. */
|
|
|
|
margin-top: calc((var(--line-height-sidebar-row) / 4) * -1);
|
2022-08-12 22:41:06 +02:00
|
|
|
}
|
|
|
|
|
2021-04-09 20:41:29 +02:00
|
|
|
.unread_count {
|
2024-05-31 21:11:26 +02:00
|
|
|
grid-area: markers-and-controls;
|
|
|
|
align-self: center;
|
2020-06-08 10:39:28 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2017-01-04 00:37:01 +01:00
|
|
|
|
2024-03-23 20:18:32 +01:00
|
|
|
.unread_count:not(.hide) {
|
2020-06-08 10:39:28 +02:00
|
|
|
display: block;
|
2022-02-27 14:42:51 +01:00
|
|
|
margin-left: 4px;
|
2023-09-18 18:23:41 +02:00
|
|
|
|
|
|
|
&:empty {
|
|
|
|
/* Hide otherwise empty unread count pill
|
|
|
|
after DMs have been read, but before the
|
|
|
|
count has been removed from the DOM. */
|
|
|
|
display: none;
|
|
|
|
}
|
2020-06-08 10:39:28 +02:00
|
|
|
}
|
2017-01-04 00:37:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#userlist-toggle {
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
#userlist-toggle-button {
|
|
|
|
text-decoration: none;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 60%);
|
2020-05-10 22:52:49 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2017-01-04 00:37:01 +01:00
|
|
|
}
|
|
|
|
|
2019-02-10 20:36:36 +01:00
|
|
|
.right-sidebar-items:first-of-type #userlist-header {
|
2017-01-04 00:37:01 +01:00
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
2018-01-04 18:15:42 +01:00
|
|
|
#userlist-header {
|
|
|
|
cursor: pointer;
|
2019-05-25 12:26:37 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2020-06-08 10:42:17 +02:00
|
|
|
margin-right: 10px;
|
2018-01-04 18:15:42 +01:00
|
|
|
|
2019-05-25 12:26:37 +02:00
|
|
|
#userlist-title {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#user_filter_icon {
|
2020-08-04 23:58:56 +02:00
|
|
|
opacity: 0.5;
|
2019-05-25 12:26:37 +02:00
|
|
|
margin-right: 5px;
|
2021-02-24 00:30:45 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-05-25 12:26:37 +02:00
|
|
|
}
|
2021-10-06 03:11:10 +02:00
|
|
|
|
|
|
|
/* hovering over the userlist-header creates the same highlight effect as hovering over the user_filter_icon */
|
|
|
|
&:hover > #user_filter_icon {
|
|
|
|
opacity: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-01-04 18:15:42 +01:00
|
|
|
}
|
|
|
|
|
2021-03-22 20:21:58 +01:00
|
|
|
.right-sidebar-shortcuts {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
2021-05-01 01:06:39 +02:00
|
|
|
margin-top: 5px;
|
2021-03-22 20:21:58 +01:00
|
|
|
}
|
|
|
|
|
2021-10-25 22:34:46 +02:00
|
|
|
#user_search_section {
|
2023-06-28 09:10:12 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input {
|
2021-10-25 22:34:46 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-right: 20px;
|
|
|
|
width: calc(100% - 40px - 3px);
|
|
|
|
}
|
2023-06-28 09:10:12 +02:00
|
|
|
|
|
|
|
.clear_search_button {
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
2021-10-25 22:34:46 +02:00
|
|
|
}
|