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;
|
2019-03-06 21:17:06 +01:00
|
|
|
|
2020-03-20 02:05:08 +01:00
|
|
|
#left-sidebar {
|
2020-05-26 13:58:18 +02:00
|
|
|
#user-list {
|
2020-03-20 02:05:08 +01:00
|
|
|
padding-left: 10px;
|
|
|
|
}
|
2020-03-20 16:08:52 +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;
|
|
|
|
}
|
2019-04-13 19:53:33 +02:00
|
|
|
}
|
|
|
|
|
2019-04-13 22:20:28 +02:00
|
|
|
/* Ideally we'd handle hashtags using an <i> and just have a single rule here. */
|
2019-04-13 19:53:33 +02:00
|
|
|
.stream-privacy span.hashtag,
|
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
|
|
|
|
|
|
|
&.fa-lock {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
}
|
2019-03-06 21:17:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.pm_left_col {
|
|
|
|
min-width: $left_col_size;
|
2021-04-30 19:33:10 +02:00
|
|
|
margin-left: 15px;
|
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 {
|
|
|
|
a {
|
|
|
|
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;
|
|
|
|
margin-left: 7px;
|
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 {
|
2017-04-17 22:19:47 +02:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
|
2020-03-20 02:00:33 +01:00
|
|
|
li {
|
|
|
|
a {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 1px 0;
|
2020-03-20 02:00:33 +01:00
|
|
|
}
|
2017-04-17 22:19:47 +02:00
|
|
|
|
2020-03-20 02:00:33 +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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-append.topic_search_section {
|
|
|
|
margin-bottom: 3px;
|
|
|
|
margin-left: 3px;
|
2021-10-25 22:34:46 +02:00
|
|
|
|
|
|
|
input {
|
|
|
|
padding-right: 20px;
|
|
|
|
width: calc(100% - 50px);
|
|
|
|
}
|
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 {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2020-03-20 02:00:33 +01:00
|
|
|
margin-right: 25px;
|
|
|
|
margin-left: $far_left_gutter_size;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2020-03-20 15:58:09 +01:00
|
|
|
|
2020-03-20 02:00:33 +01:00
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
}
|
2020-03-20 15:58:09 +01:00
|
|
|
|
2020-03-20 02:00:33 +01:00
|
|
|
.stream-name {
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
padding-right: 2px;
|
|
|
|
}
|
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
|
|
|
|
2020-03-20 02:00:33 +01:00
|
|
|
.inactive_stream {
|
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 {
|
|
|
|
li a {
|
|
|
|
margin-top: 1px;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-03-20 15:58:09 +01:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-13 14:05:58 +01:00
|
|
|
#private-container,
|
2016-10-28 07:12:32 +02:00
|
|
|
#stream-filters-container {
|
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-08-31 06:59:42 +02:00
|
|
|
#stream-filters-container .simplebar-content-wrapper {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2019-02-13 14:05:58 +01:00
|
|
|
#private-container {
|
2021-06-12 00:40:51 +02:00
|
|
|
max-height: 210px;
|
2021-04-15 08:37:04 +02:00
|
|
|
|
|
|
|
/* Match the opacity for global-filters icons. */
|
|
|
|
span.fa-group {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
2019-02-13 14:05:58 +01:00
|
|
|
}
|
|
|
|
|
2020-07-04 12:11:27 +02:00
|
|
|
:not(.active-sub-filter) {
|
|
|
|
&.top_left_row:hover,
|
|
|
|
&.bottom_left_row:hover,
|
|
|
|
&#stream_filters li.highlighted_stream {
|
|
|
|
background-color: hsla(120, 12.3%, 71.4%, 0.38);
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2017-12-09 01:19:33 +01:00
|
|
|
}
|
|
|
|
|
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-02-11 23:33:52 +01:00
|
|
|
margin-bottom: 25px;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-03-19 22:49:56 +01:00
|
|
|
i {
|
|
|
|
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;
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2020-03-20 02:34:20 +01:00
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2020-03-20 02:34:20 +01:00
|
|
|
hr {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2020-03-20 02:34:20 +01:00
|
|
|
li.muted_topic,
|
|
|
|
li.out_of_home_view {
|
2021-09-17 02:06:04 +02:00
|
|
|
opacity: 0.5;
|
2020-03-20 02:34:20 +01:00
|
|
|
}
|
2020-03-20 20:21:09 +01:00
|
|
|
|
2020-03-20 02:34:20 +01:00
|
|
|
li.out_of_home_view {
|
|
|
|
&:hover {
|
2021-09-17 02:06:04 +02:00
|
|
|
opacity: 0.75;
|
2020-03-20 02:34:20 +01:00
|
|
|
}
|
2020-03-20 20:21:09 +01:00
|
|
|
|
2020-03-20 02:34:20 +01:00
|
|
|
li.muted_topic {
|
|
|
|
/* 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;
|
2018-10-08 22:31:26 +02:00
|
|
|
background-color: hsl(202, 56%, 91%);
|
2016-10-28 07:12:32 +02:00
|
|
|
position: relative;
|
2019-03-12 16:20:00 +01:00
|
|
|
border-radius: 4px;
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2020-03-20 19:58:49 +01:00
|
|
|
#global_filters {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
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,
|
|
|
|
.top_left_drafts .unread_count {
|
2021-04-14 20:41:36 +02:00
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
border: 0.5px solid hsl(105, 2%, 50%);
|
|
|
|
/* The border takes up space, so we need to
|
|
|
|
subtract 1px from the usual 2px margin-top */
|
|
|
|
margin-top: 1px !important;
|
|
|
|
}
|
|
|
|
|
2021-04-09 20:29:10 +02:00
|
|
|
.expanded_private_message .unread_count {
|
2021-04-14 20:41:36 +02:00
|
|
|
/* This margin accounts for the fact that the private messages
|
|
|
|
container gets a few pixels taller when expanded */
|
2021-04-09 20:29:10 +02:00
|
|
|
margin: 0;
|
2021-04-15 09:10:10 +02:00
|
|
|
display: inline;
|
2021-04-09 20:29:10 +02:00
|
|
|
}
|
|
|
|
|
2020-03-20 02:08:36 +01:00
|
|
|
i {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
2020-03-20 19:58:49 +01:00
|
|
|
}
|
|
|
|
|
2019-03-12 15:08:28 +01:00
|
|
|
li.top_left_all_messages,
|
|
|
|
.private_messages_header,
|
|
|
|
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,
|
2020-06-26 09:24:23 +02:00
|
|
|
li.top_left_recent_topics {
|
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
|
|
|
|
|
|
|
a {
|
|
|
|
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-03-12 15:08:28 +01:00
|
|
|
.top_left_row,
|
2019-03-12 16:20:00 +01:00
|
|
|
.bottom_left_row,
|
|
|
|
.top_left_private_messages {
|
2017-11-30 23:25:05 +01:00
|
|
|
border-radius: 4px;
|
2016-10-28 07:12:32 +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-03-12 15:43:52 +01:00
|
|
|
.top_left_private_messages i.fa-envelope {
|
2019-04-13 16:40:53 +02:00
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
2019-04-11 12:46:04 +02:00
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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,
|
2016-11-05 20:23:40 +01:00
|
|
|
.topic-name {
|
2022-02-07 20:33:52 +01:00
|
|
|
display: block;
|
2017-11-01 20:15:38 +01:00
|
|
|
width: calc(100% - 5px);
|
2022-02-07 20:33:52 +01:00
|
|
|
white-space: nowrap;
|
2016-11-05 20:23:40 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-05-24 19:50:14 +02:00
|
|
|
padding-right: 2px;
|
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;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2020-03-20 02:28:13 +01:00
|
|
|
i {
|
|
|
|
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 {
|
|
|
|
color: hsl(0, 0%, 0%) !important;
|
|
|
|
}
|
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;
|
2017-06-21 08:59:05 +02:00
|
|
|
color: hsl(0, 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-10-28 07:12:32 +02:00
|
|
|
ul.expanded_private_messages {
|
|
|
|
list-style-type: none;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2021-06-12 00:40:51 +02:00
|
|
|
span.fa-group {
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
2017-04-17 22:19:47 +02:00
|
|
|
font-weight: 400;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-left: 0;
|
2016-10-28 07:12:32 +02:00
|
|
|
padding-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
li.expanded_private_message {
|
|
|
|
position: relative;
|
2019-02-18 16:32:27 +01:00
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2020-03-20 02:38:12 +01:00
|
|
|
a {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 1px 0;
|
2020-03-20 02:38:12 +01:00
|
|
|
}
|
2017-04-17 22:19:47 +02:00
|
|
|
}
|
|
|
|
|
2020-03-20 02:30:11 +01:00
|
|
|
.show-all-streams {
|
|
|
|
a {
|
|
|
|
color: hsl(0, 0%, 20%);
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
|
2020-03-20 02:30:11 +01:00
|
|
|
.fa-chevron-left {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2020-03-20 20:15:42 +01:00
|
|
|
}
|
|
|
|
|
2016-11-05 20:13:36 +01:00
|
|
|
.pm-box,
|
|
|
|
.topic-box {
|
2018-01-29 06:16:21 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
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 {
|
2018-01-29 06:16:21 +01:00
|
|
|
margin-right: 20px;
|
|
|
|
align-items: center;
|
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
|
|
|
}
|
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;
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|
|
|
|
|
2017-07-07 23:59:18 +02:00
|
|
|
#topics_header {
|
2016-10-28 07:12:32 +02:00
|
|
|
margin-right: 10px;
|
2017-09-26 20:36:37 +02:00
|
|
|
color: hsl(0, 0%, 43%);
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-03-19 20:16:59 +01:00
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
text-transform: uppercase;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-03-19 20:16:59 +01:00
|
|
|
i {
|
|
|
|
margin: 0 5px 0 10px;
|
|
|
|
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;
|
2019-03-06 21:17:06 +01:00
|
|
|
padding-left: $far_left_gutter_size;
|
2018-01-04 18:14:27 +01:00
|
|
|
cursor: pointer;
|
2021-10-25 22:34:46 +02:00
|
|
|
margin-top: 3px;
|
|
|
|
|
|
|
|
input {
|
|
|
|
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;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
width: 100%;
|
|
|
|
left: 0.5em;
|
|
|
|
right: 0.5em;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
span::before,
|
|
|
|
span::after {
|
|
|
|
content: " ";
|
|
|
|
flex: 1 1;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: auto;
|
|
|
|
border-top: 1px solid hsl(0, 0%, 88%);
|
|
|
|
border-bottom: 1px solid hsl(0, 0%, 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
span::before {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
span::after {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
.show-more-topics {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-03-20 00:05:50 +01:00
|
|
|
.zoom-in-hide {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-10-28 07:12:32 +02:00
|
|
|
}
|