diff --git a/web/skins/classic/css/base/views/event.css b/web/skins/classic/css/base/views/event.css index 961e7d9ab..1994fd019 100644 --- a/web/skins/classic/css/base/views/event.css +++ b/web/skins/classic/css/base/views/event.css @@ -146,6 +146,43 @@ height: 100%; grid-area: 1/1; } +/* The monitor name, the DVR transport buttons and the replay status share one + row under the video. #replayStatus stays the last child because scaleToFit() + measures its bottom edge to size the video. */ +#eventControls { + display: flex; + flex-wrap: wrap; + align-items: stretch; + justify-content: space-between; + column-gap: 0.5rem; +} + +#eventControls > .monitorStatus, +#eventControls > #dvrControls, +#eventControls > #replayStatus { + display: flex; + flex-wrap: wrap; + align-items: center; + margin: 3px 0 2px; + clear: none; +} + +#eventControls > .monitorStatus { + flex: 1 1 auto; + min-width: 0; + justify-content: flex-start; +} + +#eventControls > #dvrControls { + flex: 0 0 auto; + justify-content: center; +} + +#eventControls > #replayStatus { + flex: 1 1 auto; + justify-content: flex-end; +} + #monitorStatus { width: 100%; margin-top: 3px; diff --git a/web/skins/classic/views/event.php b/web/skins/classic/views/event.php index 5ae8c4241..190a4873c 100644 --- a/web/skins/classic/views/event.php +++ b/web/skins/classic/views/event.php @@ -491,56 +491,59 @@ if (defined('AUDIO_MOTION_ENABLED') && AUDIO_MOTION_ENABLED) echo ' ' . PHP_EOL; ?> -
- - - - - - - - - - -
-+ + + + + + + + + + +
+