index.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  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 {
  217. background-color: #3B789A;
  218. }
  219. #dropdownLabel,
  220. #dropdownContent a {
  221. overflow: hidden;
  222. text-overflow: ellipsis;
  223. white-space: nowrap;
  224. padding: 10px 15px 10px 46px;
  225. }
  226. #dropdownLabel {
  227. cursor: pointer;
  228. width: 200px;
  229. padding: 0px 15px 2px 5px;
  230. }
  231. #dropdownBtn:hover {
  232. cursor: pointer;
  233. background-color: #2c5a74;
  234. transition: all 0.3s ease;
  235. }
  236. #dropdownContent a {
  237. max-width: 1000px;
  238. transition: color 0.5s;
  239. }
  240. #dropdownContent a:hover {
  241. background-color: #2c5a74;
  242. transition: all 0.3s ease;
  243. }
  244. #dropdownContent a:active {
  245. background-color: #162D3A;
  246. transition: all 0.3s ease;
  247. }
  248. #dropdownContent {
  249. display: none;
  250. position: absolute;
  251. bottom: 56px;
  252. border-bottom: 1px solid white;
  253. z-index: 1;
  254. min-width: 135px;
  255. width: 200px;
  256. flex-direction: column;
  257. transition: all 0.3s ease; /* Add transition for hover effects */
  258. }
  259. #dropdownContent a,
  260. #playBtn {
  261. cursor: pointer;
  262. }
  263. #chevronUp {
  264. display: inline;
  265. margin-right: 0px;
  266. margin-left: 0px;
  267. }
  268. #chevronDown {
  269. display: none;
  270. margin-right: 0px;
  271. margin-left: 0px;
  272. }
  273. #playBtn.play #pauseImg,
  274. #playBtn.pause #playImg{
  275. display: none;
  276. }
  277. #slider {
  278. -webkit-appearance: none;
  279. cursor: pointer;
  280. width: 1000px;
  281. height: 50px;
  282. outline: none;
  283. margin-left: 20px;
  284. background-color: transparent;
  285. }
  286. /*Chrome -webkit */
  287. #slider::-webkit-slider-thumb {
  288. -webkit-appearance: none;
  289. width: 20px;
  290. height: 20px;
  291. border: 2px solid white;
  292. border-radius: 50%;
  293. background: #3B789A;
  294. margin-top: -10px;
  295. }
  296. #slider::-webkit-slider-runnable-track {
  297. height: 2px;
  298. -webkit-appearance: none;
  299. background-color: white;
  300. }
  301. /** FireFox -moz */
  302. #slider::-moz-range-progress {
  303. background-color: white;
  304. height: 2px;
  305. }
  306. #slider::-moz-range-thumb{
  307. width: 20px;
  308. height: 20px;
  309. border: 2px solid white;
  310. border-radius: 50%;
  311. background: #3B789A;
  312. }
  313. #slider::-moz-range-track {
  314. background: white;
  315. height: 2px;
  316. }
  317. /** IE -ms */
  318. #slider::-ms-track {
  319. height: 2px;
  320. /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
  321. background: transparent;
  322. /*leave room for the larger thumb to overflow with a transparent border */
  323. border-color: transparent;
  324. border-width: 10px 0;
  325. /*remove default tick marks*/
  326. color: transparent;
  327. }
  328. #slider::-ms-fill-lower {
  329. background: white;
  330. border-radius: 5px;
  331. }
  332. #slider::-ms-fill-upper {
  333. background: white;
  334. border-radius: 5px;
  335. }
  336. #slider::-ms-thumb {
  337. width: 16px;
  338. height: 16px;
  339. border: 2px solid white;
  340. border-radius: 50%;
  341. background: #3B789A;
  342. margin-top: 0px;
  343. }
  344. @media (min-width: 0px) {
  345. #slider {
  346. display: none;
  347. }
  348. .dropdown {
  349. width: 56px;
  350. }
  351. #dropdownLabel {
  352. display: none;
  353. }
  354. #dropdownContent a {
  355. max-width: 200px;
  356. }
  357. }
  358. @media (min-width: 480px) {
  359. #slider,
  360. #dropdownLabel {
  361. display: initial;
  362. }
  363. #slider {
  364. width: 100px;
  365. }
  366. .dropdown {
  367. width: 150px;
  368. }
  369. #dropdownContent {
  370. width: 150px;
  371. }
  372. }
  373. @media (min-width: 768px) {
  374. #slider,
  375. #dropdownLabel {
  376. display: initial;
  377. }
  378. #slider {
  379. width: 300px;
  380. }
  381. .dropdown {
  382. width: 200px;
  383. }
  384. #dropdownContent {
  385. width: 200px;
  386. }
  387. }
  388. @media (min-width: 992px) {
  389. #slider,
  390. #dropdownLabel {
  391. display: initial;
  392. }
  393. #slider {
  394. width: 400px;
  395. }
  396. }
  397. @media (min-width: 1200px) {
  398. #slider,
  399. #dropdownLabel {
  400. display: initial;
  401. }
  402. #slider {
  403. width: 700px;
  404. }
  405. }