Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit 968b2e8

Browse files
committed
livechroma: use shutter animation
Change-Id: I5750bfd63f533f24a755cef2788e2ac926534595
1 parent 5b3c5e8 commit 968b2e8

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

livechroma.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
<?php endif; ?>
6666
</head>
6767
<body>
68+
<div id="blocker"></div>
69+
<div id="aperture"></div>
6870
<div class="chromawrapper">
6971
<div class="rotarygroup" id="start">
7072
<div class="top-bar">

src/sass/classic_live_chromakeying.scss

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,31 @@
125125
}
126126
}
127127

128+
#blocker {
129+
position: absolute;
130+
display: none;
131+
width: 100%;
132+
height: 100%;
133+
z-index: 1499;
134+
background-color: #ffffff;
135+
opacity: 0;
136+
}
137+
138+
#aperture {
139+
box-sizing: content-box;
140+
display: none;
141+
width: 150%;
142+
padding-bottom: 150%;
143+
height: 0;
144+
position: absolute;
145+
top: 50%;
146+
left: 50%;
147+
z-index: 1500;
148+
transform: translate(-50%, -50%);
149+
border: solid 2000px #000000;
150+
border-radius: 50%;
151+
}
152+
128153
#video--view {
129154
top: 0;
130155
left: 0;

0 commit comments

Comments
 (0)