index.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. html, body, #root {
  2. width: 100%;
  3. height: 100%;
  4. padding: 0;
  5. margin: 0;
  6. overflow: hidden;
  7. font-family: "Segoe WP", "Segoe UI", "Verdana", "Arial";
  8. background: #a9b5bc;
  9. }
  10. .hidden {
  11. display: none;
  12. }
  13. #canvasZone {
  14. display: block;
  15. padding: 0;
  16. margin: 0;
  17. overflow: hidden;
  18. width: 100%;
  19. height: calc(100% - 56px);
  20. }
  21. #renderCanvas {
  22. position: relative;
  23. overflow: hidden;
  24. width: 100%;
  25. height: 100%;
  26. margin: 0;
  27. padding: 0;
  28. touch-action: none;
  29. -ms-touch-action: none;
  30. display: block;
  31. }
  32. a {
  33. color: white;
  34. }
  35. a:visited {
  36. color: white;
  37. }
  38. .footer {
  39. position: relative;
  40. width: 100%;
  41. height: 56px;
  42. margin: 0;
  43. padding: 0;
  44. background-color: #3B789A;
  45. font-size: 0;
  46. }
  47. .footerRight {
  48. display: block;
  49. float: right;
  50. bottom: 0;
  51. right: 0px;
  52. top: 0px;
  53. }
  54. .footerRight a {
  55. float: left; /* Float links side by side */
  56. width: 56px;
  57. height: 56px;
  58. margin: 0px;
  59. padding: 0;
  60. transition: all 0.3s ease; /* Add transition for hover effects */
  61. }
  62. .footerRight a img {
  63. width: 36px;
  64. height: 36px;
  65. margin: 10px;
  66. }
  67. .footerRight a:hover {
  68. background-color: #2c5a74; /* Add a hover color */
  69. }
  70. .footerRight a:active {
  71. background-color: #162D3A; /* Add a hover color */
  72. }
  73. .custom-upload {
  74. position: relative;
  75. background:url(./Assets/Icon_OpenFile.svg) center right no-repeat;
  76. width: 36px;
  77. height: 36px;
  78. margin: 10px;
  79. }
  80. .custom-upload input[type=file]
  81. {
  82. outline:none;
  83. position: relative;
  84. text-align: right;
  85. -moz-opacity:0 ;
  86. opacity: 0;
  87. z-index: 2;
  88. width:100%;
  89. height:100%;
  90. filter:alpha(opacity=0);
  91. }
  92. #logo {
  93. position: absolute;
  94. top:0;
  95. width: 100%;
  96. height: 100%;
  97. background: url('./Assets/Logo_Fullscreen.svg') no-repeat 0 0;
  98. background-position: center;
  99. background-size: 50%;
  100. pointer-events: none;
  101. }
  102. #droptext {
  103. position: absolute;
  104. text-align: center;
  105. color: #fff;
  106. height: 50px;
  107. width: 100%;
  108. bottom: 5%;
  109. }
  110. #btnDownArrow {
  111. position: absolute;
  112. bottom: 35px;
  113. right: 30px;
  114. }
  115. #loadingText {
  116. width: 100%;
  117. height: 60px;
  118. position: absolute;
  119. top: 50%;
  120. left: 0;
  121. margin-top: -30px;
  122. color: white;
  123. text-align: center;
  124. padding-top: 10px;
  125. font-size: 30px;
  126. transition: transform 0.25s ease-in-out;
  127. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  128. z-index: 3;
  129. cursor: default;
  130. background-color: #3B789A;
  131. }
  132. .loadingText {
  133. transform: translateX(120%);
  134. -webkit-transform: translateX(120%);
  135. }
  136. #errorZone {
  137. display:none;
  138. position: absolute;
  139. width: 50%;
  140. left: 25%;
  141. bottom: 80px;
  142. background-color: #C73228;
  143. padding:20px;
  144. border-radius: 5px;
  145. color:white;
  146. font-family: 'Inconsolata';
  147. }
  148. #errorZone button {
  149. position: absolute;
  150. top: 3px;
  151. right: 10px;
  152. padding: 0;
  153. cursor: pointer;
  154. background: transparent;
  155. border: 0;
  156. -webkit-appearance: none;
  157. color: #000;
  158. text-shadow: 0 1px 0 #fff;
  159. opacity: .4;
  160. font-size: 1.8em;
  161. }
  162. /* animation bar */
  163. #animationBar {
  164. position: absolute;
  165. bottom: 0px;
  166. display: none;
  167. align-items: center;
  168. color: white;
  169. width: calc(100% - 168px);
  170. min-height: 30px;
  171. font-size: 14px;
  172. }
  173. .row {
  174. display: flex;
  175. flex-direction: row;
  176. justify-content: center;
  177. flex-grow: 10;
  178. align-items: center
  179. }
  180. #animationBar * {
  181. padding: 0px;
  182. margin: 0px;
  183. }
  184. #animationBar {
  185. background-color: #3B789A;
  186. }
  187. #animationBar img {
  188. width: 36px;
  189. height: 36px;
  190. margin: 10px;
  191. }
  192. .dropdown {
  193. position: relative;
  194. display: inline-block;
  195. width: 200px;
  196. }
  197. #dropdownBtn,
  198. #playBtn {
  199. display: flex;
  200. align-items: center;
  201. }
  202. #playBtn {
  203. border: none;
  204. background-color: inherit;
  205. }
  206. #playBtn:hover {
  207. background-color: #2c5a74; /* Add a hover color */
  208. }
  209. #playBtn:active {
  210. background-color: #162D3A; /* Add a hover color */
  211. }
  212. #playBtn:focus {
  213. outline: none !important;
  214. border: none;
  215. }
  216. #dropdownContent-env {
  217. position: absolute;
  218. bottom: 56px;
  219. right: 0px;
  220. border-bottom: 1px solid white;
  221. }
  222. #dropdownContent-env div {
  223. background-color: #3B789A;
  224. overflow: hidden;
  225. text-overflow: ellipsis;
  226. white-space: nowrap;
  227. padding: 10px 15px;
  228. font-size: 16px;
  229. width: 100px;
  230. color: white;
  231. cursor: pointer;
  232. }
  233. #dropdownContent-env div:hover {
  234. background-color: #2c5a74;
  235. transition: all 0.3s ease;
  236. }
  237. #dropdownContent-env div:active {
  238. background-color: #162D3A;
  239. transition: all 0.3s ease;
  240. }
  241. #dropdownLabel,
  242. #dropdownContent a {
  243. overflow: hidden;
  244. text-overflow: ellipsis;
  245. white-space: nowrap;
  246. padding: 10px 15px 10px 46px;
  247. }
  248. #dropdownLabel {
  249. cursor: pointer;
  250. width: 200px;
  251. padding: 0px 15px 2px 5px;
  252. }
  253. #dropdownBtn:hover {
  254. cursor: pointer;
  255. background-color: #2c5a74;
  256. transition: all 0.3s ease;
  257. }
  258. #dropdownContent a {
  259. max-width: 1000px;
  260. transition: color 0.5s;
  261. }
  262. #dropdownContent a:hover {
  263. background-color: #2c5a74;
  264. transition: all 0.3s ease;
  265. }
  266. #dropdownContent a:active {
  267. background-color: #162D3A;
  268. transition: all 0.3s ease;
  269. }
  270. #dropdownContent {
  271. background-color: #3B789A;
  272. display: none;
  273. position: absolute;
  274. bottom: 56px;
  275. border-bottom: 1px solid white;
  276. z-index: 1;
  277. min-width: 135px;
  278. width: 200px;
  279. flex-direction: column;
  280. transition: all 0.3s ease; /* Add transition for hover effects */
  281. }
  282. #dropdownContent a,
  283. #playBtn {
  284. cursor: pointer;
  285. }
  286. #chevronUp {
  287. display: inline;
  288. margin-right: 0px;
  289. margin-left: 0px;
  290. }
  291. #chevronDown {
  292. display: none;
  293. margin-right: 0px;
  294. margin-left: 0px;
  295. }
  296. #playBtn.play #pauseImg,
  297. #playBtn.pause #playImg{
  298. display: none;
  299. }
  300. #slider {
  301. -webkit-appearance: none;
  302. cursor: pointer;
  303. width: 1000px;
  304. height: 50px;
  305. outline: none;
  306. margin-left: 20px;
  307. background-color: transparent;
  308. }
  309. /*Chrome -webkit */
  310. #slider::-webkit-slider-thumb {
  311. -webkit-appearance: none;
  312. width: 20px;
  313. height: 20px;
  314. border: 2px solid white;
  315. border-radius: 50%;
  316. background: #3B789A;
  317. margin-top: -10px;
  318. }
  319. #slider::-webkit-slider-runnable-track {
  320. height: 2px;
  321. -webkit-appearance: none;
  322. background-color: white;
  323. }
  324. /** FireFox -moz */
  325. #slider::-moz-range-progress {
  326. background-color: white;
  327. height: 2px;
  328. }
  329. #slider::-moz-range-thumb{
  330. width: 20px;
  331. height: 20px;
  332. border: 2px solid white;
  333. border-radius: 50%;
  334. background: #3B789A;
  335. }
  336. #slider::-moz-range-track {
  337. background: white;
  338. height: 2px;
  339. }
  340. /** IE -ms */
  341. #slider::-ms-track {
  342. height: 2px;
  343. /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  344. background: transparent;
  345. /*leave room for the larger thumb to overflow with a transparent border */
  346. border-color: transparent;
  347. border-width: 10px 0;
  348. /*remove default tick marks*/
  349. color: transparent;
  350. }
  351. #slider::-ms-fill-lower {
  352. background: white;
  353. border-radius: 5px;
  354. }
  355. #slider::-ms-fill-upper {
  356. background: white;
  357. border-radius: 5px;
  358. }
  359. #slider::-ms-thumb {
  360. width: 16px;
  361. height: 16px;
  362. border: 2px solid white;
  363. border-radius: 50%;
  364. background: #3B789A;
  365. margin-top: 0px;
  366. }
  367. @media (min-width: 0px) {
  368. #slider {
  369. display: none;
  370. }
  371. .dropdown {
  372. width: 56px;
  373. }
  374. #dropdownLabel {
  375. display: none;
  376. }
  377. #dropdownContent a {
  378. max-width: 200px;
  379. }
  380. }
  381. @media (min-width: 480px) {
  382. #slider,
  383. #dropdownLabel {
  384. display: initial;
  385. }
  386. #slider {
  387. width: 100px;
  388. }
  389. .dropdown {
  390. width: 150px;
  391. }
  392. #dropdownContent {
  393. width: 150px;
  394. }
  395. }
  396. @media (min-width: 768px) {
  397. #slider,
  398. #dropdownLabel {
  399. display: initial;
  400. }
  401. #slider {
  402. width: 300px;
  403. }
  404. .dropdown {
  405. width: 200px;
  406. }
  407. #dropdownContent {
  408. width: 200px;
  409. }
  410. }
  411. @media (min-width: 992px) {
  412. #slider,
  413. #dropdownLabel {
  414. display: initial;
  415. }
  416. #slider {
  417. width: 400px;
  418. }
  419. }
  420. @media (min-width: 1200px) {
  421. #slider,
  422. #dropdownLabel {
  423. display: initial;
  424. }
  425. #slider {
  426. width: 700px;
  427. }
  428. }