index.css 10 KB

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