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
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2019-05-20 12:25:48 +02:00
|
|
|
#user_presences {
|
|
|
|
max-width: 95%;
|
|
|
|
overflow-x: hidden;
|
2020-06-08 10:25:14 +02:00
|
|
|
list-style-position: inside; /* Draw the bullets inside our box */
|
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;
|
|
|
|
padding-right: 15px;
|
2020-06-06 00:49:20 +02:00
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 2px;
|
2019-05-21 12:25:54 +02:00
|
|
|
|
2020-04-16 16:15:39 +02:00
|
|
|
.user-list-sidebar-menu-icon {
|
2019-05-21 12:25:54 +02:00
|
|
|
position: absolute;
|
2020-06-06 01:27:23 +02:00
|
|
|
top: 1px;
|
2020-08-06 02:42:07 +02:00
|
|
|
right: 0;
|
2020-08-04 23:58:56 +02:00
|
|
|
font-size: 1em;
|
2019-05-21 12:25:54 +02:00
|
|
|
display: none;
|
2020-06-06 01:27:23 +02:00
|
|
|
text-align: center;
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 0 6px;
|
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
|
|
|
padding-right: 0.35em;
|
2019-05-21 12:25:54 +02:00
|
|
|
display: inline-block;
|
|
|
|
width: 13px;
|
2023-09-01 20:25:18 +02:00
|
|
|
font-size: 17px;
|
2020-06-06 01:27:23 +02:00
|
|
|
vertical-align: middle;
|
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.
|
|
|
|
Hence the the icons does not appear, making the user unaware of its
|
|
|
|
presence on such devices. The following media property displays the
|
|
|
|
icon by default for such behaviour.
|
|
|
|
*/
|
|
|
|
|
|
|
|
@media (hover: none) {
|
|
|
|
display: inline;
|
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 {
|
2019-05-21 12:25:54 +02:00
|
|
|
display: inline;
|
|
|
|
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-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(120deg 12.3% 71.4% / 38%);
|
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 {
|
2022-12-07 01:15:55 +01:00
|
|
|
min-width: 8px;
|
2020-06-08 10:25:14 +02:00
|
|
|
height: 8px;
|
2021-11-05 03:16:06 +01:00
|
|
|
margin: 0 5px;
|
2020-06-08 10:25:14 +02:00
|
|
|
display: block;
|
|
|
|
}
|
2017-06-19 19:03:39 +02:00
|
|
|
|
2023-08-16 15:58:46 +02:00
|
|
|
#empty-list-message {
|
|
|
|
font-size: 1.2em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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 {
|
2021-06-28 10:02:45 +02:00
|
|
|
display: flex;
|
2017-01-04 00:37:01 +01:00
|
|
|
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 {
|
2018-06-27 00:08:28 +02:00
|
|
|
width: calc(100% - 16px);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
2022-10-03 17:26:05 +02:00
|
|
|
.user-name-and-status-wrapper {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-06-27 00:08:28 +02:00
|
|
|
.user-presence-link {
|
2022-10-03 17:49:39 +02:00
|
|
|
width: calc(100% - $user_status_emoji_width);
|
2021-06-28 10:02:45 +02:00
|
|
|
|
2023-03-15 21:56:35 +01:00
|
|
|
.status-emoji {
|
2022-02-05 18:02:04 +01:00
|
|
|
top: 9px;
|
2021-06-28 10:02:45 +02:00
|
|
|
}
|
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 {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2022-08-12 22:41:06 +02:00
|
|
|
.user-name-and-status-emoji {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-text {
|
|
|
|
display: block;
|
|
|
|
width: 170px;
|
|
|
|
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) {
|
2022-08-12 22:41:06 +02:00
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
|
2021-04-09 20:41:29 +02:00
|
|
|
.unread_count {
|
2020-06-08 10:39:28 +02:00
|
|
|
display: none;
|
2021-04-09 20:41:29 +02:00
|
|
|
margin-top: 2.5px;
|
2020-06-08 10:39:28 +02:00
|
|
|
}
|
2017-01-04 00:37:01 +01:00
|
|
|
|
2021-04-09 20:41:29 +02:00
|
|
|
&.user-with-count .unread_count {
|
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 {
|
|
|
|
display: none;
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2018-08-19 23:18:51 +02:00
|
|
|
#keyboard-icon {
|
2021-03-22 20:21:58 +01:00
|
|
|
position: relative;
|
2018-05-08 00:04:58 +02:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 20px;
|
2022-01-06 07:15:01 +01:00
|
|
|
margin-right: 15px;
|
2018-05-08 00:04:58 +02:00
|
|
|
}
|
2018-06-22 19:30:33 +02:00
|
|
|
|
2018-08-19 23:18:51 +02:00
|
|
|
#sidebar-keyboard-shortcuts {
|
|
|
|
color: inherit;
|
2018-06-22 19:30:33 +02:00
|
|
|
}
|
2019-10-24 05:38:18 +02: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-02-04 02:49:05 +01:00
|
|
|
@media (width < $xl_min) {
|
2019-10-24 05:38:18 +02:00
|
|
|
#userlist-toggle {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $sm_min) {
|
2019-10-24 05:38:18 +02:00
|
|
|
#userlist-toggle {
|
|
|
|
height: 30px;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#userlist-toggle-button {
|
|
|
|
height: 30px;
|
2020-08-06 02:42:07 +02:00
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
2019-10-24 05:38:18 +02:00
|
|
|
}
|
|
|
|
}
|
2022-01-20 10:30:09 +01:00
|
|
|
|
|
|
|
.right-sidebar-shortcuts .realm-description {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2022-02-15 11:27:02 +01:00
|
|
|
margin-right: 20px;
|
|
|
|
width: 230px;
|
2022-01-20 10:30:09 +01:00
|
|
|
|
|
|
|
.color_animated_button {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2022-03-01 20:51:00 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& hr {
|
2022-03-01 20:51:00 +01:00
|
|
|
width: 90%;
|
|
|
|
}
|
2022-01-20 10:30:09 +01:00
|
|
|
}
|