2023-09-06 23:40:00 +02:00
|
|
|
.recent_view_container {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2020-04-08 13:59:56 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-06-03 12:05:29 +02:00
|
|
|
position: sticky;
|
|
|
|
top: var(--navbar-fixed-height);
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2020-04-08 13:59:56 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_view_container #recent_view_table {
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden !important;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
border: 0;
|
|
|
|
}
|
2020-06-21 09:57:54 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
#recent_view_table .table,
|
|
|
|
#recent-view-content-table {
|
|
|
|
/* To keep border properties to the thead th. */
|
|
|
|
border-collapse: separate;
|
2023-11-15 16:38:39 +01:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
border-spacing: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-06-24 16:06:25 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
#recent_view {
|
|
|
|
display: none;
|
|
|
|
padding-top: var(--navbar-fixed-height);
|
|
|
|
/* Add bottom padding equal to `#bottom-whitespace`. This helps us keep #compose visible
|
|
|
|
at its max-height without overlapping with any visible topics. */
|
2024-06-12 01:01:10 +02:00
|
|
|
padding-bottom: var(--max-unmaximized-compose-height);
|
2024-06-03 12:05:29 +02:00
|
|
|
|
|
|
|
& td {
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 3px 8px;
|
|
|
|
border-top: 1px solid var(--color-border-recent-view-row);
|
|
|
|
}
|
2020-06-24 16:06:25 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_view_focusable {
|
|
|
|
/* Use flexbox to align icons vertically */
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-08-22 16:55:39 +02:00
|
|
|
|
2024-07-24 12:23:09 +02:00
|
|
|
.recent-view-table-link,
|
|
|
|
& > .zulip-icon {
|
2024-06-03 12:05:29 +02:00
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-within {
|
|
|
|
/* Use the same color as the message feed pointer */
|
|
|
|
box-shadow: 0 3px 0 var(--color-outline-focus);
|
|
|
|
}
|
2024-04-12 06:02:56 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&.change_visibility_policy.visibility-policy-popover-visible {
|
|
|
|
.zulip-icon-inherit {
|
|
|
|
opacity: 0.4;
|
2023-08-22 16:55:39 +02:00
|
|
|
}
|
2020-06-24 15:44:12 +02:00
|
|
|
}
|
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&.change_visibility_policy .zulip-icon-inherit {
|
|
|
|
opacity: 0;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&:focus {
|
|
|
|
opacity: 0.2;
|
2020-06-01 14:52:54 +02:00
|
|
|
}
|
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2020-06-01 14:52:54 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
& a {
|
|
|
|
color: var(--color-recent-view-link);
|
|
|
|
text-decoration: none;
|
2023-08-24 19:07:11 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&:hover {
|
|
|
|
color: var(--color-recent-view-link-hover);
|
2020-05-23 09:39:47 +02:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2020-05-23 09:39:47 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.empty-table-message {
|
|
|
|
background-color: var(--color-background);
|
|
|
|
padding: 3em 1em;
|
|
|
|
}
|
2022-04-24 06:13:19 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.fa-check-square-o,
|
|
|
|
.fa-square-o {
|
|
|
|
padding: 0 2px;
|
|
|
|
width: 10px;
|
|
|
|
}
|
2020-06-01 14:52:54 +02:00
|
|
|
|
2024-07-17 19:19:49 +02:00
|
|
|
.zulip-icon-user {
|
2024-06-13 20:57:13 +02:00
|
|
|
/* Legacy 11.2px size at 14px/1em. */
|
|
|
|
font-size: 0.8em;
|
2024-07-03 19:17:54 +02:00
|
|
|
text-align: center;
|
2024-06-03 12:05:29 +02:00
|
|
|
opacity: 0.6;
|
|
|
|
}
|
2023-05-29 20:59:27 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.table_fix_head {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
2023-10-04 19:07:01 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent-view-load-more-container {
|
|
|
|
margin: 20px 10px;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2023-10-04 19:07:01 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.fetch-messages-button {
|
|
|
|
display: grid;
|
|
|
|
justify-items: center;
|
2023-10-04 19:07:01 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.loading_indicator_spinner {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
2023-10-04 19:07:01 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
path {
|
|
|
|
fill: var(--color-recent-view-loading-spinner);
|
2023-10-04 19:07:01 +02:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2023-10-04 19:07:01 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.table_fix_head table th {
|
|
|
|
padding: 8px;
|
|
|
|
text-align: left;
|
2024-07-22 19:32:35 +02:00
|
|
|
|
|
|
|
&[data-sort] {
|
2024-07-23 16:21:39 +02:00
|
|
|
padding-right: var(--table-header-sortable-column-padding-right);
|
2024-07-22 19:32:35 +02:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2023-10-04 19:07:01 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
#recent_view_filter_buttons {
|
|
|
|
padding: 12px 10px 0;
|
|
|
|
display: flex;
|
|
|
|
/* Search box has no height without this in safari. */
|
|
|
|
flex: 0 0 auto;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
background: var(--color-background);
|
|
|
|
}
|
2023-07-24 18:19:58 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.search_group {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0 -27px 10px 0;
|
|
|
|
}
|
2023-07-24 18:19:58 +02:00
|
|
|
|
2024-09-05 12:01:26 +02:00
|
|
|
#recent_view_search:placeholder-shown + #recent_view_search_clear {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
#recent_view_search {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding-right: 20px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2023-09-14 10:19:44 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.clear_search_button {
|
|
|
|
/* Overrides app_components.css property. */
|
|
|
|
padding-top: 4px !important;
|
|
|
|
}
|
2023-09-13 14:52:55 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.btn-recent-filters {
|
|
|
|
border-radius: 40px;
|
|
|
|
margin: 0 5px 10px 0;
|
2023-09-13 14:52:55 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&:focus {
|
|
|
|
background-color: hsl(0deg 0% 80%);
|
|
|
|
outline: 0;
|
2020-05-23 09:24:29 +02:00
|
|
|
}
|
2020-05-22 08:16:08 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&.fake_disabled_button {
|
|
|
|
cursor: not-allowed;
|
|
|
|
opacity: 0.5;
|
2020-05-23 09:04:51 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: hsl(0deg 0% 100%);
|
|
|
|
border-color: hsl(0deg 0% 80%);
|
|
|
|
}
|
2020-07-02 13:47:28 +02:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2020-07-02 13:47:28 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.btn-recent-selected {
|
|
|
|
background-color: hsl(0deg 11% 93%);
|
|
|
|
}
|
2020-05-23 09:04:51 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.unread_count {
|
|
|
|
/* Focus underline can only occupy the total length of the unread count */
|
|
|
|
margin-right: 1px;
|
|
|
|
margin-left: 1px;
|
|
|
|
align-self: center;
|
2024-11-04 22:21:07 +01:00
|
|
|
opacity: 1;
|
|
|
|
outline: 0 solid var(--color-background-unread-counter);
|
|
|
|
transition: outline-width 0.1s ease;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
outline-width: 1.5px;
|
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2020-05-29 12:48:45 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.unread_mention_info:not(:empty) {
|
|
|
|
/* Zero out right margin from left sidebar presentation. */
|
|
|
|
margin-right: 0;
|
|
|
|
/* Match with its font-size. */
|
|
|
|
line-height: 14px;
|
|
|
|
/* Present a default/arrow cursor */
|
|
|
|
cursor: default;
|
|
|
|
}
|
2020-06-24 16:06:25 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.unread_hidden {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2022-04-14 05:02:53 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.flex_container_pm {
|
|
|
|
/* Flex container to fit in user circle and group icon */
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-04-14 05:02:53 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.tippy-content {
|
|
|
|
font-weight: 400;
|
2020-05-23 09:04:51 +02:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2020-05-23 09:04:51 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.flex_container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-05-23 09:04:51 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.flex_container .right_part {
|
|
|
|
margin-left: auto;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-07-05 12:28:33 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_topic_actions {
|
|
|
|
/* Add spacing between mention marker, unread count
|
|
|
|
and mute icon */
|
|
|
|
margin-left: 5px;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
}
|
2022-10-14 17:37:47 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.mention_in_unread {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
2022-06-02 18:48:35 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_topic_actions.dummy_action_button {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2022-10-20 13:49:03 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_topic_actions .recent_view_focusable {
|
|
|
|
/* Keep a uniform distance from the focus-within
|
|
|
|
indicator at bottom. */
|
|
|
|
padding-bottom: 3px;
|
|
|
|
/* But push down with margin by the same amount,
|
|
|
|
so as to preserve vertical alignment introduced
|
|
|
|
by the parent flexbox. */
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
2022-04-24 06:13:19 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_topic_actions .recipient_bar_icon {
|
|
|
|
/* Zero out padding used in recipient bar. */
|
|
|
|
padding-right: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2020-07-05 12:28:33 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_view_participants {
|
|
|
|
display: inline-flex; /* Causes LI items to display in row. */
|
|
|
|
list-style-type: none;
|
|
|
|
margin: auto; /* Centers vertically / horizontally in flex container. */
|
|
|
|
height: 24px;
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 6px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
/*
|
|
|
|
By using the row-reverse layout, the visual ordering will be opposite of
|
|
|
|
the DOM ordering. This will allows us to stack the items in the opposite
|
|
|
|
direction of the natural stacking order without having to mess with the
|
|
|
|
zIndex value. The MAJOR DOWNSIDE is that the HTML itself now reads
|
|
|
|
backwards, which super janky.
|
|
|
|
*/
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
2020-07-05 12:28:33 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_view_participant_item {
|
|
|
|
height: 24px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 1.5px;
|
|
|
|
position: relative;
|
|
|
|
min-width: 24px;
|
|
|
|
cursor: pointer;
|
2020-05-22 21:04:03 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.fa-user {
|
2022-10-14 17:37:47 +02:00
|
|
|
opacity: 0.7;
|
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2022-10-14 17:37:47 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_view_participant_avatar,
|
|
|
|
.recent_view_participant_overflow {
|
|
|
|
border: 0;
|
|
|
|
border-radius: 6px;
|
|
|
|
color: hsl(0deg 0% 100%);
|
|
|
|
display: block;
|
|
|
|
height: 24px;
|
|
|
|
text-align: center;
|
|
|
|
background-color: hsl(0deg 0% 88%);
|
|
|
|
}
|
2022-10-30 07:39:29 +01:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_view_participant_overflow {
|
|
|
|
color: hsl(0deg 0% 0%);
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
2022-04-21 17:31:34 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
& tr {
|
|
|
|
background-color: var(--color-background-recent-view-row);
|
2023-08-22 21:17:45 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-background-recent-view-row-hover);
|
2020-05-22 21:04:03 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.change_visibility_policy .zulip-icon-inherit {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
2020-05-22 21:04:03 +02:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2020-05-22 21:04:03 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.unread_topic {
|
|
|
|
background-color: var(--color-background-recent-view-unread-row);
|
2021-05-12 18:38:36 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: var(
|
|
|
|
--color-background-recent-view-unread-row-hover
|
|
|
|
);
|
2020-05-22 21:04:03 +02:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2020-05-22 21:04:03 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.last_msg_time {
|
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2020-05-22 21:04:03 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
& thead th {
|
|
|
|
background-color: hsl(0deg 0% 100%);
|
|
|
|
color: inherit;
|
|
|
|
border-top: 1px solid hsl(0deg 0% 0% / 20%) !important;
|
|
|
|
border-bottom: 1px solid hsl(0deg 0% 0% / 20%) !important;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
&.active::after,
|
|
|
|
&[data-sort]:hover::after {
|
|
|
|
content: " \f0d8";
|
|
|
|
white-space: pre;
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
padding-top: 3px;
|
|
|
|
font: normal normal normal 12px/1 FontAwesome;
|
|
|
|
font-size: inherit;
|
2020-05-22 21:04:03 +02:00
|
|
|
}
|
2020-06-01 13:24:29 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 100ms ease-out;
|
2020-07-05 12:20:53 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&.descend::after {
|
|
|
|
content: " \f0d7";
|
2020-07-05 12:20:53 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&[data-sort]:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: hsl(0deg 0% 95%);
|
|
|
|
transition: background-color 100ms ease-in-out;
|
2020-07-05 12:20:53 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
&:not(.active)::after {
|
|
|
|
opacity: 0.3;
|
2020-06-01 13:24:29 +02:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
|
|
|
}
|
2020-06-01 13:24:29 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_topic_stream,
|
|
|
|
.recent-view-stream-header {
|
|
|
|
width: 25%;
|
|
|
|
}
|
2020-06-01 13:24:29 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent-view-topic-header {
|
|
|
|
width: 35%;
|
|
|
|
}
|
2020-06-01 13:24:29 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent-view-unread-header {
|
|
|
|
width: 5%;
|
2020-06-01 13:24:29 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.zulip-icon-unread {
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
2020-06-01 13:24:29 +02:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2020-07-05 12:30:01 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_topic_users,
|
|
|
|
.recent-view-participants-header {
|
|
|
|
width: 20%;
|
|
|
|
}
|
2022-10-27 05:57:42 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_topic_timestamp,
|
|
|
|
.recent-view-last-msg-time-header {
|
|
|
|
width: 15%;
|
|
|
|
}
|
2020-11-04 05:12:17 +01:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
/* These fixed column widths prevent column widths from being adjusted
|
|
|
|
as new messages arrive from the server. */
|
|
|
|
.recent_topic_stream {
|
|
|
|
padding: 8px 0 8px 8px;
|
2022-10-27 05:57:42 +02:00
|
|
|
|
2024-07-03 19:17:54 +02:00
|
|
|
.recent_view_focusable {
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "starting-anchor-element row-content";
|
|
|
|
/* 14px at 14px/1em */
|
|
|
|
grid-template-columns: 1em minmax(0, 1fr);
|
|
|
|
/* Visually match the 8px of padding to
|
|
|
|
the left of the filter icon. */
|
|
|
|
gap: 7px;
|
|
|
|
place-content: center center;
|
2024-10-15 19:46:06 +02:00
|
|
|
/* Visually match the 8px of padding around the
|
|
|
|
filter icon, and keep DM icons from colliding
|
|
|
|
with the "Direct messages" text. */
|
|
|
|
margin-right: 9px;
|
2024-07-03 19:17:54 +02:00
|
|
|
}
|
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
& a {
|
|
|
|
word-break: break-word;
|
|
|
|
hyphens: auto;
|
2020-11-04 05:12:17 +01:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.recent_topic_name {
|
|
|
|
width: 40%;
|
2020-11-04 05:12:17 +01:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
& a {
|
|
|
|
word-break: break-word;
|
|
|
|
/* No hyphes for word break since it caused hyphens to appear before
|
|
|
|
the ellipsis `longText-...` which is not desirable. Ellipsis appears due
|
|
|
|
to the line clamp applied below.
|
|
|
|
*/
|
2020-11-04 05:12:17 +01:00
|
|
|
}
|
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.line_clamp {
|
|
|
|
/* This -webkit-box display property is webkit-specific, but
|
|
|
|
it appears that line clamping works fine for this component
|
|
|
|
on Firefox anyway. */
|
|
|
|
/* stylelint-disable-next-line value-no-vendor-prefix */
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow: hidden;
|
2020-11-04 05:12:17 +01:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2020-11-04 05:12:17 +01:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
& thead .last_msg_time_header {
|
|
|
|
/* The responsive table of bootstrap
|
|
|
|
somehow ignores the width of ::after
|
|
|
|
element. This ensures it is always visible.
|
|
|
|
20px = space occupied by ::after (icon) +
|
|
|
|
some extra padding.
|
|
|
|
*/
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (width < $md_min) {
|
|
|
|
/* Hide participants and last message time
|
|
|
|
on smaller screens. This ensures user always
|
|
|
|
has a nice UI experience. */
|
|
|
|
.recent_topic_users,
|
|
|
|
.recent_topic_timestamp,
|
|
|
|
thead .participants_header,
|
|
|
|
thead .last_msg_time_header {
|
|
|
|
display: none;
|
2020-09-23 10:47:04 +02:00
|
|
|
}
|
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.recent_topic_actions {
|
|
|
|
margin-right: 5px;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
}
|
2021-05-30 09:00:20 +02:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.private_conversation_row {
|
|
|
|
.recent_topic_stream {
|
|
|
|
/* Reduce padding of stream section so that user status
|
|
|
|
icon can have more padding without impacting height of the row */
|
|
|
|
padding: 5px 0 5px 8px;
|
2020-07-05 12:31:02 +02:00
|
|
|
}
|
2022-11-09 13:30:08 +01:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.pm_status_icon {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2024-09-19 22:03:46 +02:00
|
|
|
/* To accommodate zulip-icon-triple-users icon */
|
2024-06-03 12:05:29 +02:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
|
2024-09-19 22:03:46 +02:00
|
|
|
.zulip-icon.zulip-icon-triple-users,
|
2024-06-03 12:05:29 +02:00
|
|
|
.zulip-icon.zulip-icon-bot {
|
|
|
|
opacity: 0.6;
|
2022-11-09 13:30:08 +01:00
|
|
|
}
|
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.user_circle {
|
2024-06-26 17:11:57 +02:00
|
|
|
min-width: var(
|
|
|
|
--length-user-status-circle-recent-conversations
|
|
|
|
);
|
|
|
|
height: var(--length-user-status-circle-recent-conversations);
|
2024-06-03 12:05:29 +02:00
|
|
|
float: left;
|
|
|
|
position: unset;
|
2022-11-09 13:30:08 +01:00
|
|
|
}
|
|
|
|
}
|
2024-06-13 22:34:31 +02:00
|
|
|
|
|
|
|
.user_status_icon_wrapper {
|
|
|
|
/* Keep status emoji with usernames,
|
|
|
|
and better vertically align the emoji. */
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
2020-04-08 13:59:56 +02:00
|
|
|
}
|
2022-02-25 06:08:08 +01:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
.stream-privacy .zulip-icon {
|
2024-06-13 20:57:13 +02:00
|
|
|
/* Let flexbox handle vertical alignment by
|
|
|
|
pushing back against inline-block display. */
|
|
|
|
display: block;
|
2024-07-03 19:17:54 +02:00
|
|
|
text-align: center;
|
2022-02-25 06:08:08 +01:00
|
|
|
}
|
2024-06-03 12:05:29 +02:00
|
|
|
}
|
2022-03-02 03:19:59 +01:00
|
|
|
|
2024-06-03 12:05:29 +02:00
|
|
|
#recent_view_bottom_whitespace {
|
|
|
|
#recent_view_loading_messages_indicator,
|
|
|
|
.bottom-messages-logo {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 200px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
.loading_indicator_spinner {
|
2023-04-08 02:49:01 +02:00
|
|
|
position: relative;
|
2024-06-03 12:05:29 +02:00
|
|
|
top: -7px;
|
2023-04-08 02:49:01 +02:00
|
|
|
}
|
2022-03-02 03:19:59 +01:00
|
|
|
}
|
2020-04-08 13:59:56 +02:00
|
|
|
}
|
2020-07-05 12:19:09 +02:00
|
|
|
|
2023-11-23 06:35:15 +01:00
|
|
|
#recent-view-filter_widget {
|
|
|
|
display: inline-flex;
|
|
|
|
width: 150px;
|
|
|
|
margin: 0 5px 10px 0;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-background-inbox-search-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 2px solid var(--color-outline-focus);
|
|
|
|
}
|
|
|
|
}
|
2023-11-23 07:26:49 +01:00
|
|
|
|
2023-11-30 03:30:07 +01:00
|
|
|
.dropdown-widget-disabled-for-spectators #recent-view-filter_widget {
|
2023-11-23 07:26:49 +01:00
|
|
|
cursor: not-allowed;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|