index.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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. a {
  10. color: white;
  11. }
  12. a:visited {
  13. color: white;
  14. }
  15. .hidden {
  16. display: none;
  17. }
  18. #notSupported {
  19. text-align: center;
  20. color: white;
  21. opacity: 0.8;
  22. background-color: #0077DB;
  23. font-size: 40px;
  24. padding-top: 20%;
  25. position: absolute;
  26. width: 100%;
  27. height: 100%;
  28. z-index: 1000;
  29. cursor: default;
  30. }
  31. #loadingBack {
  32. width: 100%;
  33. height: 60px;
  34. position: absolute;
  35. left: 0;
  36. top: 50%;
  37. margin-top: -30px;
  38. background-color: white;
  39. border: 1px solid #888888;
  40. transition: transform 0.25s ease-in-out;
  41. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  42. z-index: 3;
  43. cursor: default;
  44. }
  45. #loadingText {
  46. width: 100%;
  47. height: 60px;
  48. position: absolute;
  49. top: 50%;
  50. left: 0;
  51. margin-top: -30px;
  52. color: #888888;
  53. text-align: center;
  54. padding-top: 10px;
  55. font-size: 30px;
  56. transition: transform 0.25s ease-in-out;
  57. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  58. z-index: 3;
  59. cursor: default;
  60. }
  61. .loadingBack {
  62. transform: translateX(-100%);
  63. -webkit-transform: translateX(-100%);
  64. }
  65. .loadingText {
  66. transform: translateX(100%);
  67. -webkit-transform: translateX(100%);
  68. }
  69. #renderCanvas {
  70. position: absolute;
  71. width: 100%;
  72. height: 100%;
  73. top: 0;
  74. margin-bottom: 70px;
  75. touch-action: none;
  76. -ms-touch-action: none;
  77. }
  78. .help {
  79. position: absolute;
  80. background-color: #0077DB;
  81. right: 0;
  82. bottom: 70px;
  83. color: white;
  84. padding-right: 10px;
  85. width: 360px;
  86. height: 50px;
  87. transition: all 0.5s ease;
  88. -webkit-transition: all 0.5s ease;
  89. transform: translateX(400px);
  90. -webkit-transform: translateX(400px);
  91. }
  92. .help.shown {
  93. transform: translateX(0px);
  94. -webkit-transform: translateX(0px);
  95. }
  96. .helpText {
  97. cursor: default;
  98. position: absolute;
  99. margin: 10px;
  100. bottom: 5px;
  101. }
  102. .helpArrow {
  103. position: absolute;
  104. margin: 5px;
  105. margin-right: 10px;
  106. right: 0px;
  107. }
  108. #sliders {
  109. position: absolute;
  110. top: 25%;
  111. right: 10px;
  112. height: 50%;
  113. width: 150px;
  114. text-align: center;
  115. }
  116. .sliderText {
  117. color: white;
  118. font-size: 20px;
  119. cursor: default;
  120. }
  121. #message {
  122. position: absolute;
  123. right: 20px;
  124. top: 0px;
  125. font-size: 20px;
  126. color: white;
  127. text-shadow: 2px 2px 0 black;
  128. }
  129. #fps {
  130. position: absolute;
  131. right: 20px;
  132. top: 25px;
  133. font-size: 20px;
  134. color: white;
  135. text-shadow: 2px 2px 0 black;
  136. }
  137. #nbAttendes {
  138. position: absolute;
  139. right: 20px;
  140. top: 50px;
  141. font-size: 20px;
  142. color: white;
  143. text-shadow: 2px 2px 0 black;
  144. }
  145. #babylonLogo {
  146. position: absolute;
  147. left: 20px;
  148. top: 20px;
  149. }
  150. #footer {
  151. position: absolute;
  152. width: 100%;
  153. height: 50px;
  154. bottom: 0;
  155. background-color: #0077DB;
  156. padding-top: 5px;
  157. padding-left: 15px;
  158. }
  159. #footerRight {
  160. position: absolute;
  161. top: 5px;
  162. right: 10px;
  163. }
  164. #footerLeft {
  165. position: absolute;
  166. top: 5px;
  167. left: 15px;
  168. width:60px;
  169. }
  170. #footerMiddle {
  171. position: absolute;
  172. top:5px;
  173. right:90px;
  174. left:80px;
  175. }
  176. #slider {
  177. position:absolute;
  178. width:100%;
  179. }
  180. #logo {
  181. position: absolute;
  182. width: 194px;
  183. bottom: 0;
  184. left: 50%;
  185. margin-left: -97px;
  186. }
  187. .sepButton {
  188. width: 24px;
  189. height: 40px;
  190. margin-right: 20px;
  191. }
  192. .controlButton {
  193. border-radius: 25px;
  194. border: 2px solid white;
  195. width: 40px;
  196. height: 40px;
  197. margin-right: 20px;
  198. }
  199. .controlButton.selected {
  200. background-color: orange;
  201. }
  202. .controlButton:hover {
  203. transform: scale(0.95);
  204. -webkit-transform: scale(0.95);
  205. }
  206. .controlButton:active {
  207. transform: scale(0.9);
  208. -webkit-transform: scale(0.9);
  209. background-color: orange;
  210. }