index.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. html, body {
  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. }
  9. .hidden {
  10. display: none;
  11. }
  12. #renderCanvas {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%;
  16. top: 0;
  17. margin-bottom: 65px;
  18. touch-action: none;
  19. -ms-touch-action: none;
  20. }
  21. .help {
  22. display: none;
  23. position: absolute;
  24. background-color: #3B789A;
  25. right: 0;
  26. bottom: 70px;
  27. color: white;
  28. padding-right: 10px;
  29. width: 360px;
  30. height: 30px;
  31. transition: all 0.5s ease;
  32. -webkit-transition: all 0.5s ease;
  33. transform: translateX(400px);
  34. -webkit-transform: translateX(400px);
  35. text-align: center;
  36. }
  37. .help.shown {
  38. transform: translateX(-100px);
  39. -webkit-transform: translateX(-100px);
  40. display: inline;
  41. }
  42. .help2 {
  43. display: none;
  44. position: absolute;
  45. background-color: #3B789A;
  46. right: 0;
  47. bottom: 70px;
  48. color: white;
  49. padding-right: 10px;
  50. width: 360px;
  51. height: 30px;
  52. transition: all 0.5s ease;
  53. -webkit-transition: all 0.5s ease;
  54. transform: translateX(400px);
  55. -webkit-transform: translateX(400px);
  56. text-align: center;
  57. }
  58. .help2.shown {
  59. transform: translateX(0px);
  60. -webkit-transform: translateX(0px);
  61. display: inline;
  62. }
  63. #helpArrow {
  64. position: absolute;
  65. right: -65px;
  66. bottom: 10px;
  67. }
  68. #fps {
  69. position: absolute;
  70. font-size: 30px;
  71. color: white;
  72. bottom: 15px;
  73. right: 85px;
  74. width: 85px;
  75. }
  76. a {
  77. color: white;
  78. }
  79. a:visited {
  80. color: white;
  81. }
  82. .footer {
  83. position: absolute;
  84. width: 100%;
  85. height: 56px;
  86. bottom: 0;
  87. background-color: #3B789A;
  88. padding-left: 15px;
  89. }
  90. .footerRight {
  91. display: inline;
  92. position: absolute;
  93. bottom: 0;
  94. right: 10px;
  95. top: 0px;
  96. }
  97. .footerLeft {
  98. position: absolute;
  99. bottom: 20px;
  100. left: 15px;
  101. color: white;
  102. }
  103. .footerRight a {
  104. float: left; /* Float links side by side */
  105. width: 56px;
  106. height: 56px;
  107. margin: 0px;
  108. padding: 0;
  109. transition: all 0.3s ease; /* Add transition for hover effects */
  110. }
  111. .footerRight a img {
  112. width: 48px;
  113. height: 48px;
  114. margin: 4px;
  115. }
  116. .footerRight a:hover {
  117. background-color: #162D3A; /* Add a hover color */
  118. }
  119. .footerRight a:active {
  120. background-color: #2c5a74; /* Add a hover color */
  121. }
  122. .custom-upload {
  123. position: relative;
  124. background:url(./Assets/Icon_OpenFile.svg) center right no-repeat;
  125. width: 48px;
  126. height: 48px;
  127. margin: 4px;
  128. }
  129. .custom-upload input[type=file]
  130. {
  131. outline:none;
  132. position: relative;
  133. text-align: right;
  134. -moz-opacity:0 ;
  135. opacity: 0;
  136. z-index: 2;
  137. width:100%;
  138. height:100%;
  139. filter:alpha(opacity=0);
  140. }
  141. #logo {
  142. width: 100%;
  143. height: 100%;
  144. background: url('./Assets/LogoSandbox.png') no-repeat 0 0;
  145. background-position: center;
  146. }
  147. #btnDownArrow {
  148. position: absolute;
  149. bottom: 35px;
  150. right: 30px;
  151. }
  152. #loadingText {
  153. width: 100%;
  154. height: 60px;
  155. position: absolute;
  156. top: 50%;
  157. left: 0;
  158. margin-top: -30px;
  159. color: white;
  160. text-align: center;
  161. padding-top: 10px;
  162. font-size: 30px;
  163. transition: transform 0.25s ease-in-out;
  164. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  165. z-index: 3;
  166. cursor: default;
  167. background-color: #3B789A;
  168. }
  169. .loadingText {
  170. transform: translateX(120%);
  171. -webkit-transform: translateX(120%);
  172. }
  173. #errorZone {
  174. display:none;
  175. position: absolute;
  176. width: 50%;
  177. left: 25%;
  178. bottom: 80px;
  179. background-color: #C73228;
  180. padding:20px;
  181. border-radius: 5px;
  182. color:white;
  183. font-family: 'Inconsolata';
  184. }
  185. #errorZone button {
  186. position: absolute;
  187. top: 3px;
  188. right: 10px;
  189. padding: 0;
  190. cursor: pointer;
  191. background: transparent;
  192. border: 0;
  193. -webkit-appearance: none;
  194. color: #000;
  195. text-shadow: 0 1px 0 #fff;
  196. opacity: .4;
  197. font-size: 1.8em;
  198. }