index.css 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  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. #logo {
  128. position: absolute;
  129. top:0;
  130. width: 20%;
  131. height: 20%;
  132. top: 30%;
  133. left: 40%;
  134. pointer-events: none;
  135. }
  136. #droptext {
  137. position: absolute;
  138. text-align: center;
  139. color: #fff;
  140. height: 50px;
  141. width: 100%;
  142. bottom: 50px;
  143. }
  144. #btnDownArrow {
  145. position: absolute;
  146. bottom: 35px;
  147. right: 30px;
  148. }
  149. #loadingText {
  150. width: 100%;
  151. height: 60px;
  152. position: absolute;
  153. top: 50%;
  154. left: 0;
  155. margin-top: -30px;
  156. color: white;
  157. text-align: center;
  158. padding-top: 10px;
  159. font-size: 30px;
  160. transition: transform 0.25s ease-in-out;
  161. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  162. z-index: 3;
  163. cursor: default;
  164. background-color: var(--footer-background);
  165. }
  166. .loadingText {
  167. transform: translateX(120%);
  168. -webkit-transform: translateX(120%);
  169. }
  170. #errorZone {
  171. display:none;
  172. position: absolute;
  173. width: 50%;
  174. left: 25%;
  175. bottom: 80px;
  176. background-color: #C73228;
  177. padding:20px;
  178. border-radius: 5px;
  179. color:white;
  180. font-family: 'Inconsolata';
  181. }
  182. #errorZone button {
  183. position: absolute;
  184. top: 3px;
  185. right: 10px;
  186. padding: 0;
  187. cursor: pointer;
  188. background: transparent;
  189. border: 0;
  190. -webkit-appearance: none;
  191. color: #000;
  192. text-shadow: 0 1px 0 #fff;
  193. opacity: .4;
  194. font-size: 1.8em;
  195. }
  196. /* animation bar */
  197. #animationBar {
  198. margin-left: 10px;
  199. display: none;
  200. align-items: center;
  201. color: white;
  202. min-height: 30px;
  203. height: var(--footer-height);
  204. background-color: var(--footer-background);
  205. grid-column: 2;
  206. grid-row: 1;
  207. }
  208. .row {
  209. display: flex;
  210. flex-direction: row;
  211. justify-content: center;
  212. flex-grow: 10;
  213. align-items: center
  214. }
  215. #animationBar * {
  216. padding: 0px;
  217. margin: 0px;
  218. }
  219. #playBtn img {
  220. width: var(--footer-height);
  221. height: var(--footer-height);
  222. }
  223. .dropdown {
  224. position: relative;
  225. display: inline-block;
  226. width: 200px;
  227. }
  228. #playBtn {
  229. display: flex;
  230. align-items: center;
  231. height: var(--footer-height);
  232. width: var(--footer-height);
  233. }
  234. #dropdownBtn {
  235. display: flex;
  236. height: var(--footer-height);
  237. width: 200px;
  238. font-size: var(--font-size);
  239. }
  240. #playBtn {
  241. border: none;
  242. background-color: inherit;
  243. }
  244. #playBtn:hover {
  245. background-color: var(--button-hover-color);
  246. }
  247. #playBtn:active {
  248. background-color: var(--button-hover-background);
  249. }
  250. #playBtn:focus {
  251. outline: none !important;
  252. border: none;
  253. }
  254. #dropdownContent-env {
  255. position: absolute;
  256. bottom: var(--footer-height);
  257. right: 0px;
  258. z-index: 100;
  259. }
  260. #dropdownContent-env div {
  261. background-color: var(--button-hover-color);
  262. overflow: hidden;
  263. text-overflow: ellipsis;
  264. white-space: nowrap;
  265. font-size: var(--font-size);
  266. width: calc(2 * var(--footer-height));
  267. color: white;
  268. cursor: pointer;
  269. height: 40px;
  270. box-sizing: border-box;
  271. padding: 0;
  272. margin: 0;
  273. display: grid;
  274. align-content: center;
  275. justify-content: center;
  276. }
  277. #dropdownContent-env div:hover {
  278. background-color: var(--button-hover-hover);
  279. transition: all 0.3s ease;
  280. }
  281. #dropdownContent-env div:active {
  282. background-color: var(--button-hover-background);
  283. transition: all 0.3s ease;
  284. }
  285. #btnEnvironment.open {
  286. background-color:var(--button-hover-color);
  287. }
  288. #dropdownLabel {
  289. align-self: center;
  290. justify-self: center;
  291. overflow: hidden;
  292. text-overflow: ellipsis;
  293. white-space: nowrap;
  294. }
  295. #dropdownContent a {
  296. overflow: hidden;
  297. text-overflow: ellipsis;
  298. white-space: nowrap;
  299. padding: 10px 15px 10px 46px;
  300. }
  301. #dropdownBtn:hover {
  302. cursor: pointer;
  303. background-color:var(--button-hover-color);
  304. transition: all 0.3s ease;
  305. }
  306. #dropdownBtn.open {
  307. background-color:var(--button-hover-color);
  308. }
  309. #dropdownContent a {
  310. max-width: 1000px;
  311. transition: color 0.5s;
  312. height: 40px;
  313. font-size: var(--font-size);
  314. box-sizing: border-box;
  315. padding: 0;
  316. margin: 0;
  317. display: grid;
  318. align-content: center;
  319. justify-content: center;
  320. }
  321. #dropdownContent a:hover {
  322. background-color: var(--button-hover-hover);
  323. transition: all 0.3s ease;
  324. }
  325. #dropdownContent a:active {
  326. background-color: var(--button-hover-background);
  327. transition: all 0.3s ease;
  328. }
  329. #dropdownContent {
  330. background-color: var(--button-hover-color);
  331. display: none;
  332. position: absolute;
  333. z-index: 100;
  334. bottom: var(--footer-height);
  335. min-width: 135px;
  336. width: 200px;
  337. flex-direction: column;
  338. transition: all 0.3s ease; /* Add transition for hover effects */
  339. }
  340. #dropdownContent a,
  341. #playBtn {
  342. cursor: pointer;
  343. }
  344. #chevronUp {
  345. margin-right: 0px;
  346. margin-left: 0px;
  347. height: var(--footer-height);
  348. width: var(--footer-height);
  349. }
  350. #chevronDown {
  351. display: none;
  352. margin-right: 0px;
  353. margin-left: 0px;
  354. height: var(--footer-height);
  355. width: var(--footer-height);
  356. }
  357. #dropdownLabel {
  358. cursor: pointer;
  359. width: 200px;
  360. padding: 0px 15px 2px 5px;
  361. }
  362. #playBtn.play #pauseImg,
  363. #playBtn.pause #playImg{
  364. display: none;
  365. }
  366. #slider {
  367. -webkit-appearance: none;
  368. cursor: pointer;
  369. width: 100%;
  370. max-width: 820px;
  371. height: var(--footer-height);
  372. outline: none;
  373. margin-left: 20px;
  374. margin-right: 10px;
  375. background-color: transparent;
  376. }
  377. /*Chrome -webkit */
  378. #slider::-webkit-slider-thumb {
  379. -webkit-appearance: none;
  380. width: 20px;
  381. height: 20px;
  382. border: 2px solid white;
  383. border-radius: 50%;
  384. background: var(--footer-background);
  385. margin-top: -10px;
  386. }
  387. #slider::-webkit-slider-runnable-track {
  388. height: 2px;
  389. -webkit-appearance: none;
  390. background-color: white;
  391. }
  392. /** FireFox -moz */
  393. #slider::-moz-range-progress {
  394. background-color: white;
  395. height: 2px;
  396. }
  397. #slider::-moz-range-thumb{
  398. width: 20px;
  399. height: 20px;
  400. border: 2px solid white;
  401. border-radius: 50%;
  402. background: var(--footer-background);
  403. }
  404. #slider::-moz-range-track {
  405. background: white;
  406. height: 2px;
  407. }
  408. /** IE -ms */
  409. #slider::-ms-track {
  410. height: 2px;
  411. /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  412. background: transparent;
  413. /*leave room for the larger thumb to overflow with a transparent border */
  414. border-color: transparent;
  415. border-width: 10px 0;
  416. /*remove default tick marks*/
  417. color: transparent;
  418. }
  419. #slider::-ms-fill-lower {
  420. background: white;
  421. border-radius: 5px;
  422. }
  423. #slider::-ms-fill-upper {
  424. background: white;
  425. border-radius: 5px;
  426. }
  427. #slider::-ms-thumb {
  428. width: 16px;
  429. height: 16px;
  430. border: 2px solid white;
  431. border-radius: 50%;
  432. background: var(--footer-background);
  433. margin-top: 0px;
  434. }