index.css 9.4 KB

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