style.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. body,
  2. html {
  3. width: 100%;
  4. height: 100%;
  5. overflow: hidden;
  6. font-family: 'Roboto', sans-serif;
  7. color: rgba(0, 0, 0, 0.8);
  8. }
  9. #webcam,
  10. #overlay {
  11. position: absolute;
  12. top: 60px;
  13. left: 0;
  14. }
  15. #eyes {
  16. position: absolute;
  17. top: 60px;
  18. left: 400px;
  19. }
  20. #targetMini {
  21. background-color: #00FF00;
  22. position: absolute;
  23. border-radius: 50%;
  24. height: 55px;
  25. width: 55px;
  26. /* z-index: 0; */
  27. opacity: 0.9;
  28. left: 0;
  29. bottom: 0;
  30. top: 0;
  31. right: 0;
  32. margin: auto;
  33. z-index: 999;
  34. transition: 1s;
  35. transition-timing-function: steps(1000, start);
  36. border: 2.5px solid #000000;
  37. }
  38. #target {
  39. /* text-align: center; */
  40. justify-content: center;
  41. background-image: url('calibrate.png');
  42. background-size: 60px 60px;
  43. /* background-color: lightgreen; */
  44. position: relative;
  45. /* position: absolute; */
  46. border-radius: 50%;
  47. height: 60px;
  48. width: 60px;
  49. left: 0px;
  50. top:0px;
  51. transition: left 0.01s ,top 0.01s;
  52. box-shadow: 0 0 10px 5px white;
  53. opacity: 0.9;
  54. display: inline-block;
  55. z-index: 999;
  56. }
  57. #targetMini1 {
  58. background-color: #00FF00;
  59. position: absolute;
  60. border-radius: 50%;
  61. height: 54px;
  62. width: 54px;
  63. /* z-index: 0; */
  64. opacity: 0.9;
  65. left: 0;
  66. bottom: 0;
  67. top: 0;
  68. right: 0;
  69. margin: auto;
  70. z-index: 999;
  71. transition: 1s;
  72. transition-timing-function: steps(1000, start);
  73. border: 3px solid #000000;
  74. }
  75. #target1 {
  76. /* text-align: center; */
  77. justify-content: center;
  78. background-image: url('calibrate.png');
  79. background-size: 60px 60px;
  80. /* background-color: lightgreen; */
  81. position: relative;
  82. /* position: absolute; */
  83. border-radius: 50%;
  84. height: 60px;
  85. width: 60px;
  86. left: 0px;
  87. top:0px;
  88. transition: left 1s ,top 1s;
  89. box-shadow: 0 0 10px 5px white;
  90. opacity: 0.9;
  91. display: inline-block;
  92. z-index: 999;
  93. }
  94. footer {
  95. position: absolute;
  96. bottom: 0;
  97. width: 100%;
  98. text-align: center;
  99. background-color: #05668d;
  100. color: #ebf2fa;
  101. font-size: 16pt;
  102. padding: 0.5em;
  103. }
  104. a {
  105. color: inherit;
  106. }
  107. @-webkit-keyframes flash {
  108. from,
  109. 50%,
  110. to {
  111. opacity: 1;
  112. }
  113. 25%,
  114. 75% {
  115. opacity: 0;
  116. }
  117. }
  118. @keyframes flash {
  119. from,
  120. 50%,
  121. to {
  122. opacity: 1;
  123. }
  124. 25%,
  125. 75% {
  126. opacity: 0;
  127. }
  128. }
  129. #info {
  130. display: none;
  131. position: absolute;
  132. top: 50%;
  133. left: 50%;
  134. transform: translate(-50%, -50%);
  135. font-size: 24pt;
  136. background-color: lightgreen;
  137. padding: 1em;
  138. border-radius: 10px;
  139. max-width: 500px;
  140. transition: all 1s;
  141. -webkit-animation-duration: 1s;
  142. animation-duration: 1s;
  143. -webkit-animation-fill-mode: both;
  144. animation-fill-mode: both;
  145. }
  146. #info h3 {
  147. margin: 0.2em 0;
  148. }
  149. #info.flash {
  150. -webkit-animation-name: flash;
  151. animation-name: flash;
  152. }
  153. #training {
  154. display: none;
  155. position: absolute;
  156. top: 0;
  157. right: 0;
  158. width: 400px;
  159. background-color: lightblue;
  160. padding: 0.5em;
  161. }
  162. #training table {
  163. width: 100%;
  164. font-size: 16pt;
  165. font-family: 'Source Code Pro', monospace;
  166. }
  167. #training table td:nth-child(2) {
  168. text-align: right;
  169. }
  170. .buttonwrap {
  171. text-align: center;
  172. }
  173. button {
  174. position: relative;
  175. z-index: 11;
  176. cursor: pointer;
  177. font-size: 10pt;
  178. padding: 0.125em 0em;
  179. margin: 0.1em;
  180. width: 140px;
  181. font-family: 'Source Code Pro', monospace;
  182. }
  183. #heatMap {
  184. position: absolute;
  185. top: 0;
  186. left: 0;
  187. height: 100%;
  188. width: 100%;
  189. z-index: 10;
  190. pointer-events: none;
  191. }
  192. #data-uploader,
  193. #model-uploader {
  194. display: none;
  195. }
  196. .point {
  197. width: 20px;
  198. height: 20px;
  199. border-radius: 50%;
  200. border: none;
  201. background-color: #ffb6c1;
  202. visibility: hidden;
  203. cursor: pointer;
  204. z-index: 20;
  205. }
  206. .buttonArr button {
  207. position: fixed;
  208. width: 10px;
  209. height: 1px;
  210. /* opacity: 0.0; */
  211. z-index: 2000;
  212. color: #000000;
  213. border-radius: 10px;
  214. border: 0px;
  215. }
  216. .buttonArr {
  217. width: 1px;
  218. height: 1px;
  219. opacity: 0.0;
  220. z-index: 2000;
  221. border-radius: 10px;
  222. border: 0px;
  223. }
  224. #num1 {
  225. position: absolute;
  226. left: 20px;
  227. top: 20px;
  228. }
  229. #num2 {
  230. position: absolute;
  231. left: 33%;
  232. top: 20px;
  233. }
  234. #num3 {
  235. position: absolute;
  236. left: 66%;
  237. top: 20px;
  238. }
  239. #num4 {
  240. position: absolute;
  241. right: 80px;
  242. top: 20px;
  243. }
  244. #num5 {
  245. position: absolute;
  246. left: 20px;
  247. top: 33%;
  248. }
  249. #num6 {
  250. position: absolute;
  251. left: 33%;
  252. top: 33%;
  253. }
  254. #num7 {
  255. position: absolute;
  256. left: 66%;
  257. top: 33%;
  258. }
  259. #num8 {
  260. position: absolute;
  261. right: 80px;
  262. top: 33%;
  263. }
  264. #num9 {
  265. position: absolute;
  266. left: 20px;
  267. top: 66%;
  268. }
  269. #num10 {
  270. position: absolute;
  271. left: 33%;
  272. top: 66%;
  273. }
  274. #num11 {
  275. position: absolute;
  276. left: 66%;
  277. top: 66%;
  278. }
  279. #num12 {
  280. position: absolute;
  281. right: 80px;
  282. top: 66%;
  283. }
  284. #num13 {
  285. position: absolute;
  286. left: 20px;
  287. bottom: 80px;
  288. }
  289. #num14 {
  290. position: absolute;
  291. left: 33%;
  292. bottom: 80px;
  293. }
  294. #num15 {
  295. position: absolute;
  296. left: 66%;
  297. bottom: 80px;
  298. }
  299. #num16 {
  300. position: absolute;
  301. right: 80px;
  302. bottom: 80px;
  303. }