index.css 10.0 KB

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