Omnibus commited on
Commit
acb32a2
·
1 Parent(s): b2d17c4

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +109 -0
style.css ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :not(:defined) > * {
2
+ display: none;
3
+ }
4
+
5
+ html {
6
+ height: 100%;
7
+ }
8
+
9
+ body {
10
+ margin: 0;
11
+ padding: 0;
12
+ width: 100%;
13
+ height: 100%;
14
+ }
15
+
16
+ model-viewer {
17
+ width: 100%;
18
+ height: 100%;
19
+ background-color: #ffffff;
20
+ }
21
+
22
+
23
+ .progress-bar {
24
+ display: block;
25
+ width: 33%;
26
+ height: 10%;
27
+ max-height: 2%;
28
+ position: absolute;
29
+ left: 50%;
30
+ top: 50%;
31
+ transform: translate3d(-50%, -50%, 0);
32
+ border-radius: 25px;
33
+ box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
34
+ border: 1px solid rgba(255, 255, 255, 0.9);
35
+ background-color: rgba(0, 0, 0, 0.5);
36
+ }
37
+
38
+ .progress-bar.hide {
39
+ visibility: hidden;
40
+ transition: visibility 0.3s;
41
+ }
42
+
43
+ .update-bar {
44
+ background-color: rgba(255, 255, 255, 0.9);
45
+ width: 0%;
46
+ height: 100%;
47
+ border-radius: 25px;
48
+ float: left;
49
+ transition: width 0.3s;
50
+ }
51
+
52
+ #ar-button {
53
+ background-image: url(ar_icon.png);
54
+ background-repeat: no-repeat;
55
+ background-size: 20px 20px;
56
+ background-position: 12px 50%;
57
+ background-color: #fff;
58
+ position: absolute;
59
+ left: 50%;
60
+ transform: translateX(-50%);
61
+ white-space: nowrap;
62
+ bottom: 16px;
63
+ padding: 0px 16px 0px 40px;
64
+ font-family: Roboto Regular, Helvetica Neue, sans-serif;
65
+ font-size: 14px;
66
+ color:#4285f4;
67
+ height: 36px;
68
+ line-height: 36px;
69
+ border-radius: 18px;
70
+ border: 1px solid #DADCE0;
71
+ }
72
+
73
+ #ar-button:active {
74
+ background-color: #E8EAED;
75
+ }
76
+
77
+ #ar-button:focus {
78
+ outline: none;
79
+ }
80
+
81
+ #ar-button:focus-visible {
82
+ outline: 1px solid #4285f4;
83
+ }
84
+
85
+ @keyframes circle {
86
+ from { transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg); }
87
+ to { transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg); }
88
+ }
89
+
90
+ @keyframes elongate {
91
+ from { transform: translateX(100px); }
92
+ to { transform: translateX(-100px); }
93
+ }
94
+
95
+ model-viewer > #ar-prompt {
96
+ position: absolute;
97
+ left: 50%;
98
+ bottom: 60px;
99
+ animation: elongate 2s infinite ease-in-out alternate;
100
+ display: none;
101
+ }
102
+
103
+ model-viewer[ar-status="session-started"] > #ar-prompt {
104
+ display: block;
105
+ }
106
+
107
+ model-viewer > #ar-prompt > img {
108
+ animation: circle 4s linear infinite;
109
+ }