2020-04-08 13:59:56 +02:00
|
|
|
.recent_topics_container {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2020-04-08 13:59:56 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-07-05 12:19:09 +02:00
|
|
|
max-height: 100vh;
|
2020-04-08 13:59:56 +02:00
|
|
|
|
2020-07-05 12:19:09 +02:00
|
|
|
#recent_topics_table {
|
|
|
|
max-width: 100%;
|
|
|
|
padding-top: 12px;
|
2020-05-23 09:24:29 +02:00
|
|
|
overflow: hidden !important;
|
2020-06-21 20:55:52 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-07-30 16:18:47 +02:00
|
|
|
border-style: solid;
|
|
|
|
border-color: hsl(0, 0%, 88%);
|
|
|
|
border-width: 0 1px;
|
|
|
|
border-radius: 0;
|
|
|
|
margin-top: 40px;
|
2021-05-13 00:16:52 +02:00
|
|
|
/* To make the table span full height
|
|
|
|
* when rows don't reach bottom of the
|
|
|
|
* window. This makes the border span
|
|
|
|
* fully to bottom in that case.
|
|
|
|
*/
|
|
|
|
min-height: 100vw;
|
2020-05-23 09:24:29 +02:00
|
|
|
|
2020-06-21 09:57:54 +02:00
|
|
|
td {
|
|
|
|
vertical-align: middle;
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 3px 8px;
|
2020-06-21 09:57:54 +02:00
|
|
|
}
|
|
|
|
|
2020-06-24 15:44:12 +02:00
|
|
|
.recent_topics_focusable {
|
|
|
|
display: inline-block;
|
2020-06-24 16:06:25 +02:00
|
|
|
|
|
|
|
& > * {
|
2020-08-06 02:42:07 +02:00
|
|
|
outline: 0;
|
2020-06-24 16:06:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-within {
|
|
|
|
/* Use the same color as the message feed pointer */
|
|
|
|
box-shadow: 0 3px 0 hsl(215, 47%, 50%);
|
|
|
|
}
|
2020-06-24 15:44:12 +02:00
|
|
|
}
|
|
|
|
|
2020-06-01 14:52:54 +02:00
|
|
|
a {
|
|
|
|
color: hsl(205, 47%, 42%);
|
|
|
|
text-decoration: none;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-06-01 14:52:54 +02:00
|
|
|
&:hover {
|
|
|
|
color: hsl(214, 40%, 58%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-01 13:30:06 +02:00
|
|
|
.required-text:empty::after {
|
|
|
|
content: attr(data-empty);
|
|
|
|
display: block;
|
|
|
|
font-style: italic;
|
|
|
|
color: hsl(0, 0%, 67%);
|
2022-02-21 12:13:41 +01:00
|
|
|
position: absolute;
|
2020-06-01 13:30:06 +02:00
|
|
|
}
|
|
|
|
|
2020-05-23 09:39:47 +02:00
|
|
|
.fa-check-square-o,
|
|
|
|
.fa-square-o {
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 0 2px;
|
2022-02-25 07:19:44 +01:00
|
|
|
width: 10px;
|
2020-05-23 09:39:47 +02:00
|
|
|
}
|
|
|
|
|
2020-05-26 10:33:35 +02:00
|
|
|
.fa-lock {
|
|
|
|
padding-right: 3px;
|
|
|
|
}
|
|
|
|
|
2020-06-12 13:17:39 +02:00
|
|
|
.table_fix_head {
|
2020-08-06 08:35:18 +02:00
|
|
|
padding: 0 !important;
|
|
|
|
/* 100px = space occupied by `recent_topics_filter_buttons`( ~49px)
|
|
|
|
+ give user some extra space at the bottom so that last
|
|
|
|
topic row is clearly visible. */
|
|
|
|
max-height: calc(100vh - 100px);
|
2020-05-23 09:24:29 +02:00
|
|
|
}
|
2020-06-01 14:52:54 +02:00
|
|
|
|
2020-06-12 13:17:39 +02:00
|
|
|
.table_fix_head table {
|
2020-09-15 22:23:01 +02:00
|
|
|
/* To keep border properties to the thead th. */
|
2020-06-01 14:52:54 +02:00
|
|
|
border-collapse: separate;
|
2021-03-18 13:57:28 +01:00
|
|
|
margin-bottom: 100px;
|
2020-05-23 09:24:29 +02:00
|
|
|
}
|
2020-05-22 08:16:08 +02:00
|
|
|
|
2020-05-23 09:04:51 +02:00
|
|
|
#recent_topics_filter_buttons {
|
2021-11-05 03:33:16 +01:00
|
|
|
margin: 0 10px;
|
2020-05-23 09:04:51 +02:00
|
|
|
display: flex;
|
2020-12-01 03:25:17 +01:00
|
|
|
/* Search box has no height without this in safari. */
|
|
|
|
flex: 0 0 auto;
|
2020-05-23 09:04:51 +02:00
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
2020-07-02 13:47:28 +02:00
|
|
|
.search_group {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
2021-11-05 03:33:16 +01:00
|
|
|
margin: 0 0 10px;
|
2020-07-02 13:47:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#recent_topics_search {
|
2020-05-23 09:04:51 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2020-07-02 13:47:28 +02:00
|
|
|
.clear_search_button {
|
2020-09-15 22:23:01 +02:00
|
|
|
/* Overrides app_components.css property. */
|
2020-07-02 13:47:28 +02:00
|
|
|
padding-top: 6px !important;
|
2020-05-29 12:48:45 +02:00
|
|
|
}
|
|
|
|
|
2020-07-05 12:19:09 +02:00
|
|
|
#recent_topics_search_clear {
|
|
|
|
margin-top: -10px !important;
|
|
|
|
}
|
|
|
|
|
2020-05-23 09:04:51 +02:00
|
|
|
.btn-recent-filters {
|
|
|
|
border-radius: 40px;
|
|
|
|
margin: 0 5px 10px 0;
|
2020-06-24 16:06:25 +02:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: hsl(0, 0%, 80%);
|
|
|
|
outline: 0;
|
|
|
|
}
|
2022-04-14 05:02:53 +02:00
|
|
|
|
|
|
|
&.fake_disabled_button {
|
|
|
|
cursor: not-allowed;
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
border-color: hsl(0, 0%, 80%);
|
|
|
|
}
|
|
|
|
}
|
2020-05-23 09:04:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-recent-selected {
|
|
|
|
background-color: hsl(0, 11%, 93%);
|
|
|
|
}
|
|
|
|
|
2021-04-09 20:57:13 +02:00
|
|
|
.unread_count {
|
2020-05-28 18:37:59 +02:00
|
|
|
margin-right: 10px;
|
2020-07-05 12:28:33 +02:00
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex_container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex_container .left_part {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex_container .right_part {
|
|
|
|
margin-left: auto;
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recent_topic_actions {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row nowrap;
|
2020-05-22 08:16:08 +02:00
|
|
|
}
|
2020-05-22 21:04:03 +02:00
|
|
|
|
2021-05-12 16:31:52 +02:00
|
|
|
.recent_topics_participants {
|
2020-05-22 21:04:03 +02:00
|
|
|
display: inline-flex; /* Causes LI items to display in row. */
|
|
|
|
list-style-type: none;
|
|
|
|
margin: auto; /* Centers vertically / horizontally in flex container. */
|
2020-06-21 09:57:54 +02:00
|
|
|
height: 24px;
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 6px;
|
|
|
|
overflow: hidden;
|
2020-05-22 21:04:03 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2021-05-12 16:31:52 +02:00
|
|
|
.recent_topics_participant_item {
|
2020-06-21 09:57:54 +02:00
|
|
|
height: 24px;
|
|
|
|
margin: 0;
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 0 1.5px;
|
2020-05-22 21:04:03 +02:00
|
|
|
position: relative;
|
2020-06-21 09:57:54 +02:00
|
|
|
min-width: 24px;
|
2022-02-17 15:42:40 +01:00
|
|
|
cursor: pointer;
|
2021-05-12 18:38:36 +02:00
|
|
|
|
|
|
|
.fa-user {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
2020-05-22 21:04:03 +02:00
|
|
|
}
|
|
|
|
|
2021-05-12 16:31:52 +02:00
|
|
|
.recent_topics_participant_avatar,
|
|
|
|
.recent_topics_participant_overflow {
|
2020-06-21 09:57:54 +02:00
|
|
|
border: 0;
|
2020-05-22 21:04:03 +02:00
|
|
|
border-radius: 6px;
|
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
display: block;
|
2020-06-21 09:57:54 +02:00
|
|
|
height: 24px;
|
2020-05-22 21:04:03 +02:00
|
|
|
text-align: center;
|
2020-07-15 08:02:27 +02:00
|
|
|
background-color: hsl(0, 0%, 88%);
|
2020-05-22 21:04:03 +02:00
|
|
|
}
|
|
|
|
|
2021-05-12 16:31:52 +02:00
|
|
|
.recent_topics_participant_overflow {
|
2020-06-21 09:57:54 +02:00
|
|
|
color: hsl(0, 0%, 0%);
|
|
|
|
line-height: 24px;
|
2020-05-22 21:04:03 +02:00
|
|
|
}
|
2020-06-01 13:24:29 +02:00
|
|
|
|
2020-07-05 12:20:53 +02:00
|
|
|
tr {
|
2020-07-05 12:19:09 +02:00
|
|
|
background-color: hsl(100, 11%, 96%);
|
2020-07-05 12:20:53 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: hsl(210, 100%, 97%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-05 12:20:53 +02:00
|
|
|
.unread_topic {
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
}
|
|
|
|
|
2020-07-05 12:20:53 +02:00
|
|
|
.last_msg_time {
|
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2020-06-01 13:24:29 +02:00
|
|
|
thead th {
|
2020-06-01 14:52:54 +02:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
2020-06-01 13:24:29 +02:00
|
|
|
color: inherit;
|
|
|
|
border-top: 1px solid hsla(0, 0%, 0%, 0.2) !important;
|
|
|
|
border-bottom: 1px solid hsla(0, 0%, 0%, 0.2) !important;
|
2020-06-01 14:52:54 +02:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2020-07-05 12:19:09 +02:00
|
|
|
z-index: 1;
|
2020-06-01 13:24:29 +02:00
|
|
|
|
|
|
|
&.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 100ms ease-out;
|
|
|
|
|
|
|
|
&.descend::after {
|
|
|
|
content: " \f0d7";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-sort]:hover {
|
|
|
|
cursor: pointer;
|
2022-02-15 17:55:56 +01:00
|
|
|
background-color: hsla(0, 0%, 95%);
|
|
|
|
transition: background-color 100ms ease-in-out;
|
2020-06-01 13:24:29 +02:00
|
|
|
|
|
|
|
&:not(.active)::after {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-05 12:30:01 +02:00
|
|
|
|
2020-11-04 05:12:17 +01:00
|
|
|
/* These fixed column widths prevent column widths from being adjusted
|
|
|
|
as new messages arrive from the server. */
|
|
|
|
.recent_topic_stream {
|
|
|
|
width: 25%;
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 8px;
|
2020-11-04 05:12:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.recent_topic_name {
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recent_topic_users {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recent_topic_timestamp {
|
|
|
|
width: 15%;
|
|
|
|
}
|
|
|
|
|
2020-09-23 10:47:04 +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;
|
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $md_min) {
|
2020-09-15 22:23:01 +02:00
|
|
|
/* Hide participants and last message time
|
|
|
|
on smaller screens. This ensures user always
|
|
|
|
has a nice UI experience. */
|
2020-07-05 12:31:02 +02:00
|
|
|
.recent_topic_users,
|
|
|
|
.recent_topic_timestamp,
|
|
|
|
thead .participants_header,
|
|
|
|
thead .last_msg_time_header {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-05-30 09:00:20 +02:00
|
|
|
|
|
|
|
.recent_topic_actions {
|
|
|
|
margin-right: 5px;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
2020-07-05 12:31:02 +02:00
|
|
|
}
|
2020-04-08 13:59:56 +02:00
|
|
|
}
|
2022-02-25 06:08:08 +01:00
|
|
|
|
|
|
|
#recent_topics_bottom_whitespace {
|
|
|
|
/* For visual reasons, in a message feed, we require a large
|
|
|
|
* bottom_whitespace to make it convenient to display new
|
|
|
|
* messages as they come in and prevent occluding the last
|
|
|
|
* message with an open compose box. Here, the bottom item
|
|
|
|
* is rarely interesting context for a message one is
|
|
|
|
* composing, but we do need at least 41px to allow the
|
|
|
|
* close-compose-box UI element (including border) to not
|
|
|
|
* overlap content. Add some more margin so that user
|
|
|
|
* can clearly see the end of the topics.
|
|
|
|
*/
|
|
|
|
height: 120px;
|
|
|
|
|
|
|
|
#recent_topics_loading_messages_indicator,
|
|
|
|
.bottom-messages-logo {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 200px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
.loading_indicator_spinner {
|
|
|
|
position: relative;
|
|
|
|
top: -7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-02 03:19:59 +01:00
|
|
|
|
|
|
|
.stream-privacy .zulip-icon.zulip-icon-globe {
|
|
|
|
left: -1px;
|
|
|
|
}
|
2020-04-08 13:59:56 +02:00
|
|
|
}
|
2020-07-05 12:19:09 +02:00
|
|
|
|
|
|
|
#recent_topics_view {
|
|
|
|
display: none;
|
|
|
|
position: relative;
|
|
|
|
}
|