Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

360 photo and video support #367

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
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
Binary file not shown.
Binary file not shown.
414 changes: 414 additions & 0 deletions sigal/themes/galleria/static/valiant/css/fonts/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
54 changes: 54 additions & 0 deletions sigal/themes/galleria/static/valiant/css/modal.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 999; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 850px;
}

.modal-360 {
width: 800px;
height: 600px;
}

@media only screen and (max-width: 600px) {
.modal-content {
padding: 5px;
width: 375px;
}
.modal-360 {
width: 350px;
height: 300px;
}
}

/* The Close Button */
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
11 changes: 11 additions & 0 deletions sigal/themes/galleria/static/valiant/css/valiant360.css

Large diffs are not rendered by default.

707 changes: 707 additions & 0 deletions sigal/themes/galleria/static/valiant/js/three.min.js

Large diffs are not rendered by default.

Loading