diff --git a/desktop/src/shared/styles/globals/video-review.css b/desktop/src/shared/styles/globals/video-review.css index e3b44ac516b..609c857c6f8 100644 --- a/desktop/src/shared/styles/globals/video-review.css +++ b/desktop/src/shared/styles/globals/video-review.css @@ -2,6 +2,29 @@ The review dialog uses the shadcn "neutral" dark palette regardless of the app theme. Applied together with `.dark` on the portal root; this block is intentionally unlayered so it overrides the layered theme vars. */ +.video-review-controls { + transition: opacity 150ms cubic-bezier(0.23, 1, 0.32, 1); +} + +@media (hover: hover) and (pointer: fine) { + .video-review-media-surface .video-review-controls { + pointer-events: none; + opacity: 0; + } + + .video-review-media-surface:hover .video-review-controls, + .video-review-media-surface:has(:focus-visible) .video-review-controls { + pointer-events: auto; + opacity: 1; + } +} + +@media (prefers-reduced-motion: reduce) { + .video-review-controls { + transition: none; + } +} + .video-review-theme { --background: 0 0% 3.9%; --foreground: 0 0% 98%; diff --git a/desktop/src/shared/ui/VideoPlayer.tsx b/desktop/src/shared/ui/VideoPlayer.tsx index 74703dc5e8c..71753104014 100644 --- a/desktop/src/shared/ui/VideoPlayer.tsx +++ b/desktop/src/shared/ui/VideoPlayer.tsx @@ -1697,7 +1697,7 @@ function VideoReviewDialog({ ref={videoAreaRef} >
@@ -1764,7 +1764,7 @@ function VideoReviewDialog({ visible={!hasVisibleFrame} />
-
+