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

This commit is contained in:
Karl Stolley 2024-09-11 13:46:53 -05:00 committed by Tim Abbott
parent c43aaed37c
commit 7b7e21384f
5 changed files with 5 additions and 6 deletions

View File

@ -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"));
}

View File

@ -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;
}

View File

@ -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.

View File

@ -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;

View File

@ -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">