mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
left_sidebar: Rename stream-search-and-add for global search.
This will be more readable once we've moved the search input.
This commit is contained in:
@@ -1403,7 +1403,7 @@ export let scroll_stream_into_view = function ($stream_li: JQuery): void {
|
|||||||
blueslip.error("Invalid stream_li was passed in");
|
blueslip.error("Invalid stream_li was passed in");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const stream_filter_height = $("#stream-search-and-add").outerHeight()!;
|
const stream_filter_height = $("#left-sidebar-search").outerHeight()!;
|
||||||
const header_height = $stream_li
|
const header_height = $stream_li
|
||||||
.closest(".stream-list-section-container")
|
.closest(".stream-list-section-container")
|
||||||
.children(".stream-list-subsection-header")
|
.children(".stream-list-subsection-header")
|
||||||
|
|||||||
@@ -317,11 +317,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.spectator-view #stream-search-and-add {
|
.spectator-view #left-sidebar-search {
|
||||||
grid-template-columns: minmax(0, 1fr);
|
grid-template-columns: minmax(0, 1fr);
|
||||||
}
|
}
|
||||||
|
|
||||||
#stream-search-and-add {
|
#left-sidebar-search {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-areas: "filter-container add-channel";
|
grid-template-areas: "filter-container add-channel";
|
||||||
grid-template-columns: minmax(0, 1fr) var(--left-sidebar-header-icon-width);
|
grid-template-columns: minmax(0, 1fr) var(--left-sidebar-header-icon-width);
|
||||||
@@ -359,7 +359,7 @@
|
|||||||
top: calc(
|
top: calc(
|
||||||
1.9375em + (var(--left-sidebar-sections-vertical-gutter) * 2.5) + 3px
|
1.9375em + (var(--left-sidebar-sections-vertical-gutter) * 2.5) + 3px
|
||||||
);
|
);
|
||||||
/* Must be more than .sidebar-topic-check and less than #stream-search-and-add */
|
/* Must be more than .sidebar-topic-check and less than #left-sidebar-search */
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
color: var(--color-text-default);
|
color: var(--color-text-default);
|
||||||
/* There seems to be a bug where when the header returns to normal position after
|
/* There seems to be a bug where when the header returns to normal position after
|
||||||
@@ -2118,7 +2118,7 @@ li.topic-list-item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.zoom-in-hide,
|
.zoom-in-hide,
|
||||||
#stream-search-and-add.zoom-in-hide {
|
#left-sidebar-search.zoom-in-hide {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="streams_list" class="zoom-out">
|
<div id="streams_list" class="zoom-out">
|
||||||
<div id="stream-search-and-add" class="zoom-in-hide">
|
<div id="left-sidebar-search" class="zoom-in-hide">
|
||||||
{{#> input_wrapper input_type="filter-input" custom_classes="left-sidebar-search-section" icon="search" input_button_icon="close"}}
|
{{#> input_wrapper input_type="filter-input" custom_classes="left-sidebar-search-section" icon="search" input_button_icon="close"}}
|
||||||
<input type="text" class="input-element left-sidebar-search-input home-page-input" autocomplete="off" placeholder="{{t 'Filter channels' }}" />
|
<input type="text" class="input-element left-sidebar-search-input home-page-input" autocomplete="off" placeholder="{{t 'Filter channels' }}" />
|
||||||
{{/input_wrapper}}
|
{{/input_wrapper}}
|
||||||
|
|||||||
Reference in New Issue
Block a user