Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

Rename "clear_search_button" to "old_clear_search_button".

Harsh4b5e578b9f3e
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index e42463ea9f4..9056f806ab1 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -402,7 +402,7 @@ input.settings_text_input {
should be replaced with a Zulip icon,
and its formatting should have no extra
space around its viewbox in SVG. */
-.clear_search_button {
+.old_clear_search_button {
&:hover {
color: var(--color-text-clear-search-button-hover);
}
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index d170274aca1..3451c96d651 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -84,7 +84,7 @@
.topic_search_section {
margin: 3px 0;
- .clear_search_button {
+ .old_clear_search_button {
grid-area: clear-button;
/* Override app-component positioning. */
position: static;
@@ -1745,7 +1745,7 @@ li.topic-list-item {
padding-right: 30px;
}
- .clear_search_button {
+ .old_clear_search_button {
/* Use the border-box model so flex
can do its thing despite whatever
padding and border we specify. */
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 654712ad6f3..e2028ad93c3 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -163,7 +163,7 @@
overflow: hidden;
}
- .clear_search_button {
+ .old_clear_search_button {
grid-area: clear-search;
padding: 0;
}
diff --git a/web/styles/right_sidebar.css b/web/styles/right_sidebar.css
index 2abe2621d8d..be39c2df292 100644
--- a/web/styles/right_sidebar.css
+++ b/web/styles/right_sidebar.css
@@ -481,7 +481,7 @@ $user_status_emoji_width: 24px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
- /* Prevent text from colliding with #clear_search_button */
+ /* Prevent text from colliding with #old_clear_search_button */
padding-right: 28px;
height: var(--line-height-sidebar-row-prominent);
box-sizing: border-box;
diff --git a/web/styles/user_status.css b/web/styles/user_status.css
index 09321b3bfbf..ee2b2561a80 100644
--- a/web/styles/user_status.css
+++ b/web/styles/user_status.css
@@ -23,7 +23,7 @@
}
}
- .clear_search_button {
+ .old_clear_search_button {
position: static;
padding: 6px;
}
diff --git a/web/templates/filter_topics.hbs b/web/templates/filter_topics.hbs
index 3ad3d9093e3..59ddbc45ee7 100644
--- a/web/templates/filter_topics.hbs
+++ b/web/templates/filter_topics.hbs
@@ -1,6 +1,6 @@
<div class="topic_search_section filter-topics">
<input class="topic-list-filter home-page-input filter_text_input" id="filter-topic-input" type="text" autocomplete="off" placeholder="{{t 'Filter topics'}}" />
- <button type="button" class="bootstrap-btn clear_search_button" id="clear_search_topic_button">
+ <button type="button" class="bootstrap-btn old_clear_search_button" id="clear_search_topic_button">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
diff --git a/web/templates/left_sidebar.hbs b/web/templates/left_sidebar.hbs
index cdeed80ea0b..e5e44a67381 100644
--- a/web/templates/left_sidebar.hbs
+++ b/web/templates/left_sidebar.hbs
@@ -165,7 +165,7 @@
</a>
<div class="zoom-out-hide direct-messages-search-section">
<input class="direct-messages-list-filter filter_text_input home-page-input" type="text" autocomplete="off" placeholder="{{t 'Filter direct messages' }}" />
- <button type="button" class="bootstrap-btn clear_search_button" id="clear-direct-messages-search-button">
+ <button type="button" class="bootstrap-btn old_clear_search_button" id="clear-direct-messages-search-button">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
@@ -194,7 +194,7 @@
<div class="notdisplayed stream_search_section">
<input class="stream-list-filter home-page-input filter_text_input" type="text" autocomplete="off" placeholder="{{t 'Filter channels' }}" />
- <button type="button" class="bootstrap-btn clear_search_button" id="clear_search_stream_button">
+ <button type="button" class="bootstrap-btn old_clear_search_button" id="clear_search_stream_button">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
diff --git a/web/templates/recent_view_table.hbs b/web/templates/recent_view_table.hbs
index 9b815f675a5..583bbbfb51c 100644
--- a/web/templates/recent_view_table.hbs
+++ b/web/templates/recent_view_table.hbs
@@ -4,7 +4,7 @@
</div>
<div class="search_group" role="group">
<input type="text" id="recent_view_search" class="filter_text_input" value="{{ search_val }}" autocomplete="off" placeholder="{{t 'Filter topics (t)' }}" />
- <button type="button" class="bootstrap-btn clear_search_button" id="recent_view_search_clear">
+ <button type="button" class="bootstrap-btn old_clear_search_button" id="recent_view_search_clear">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
diff --git a/web/templates/set_status_overlay.hbs b/web/templates/set_status_overlay.hbs
index 9b4ce1c5a73..fc2846f13b0 100644
--- a/web/templates/set_status_overlay.hbs
+++ b/web/templates/set_status_overlay.hbs
@@ -5,7 +5,7 @@
</div>
</div>
<input type="text" class="user-status modal_text_input" placeholder="{{t 'Your status' }}" maxlength="60"/>
- <button type="button" class="bootstrap-btn clear_search_button" id="clear_status_message_button" disabled="disabled">
+ <button type="button" class="bootstrap-btn old_clear_search_button" id="clear_status_message_button" disabled="disabled">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
diff --git a/web/templates/stream_settings/stream_settings_overlay.hbs b/web/templates/stream_settings/stream_settings_overlay.hbs
index ccbe9132de9..e3ef0e119e0 100644
--- a/web/templates/stream_settings/stream_settings_overlay.hbs
+++ b/web/templates/stream_settings/stream_settings_overlay.hbs
@@ -22,7 +22,7 @@
<div class="input-append stream_name_search_section" id="stream_filter">
<input type="text" name="stream_name" id="search_stream_name" class="filter_text_input" autocomplete="off"
placeholder="{{t 'Filter channels' }}" value=""/>
- <button type="button" class="bootstrap-btn clear_search_button" id="clear_search_stream_name">
+ <button type="button" class="bootstrap-btn old_clear_search_button" id="clear_search_stream_name">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
diff --git a/web/templates/user_group_settings/user_group_settings_overlay.hbs b/web/templates/user_group_settings/user_group_settings_overlay.hbs
index ded131c68cb..6d7ca5a0e82 100644
--- a/web/templates/user_group_settings/user_group_settings_overlay.hbs
+++ b/web/templates/user_group_settings/user_group_settings_overlay.hbs
@@ -22,7 +22,7 @@
<div class="input-append group_name_search_section" id="group_filter">
<input type="text" name="group_name" id="search_group_name" class="filter_text_input" autocomplete="off"
placeholder="{{t 'Filter groups' }}" value=""/>
- <button type="button" class="bootstrap-btn clear_search_button" id="clear_search_group_name">
+ <button type="button" class="bootstrap-btn old_clear_search_button" id="clear_search_group_name">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
diff --git a/web/templates/user_profile_modal.hbs b/web/templates/user_profile_modal.hbs
index 250fc905846..a4b622b1b33 100644
--- a/web/templates/user_profile_modal.hbs
+++ b/web/templates/user_profile_modal.hbs
@@ -119,7 +119,7 @@
</div>
<div class="stream-search-container">
<input type="text" class="stream-search modal_text_input" placeholder="{{t 'Filter channels' }}" />
- <button type="button" class="clear_search_button" id="clear_stream_search">
+ <button type="button" class="old_clear_search_button" id="clear_stream_search">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>