-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (74 loc) · 1.65 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Cornell Box demo</title>
<style>
body {
margin: 0;
padding: 0;
background: #212128;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
canvas {
image-rendering: pixelated;
}
.header {
position: fixed;
width: 100vw;
left: 0;
right: 0;
top: 0;
padding: 8px 0;
display: flex;
justify-content: center;
}
.progress-bar {
position: fixed;
width: 100vw;
left: 0;
right: 0;
top: 0;
height: 2px;
}
.progress-bar .bar {
width: 0%;
height: 100%;
transition: width 0.2s;
background-color: #e91e63;
}
.start-button {
font-family: Arial, Helvetica, sans-serif;
color: #eee;
background-color: #e91e63;
padding: 8px 24px;
display: inline-block;
cursor: pointer;
user-select: none;
transition: 0.3s;
}
.start-button:hover {
background-color: #ff538d;
}
.start-button.locked {
background-color: #383335;
color: #888;
}
.dg.ac {
top: 2px!important;
}
</style>
</head>
<body>
<div class="progress-bar">
<div class="bar"></div>
</div>
<div class="header">
<div class="start-button">Render</div>
</div>
</body>
</html>