index.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. html, body {
  2. width: 100%;
  3. height: 100%;
  4. padding: 0;
  5. margin: 0;
  6. overflow: hidden;
  7. font-family: "Segoe WP", "Segoe UI", "Verdana", "Arial";
  8. }
  9. .hidden {
  10. display: none;
  11. }
  12. #renderCanvas {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%;
  16. top: 0;
  17. margin-bottom: 65px;
  18. touch-action: none;
  19. -ms-touch-action: none;
  20. }
  21. #fps {
  22. position: absolute;
  23. font-size: 30px;
  24. color: white;
  25. bottom: 15px;
  26. right: 85px;
  27. width: 85px;
  28. }
  29. a {
  30. color: white;
  31. }
  32. a:visited {
  33. color: white;
  34. }
  35. .footer {
  36. position: absolute;
  37. width: 100%;
  38. height: 56px;
  39. bottom: 0;
  40. background-color: #3B789A;
  41. }
  42. .footerRight {
  43. display: inline;
  44. position: absolute;
  45. bottom: 0;
  46. right: 0px;
  47. top: 0px;
  48. }
  49. .footerRight a {
  50. float: left; /* Float links side by side */
  51. width: 56px;
  52. height: 56px;
  53. margin: 0px;
  54. padding: 0;
  55. transition: all 0.3s ease; /* Add transition for hover effects */
  56. }
  57. .footerRight a img {
  58. width: 36px;
  59. height: 36px;
  60. margin: 10px;
  61. }
  62. .footerRight a:hover {
  63. background-color: #2c5a74; /* Add a hover color */
  64. }
  65. .footerRight a:active {
  66. background-color: #162D3A; /* Add a hover color */
  67. }
  68. .custom-upload {
  69. position: relative;
  70. background:url(./Assets/Icon_OpenFile.svg) center right no-repeat;
  71. width: 36px;
  72. height: 36px;
  73. margin: 10px;
  74. }
  75. .custom-upload input[type=file]
  76. {
  77. outline:none;
  78. position: relative;
  79. text-align: right;
  80. -moz-opacity:0 ;
  81. opacity: 0;
  82. z-index: 2;
  83. width:100%;
  84. height:100%;
  85. filter:alpha(opacity=0);
  86. }
  87. #logo {
  88. width: 100%;
  89. height: 100%;
  90. background: url('./Assets/LogoSandbox.png') no-repeat 0 0;
  91. background-position: center;
  92. }
  93. #btnDownArrow {
  94. position: absolute;
  95. bottom: 35px;
  96. right: 30px;
  97. }
  98. #loadingText {
  99. width: 100%;
  100. height: 60px;
  101. position: absolute;
  102. top: 50%;
  103. left: 0;
  104. margin-top: -30px;
  105. color: white;
  106. text-align: center;
  107. padding-top: 10px;
  108. font-size: 30px;
  109. transition: transform 0.25s ease-in-out;
  110. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  111. z-index: 3;
  112. cursor: default;
  113. background-color: #3B789A;
  114. }
  115. .loadingText {
  116. transform: translateX(120%);
  117. -webkit-transform: translateX(120%);
  118. }
  119. #errorZone {
  120. display:none;
  121. position: absolute;
  122. width: 50%;
  123. left: 25%;
  124. bottom: 80px;
  125. background-color: #C73228;
  126. padding:20px;
  127. border-radius: 5px;
  128. color:white;
  129. font-family: 'Inconsolata';
  130. }
  131. #errorZone button {
  132. position: absolute;
  133. top: 3px;
  134. right: 10px;
  135. padding: 0;
  136. cursor: pointer;
  137. background: transparent;
  138. border: 0;
  139. -webkit-appearance: none;
  140. color: #000;
  141. text-shadow: 0 1px 0 #fff;
  142. opacity: .4;
  143. font-size: 1.8em;
  144. }
  145. /* animation bar */
  146. #animationBar {
  147. position: absolute;
  148. bottom: 0px;
  149. display: none;
  150. align-items: center;
  151. color: white;
  152. font-weight: 500;
  153. width: calc(100% - 168px);
  154. bottom: 10px;
  155. min-height: 30px;
  156. }
  157. .row {
  158. display: flex;
  159. flex-direction: row;
  160. justify-content: center;
  161. flex-grow: 10;
  162. }
  163. #animationBar * {
  164. padding: 0px;
  165. margin: 0px;
  166. }
  167. #animationBar #dropdownContent {
  168. background-color: #3B789A;
  169. }
  170. #animationBar img {
  171. width: 36px;
  172. height: 36px;
  173. }
  174. .dropdown {
  175. position: relative;
  176. display: inline-block;
  177. width: 150px;
  178. }
  179. #dropdownBtn,
  180. #playBtn {
  181. display: flex;
  182. align-items: center;
  183. }
  184. #playBtn {
  185. margin-left: 20px;
  186. margin-right: 20px;
  187. border: none;
  188. background-color: inherit;
  189. }
  190. #dropdownLabel,
  191. #dropdownContent a {
  192. overflow: hidden;
  193. text-overflow: ellipsis;
  194. white-space: nowrap;
  195. padding: 5px 15px 5px 15px;
  196. }
  197. #dropdownLabel {
  198. cursor: default;
  199. width: 100px;
  200. }
  201. #dropdownLabel:hover {
  202. cursor: pointer;
  203. }
  204. #dropdownContent a {
  205. max-width: 1000px;
  206. transition: color 0.5s;
  207. }
  208. #dropdownContent a:hover {
  209. color: #162D3A;
  210. }
  211. #dropdownContent {
  212. display: none;
  213. position: absolute;
  214. bottom: 44px;
  215. border-bottom: 1px solid white;
  216. z-index: 1;
  217. min-width: 135px;
  218. }
  219. #dropdownContent a,
  220. #playBtn {
  221. cursor: pointer;
  222. }
  223. #dropdownContent .active {
  224. color: #2c5a74;
  225. }
  226. .dropdown:hover #dropdownContent {
  227. display: flex;
  228. flex-direction: column;
  229. }
  230. #playBtn.play #pauseImg,
  231. #playBtn.pause #playImg{
  232. display: none;
  233. }
  234. #slider {
  235. -webkit-appearance: none;
  236. cursor: pointer;
  237. width: 1000px;
  238. outline: none;
  239. border-radius: 5px;
  240. height: 2px;
  241. margin-top: 16px;
  242. }
  243. /*Chrome -webkit */
  244. #slider::-webkit-slider-thumb {
  245. -webkit-appearance: none;
  246. width: 20px;
  247. height: 20px;
  248. border: 0;
  249. background: url('Assets/circle.png') no-repeat #3B789A;
  250. background-size: 100% 100%;
  251. }
  252. #slider::-webkit-slider-runnable-track {
  253. height: 10px;
  254. -webkit-appearance: none;
  255. color: white;
  256. margin-top: -10px;
  257. }
  258. /** FireFox -moz */
  259. #slider::-moz-range-progress {
  260. background-color: white;
  261. height: 2px;
  262. }
  263. #slider::-moz-range-thumb{
  264. width: 20px;
  265. height: 20px;
  266. border: 0;
  267. background: url('Assets/circle.png') no-repeat #3B789A;
  268. background-size: 100% 100%;
  269. }
  270. /** IE -ms */
  271. #slider::-ms-fill-lower {
  272. background-color: white;
  273. height: 2px;
  274. }
  275. #slider::-ms-fill-upper {
  276. background-color: white;
  277. height: 2px;
  278. }
  279. #slider::-ms-thumb {
  280. width: 20px;
  281. height: 20px;
  282. border: none;
  283. background: url('Assets/circle.png') no-repeat #3B789A;
  284. background-size: 100% 100%;
  285. }
  286. @media (min-width: 0px) {
  287. #slider,
  288. #dropdownLabel {
  289. display: none;
  290. }
  291. #dropdownContent a {
  292. max-width: 260px;
  293. }
  294. }
  295. @media (min-width: 576px) {
  296. #slider,
  297. #dropdownLabel {
  298. display: initial;
  299. }
  300. #slider {
  301. width: 100px;
  302. }
  303. #dropdownLabel {
  304. width: 50px;
  305. }
  306. #dropdownContent a {
  307. max-width: 300px;
  308. }
  309. }
  310. @media (min-width: 768px) {
  311. #slider,
  312. #dropdownLabel {
  313. display: initial;
  314. }
  315. #slider {
  316. width: 300px;
  317. }
  318. #dropdownLabel {
  319. width: 75px;
  320. }
  321. #dropdownContent a {
  322. max-width: 400px;
  323. }
  324. }
  325. @media (min-width: 992px) {
  326. #slider,
  327. #dropdownLabel {
  328. display: initial;
  329. }
  330. #slider {
  331. width: 400px;
  332. }
  333. #dropdownLabel {
  334. width: 100px;
  335. }
  336. #dropdownContent a {
  337. max-width: 600px;
  338. }
  339. }
  340. @media (min-width: 1200px) {
  341. #slider,
  342. #dropdownLabel {
  343. display: initial;
  344. }
  345. #slider {
  346. width: 700px;
  347. }
  348. #dropdownLabel {
  349. width: 200px;
  350. }
  351. #dropdownContent a {
  352. max-width: 700px;
  353. }
  354. }