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.

cleanup: Remove remaining CSS, JS .new-style references.

Karl Stolley7b7e21384f4d
diff --git a/web/e2e-tests/lib/common.ts b/web/e2e-tests/lib/common.ts
index bf12c70ab8c..853a9a660e1 100644
--- a/web/e2e-tests/lib/common.ts
+++ b/web/e2e-tests/lib/common.ts
@@ -538,7 +538,7 @@ export async function open_streams_modal(page: Page): Promise<void> {
await page.waitForSelector(all_streams_selector, {visible: true});
await page.click(all_streams_selector);
- await page.waitForSelector("#subscription_overlay.new-style", {visible: true});
+ await page.waitForSelector("#subscription_overlay", {visible: true});
const url = await page_url_with_fragment(page);
assert.ok(url.includes("#channels/notsubscribed"));
}
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index b253cbef162..868f3102c41 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -659,8 +659,7 @@
}
&:disabled {
- /* Replicate the `.new-style` disabled values,
- without any color shifts. */
+ /* Replicate disabled values, without any color shifts. */
cursor: not-allowed;
opacity: 0.5;
}
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 28145b27a83..94ef55cf592 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -713,7 +713,7 @@ input[type="checkbox"] {
#show-add-default-streams-modal {
/* We want this button to have the same height as the filter
button on its right. We're overriding the default vertical
- padding of `.new-style` and setting it to 0. Having the
+ button padding and setting it to 0. Having the
height fixed will mean that the vertical whitespace will
adjust itself for different font-sizes without changing the
height.
diff --git a/web/styles/widgets.css b/web/styles/widgets.css
index fe21292e99a..5eafa190f57 100644
--- a/web/styles/widgets.css
+++ b/web/styles/widgets.css
@@ -49,7 +49,7 @@
display: flex; /* Arrange that a multi-line description line wraps properly. */
/* Keep checkboxes vertically aligned, including with multi-line tasks. */
align-items: baseline;
- /* Reset things from .new-style */
+ /* Reset default label.checkbox styles. */
gap: 5px;
position: static;
min-height: 0;
diff --git a/web/templates/stream_settings/stream_settings_overlay.hbs b/web/templates/stream_settings/stream_settings_overlay.hbs
index 9f6599a92d3..6cab4addd11 100644
--- a/web/templates/stream_settings/stream_settings_overlay.hbs
+++ b/web/templates/stream_settings/stream_settings_overlay.hbs
@@ -1,4 +1,4 @@
-<div id="subscription_overlay" class="overlay new-style" data-overlay="subscriptions">
+<div id="subscription_overlay" class="overlay" data-overlay="subscriptions">
<div class="flex overlay-content">
<div class="subscriptions-container overlay-container">
<div class="subscriptions-header">