index.css 7.6 KB

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