2023-08-09 07:23:30 +02:00
|
|
|
.inbox-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
background: var(--color-background-inbox);
|
|
|
|
font-size: 15px;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
border-right: 1px solid var(--color-border-inbox);
|
|
|
|
border-left: 1px solid var(--color-border-inbox);
|
2023-09-18 07:01:15 +02:00
|
|
|
min-height: 100vh;
|
2023-08-09 07:23:30 +02:00
|
|
|
|
|
|
|
#inbox-pane {
|
|
|
|
max-width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: var(--navbar-fixed-height) 25px 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--color-text-message-header);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unread_count {
|
|
|
|
opacity: 0.7;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search_group {
|
2023-09-14 15:56:22 +02:00
|
|
|
position: sticky;
|
|
|
|
top: var(--navbar-fixed-height);
|
2023-09-18 10:47:38 +02:00
|
|
|
background: var(--color-background-inbox);
|
2023-08-09 07:23:30 +02:00
|
|
|
display: flex;
|
2023-09-14 15:56:22 +02:00
|
|
|
padding: 15px 0 10px;
|
|
|
|
z-index: 1;
|
2023-08-09 07:23:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-inbox-filter {
|
|
|
|
border: none;
|
|
|
|
height: 30px;
|
|
|
|
border-radius: 5px;
|
|
|
|
background: transparent;
|
|
|
|
color: var(--color-text-default);
|
|
|
|
padding: 5px 10px;
|
|
|
|
margin-left: 10px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: var(--color-background-btn-inbox-focus);
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-inbox-selected {
|
|
|
|
background-color: var(--color-background-btn-inbox-selected);
|
|
|
|
}
|
|
|
|
|
|
|
|
#inbox-filters {
|
|
|
|
.zulip-icon-search-inbox {
|
|
|
|
position: absolute;
|
2023-09-14 15:56:22 +02:00
|
|
|
top: 23px;
|
|
|
|
left: 6px;
|
2023-08-09 07:23:30 +02:00
|
|
|
color: var(--color-icon-search-inbox);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#inbox-search {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
width: var(--width-inbox-search);
|
|
|
|
height: var(--height-inbox-search);
|
|
|
|
background-color: var(--color-background-inbox-search);
|
|
|
|
border: 1px solid transparent;
|
|
|
|
padding-right: 20px;
|
|
|
|
padding-left: 30px;
|
|
|
|
font-size: 14px;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 17px;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
background: var(--color-background-inbox-search-focus);
|
|
|
|
border: 1px solid var(--color-border-inbox-search-focus);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#inbox-list {
|
2023-09-14 15:56:22 +02:00
|
|
|
overflow: hidden;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid hsl(0deg 0% 0% / 20%);
|
|
|
|
margin-bottom: var(--max-unexpanded-compose-height);
|
2023-09-18 19:13:33 +02:00
|
|
|
/* Width of muted filter(130) + margin(10) + search padding(50) = 190px */
|
|
|
|
max-width: calc(var(--width-inbox-search) + 190px);
|
2023-08-09 07:23:30 +02:00
|
|
|
|
2023-09-14 19:27:42 +02:00
|
|
|
.inbox-focus-border {
|
2023-08-09 07:23:30 +02:00
|
|
|
display: flex;
|
2023-09-14 19:27:42 +02:00
|
|
|
min-height: 30px;
|
|
|
|
border: 2px solid transparent;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2023-09-18 10:47:38 +02:00
|
|
|
.inbox-empty-text {
|
|
|
|
display: none;
|
|
|
|
font-style: italic;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2023-09-14 19:27:42 +02:00
|
|
|
.inbox-header {
|
|
|
|
display: block;
|
2023-08-09 07:23:30 +02:00
|
|
|
height: 30px;
|
|
|
|
|
2023-09-14 19:27:42 +02:00
|
|
|
.inbox-focus-border {
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
2023-08-09 07:23:30 +02:00
|
|
|
.inbox-left-part {
|
|
|
|
grid-template: auto / auto min-content;
|
|
|
|
grid-template-areas: "header_name unread_count";
|
|
|
|
}
|
|
|
|
|
|
|
|
.inbox-header-name {
|
|
|
|
grid-area: header_name;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 1px 6px;
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
& a {
|
2023-09-12 13:02:36 +02:00
|
|
|
margin: 0 4px;
|
|
|
|
padding: 1px 0;
|
2023-08-09 07:23:30 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus a {
|
2023-09-12 13:02:36 +02:00
|
|
|
box-shadow: inset 0 -3px 0 var(--color-outline-focus);
|
2023-08-09 07:23:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
2023-09-14 19:27:42 +02:00
|
|
|
|
|
|
|
.inbox-focus-border {
|
|
|
|
border-color: var(--color-outline-focus);
|
|
|
|
}
|
2023-08-09 07:23:30 +02:00
|
|
|
|
|
|
|
.toggle-inbox-header-icon {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-group {
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-lock {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-envelope,
|
|
|
|
.stream-privacy.filter-icon {
|
|
|
|
font-size: 16px;
|
|
|
|
margin: 0;
|
|
|
|
margin-right: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-envelope {
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.collapsible-button {
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.zulip-icon-arrow-down {
|
|
|
|
font-size: 16px;
|
2023-09-14 19:27:42 +02:00
|
|
|
padding: 5px 4px;
|
2023-08-09 07:23:30 +02:00
|
|
|
margin-right: 9px;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2023-09-12 04:25:21 +02:00
|
|
|
.icon-collapsed-state {
|
2023-08-09 07:23:30 +02:00
|
|
|
transform: rotate(270deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user_circle {
|
|
|
|
/* size of the user activity circle */
|
|
|
|
min-width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
margin-right: 5px;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.zulip-icon-bot {
|
|
|
|
font-size: 11px;
|
|
|
|
margin-left: -2px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inbox-row {
|
2023-09-14 19:27:42 +02:00
|
|
|
display: block;
|
2023-08-09 07:23:30 +02:00
|
|
|
background-color: var(--color-background-inbox-row);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--color-background-inbox-row-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2023-09-14 19:27:42 +02:00
|
|
|
.inbox-focus-border {
|
|
|
|
border: 2px solid var(--color-outline-focus);
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2023-08-09 07:23:30 +02:00
|
|
|
outline: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inbox-left-part {
|
|
|
|
grid-template: auto / min-content auto min-content;
|
|
|
|
grid-template-areas: "match_topic_and_dm_start recipient_info unread_count";
|
|
|
|
}
|
|
|
|
|
|
|
|
.fake-collapse-button,
|
|
|
|
.inbox-topic-container .user_circle {
|
|
|
|
grid-area: match_topic_and_dm_start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recipient_info,
|
|
|
|
.inbox-topic-name {
|
|
|
|
grid-area: recipient_info;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.unread_count {
|
|
|
|
grid-area: unread_count;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-left: 10px;
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stream-privacy {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-right: 4px;
|
|
|
|
margin-left: 17px;
|
|
|
|
|
|
|
|
.zulip-icon {
|
|
|
|
line-height: 14px;
|
|
|
|
font-size: 16px;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.inbox-topic-name {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
2023-09-12 13:02:36 +02:00
|
|
|
|
|
|
|
& a {
|
|
|
|
padding: 1px 0;
|
|
|
|
}
|
2023-08-09 07:23:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.inbox-left-part-wrapper {
|
|
|
|
display: flex;
|
2023-09-18 19:13:33 +02:00
|
|
|
width: 80%;
|
2023-08-09 07:23:30 +02:00
|
|
|
}
|
|
|
|
|
2023-09-12 13:02:36 +02:00
|
|
|
#inbox-direct-messages-container {
|
|
|
|
/* Since a direct message row can have span to multiple lines,
|
|
|
|
having an underline focus will not work very well.
|
|
|
|
*/
|
|
|
|
.inbox-row:focus {
|
2023-09-14 13:41:59 +02:00
|
|
|
box-shadow: inset 0 0 0 2px var(--color-outline-focus);
|
2023-09-12 13:02:36 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-09 07:23:30 +02:00
|
|
|
#inbox-direct-messages-container .inbox-left-part {
|
|
|
|
padding: 3px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#inbox-direct-messages-container .inbox-left-part,
|
|
|
|
.inbox-topic-container .inbox-left-part {
|
|
|
|
/* 50px - space occupied by user circle icon */
|
|
|
|
padding-left: 37px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inbox-left-part {
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recipients_info {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
column-gap: 10px;
|
|
|
|
grid-area: recipient_info;
|
|
|
|
|
|
|
|
.user_block {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recipients_name {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#inbox_filter_mute_toggle {
|
|
|
|
font-size: 16px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#inbox-view {
|
|
|
|
display: none;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
#inbox-dm-header {
|
|
|
|
background-color: var(--color-background-private-message-header);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hidden_by_filters,
|
|
|
|
.collapsed_container {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|