index.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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. }
  156. .row {
  157. display: flex;
  158. flex-direction: row;
  159. justify-content: center;
  160. flex-grow: 10;
  161. }
  162. #animationBar * {
  163. padding: 0px;
  164. margin: 0px;
  165. }
  166. #animationBar #dropdownContent {
  167. padding: 10px;
  168. background-color: #3B789A;
  169. }
  170. #animationBar img {
  171. width: 25px;
  172. height: 25px;
  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: 40px;
  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;
  196. }
  197. #dropdownLabel {
  198. cursor: default;
  199. width: 100px;
  200. }
  201. #dropdownContent a {
  202. max-width: 1000px;
  203. transition: color 0.5s;
  204. }
  205. #dropdownContent a:hover {
  206. color: #162D3A;
  207. }
  208. #dropdownContent {
  209. display: none;
  210. position: absolute;
  211. bottom: 100%;
  212. left: -10px;
  213. z-index: 1;
  214. border-radius: 5px 5px 0px 0px;
  215. min-width: 135px;
  216. }
  217. #dropdownContent a,
  218. #playBtn {
  219. cursor: pointer;
  220. }
  221. #dropdownContent .active {
  222. color: #2c5a74;
  223. }
  224. .dropdown:hover #dropdownContent {
  225. display: flex;
  226. flex-direction: column;
  227. }
  228. #playBtn.play #pauseImg,
  229. #playBtn.pause #playImg{
  230. display: none;
  231. }
  232. #slider {
  233. cursor: pointer;
  234. -webkit-appearance: none;
  235. width: 1000px;
  236. outline: none;
  237. border-radius: 5px;
  238. height: 4px;
  239. margin-top: 10px;
  240. }
  241. /*Chrome -webkit */
  242. #slider::-webkit-slider-thumb {
  243. -webkit-appearance: none;
  244. appearance: none;
  245. width: 20px;
  246. height: 20px;
  247. border: 0;
  248. background: url('Assets/circle.png') no-repeat #3B789A;
  249. background-size: 100% 100%;
  250. }
  251. #slider::-webkit-slider-runnable-track {
  252. height: 10px;
  253. -webkit-appearance: none;
  254. color: white;
  255. margin-top: -10px;
  256. }
  257. /** FireFox -moz */
  258. #slider::-moz-range-progress {
  259. background-color: white;
  260. height: 5px;
  261. }
  262. #slider::-moz-range-thumb{
  263. width: 20px;
  264. height: 20px;
  265. border: 0;
  266. background: url('Assets/circle.png') no-repeat #3B789A;
  267. background-size: 100% 100%;
  268. }
  269. /** IE -ms */
  270. #slider::-ms-fill-lower {
  271. background-color: white;
  272. height: 5px;
  273. }
  274. #slider::-ms-thumb {
  275. width: 20px;
  276. height: 20px;
  277. border: 0;
  278. background: url('Assets/circle.png') no-repeat #3B789A;
  279. background-size: 100% 100%;
  280. }
  281. @media (min-width: 0px) {
  282. #slider,
  283. #dropdownLabel {
  284. display: none;
  285. }
  286. #dropdownContent a {
  287. max-width: 260px;
  288. }
  289. }
  290. @media (min-width: 576px) {
  291. #slider,
  292. #dropdownLabel {
  293. display: initial;
  294. }
  295. #slider {
  296. width: 100px;
  297. }
  298. #dropdownLabel {
  299. width: 50px;
  300. }
  301. #dropdownContent a {
  302. max-width: 300px;
  303. }
  304. }
  305. @media (min-width: 768px) {
  306. #slider,
  307. #dropdownLabel {
  308. display: initial;
  309. }
  310. #slider {
  311. width: 300px;
  312. }
  313. #dropdownLabel {
  314. width: 75px;
  315. }
  316. #dropdownContent a {
  317. max-width: 400px;
  318. }
  319. }
  320. @media (min-width: 992px) {
  321. #slider,
  322. #dropdownLabel {
  323. display: initial;
  324. }
  325. #slider {
  326. width: 400px;
  327. }
  328. #dropdownLabel {
  329. width: 100px;
  330. }
  331. #dropdownContent a {
  332. max-width: 600px;
  333. }
  334. }
  335. @media (min-width: 1200px) {
  336. #slider,
  337. #dropdownLabel {
  338. display: initial;
  339. }
  340. #slider {
  341. width: 700px;
  342. }
  343. #dropdownLabel {
  344. width: 200px;
  345. }
  346. #dropdownContent a {
  347. max-width: 700px;
  348. }
  349. }