-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoadTerrainPage.html
More file actions
57 lines (56 loc) · 1.44 KB
/
LoadTerrainPage.html
File metadata and controls
57 lines (56 loc) · 1.44 KB
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
<style>
:host {
text-align: center;
z-index: 100;
}
div.mc-background {
height: 100vh;
background-image: var(--mc-ui-background-img);
background-repeat: repeat;
background-size: auto;
}
div.mc-background[darken] {
background-image: var(--mc-ui-background-darken-img);
}
p {
margin: 0;
padding: 45vh 0 20px;
}
progress {
-webkit-appearance: none;
-moz-appearance: none;
background-color: #555;
height: 8px;
border: 0;
vertical-align: middle;
position: relative;
}
progress::-webkit-progress-bar {
background-color: transparent;
}
progress::-webkit-progress-value {
background-color: #8f8;
}
progress::-moz-progress-bar {
background-color: #8f8;
}
progress:indeterminate::after {
content: '';
display: block;
width: 25%; height: 100%;
position: absolute;
top: 0; left: 0;
background-color: #8f8;
animation: mc-progress-idtm-pos 2s linear alternate infinite;
}
progress:indeterminate::-moz-progress-bar {
width: 25%;
position: relative;
animation: mc-progress-idtm-pos 2s linear alternate infinite;
}
@keyframes mc-progress-idtm-pos { to { margin-left: 75%; } }
</style>
<div class="mc-background" darken>
<p id="gen-out"></p>
<progress></progress>
</div>