mirror of https://github.com/zulip/zulip.git
cleanup: Remove remaining CSS, JS .new-style references.
This commit is contained in:
parent
c43aaed37c
commit
7b7e21384f
|
@ -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"));
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue