mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-27 08:15:42 +00:00
Restore original clip handle colors
This commit is contained in:
@@ -327,10 +327,7 @@
|
||||
content: none;
|
||||
}
|
||||
|
||||
/* Clip handles remain legible over both light and dark source frames. */
|
||||
.zoomEndCap.clipHandle,
|
||||
:global(:root:not(.dark)) .zoomEndCap.clipHandle {
|
||||
/* Keep clip handles visible using the original theme-aware handle colors. */
|
||||
.zoomEndCap.clipHandle {
|
||||
opacity: 1;
|
||||
background: white;
|
||||
box-shadow: 0 0 2px rgb(0 0 0 / 45%);
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ test("editor uses skeletons until media opens", async ({ page }) => {
|
||||
await expect(page.locator('[data-variant="clip"]')).toBeVisible();
|
||||
});
|
||||
|
||||
test("filmstrips have white handles, conditional speed badges and centered navigation", async ({
|
||||
test("filmstrips have persistent handles, conditional speed badges and centered navigation", async ({
|
||||
page,
|
||||
}) => {
|
||||
test.setTimeout(90000);
|
||||
@@ -54,7 +54,7 @@ test("filmstrips have white handles, conditional speed badges and centered navig
|
||||
await expect(clip.getByTitle(`Resize ${side}`)).toHaveCSS("opacity", "1");
|
||||
await expect(clip.getByTitle(`Resize ${side}`)).toHaveCSS(
|
||||
"background-color",
|
||||
"rgb(255, 255, 255)",
|
||||
"rgba(0, 0, 0, 0.5)",
|
||||
);
|
||||
}
|
||||
await page.getByRole("button", { name: "Add Zoom (Z)", exact: true }).click();
|
||||
|
||||
Reference in New Issue
Block a user