summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/modals/modals.video.css
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/viewer/modals/modals.video.css')
-rw-r--r--animism-align/frontend/app/views/viewer/modals/modals.video.css43
1 files changed, 43 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/viewer/modals/modals.video.css b/animism-align/frontend/app/views/viewer/modals/modals.video.css
new file mode 100644
index 0000000..090391b
--- /dev/null
+++ b/animism-align/frontend/app/views/viewer/modals/modals.video.css
@@ -0,0 +1,43 @@
+.video-modal {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ position: absolute;
+ top: 0;
+ left: 0;
+ height: 100%;
+ width: 100%;
+ transition: opacity 0.5s;
+ opacity: 0.0;
+ pointer-events: none;
+}
+.video-modal.open {
+ opacity: 1.0;
+ pointer-events: auto;
+}
+.video-modal .video {
+ width: 100%;
+ height: 100%;
+}
+.video-modal .video .videoPlayer {
+ pointer-events: none;
+ width: 100%;
+ height: calc(100vh) !important;
+ padding: 3rem 0 3rem 0;
+ transition: opacity 0.5s;
+}
+.video-modal .video .videoPlayer div {
+ width: 100%;
+ height: 100% !important;
+ padding: 0 !important;
+}
+.nav-open .video-modal .video-scrubber {
+ transform: translateZ(0) translateY(3rem);
+ opacity: 0;
+ pointer-events: none;
+}
+
+.video-modal-open .nav-player {
+ opacity: 0;
+ pointer-events: none;
+} \ No newline at end of file