Skip to content
Merged
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
87 changes: 87 additions & 0 deletions VR/client/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
html,
body,
canvas {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
}

#status {
position: fixed;
top: 12px;
left: 12px;
padding: 8px 12px;
color: #f9f9f9;
background: rgba(0, 0, 0, 0.6);
font-family: Menlo, monospace;
z-index: 10;
border-radius: 6px;
}

#start-btn {
position: fixed;
top: 52px;
left: 12px;
z-index: 10;
padding: 8px 12px;
border: 0;
border-radius: 6px;
background: #1c7ed6;
color: white;
font-family: Menlo, monospace;
cursor: pointer;
}

#join-panel,
#arm-camera-panel {
position: fixed;
right: 12px;
z-index: 10;
padding: 10px;
border-radius: 8px;
background: rgba(0, 0, 0, 0.68);
color: #f9f9f9;
font-family: Menlo, monospace;
display: grid;
gap: 6px;
min-width: 190px;
}

#join-panel {
top: 12px;
}

#arm-camera-panel {
top: 188px;
display: none;
}

#join-panel select,
#join-panel button,
#arm-camera-panel select {
font-family: Menlo, monospace;
padding: 5px 6px;
border-radius: 4px;
border: none;
}

#join-panel button {
background: #2f9e44;
color: white;
cursor: pointer;
}

#spectate-btn {
background: #6c757d;
}

#arm-camera-btn {
background: #1971c2;
}

.panel-caption {
font-size: 12px;
color: #ced4da;
}
90 changes: 1 addition & 89 deletions VR/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,95 +5,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>SPARC VR Client</title>
<style>
html,
body,
canvas {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
}

#status {
position: fixed;
top: 12px;
left: 12px;
padding: 8px 12px;
color: #f9f9f9;
background: rgba(0, 0, 0, 0.6);
font-family: Menlo, monospace;
z-index: 10;
border-radius: 6px;
}

#start-btn {
position: fixed;
top: 52px;
left: 12px;
z-index: 10;
padding: 8px 12px;
border: 0;
border-radius: 6px;
background: #1c7ed6;
color: white;
font-family: Menlo, monospace;
cursor: pointer;
}

#join-panel,
#arm-camera-panel {
position: fixed;
right: 12px;
z-index: 10;
padding: 10px;
border-radius: 8px;
background: rgba(0, 0, 0, 0.68);
color: #f9f9f9;
font-family: Menlo, monospace;
display: grid;
gap: 6px;
min-width: 190px;
}

#join-panel {
top: 12px;
}

#arm-camera-panel {
top: 188px;
display: none;
}

#join-panel select,
#join-panel button,
#arm-camera-panel select {
font-family: Menlo, monospace;
padding: 5px 6px;
border-radius: 4px;
border: none;
}

#join-panel button {
background: #2f9e44;
color: white;
cursor: pointer;
}

#spectate-btn {
background: #6c757d;
}

#arm-camera-btn {
background: #1971c2;
}

.panel-caption {
font-size: 12px;
color: #ced4da;
}
</style>
<link rel="stylesheet" href="./app.css" />
</head>

<body>
Expand Down