index.css 9.4 KB

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