Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ <h2>Scans</h2>
</section>
</div>
<div class="preview-container">
<video id="preview"></video>
<video id="preview" >

</video>
<div class="videobox"> </div>
</div>
</div>
<script type="text/javascript" src="app.js"></script>
Expand Down
32 changes: 29 additions & 3 deletions docs/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
body, html {
body,
html {
padding: 0;
margin: 0;
font-family: 'Helvetica Neue', 'Calibri', Arial, sans-serif;
font-family: "Helvetica Neue", "Calibri", Arial, sans-serif;
height: 100%;
}
#app {
Expand All @@ -21,7 +22,7 @@ body, html {
}
.sidebar h2 {
font-weight: normal;
font-size: 1.0rem;
font-size: 1rem;
background: #607d8b;
color: #fff;
padding: 10px;
Expand Down Expand Up @@ -75,3 +76,28 @@ body, html {
width: 100%;
overflow: hidden;
}

#preview {
width: 90%;
padding: 0;
position: relative;
object-fit: cover;
}

.videobox {
position: absolute;
height: 400px;
width: 400px;
font-size: 2em;
padding: 1.25em;
background-repeat: no-repeat;
background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%;
background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%;
border-radius: 15px;
background-size: 2.6666666667em 2.6666666667em, 2.6666666667em 2.6666666667em,
2.6666666667em 2.6666666667em, 2.6666666667em 2.6666666667em;
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http:%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox=%220 0 80 80%22%3E%3Cpolygon points=%2280 0 20 0 0 0 0 20 0 80 20 80 20 20 80 20 80 0%22 fill=%22%23fff%22 %2F%3E%3C%2Fsvg%3E"),
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http:%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox=%220 0 80 80%22%3E%3Cpolygon points=%2280 0 20 0 0 0 0 20 0 80 20 80 20 20 80 20 80 0%22 fill=%22%23fff%22 transform=%22translate(80, 0) rotate(90)%22 %2F%3E%3C%2Fsvg%3E"),
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http:%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox=%220 0 80 80%22%3E%3Cpolygon points=%2280 0 20 0 0 0 0 20 0 80 20 80 20 20 80 20 80 0%22 fill=%22%23fff%22 transform=%22translate(80, 80) rotate(180)%22 %2F%3E%3C%2Fsvg%3E"),
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http:%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox=%220 0 80 80%22%3E%3Cpolygon points=%2280 0 20 0 0 0 0 20 0 80 20 80 20 20 80 20 80 0%22 fill=%22%23fff%22 transform=%22translate(0, 80) rotate(270)%22 %2F%3E%3C%2Fsvg%3E");
}