index.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  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: 48px;
  59. height: 48px;
  60. margin: 4px;
  61. }
  62. .footerRight a:hover {
  63. background-color: #162D3A; /* Add a hover color */
  64. }
  65. .footerRight a:active {
  66. background-color: #2c5a74; /* Add a hover color */
  67. }
  68. .custom-upload {
  69. position: relative;
  70. background:url(./Assets/Icon_OpenFile.svg) center right no-repeat;
  71. width: 48px;
  72. height: 48px;
  73. margin: 4px;
  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: bold;
  153. width: calc(100% - 168px);
  154. bottom: 12px;
  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. padding: 10px;
  169. background-color: #3B789A;
  170. }
  171. #animationBar img {
  172. width: 25px;
  173. height: 25px;
  174. }
  175. .dropdown {
  176. position: relative;
  177. display: inline-block;
  178. width: 150px;
  179. }
  180. #dropdownBtn,
  181. #playBtn {
  182. display: flex;
  183. align-items: center;
  184. }
  185. #playBtn {
  186. margin-left: 20px;
  187. margin-right: 20px;
  188. border: none;
  189. background-color: inherit;
  190. }
  191. #dropdownLabel,
  192. #dropdownContent a {
  193. overflow: hidden;
  194. text-overflow: ellipsis;
  195. white-space: nowrap;
  196. padding: 5px;
  197. }
  198. #dropdownLabel {
  199. cursor: default;
  200. width: 100px;
  201. }
  202. #dropdownContent a {
  203. max-width: 1000px;
  204. transition: color 0.5s;
  205. }
  206. #dropdownContent a:hover {
  207. color: #162D3A;
  208. }
  209. #dropdownContent {
  210. display: none;
  211. position: absolute;
  212. bottom: 100%;
  213. left: -10px;
  214. z-index: 1;
  215. border-radius: 5px 5px 0px 0px;
  216. min-width: 135px;
  217. }
  218. #dropdownContent a,
  219. #playBtn {
  220. cursor: pointer;
  221. }
  222. #dropdownContent .active {
  223. color: #2c5a74;
  224. }
  225. .dropdown:hover #dropdownContent {
  226. display: flex;
  227. flex-direction: column;
  228. }
  229. #playBtn.play #pauseImg,
  230. #playBtn.pause #playImg{
  231. display: none;
  232. }
  233. #slider {
  234. cursor: pointer;
  235. -webkit-appearance: none;
  236. width: 1000px;
  237. outline: none;
  238. border-radius: 5px;
  239. height: 4px;
  240. margin-top: 10px;
  241. }
  242. /*Chrome -webkit */
  243. #slider::-webkit-slider-thumb {
  244. -webkit-appearance: none;
  245. 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: 5px;
  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: 5px;
  274. }
  275. #slider::-ms-thumb {
  276. width: 20px;
  277. height: 20px;
  278. border: 0;
  279. background: url('Assets/circle.png') no-repeat #3B789A;
  280. background-size: 100% 100%;
  281. }
  282. @media (min-width: 0px) {
  283. #slider,
  284. #dropdownLabel {
  285. display: none;
  286. }
  287. #dropdownContent a {
  288. max-width: 260px;
  289. }
  290. }
  291. @media (min-width: 576px) {
  292. #slider,
  293. #dropdownLabel {
  294. display: initial;
  295. }
  296. #slider {
  297. width: 100px;
  298. }
  299. #dropdownLabel {
  300. width: 50px;
  301. }
  302. #dropdownContent a {
  303. max-width: 300px;
  304. }
  305. }
  306. @media (min-width: 768px) {
  307. #slider,
  308. #dropdownLabel {
  309. display: initial;
  310. }
  311. #slider {
  312. width: 300px;
  313. }
  314. #dropdownLabel {
  315. width: 75px;
  316. }
  317. #dropdownContent a {
  318. max-width: 400px;
  319. }
  320. }
  321. @media (min-width: 992px) {
  322. #slider,
  323. #dropdownLabel {
  324. display: initial;
  325. }
  326. #slider {
  327. width: 400px;
  328. }
  329. #dropdownLabel {
  330. width: 100px;
  331. }
  332. #dropdownContent a {
  333. max-width: 600px;
  334. }
  335. }
  336. @media (min-width: 1200px) {
  337. #slider,
  338. #dropdownLabel {
  339. display: initial;
  340. }
  341. #slider {
  342. width: 700px;
  343. }
  344. #dropdownLabel {
  345. width: 200px;
  346. }
  347. #dropdownContent a {
  348. max-width: 700px;
  349. }
  350. }