index.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  1. html {
  2. --background: #2A2342;
  3. --footer-background: #201936;
  4. --footer-height: 70px;
  5. --button-hover-color: #BB464B;
  6. --button-hover-hover: #e0684b;
  7. --button-hover-background: #162D3A;
  8. --font-size: 20px;
  9. }
  10. html, body, #root {
  11. width: 100%;
  12. height: 100%;
  13. padding: 0;
  14. margin: 0;
  15. overflow: hidden;
  16. font-size: var(--font-size);
  17. background: var(--background);
  18. font-family: "acumin-pro-condensed";
  19. font-weight: normal;
  20. }
  21. .hidden {
  22. display: none !important;
  23. }
  24. #click-interceptor {
  25. position: absolute;
  26. width: 100%;
  27. height: 100%;
  28. z-index: 99;
  29. top:0;
  30. left:0;
  31. }
  32. #canvasZone {
  33. display: block;
  34. padding: 0;
  35. margin: 0;
  36. overflow: hidden;
  37. width: 100%;
  38. height: calc(100% - var(--footer-height));
  39. }
  40. #renderCanvas {
  41. position: relative;
  42. overflow: hidden;
  43. width: 100%;
  44. height: 100%;
  45. margin: 0;
  46. padding: 0;
  47. touch-action: none;
  48. -ms-touch-action: none;
  49. display: block;
  50. }
  51. a {
  52. color: white;
  53. }
  54. a:visited {
  55. color: white;
  56. }
  57. .footer {
  58. position: relative;
  59. width: 100%;
  60. height: var(--footer-height);
  61. margin: 0;
  62. padding: 0;
  63. background-color:var(--footer-background);
  64. font-size: 0;
  65. display: grid;
  66. grid-template-rows: 100%;
  67. grid-template-columns: 201px 1fr 210px
  68. }
  69. #logoImg {
  70. height: var(--footer-height);
  71. width: 161px;
  72. }
  73. .footerLeft {
  74. display: grid;
  75. grid-column: 1;
  76. grid-row: 1;
  77. padding-left: 40px;
  78. align-content: center;
  79. overflow: hidden;
  80. }
  81. .footerRight {
  82. display: flex;
  83. flex-direction: row-reverse;
  84. grid-column: 3;
  85. grid-row: 1;
  86. }
  87. .footerRight a {
  88. float: left; /* Float links side by side */
  89. width: var(--footer-height);
  90. height: var(--footer-height);
  91. margin: 0px;
  92. padding: 0;
  93. transition: all 0.3s ease; /* Add transition for hover effects */
  94. display: grid;
  95. align-content: center;
  96. justify-content: center;
  97. cursor: pointer;
  98. }
  99. .footerRight a img {
  100. width: var(--footer-height);
  101. height: var(--footer-height);
  102. }
  103. .footerRight a:hover {
  104. background-color: var(--button-hover-color);
  105. }
  106. .footerRight a:active {
  107. background-color: var(--button-hover-background);
  108. }
  109. .custom-upload {
  110. position: relative;
  111. background:url(./Assets/Icon_OpenFile.svg) center right no-repeat;
  112. width: var(--footer-height);
  113. height: var(--footer-height);
  114. }
  115. .custom-upload input[type=file]
  116. {
  117. outline:none;
  118. position: relative;
  119. text-align: right;
  120. -moz-opacity:0 ;
  121. opacity: 0;
  122. z-index: 2;
  123. width:100%;
  124. height:100%;
  125. filter:alpha(opacity=0);
  126. }
  127. #logoContainer {
  128. position: absolute;
  129. top:0;
  130. left:0;
  131. width: 100%;
  132. height: calc(100% - 70px);
  133. pointer-events: none;
  134. }
  135. #logo {
  136. position: absolute;
  137. width: 20%;
  138. height: 20%;
  139. top: 40%;
  140. left: 40%;
  141. pointer-events: none;
  142. }
  143. #droptext {
  144. position: absolute;
  145. text-align: center;
  146. color: #fff;
  147. height: 50px;
  148. width: 100%;
  149. bottom: 50px;
  150. }
  151. #btnDownArrow {
  152. position: absolute;
  153. bottom: 35px;
  154. right: 30px;
  155. }
  156. #loadingText {
  157. width: 100%;
  158. height: 60px;
  159. position: absolute;
  160. top: 50%;
  161. left: 0;
  162. margin-top: -30px;
  163. color: white;
  164. text-align: center;
  165. padding-top: 10px;
  166. font-size: 30px;
  167. transition: transform 0.25s ease-in-out;
  168. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  169. z-index: 3;
  170. cursor: default;
  171. background-color: var(--footer-background);
  172. }
  173. .loadingText {
  174. transform: translateX(120%);
  175. -webkit-transform: translateX(120%);
  176. }
  177. #errorZone {
  178. display:none;
  179. position: absolute;
  180. width: 50%;
  181. left: 25%;
  182. bottom: 80px;
  183. background-color: #C73228;
  184. padding:20px;
  185. border-radius: 5px;
  186. color:white;
  187. font-family: 'Inconsolata';
  188. }
  189. #errorZone button {
  190. position: absolute;
  191. top: 3px;
  192. right: 10px;
  193. padding: 0;
  194. cursor: pointer;
  195. background: transparent;
  196. border: 0;
  197. -webkit-appearance: none;
  198. color: #000;
  199. text-shadow: 0 1px 0 #fff;
  200. opacity: .4;
  201. font-size: 1.8em;
  202. }
  203. /* animation bar */
  204. #animationBar {
  205. margin-left: 10px;
  206. display: none;
  207. align-items: center;
  208. color: white;
  209. min-height: 30px;
  210. height: var(--footer-height);
  211. background-color: var(--footer-background);
  212. grid-column: 2;
  213. grid-row: 1;
  214. }
  215. .row {
  216. display: flex;
  217. flex-direction: row;
  218. justify-content: center;
  219. flex-grow: 10;
  220. align-items: center
  221. }
  222. #animationBar * {
  223. padding: 0px;
  224. margin: 0px;
  225. }
  226. #playBtn img {
  227. width: var(--footer-height);
  228. height: var(--footer-height);
  229. }
  230. .dropdown {
  231. position: relative;
  232. display: inline-block;
  233. width: 200px;
  234. }
  235. #playBtn {
  236. display: flex;
  237. align-items: center;
  238. height: var(--footer-height);
  239. width: var(--footer-height);
  240. }
  241. #dropdownBtn {
  242. display: flex;
  243. height: var(--footer-height);
  244. width: 200px;
  245. font-size: var(--font-size);
  246. }
  247. #playBtn {
  248. border: none;
  249. background-color: inherit;
  250. }
  251. #playBtn:hover {
  252. background-color: var(--button-hover-color);
  253. }
  254. #playBtn:active {
  255. background-color: var(--button-hover-background);
  256. }
  257. #playBtn:focus {
  258. outline: none !important;
  259. border: none;
  260. }
  261. #dropdownContent-env {
  262. position: absolute;
  263. bottom: var(--footer-height);
  264. right: 0px;
  265. z-index: 100;
  266. }
  267. #dropdownContent-env div {
  268. background-color: var(--button-hover-color);
  269. overflow: hidden;
  270. text-overflow: ellipsis;
  271. white-space: nowrap;
  272. font-size: var(--font-size);
  273. width: calc(2 * var(--footer-height));
  274. color: white;
  275. cursor: pointer;
  276. height: 40px;
  277. box-sizing: border-box;
  278. padding: 0;
  279. margin: 0;
  280. display: grid;
  281. align-content: center;
  282. justify-content: center;
  283. }
  284. #dropdownContent-env div:hover {
  285. background-color: var(--button-hover-hover);
  286. transition: all 0.3s ease;
  287. }
  288. #dropdownContent-env div:active {
  289. background-color: var(--button-hover-background);
  290. transition: all 0.3s ease;
  291. }
  292. #btnEnvironment.open {
  293. background-color:var(--button-hover-color);
  294. }
  295. #dropdownLabel {
  296. align-self: center;
  297. justify-self: center;
  298. overflow: hidden;
  299. text-overflow: ellipsis;
  300. white-space: nowrap;
  301. }
  302. #dropdownContent a {
  303. overflow: hidden;
  304. text-overflow: ellipsis;
  305. white-space: nowrap;
  306. padding: 10px 15px 10px 46px;
  307. }
  308. #dropdownBtn:hover {
  309. cursor: pointer;
  310. background-color:var(--button-hover-color);
  311. transition: all 0.3s ease;
  312. }
  313. #dropdownBtn.open {
  314. background-color:var(--button-hover-color);
  315. }
  316. #dropdownContent a {
  317. max-width: 1000px;
  318. transition: color 0.5s;
  319. height: 40px;
  320. font-size: var(--font-size);
  321. box-sizing: border-box;
  322. padding: 0;
  323. margin: 0;
  324. display: grid;
  325. align-content: center;
  326. justify-content: center;
  327. }
  328. #dropdownContent a:hover {
  329. background-color: var(--button-hover-hover);
  330. transition: all 0.3s ease;
  331. }
  332. #dropdownContent a:active {
  333. background-color: var(--button-hover-background);
  334. transition: all 0.3s ease;
  335. }
  336. #dropdownContent {
  337. background-color: var(--button-hover-color);
  338. display: none;
  339. position: absolute;
  340. z-index: 100;
  341. bottom: var(--footer-height);
  342. min-width: 135px;
  343. width: 200px;
  344. max-height: 50vh;
  345. overflow-y: auto;
  346. flex-direction: column;
  347. transition: all 0.3s ease; /* Add transition for hover effects */
  348. }
  349. #dropdownContent a,
  350. #playBtn {
  351. cursor: pointer;
  352. }
  353. #chevronUp {
  354. margin-right: 0px;
  355. margin-left: 0px;
  356. height: var(--footer-height);
  357. width: var(--footer-height);
  358. }
  359. #chevronDown {
  360. display: none;
  361. margin-right: 0px;
  362. margin-left: 0px;
  363. height: var(--footer-height);
  364. width: var(--footer-height);
  365. }
  366. #dropdownLabel {
  367. cursor: pointer;
  368. width: 200px;
  369. padding: 0px 15px 2px 5px;
  370. }
  371. #playBtn.play #pauseImg,
  372. #playBtn.pause #playImg{
  373. display: none;
  374. }
  375. #slider {
  376. -webkit-appearance: none;
  377. cursor: pointer;
  378. width: 100%;
  379. max-width: 820px;
  380. height: var(--footer-height);
  381. outline: none;
  382. margin-left: 20px;
  383. margin-right: 10px;
  384. background-color: transparent;
  385. }
  386. /*Chrome -webkit */
  387. #slider::-webkit-slider-thumb {
  388. -webkit-appearance: none;
  389. width: 20px;
  390. height: 20px;
  391. border: 2px solid white;
  392. border-radius: 50%;
  393. background: var(--footer-background);
  394. margin-top: -10px;
  395. }
  396. #slider::-webkit-slider-runnable-track {
  397. height: 2px;
  398. -webkit-appearance: none;
  399. background-color: white;
  400. }
  401. /** FireFox -moz */
  402. #slider::-moz-range-progress {
  403. background-color: white;
  404. height: 2px;
  405. }
  406. #slider::-moz-range-thumb{
  407. width: 20px;
  408. height: 20px;
  409. border: 2px solid white;
  410. border-radius: 50%;
  411. background: var(--footer-background);
  412. }
  413. #slider::-moz-range-track {
  414. background: white;
  415. height: 2px;
  416. }
  417. /** IE -ms */
  418. #slider::-ms-track {
  419. height: 2px;
  420. /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  421. background: transparent;
  422. /*leave room for the larger thumb to overflow with a transparent border */
  423. border-color: transparent;
  424. border-width: 10px 0;
  425. /*remove default tick marks*/
  426. color: transparent;
  427. }
  428. #slider::-ms-fill-lower {
  429. background: white;
  430. border-radius: 5px;
  431. }
  432. #slider::-ms-fill-upper {
  433. background: white;
  434. border-radius: 5px;
  435. }
  436. #slider::-ms-thumb {
  437. width: 16px;
  438. height: 16px;
  439. border: 2px solid white;
  440. border-radius: 50%;
  441. background: var(--footer-background);
  442. margin-top: 0px;
  443. }