Skip to content

Commit dc94f8e

Browse files
committed
docs(example): add octree to geom viewer
1 parent 24de4f8 commit dc94f8e

File tree

4 files changed

+443
-0
lines changed

4 files changed

+443
-0
lines changed
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
body {
2+
display: flex;
3+
align-items: center;
4+
justify-content: center;
5+
}
6+
7+
.fullScreen {
8+
position: absolute;
9+
width: 100vw;
10+
height: 100vh;
11+
top: 0;
12+
left: 0;
13+
overflow: hidden;
14+
background: black;
15+
margin: 0;
16+
padding: 0;
17+
}
18+
19+
.fullParentSize {
20+
position: absolute;
21+
width: 100%;
22+
height: 100%;
23+
top: 0;
24+
left: 0;
25+
overflow: hidden;
26+
}
27+
28+
.bigFileDrop {
29+
position: absolute;
30+
left: 50%;
31+
top: 50%;
32+
transform: translate(-50%, -50%);
33+
background-color: white;
34+
background-image: url('./dropBG.jpg');
35+
background-repeat: no-repeat;
36+
background-position: center;
37+
background-size: contain;
38+
border-radius: 10px;
39+
width: 50px;
40+
padding: calc(50vh - 2em) calc(50vw - 25px - 2em);
41+
cursor: pointer;
42+
}
43+
44+
.selector {
45+
position: absolute;
46+
top: 5px;
47+
left: 400px;
48+
transform: translate(-100%, 0px);
49+
border: none;
50+
background: transparent;
51+
color: white;
52+
border: none;
53+
}
54+
55+
select {
56+
-moz-appearance: none;
57+
}
58+
59+
select option {
60+
color: black;
61+
}
62+
63+
select:focus {
64+
outline: none;
65+
border: none;
66+
}
67+
68+
.piecewiseWidget {
69+
position: absolute;
70+
top: calc(10px + 1em);
71+
left: 5px;
72+
background: rgba(255, 255, 255, 0.3);
73+
border-radius: 5px;
74+
}
75+
76+
.shadow {
77+
position: absolute;
78+
top: 5px;
79+
left: 5px;
80+
border: none;
81+
background: transparent;
82+
color: white;
83+
border: none;
84+
}
85+
86+
.progress {
87+
flex: none;
88+
font-size: 50px;
89+
color: black;
90+
z-index: 1;
91+
background: rgba(128,128,128,.5);
92+
padding: 20px;
93+
border-radius: 10px;
94+
user-select: none;
95+
}
96+
97+
.fpsMonitor {
98+
position: absolute;
99+
bottom: 10px;
100+
left: 10px;
101+
background-color: rgba(255, 255, 255, 0.5);
102+
border-radius: 5px;
103+
border: solid 1px gray;
104+
}
50.5 KB
Loading
Lines changed: 73 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)