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.waitForSelector(all_streams_selector, {visible: true});
await page.click(all_streams_selector); 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); const url = await page_url_with_fragment(page);
assert.ok(url.includes("#channels/notsubscribed")); assert.ok(url.includes("#channels/notsubscribed"));
} }

View File

@ -659,8 +659,7 @@
} }
&:disabled { &:disabled {
/* Replicate the `.new-style` disabled values, /* Replicate disabled values, without any color shifts. */
without any color shifts. */
cursor: not-allowed; cursor: not-allowed;
opacity: 0.5; opacity: 0.5;
} }

View File

@ -713,7 +713,7 @@ input[type="checkbox"] {
#show-add-default-streams-modal { #show-add-default-streams-modal {
/* We want this button to have the same height as the filter /* We want this button to have the same height as the filter
button on its right. We're overriding the default vertical 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 height fixed will mean that the vertical whitespace will
adjust itself for different font-sizes without changing the adjust itself for different font-sizes without changing the
height. height.

View File

@ -49,7 +49,7 @@
display: flex; /* Arrange that a multi-line description line wraps properly. */ display: flex; /* Arrange that a multi-line description line wraps properly. */
/* Keep checkboxes vertically aligned, including with multi-line tasks. */ /* Keep checkboxes vertically aligned, including with multi-line tasks. */
align-items: baseline; align-items: baseline;
/* Reset things from .new-style */ /* Reset default label.checkbox styles. */
gap: 5px; gap: 5px;
position: static; position: static;
min-height: 0; 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="flex overlay-content">
<div class="subscriptions-container overlay-container"> <div class="subscriptions-container overlay-container">
<div class="subscriptions-header"> <div class="subscriptions-header">