2019-03-06 21:17:06 +01:00
|
|
|
/* The width of the empty space in the sidebar to separate
|
|
|
|
content from the edge of the window */
|
|
|
|
$far_left_gutter_size: 10px;
|
|
|
|
/* This represents the space in the sidebar reserved for symbols like
|
|
|
|
the #; labels like the the stream name go to the right of this. */
|
|
|
|
$left_col_size: 19px;
|
|
|
|
/* The full topic indentation includes 4px of indent in addition to
|
|
|
|
the above (and another 5px of padding not measured here) */
|
2019-08-30 19:01:28 +02:00
|
|
|
$topic_indent: calc($far_left_gutter_size + $left_col_size + 4px);
|
2021-07-01 10:19:59 +02:00
|
|
|
$topic_resolve_width: 13px;
|
2022-09-13 13:15:57 +02:00
|
|
|
/* Space between section in the left sidebar. */
|
|
|
|
$sections_vertical_gutter: 8px;
|
2022-10-04 23:33:51 +02:00
|
|
|
$bottom_scrolling_buffer: 25px;
|
2023-01-31 09:53:46 +01:00
|
|
|
/* space PM / stream / topic names from unread counters / @ mention
|
|
|
|
indicators by 3px on the right */
|
|
|
|
$before_unread_count_padding: 3px;
|
2019-03-06 21:17:06 +01:00
|
|
|
|
2020-03-19 15:01:07 +01:00
|
|
|
.hashtag {
|
|
|
|
&:empty {
|
|
|
|
&::after {
|
|
|
|
content: "#";
|
|
|
|
line-height: 0;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 800;
|
|
|
|
}
|
|
|
|
}
|
2019-03-03 16:53:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.stream-privacy {
|
|
|
|
font-size: 15px;
|
2019-03-05 01:05:16 +01:00
|
|
|
font-weight: 800;
|
2019-03-06 21:17:06 +01:00
|
|
|
min-width: $left_col_size;
|
2019-04-11 12:46:04 +02:00
|
|
|
text-align: center;
|
2022-03-01 11:25:40 +01:00
|
|
|
|
|
|
|
.zulip-icon.zulip-icon-globe {
|
|
|
|
font-size: 12px;
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
2023-04-08 02:49:01 +02:00
|
|
|
|
|
|
|
.zulip-icon.zulip-icon-hashtag {
|
|
|
|
font-size: 13px;
|
|
|
|
position: relative;
|
|
|
|
top: 1.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.zulip-icon.zulip-icon-lock {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2019-04-13 19:53:33 +02:00
|
|
|
}
|
|
|
|
|
2019-04-13 22:20:28 +02:00
|
|
|
#left-sidebar .filter-icon i {
|
2019-04-13 19:53:33 +02:00
|
|
|
padding-right: 3px;
|
2022-03-25 08:25:33 +01:00
|
|
|
|
2023-04-08 02:49:01 +02:00
|
|
|
&.zulip-icon-lock {
|
2022-03-25 08:25:33 +01:00
|
|
|
position: relative;
|
2023-04-08 02:49:01 +02:00
|
|
|
top: 2px;
|
2022-03-25 08:25:33 +01:00
|
|
|
}
|
2019-03-06 21:17:06 +01:00
|
|
|
}
|
|
|
|
|
2019-03-03 16:53:15 +01:00
|
|
|
#stream_filters,
|
2019-03-03 16:06:30 +01:00
|
|
|
#global_filters {
|
2020-03-20 11:04:15 +01:00
|
|
|
margin-right: 12px;
|
2019-03-03 16:06:30 +01:00
|
|
|
}
|
|
|
|
|
2019-08-29 01:41:23 +02:00
|
|
|
li.show-more-topics {
|
2023-03-17 22:10:10 +01:00
|
|
|
& a {
|
2019-08-29 01:41:23 +02:00
|
|
|
font-size: 12px;
|
2022-02-18 11:04:31 +01:00
|
|
|
margin-left: $topic_resolve_width;
|
2019-08-29 01:41:23 +02:00
|
|
|
}
|
2019-03-03 16:53:15 +01:00
|
|
|
}
|
|
|
|
|
2022-02-11 19:58:26 +01:00
|
|
|
#streams_inline_icon,
|
2020-10-05 16:47:58 +02:00
|
|
|
.streams_filter_icon {
|
2016-10-28 07:12:32 +02:00
|
|
|
float: right;
|
2020-08-04 23:58:56 +02:00
|
|
|
opacity: 0.5;
|
2021-06-10 06:55:20 +02:00
|
|
|
padding: 3px;
|
2022-09-13 13:15:57 +02:00
|
|
|
margin-left: 4px;
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2020-03-20 02:52:26 +01:00
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2022-02-11 19:58:26 +01:00
|
|
|
.streams_inline_icon_wrapper {
|
2021-06-05 16:07:11 +02:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2020-10-05 16:50:26 +02:00
|
|
|
.streams_filter_icon.web_public {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2022-02-11 19:58:26 +01:00
|
|
|
#streams_inline_icon {
|
2022-09-13 13:15:57 +02:00
|
|
|
margin-right: 8px;
|
2017-04-17 22:19:47 +02:00
|
|
|
}
|
|
|
|
|
2016-10-28 07:12:32 +02:00
|
|
|
.tooltip {
|
2019-08-04 14:57:32 +02:00
|
|
|
max-width: 18em;
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#stream_filters {
|
|
|
|
overflow: visible;
|
2021-03-01 06:33:11 +01:00
|
|
|
margin-bottom: 5px;
|
2020-03-20 11:04:15 +01:00
|
|
|
margin-right: 12px;
|
2016-10-28 07:12:32 +02:00
|
|
|
padding: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
|
2022-11-02 17:38:38 +01:00
|
|
|
.input-append.topic_search_section {
|
|
|
|
padding: 2px 0 2px calc($topic_indent - $topic_resolve_width);
|
|
|
|
margin-bottom: 3px;
|
|
|
|
margin-left: 3px;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input {
|
2022-11-02 17:38:38 +01:00
|
|
|
width: calc(100% - 50px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li {
|
|
|
|
& a:hover {
|
2023-01-31 09:53:46 +01:00
|
|
|
text-decoration: none;
|
2020-03-20 02:00:33 +01:00
|
|
|
}
|
2017-04-17 22:19:47 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& ul {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-left: 0;
|
2017-04-17 22:19:47 +02:00
|
|
|
|
2020-03-20 02:00:33 +01:00
|
|
|
&.topic-list li {
|
2021-11-05 03:16:06 +01:00
|
|
|
padding: 2px 0 2px calc($topic_indent - $topic_resolve_width);
|
2021-06-08 18:42:06 +02:00
|
|
|
|
|
|
|
&.filter-topics {
|
|
|
|
padding-bottom: 0;
|
2022-10-27 14:04:02 +02:00
|
|
|
position: sticky;
|
2022-11-02 05:16:11 +01:00
|
|
|
top: calc($sections_vertical_gutter + 43px);
|
2022-10-27 14:04:02 +02:00
|
|
|
z-index: 2;
|
2021-06-08 18:42:06 +02:00
|
|
|
}
|
2020-03-20 02:00:33 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-17 22:19:47 +02:00
|
|
|
|
2021-04-09 16:40:09 +02:00
|
|
|
.subscription_block .unread_count {
|
2020-03-20 02:00:33 +01:00
|
|
|
margin-right: 15px;
|
|
|
|
}
|
2020-03-20 15:58:09 +01:00
|
|
|
|
2020-03-20 02:00:33 +01:00
|
|
|
.subscription_block {
|
|
|
|
margin-right: 25px;
|
|
|
|
margin-left: $far_left_gutter_size;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
2020-03-20 15:58:09 +01:00
|
|
|
|
2020-03-20 02:00:33 +01:00
|
|
|
&.stream-with-count {
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
}
|
2020-03-20 15:58:09 +01:00
|
|
|
|
2022-12-17 20:25:58 +01:00
|
|
|
.inactive_stream:not(.active-filter) {
|
2020-08-04 23:58:56 +02:00
|
|
|
opacity: 0.5;
|
2020-03-20 02:00:33 +01:00
|
|
|
}
|
2022-02-20 21:32:14 +01:00
|
|
|
|
|
|
|
.toggle_stream_mute {
|
|
|
|
margin-right: 3px;
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-03-20 15:58:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.narrows_panel {
|
2023-03-17 22:10:10 +01:00
|
|
|
& li a {
|
2020-03-20 15:58:09 +01:00
|
|
|
margin-top: 1px;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-03-20 15:58:09 +01:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-13 13:15:57 +02:00
|
|
|
#left_sidebar_scroll_container {
|
|
|
|
outline: none;
|
2017-04-05 14:18:35 +02:00
|
|
|
overflow-x: hidden;
|
2019-03-01 01:40:05 +01:00
|
|
|
overflow-y: auto;
|
2016-10-28 07:12:32 +02:00
|
|
|
position: relative;
|
2016-11-29 20:11:29 +01:00
|
|
|
z-index: 0;
|
2017-01-15 17:39:04 +01:00
|
|
|
width: 100%;
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2022-09-13 13:15:57 +02:00
|
|
|
.private_messages_container {
|
|
|
|
margin-right: 16px;
|
|
|
|
margin-left: 6px;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
#toggle_private_messages_section_icon {
|
|
|
|
opacity: 0.7;
|
|
|
|
margin-left: -15px;
|
|
|
|
min-width: 12px;
|
|
|
|
|
|
|
|
&.fa-caret-right {
|
|
|
|
position: relative;
|
|
|
|
left: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#private_messages_section_header {
|
|
|
|
cursor: pointer;
|
2022-11-01 16:56:59 +01:00
|
|
|
padding: 0 10px 1px 6px;
|
2022-09-13 13:15:57 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
#show_all_private_messages {
|
|
|
|
right: 0;
|
|
|
|
float: right;
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0.7;
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
margin-right: 21px;
|
|
|
|
margin-top: 1px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.unread_count {
|
|
|
|
margin-right: 16px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& ul.pm-list {
|
2022-09-13 13:15:57 +02:00
|
|
|
list-style-type: none;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& span.fa-group {
|
2022-09-13 13:15:57 +02:00
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li.pm-list-item {
|
2022-09-13 13:15:57 +02:00
|
|
|
position: relative;
|
|
|
|
padding: 1px 10px 1px 4px;
|
|
|
|
margin-left: 2px;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& a {
|
2022-09-13 13:15:57 +02:00
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pm_left_col {
|
|
|
|
min-width: $left_col_size;
|
2023-04-18 00:36:19 +02:00
|
|
|
|
|
|
|
& span:not(.user_circle) {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
2022-09-13 13:15:57 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li#show_more_private_messages {
|
2022-09-13 13:15:57 +02:00
|
|
|
cursor: pointer;
|
|
|
|
padding-right: 26px;
|
|
|
|
padding-left: 6px;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& a {
|
2022-09-13 13:15:57 +02:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unread_count {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-31 06:59:42 +02:00
|
|
|
}
|
|
|
|
|
2022-09-13 13:15:57 +02:00
|
|
|
.active_private_messages_section {
|
|
|
|
#private_messages_section,
|
|
|
|
#private_messages_list,
|
|
|
|
#hide_more_private_messages {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(202deg 56% 91%);
|
2022-09-13 13:15:57 +02:00
|
|
|
}
|
2021-04-15 08:37:04 +02:00
|
|
|
|
2022-09-13 13:15:57 +02:00
|
|
|
#private_messages_section {
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#private_messages_list {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#more_private_messages_sidebar_title {
|
|
|
|
font-weight: 600;
|
2021-04-15 08:37:04 +02:00
|
|
|
}
|
2019-02-13 14:05:58 +01:00
|
|
|
}
|
|
|
|
|
2020-07-04 12:11:27 +02:00
|
|
|
:not(.active-sub-filter) {
|
|
|
|
&.top_left_row:hover,
|
2023-05-11 10:20:33 +02:00
|
|
|
&.bottom_left_row:hover {
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: var(--color-background-hover-narrow-filter);
|
2020-07-04 12:11:27 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2017-12-09 01:19:33 +01:00
|
|
|
}
|
|
|
|
|
2023-05-11 10:20:33 +02:00
|
|
|
#stream_filters .narrow-filter.highlighted_stream {
|
|
|
|
&.active-filter > .bottom_left_row {
|
|
|
|
background-color: var(--color-background-hover-narrow-filter);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active-filter .topic-list .bottom_left_row {
|
|
|
|
background-color: var(--color-background-active-narrow-filter);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bottom_left_row:not(.active-sub-filter) {
|
|
|
|
background-color: var(--color-background-hover-narrow-filter);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-29 20:38:07 +01:00
|
|
|
#login-link-container,
|
2022-08-15 21:32:10 +02:00
|
|
|
#subscribe-to-more-streams {
|
2019-05-11 19:44:27 +02:00
|
|
|
text-decoration: none;
|
2021-11-19 05:12:00 +01:00
|
|
|
margin: 5px auto 5.5px 10px;
|
2022-10-04 23:33:51 +02:00
|
|
|
margin-bottom: $bottom_scrolling_buffer;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2020-03-19 22:49:56 +01:00
|
|
|
min-width: 19px;
|
|
|
|
text-align: center;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-03-19 22:49:56 +01:00
|
|
|
&::before {
|
|
|
|
padding-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-11 19:44:27 +02:00
|
|
|
}
|
|
|
|
|
2016-10-28 07:12:32 +02:00
|
|
|
ul.filters {
|
|
|
|
list-style-type: none;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-left: 0;
|
2023-04-22 18:10:00 +02:00
|
|
|
color: hsl(0deg 0% 20% / 100%);
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& a {
|
2020-03-20 02:34:20 +01:00
|
|
|
color: inherit;
|
2023-05-01 23:23:26 +02:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2020-03-20 02:34:20 +01:00
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& hr {
|
2020-03-20 02:34:20 +01:00
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2023-05-19 22:31:46 +02:00
|
|
|
.has-only-muted-unreads {
|
|
|
|
.unread_count {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-only-muted-mentions .unread_mention_info {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2023-05-02 02:24:11 +02:00
|
|
|
/* This is a noop in the current design, because unread counts for
|
|
|
|
muted streams have the same opacity, but the logic is here to
|
|
|
|
be explicit and because the design may change in the future. */
|
|
|
|
.more_topic_unreads_muted_only .unread_count {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li.muted_topic,
|
2020-03-20 02:34:20 +01:00
|
|
|
li.out_of_home_view {
|
2023-04-22 18:10:00 +02:00
|
|
|
color: hsl(0deg 0% 20% / 50%);
|
|
|
|
|
2023-04-22 18:58:54 +02:00
|
|
|
.has-unmuted-mentions .unread_mention_info {
|
|
|
|
color: hsl(0deg 0% 20%);
|
|
|
|
}
|
|
|
|
|
2023-04-22 18:10:00 +02:00
|
|
|
.stream-privacy {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .unread_count {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2023-04-22 18:24:59 +02:00
|
|
|
.has-unmuted-unreads {
|
|
|
|
.unread_count {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-22 18:14:26 +02:00
|
|
|
& li.unmuted_topic {
|
|
|
|
color: hsl(0deg 0% 20%);
|
|
|
|
|
|
|
|
.unread_count {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-03-20 02:34:20 +01:00
|
|
|
}
|
2020-03-20 20:21:09 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li.out_of_home_view {
|
2020-03-20 02:34:20 +01:00
|
|
|
&:hover {
|
2023-04-22 18:10:00 +02:00
|
|
|
color: hsla(0deg 0% 20% / 75%);
|
|
|
|
|
|
|
|
.stream-privacy {
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unread_count {
|
|
|
|
opacity: 0.75;
|
|
|
|
}
|
2023-04-22 18:24:59 +02:00
|
|
|
|
|
|
|
.has-unmuted-unreads {
|
|
|
|
.unread_count {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-03-20 02:34:20 +01:00
|
|
|
}
|
2020-03-20 20:21:09 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& li.muted_topic {
|
2020-03-20 02:34:20 +01:00
|
|
|
/* If stream is muted, this resets opacity of muted topics in muted
|
|
|
|
stream to 1; since opacity is multiplied down through child
|
2021-09-17 02:06:04 +02:00
|
|
|
elements, this avoids an unreadably low opacity. */
|
2020-03-20 02:34:20 +01:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-03-20 20:21:09 +01:00
|
|
|
}
|
|
|
|
|
2016-10-28 07:12:32 +02:00
|
|
|
li.active-filter,
|
|
|
|
li.active-sub-filter {
|
|
|
|
font-weight: 600 !important;
|
|
|
|
position: relative;
|
2019-03-12 16:20:00 +01:00
|
|
|
border-radius: 4px;
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: var(--color-background-active-narrow-filter);
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2022-10-27 14:04:02 +02:00
|
|
|
#stream_filters .narrow-filter.active-filter {
|
|
|
|
.topic-list .filter-topics,
|
|
|
|
> .bottom_left_row {
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: var(--color-background-active-narrow-filter);
|
2022-11-28 20:24:32 +01:00
|
|
|
border-radius: 4px;
|
2022-10-27 14:04:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-20 19:58:49 +01:00
|
|
|
#global_filters {
|
2022-09-13 13:15:57 +02:00
|
|
|
margin-bottom: $sections_vertical_gutter;
|
2020-03-20 19:58:49 +01:00
|
|
|
|
2020-03-20 02:08:36 +01:00
|
|
|
.filter-icon {
|
|
|
|
display: inline-block;
|
|
|
|
min-width: $left_col_size;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2021-04-09 09:20:15 +02:00
|
|
|
.top_left_row .unread_count {
|
2020-03-20 02:08:36 +01:00
|
|
|
margin-right: 20px;
|
|
|
|
margin-top: 2px;
|
|
|
|
display: none;
|
|
|
|
}
|
2020-03-20 19:58:49 +01:00
|
|
|
|
2021-07-04 23:17:03 +02:00
|
|
|
.top_left_starred_messages .unread_count,
|
2023-05-02 19:25:44 +02:00
|
|
|
.top_left_drafts .unread_count,
|
|
|
|
.top_left_scheduled_messages .unread_count {
|
2021-04-14 20:41:36 +02:00
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 0.5px solid hsl(105deg 2% 50%);
|
2021-04-14 20:41:36 +02:00
|
|
|
/* The border takes up space, so we need to
|
|
|
|
subtract 1px from the usual 2px margin-top */
|
|
|
|
margin-top: 1px !important;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2020-03-20 02:08:36 +01:00
|
|
|
opacity: 0.7;
|
|
|
|
}
|
2020-03-20 19:58:49 +01:00
|
|
|
}
|
|
|
|
|
2019-03-12 15:08:28 +01:00
|
|
|
li.top_left_all_messages,
|
|
|
|
li.top_left_mentions,
|
2020-06-26 09:24:23 +02:00
|
|
|
li.top_left_starred_messages,
|
2021-07-04 23:17:03 +02:00
|
|
|
li.top_left_drafts,
|
2023-04-28 10:56:57 +02:00
|
|
|
li.top_left_recent_topics,
|
|
|
|
li.top_left_scheduled_messages {
|
2016-10-28 07:12:32 +02:00
|
|
|
position: relative;
|
2019-03-03 17:30:02 +01:00
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
2020-06-26 09:24:23 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& a {
|
2020-06-26 09:24:23 +02:00
|
|
|
display: block;
|
|
|
|
}
|
2019-03-12 15:08:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.top_left_row {
|
2019-03-06 21:17:06 +01:00
|
|
|
padding-left: $far_left_gutter_size;
|
2019-03-03 17:30:02 +01:00
|
|
|
padding-right: 10px;
|
2017-04-17 22:19:47 +02:00
|
|
|
}
|
|
|
|
|
2019-02-12 04:12:20 +01:00
|
|
|
.conversation-partners {
|
2019-02-18 16:32:27 +01:00
|
|
|
line-height: 1.25;
|
2019-02-12 04:12:20 +01:00
|
|
|
}
|
|
|
|
|
2020-11-10 09:17:07 +01:00
|
|
|
.top_left_all_messages i.fa-align-left {
|
2017-04-26 20:37:44 +02:00
|
|
|
position: relative;
|
2019-04-11 12:46:04 +02:00
|
|
|
font-size: 15px;
|
2017-04-26 20:37:44 +02:00
|
|
|
}
|
|
|
|
|
2019-04-11 12:46:04 +02:00
|
|
|
.top_left_mentions i.fa-at,
|
|
|
|
.top_left_starred_messages i.fa-star {
|
|
|
|
font-size: 13px;
|
2017-04-26 20:37:44 +02:00
|
|
|
}
|
|
|
|
|
2017-07-20 04:46:01 +02:00
|
|
|
.topic-box {
|
|
|
|
padding-left: 5px;
|
2018-01-29 06:16:21 +01:00
|
|
|
margin-right: 30px;
|
2017-07-20 04:46:01 +02:00
|
|
|
}
|
|
|
|
|
2021-07-01 10:19:59 +02:00
|
|
|
.sidebar-topic-check {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
min-width: $topic_resolve_width;
|
|
|
|
font-size: 15px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
2018-01-29 06:16:21 +01:00
|
|
|
.conversation-partners,
|
2023-01-31 09:53:46 +01:00
|
|
|
.topic-name,
|
|
|
|
.stream-name {
|
2022-12-14 23:21:38 +01:00
|
|
|
flex: auto;
|
|
|
|
min-width: 0;
|
2022-02-07 20:33:52 +01:00
|
|
|
white-space: nowrap;
|
2022-12-25 05:58:13 +01:00
|
|
|
overflow-x: hidden;
|
2022-12-14 23:21:38 +01:00
|
|
|
overflow-x: clip;
|
2016-11-05 20:23:40 +01:00
|
|
|
text-overflow: ellipsis;
|
2023-01-31 09:53:46 +01:00
|
|
|
padding: 1px $before_unread_count_padding 1px 0;
|
2016-11-05 20:23:40 +01:00
|
|
|
}
|
|
|
|
|
2018-04-20 20:28:18 +02:00
|
|
|
.topic-name {
|
|
|
|
/* TODO: We should figure out how to remove this without changing the spacing */
|
|
|
|
line-height: 1.1;
|
|
|
|
}
|
|
|
|
|
2022-10-21 14:23:22 +02:00
|
|
|
.left_sidebar_menu_icon_visible {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
2019-03-01 21:06:53 +01:00
|
|
|
/*
|
|
|
|
All of our left sidebar handlers use absolute
|
|
|
|
positioning. We should fix that.
|
|
|
|
*/
|
2020-04-16 16:15:39 +02:00
|
|
|
.all-messages-sidebar-menu-icon,
|
|
|
|
.stream-sidebar-menu-icon,
|
|
|
|
.starred-messages-sidebar-menu-icon,
|
2021-11-12 11:09:12 +01:00
|
|
|
.drafts-sidebar-menu-icon,
|
2020-04-16 16:15:39 +02:00
|
|
|
.topic-sidebar-menu-icon {
|
2016-10-28 07:12:32 +02:00
|
|
|
position: absolute;
|
|
|
|
display: none;
|
2020-03-26 20:38:50 +01:00
|
|
|
right: 10px;
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2020-03-20 02:28:13 +01:00
|
|
|
padding-right: 0.25em;
|
|
|
|
display: inline-block;
|
|
|
|
width: 13px;
|
2020-06-06 01:27:23 +02:00
|
|
|
vertical-align: middle;
|
2020-03-20 02:28:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2020-06-16 07:10:28 +02:00
|
|
|
If you hover directly over the ellipsis itself,
|
2020-03-20 02:28:13 +01:00
|
|
|
show it in black.
|
|
|
|
*/
|
|
|
|
|
|
|
|
&:hover {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 0%) !important;
|
2020-03-20 02:28:13 +01:00
|
|
|
}
|
2021-03-01 09:21:29 +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: block;
|
|
|
|
}
|
2020-03-20 20:09:10 +01:00
|
|
|
}
|
|
|
|
|
2019-03-01 21:06:53 +01:00
|
|
|
/*
|
2020-10-23 02:43:28 +02:00
|
|
|
The All messages and stream ellipsis-v (vertical 3 dots) are
|
2019-03-01 21:06:53 +01:00
|
|
|
pretty similar.
|
|
|
|
*/
|
2020-04-16 16:15:39 +02:00
|
|
|
.all-messages-sidebar-menu-icon,
|
|
|
|
.starred-messages-sidebar-menu-icon,
|
2021-11-12 11:09:12 +01:00
|
|
|
.drafts-sidebar-menu-icon,
|
2020-04-16 16:15:39 +02:00
|
|
|
.stream-sidebar-menu-icon {
|
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;
|
2020-06-06 01:27:23 +02:00
|
|
|
text-align: center;
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 0 6px;
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2019-03-01 21:06:53 +01:00
|
|
|
/*
|
2020-06-06 01:27:23 +02:00
|
|
|
For topic ellipsis-v(vertical 3 dots) we use a slightly smaller
|
2019-03-01 21:06:53 +01:00
|
|
|
font to show they're "lower" in the hierarchy,
|
|
|
|
which also affects it positioning.
|
|
|
|
*/
|
2020-04-16 16:15:39 +02:00
|
|
|
.topic-sidebar-menu-icon {
|
2021-07-28 21:02:58 +02:00
|
|
|
top: 2px;
|
2020-08-06 02:42:07 +02:00
|
|
|
right: 0;
|
2020-06-06 01:27:23 +02:00
|
|
|
font-size: 0.9em;
|
|
|
|
text-align: center;
|
2021-11-05 03:33:16 +01:00
|
|
|
padding: 1px 6px 0;
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2019-03-01 21:06:53 +01:00
|
|
|
/*
|
|
|
|
When you hover over list items, we hover
|
2020-06-06 01:27:23 +02:00
|
|
|
the relevant ellipsis-v(vertical 3 dots) in light gray.
|
2019-03-01 21:06:53 +01:00
|
|
|
*/
|
2020-04-16 16:15:39 +02:00
|
|
|
li.top_left_all_messages:hover .all-messages-sidebar-menu-icon,
|
|
|
|
li.top_left_starred_messages:hover .starred-messages-sidebar-menu-icon,
|
2021-11-12 11:09:12 +01:00
|
|
|
li.top_left_drafts:hover .drafts-sidebar-menu-icon,
|
2020-04-16 16:15:39 +02:00
|
|
|
#stream_filters li:hover .stream-sidebar-menu-icon,
|
|
|
|
li.topic-list-item:hover .topic-sidebar-menu-icon {
|
2019-03-01 21:06:53 +01:00
|
|
|
display: inline;
|
2016-10-28 07:12:32 +02:00
|
|
|
cursor: pointer;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 53%);
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2016-11-05 19:34:47 +01:00
|
|
|
ul.topic-list {
|
2016-10-28 07:12:32 +02:00
|
|
|
list-style-type: none;
|
|
|
|
font-weight: normal;
|
2017-04-17 22:19:47 +02:00
|
|
|
}
|
|
|
|
|
2016-11-05 19:38:23 +01:00
|
|
|
li.topic-list-item {
|
2016-10-28 07:12:32 +02:00
|
|
|
position: relative;
|
2017-04-18 20:05:48 +02:00
|
|
|
padding-right: 5px;
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2016-11-05 20:13:36 +01:00
|
|
|
.pm-box,
|
|
|
|
.topic-box {
|
2018-01-29 06:16:21 +01:00
|
|
|
display: flex;
|
2018-05-24 19:50:14 +02:00
|
|
|
padding-top: 1px;
|
2017-05-13 22:23:39 +02:00
|
|
|
cursor: pointer;
|
2021-07-28 21:02:58 +02:00
|
|
|
align-items: center;
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2017-04-17 22:19:47 +02:00
|
|
|
.pm-box {
|
2022-09-13 13:15:57 +02:00
|
|
|
margin-right: 16px;
|
2023-05-11 16:58:00 +02:00
|
|
|
align-items: baseline; /* Sets .user_circle alignment relative to text; standard icons do not participate in flex. */
|
2017-04-17 22:19:47 +02:00
|
|
|
|
2020-03-20 02:53:55 +01:00
|
|
|
.user_circle {
|
|
|
|
min-width: 8px;
|
|
|
|
height: 8px;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
2020-03-20 02:53:55 +01:00
|
|
|
margin-left: 2px;
|
|
|
|
position: relative;
|
2020-08-06 02:42:07 +02:00
|
|
|
top: 0;
|
2020-03-20 02:53:55 +01:00
|
|
|
}
|
2023-04-11 14:43:49 +02:00
|
|
|
|
|
|
|
.zulip-icon.zulip-icon-bot {
|
2023-05-11 16:58:00 +02:00
|
|
|
font-size: 90%; /* Reduce the bulkiness of this icon */
|
|
|
|
padding: 3px 0 3px 1px; /* Shift reduced icon a pixel left to maintain horizontal centering. */
|
2023-04-11 14:43:49 +02:00
|
|
|
}
|
2019-02-18 16:32:27 +01:00
|
|
|
}
|
|
|
|
|
2019-03-01 17:45:10 +01:00
|
|
|
.zero-pm-unreads .pm-box,
|
2018-12-22 19:31:02 +01:00
|
|
|
.zero-topic-unreads .topic-box {
|
2016-10-28 07:12:32 +02:00
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
|
2020-03-19 20:16:59 +01:00
|
|
|
.zoom-out {
|
|
|
|
#topics_header {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-09-13 13:15:57 +02:00
|
|
|
|
|
|
|
.zoom-out-hide {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2017-07-07 23:59:18 +02:00
|
|
|
#topics_header {
|
2022-10-27 14:04:02 +02:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 2;
|
2016-10-28 07:12:32 +02:00
|
|
|
margin-right: 10px;
|
2022-11-02 05:16:11 +01:00
|
|
|
padding-top: $sections_vertical_gutter;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 43%);
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: var(--color-background);
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2022-11-01 17:11:58 +01:00
|
|
|
.show-all-streams {
|
2020-03-19 20:16:59 +01:00
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
text-transform: uppercase;
|
2022-11-03 03:56:06 +01:00
|
|
|
margin-left: calc($far_left_gutter_size + 2px);
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& i {
|
2022-09-13 13:15:57 +02:00
|
|
|
margin: 0 6px 0 13px;
|
2020-03-19 20:16:59 +01:00
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#streams_header {
|
2021-06-05 16:07:11 +02:00
|
|
|
margin-right: 12px;
|
2018-01-04 18:14:27 +01:00
|
|
|
cursor: pointer;
|
2022-11-01 16:56:59 +01:00
|
|
|
padding: $sections_vertical_gutter 0 3px calc($far_left_gutter_size + 2px);
|
2022-09-13 13:15:57 +02:00
|
|
|
position: sticky;
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: var(--color-background);
|
2022-11-16 19:44:50 +01:00
|
|
|
/* Ideally, 0px should work here, but maybe simplebar is doing something
|
|
|
|
that is creating `0.5px` extra gap in zoomed-in windows. */
|
|
|
|
top: -0.5px;
|
2022-09-13 13:15:57 +02:00
|
|
|
z-index: 1;
|
2021-10-25 22:34:46 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& input {
|
2021-10-25 22:34:46 +02:00
|
|
|
padding-right: 20px;
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2022-02-20 21:32:14 +01:00
|
|
|
.streams_subheader {
|
|
|
|
font-size: 0.8em;
|
|
|
|
font-weight: normal;
|
|
|
|
padding-left: $far_left_gutter_size;
|
|
|
|
cursor: pointer;
|
|
|
|
text-align: center;
|
|
|
|
margin-right: 12px;
|
2023-03-24 00:09:48 +01:00
|
|
|
color: hsl(240deg 10% 50%);
|
2022-02-20 21:32:14 +01:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& span {
|
2022-02-20 21:32:14 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
width: 100%;
|
|
|
|
left: 0.5em;
|
|
|
|
right: 0.5em;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& span::before,
|
2022-02-20 21:32:14 +01:00
|
|
|
span::after {
|
|
|
|
content: " ";
|
|
|
|
flex: 1 1;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: auto;
|
2023-03-24 00:09:48 +01:00
|
|
|
border: 0.5px solid hsl(240deg 10% 50%);
|
|
|
|
opacity: 0.2;
|
2022-02-20 21:32:14 +01:00
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& span::before {
|
2022-02-20 21:32:14 +01:00
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& span::after {
|
2022-02-20 21:32:14 +01:00
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-25 08:18:45 +02:00
|
|
|
.stream-list-filter {
|
2021-10-25 22:34:46 +02:00
|
|
|
width: 216px;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2021-05-25 08:18:45 +02:00
|
|
|
}
|
|
|
|
|
2021-06-08 18:42:06 +02:00
|
|
|
.topic-list-filter {
|
|
|
|
/* Input width = 100% - 30px right-margin - 6px right-padding */
|
|
|
|
/* To keep the right edge of input along with its borders inline with other
|
|
|
|
topic items we consider to subtract the space given for right margin of
|
|
|
|
other items, and right padding of input element. */
|
|
|
|
width: calc(100% - 36px);
|
|
|
|
}
|
|
|
|
|
2016-10-28 07:12:32 +02:00
|
|
|
.zero_count {
|
2018-01-29 06:16:21 +01:00
|
|
|
visibility: hidden;
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2023-05-19 22:31:46 +02:00
|
|
|
.zero-topic-unreads.show-more-topics .topic-box {
|
|
|
|
margin-right: 30px;
|
|
|
|
}
|
|
|
|
|
2017-09-27 00:48:17 +02:00
|
|
|
.searching-for-more-topics img {
|
|
|
|
height: 16px;
|
|
|
|
margin-left: 6px;
|
2017-09-22 00:12:55 +02:00
|
|
|
}
|
|
|
|
|
2020-03-20 00:05:50 +01:00
|
|
|
.zoom-in {
|
2022-10-27 14:04:02 +02:00
|
|
|
.narrow-filter > .bottom_left_row {
|
|
|
|
position: sticky;
|
2022-11-02 05:16:11 +01:00
|
|
|
top: calc($sections_vertical_gutter + 20px);
|
2022-10-27 14:04:02 +02:00
|
|
|
z-index: 2;
|
|
|
|
padding-bottom: 1px;
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: var(--color-background);
|
2022-10-27 14:04:02 +02:00
|
|
|
}
|
|
|
|
|
2022-11-01 04:08:36 +01:00
|
|
|
#subscribe-to-more-streams,
|
2020-03-20 00:05:50 +01:00
|
|
|
.show-more-topics {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2022-10-04 23:33:51 +02:00
|
|
|
&.private_messages_container ul.pm-list {
|
|
|
|
margin-bottom: $bottom_scrolling_buffer;
|
|
|
|
}
|
|
|
|
|
2022-09-13 13:15:57 +02:00
|
|
|
#more_private_messages_sidebar_title {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
#hide_more_private_messages {
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
font-size: 12px;
|
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& span {
|
2022-09-13 13:15:57 +02:00
|
|
|
display: block;
|
|
|
|
padding: 2px 0 2px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2023-03-17 22:10:10 +01:00
|
|
|
& span {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(120deg 12.3% 71.4% / 38%);
|
2022-09-13 13:15:57 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-20 00:05:50 +01:00
|
|
|
.zoom-in-hide {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-09-13 13:15:57 +02:00
|
|
|
|
|
|
|
.zoom-in-sticky {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
|
|
|
padding: 3px 0 3px $far_left_gutter_size;
|
|
|
|
}
|
|
|
|
|
|
|
|
#show_all_private_messages {
|
|
|
|
margin-right: 5px !important;
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|