2020-04-08 13:59:56 +02:00
|
|
|
.recent_topics_container {
|
|
|
|
position: relative;
|
|
|
|
height: 95%;
|
|
|
|
width: 70%;
|
|
|
|
max-width: 1200px;
|
|
|
|
max-height: 1000px;
|
|
|
|
padding: 0px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
@media (max-width: 1130px) {
|
|
|
|
max-width: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
height: 95%;
|
|
|
|
max-width: none;
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recent_topics_header {
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
text-align: center;
|
|
|
|
border-bottom: 1px solid hsl(0, 0%, 87%);
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.1em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.exit {
|
|
|
|
font-weight: 400;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
color: hsl(0, 0%, 67%);
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.exit-sign {
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
margin-left: 3px;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: 600;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.recent_topics_table {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 15px;
|
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-05-23 09:24:29 +02:00
|
|
|
|
2020-06-21 09:57:54 +02:00
|
|
|
td {
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 3px 8px 3px 8px;
|
|
|
|
}
|
|
|
|
|
2020-06-24 15:44:12 +02:00
|
|
|
.recent_topics_focusable {
|
|
|
|
display: inline-block;
|
2020-06-24 16:06:25 +02:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
outline: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&: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;
|
|
|
|
&: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%);
|
|
|
|
}
|
|
|
|
|
2020-05-23 09:39:47 +02:00
|
|
|
.fa-check-square-o,
|
|
|
|
.fa-square-o {
|
|
|
|
padding: 0 2px 0 2px;
|
|
|
|
}
|
|
|
|
|
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-05-23 09:24:29 +02:00
|
|
|
padding: 10px;
|
|
|
|
padding-top: 0px !important;
|
|
|
|
overflow-y: auto;
|
2020-07-08 08:17:28 +02:00
|
|
|
max-height: 100%;
|
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-06-01 14:52:54 +02:00
|
|
|
// To keep border properties to the thead th.
|
|
|
|
border-collapse: separate;
|
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 {
|
|
|
|
margin: 0 10px 0 10px;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
#recent_topics_search {
|
|
|
|
margin: 0 0 10px 0px;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2020-05-29 12:48:45 +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;
|
|
|
|
}
|
2020-05-23 09:04:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-recent-selected {
|
|
|
|
background-color: hsl(0, 11%, 93%);
|
|
|
|
}
|
|
|
|
|
2020-05-22 08:16:08 +02:00
|
|
|
.recent_topic_unread_count {
|
2020-06-13 17:14:13 +02:00
|
|
|
background-color: hsl(105, 2%, 50%) !important;
|
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
height: 16px;
|
|
|
|
line-height: 16px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 400;
|
|
|
|
letter-spacing: .6px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: hsl(0, 0%, 89%);
|
|
|
|
padding: 0 4px;
|
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
|
|
|
|
|
|
|
.recent_avatars {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recent_avatars_item {
|
2020-06-21 09:57:54 +02:00
|
|
|
height: 24px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 1.5px 0 1.5px;
|
2020-05-22 21:04:03 +02:00
|
|
|
position: relative;
|
2020-06-21 09:57:54 +02:00
|
|
|
min-width: 24px;
|
2020-05-22 21:04:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.recent_avatars_img,
|
|
|
|
.recent_avatars_others {
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.recent_avatars_others {
|
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 {
|
|
|
|
background-color: hsl(100, 11%, 96%);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: hsl(210, 100%, 97%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.unread_topic {
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
z-index: 1000;
|
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;
|
2020-06-01 14:52:54 +02:00
|
|
|
background-color: hsla(0, 0%, 95%);
|
2020-06-01 13:24:29 +02:00
|
|
|
transition: background-color 100ms ease-in-out;
|
|
|
|
|
|
|
|
&:not(.active)::after {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-05 12:30:01 +02:00
|
|
|
|
|
|
|
.recent_topic_stream,
|
|
|
|
thead .last_msg_time_header {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2020-07-05 12:31:02 +02:00
|
|
|
|
|
|
|
@media (max-width: 750px) {
|
|
|
|
// 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;
|
|
|
|
}
|
|
|
|
table td {
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
}
|
2020-04-08 13:59:56 +02:00
|
|
|
}
|
|
|
|
}
|