index.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. #renderCanvas {
  32. position: absolute;
  33. width: 100%;
  34. height: 100%;
  35. top: 0;
  36. margin-bottom: 70px;
  37. touch-action: none;
  38. -ms-touch-action: none;
  39. }
  40. .help {
  41. position: absolute;
  42. background-color: #0077DB;
  43. right: 0;
  44. bottom: 70px;
  45. color: white;
  46. padding-right: 10px;
  47. width: 360px;
  48. height: 50px;
  49. transition: all 0.5s ease;
  50. -webkit-transition: all 0.5s ease;
  51. transform: translateX(400px);
  52. -webkit-transform: translateX(400px);
  53. }
  54. .help.shown {
  55. transform: translateX(0px);
  56. -webkit-transform: translateX(0px);
  57. }
  58. .helpText {
  59. cursor: default;
  60. position: absolute;
  61. margin: 10px;
  62. bottom: 5px;
  63. }
  64. .helpArrow {
  65. position: absolute;
  66. margin: 5px;
  67. margin-right: 10px;
  68. right: 0px;
  69. }
  70. #sliders {
  71. position: absolute;
  72. top: 25%;
  73. right: 10px;
  74. height: 50%;
  75. width: 150px;
  76. text-align: center;
  77. }
  78. .slider {
  79. height: 20%;
  80. margin-bottom: 5px;
  81. margin-left: 70px;
  82. }
  83. .sliderText {
  84. color: white;
  85. font-size: 20px;
  86. cursor: default;
  87. }
  88. #fps {
  89. position: absolute;
  90. right: 20px;
  91. top: 20px;
  92. font-size: 20px;
  93. color: white;
  94. text-shadow: 2px 2px 0 black;
  95. }
  96. #babylonLogo {
  97. position: absolute;
  98. left: 20px;
  99. top: 20px;
  100. }
  101. #footer {
  102. position: absolute;
  103. width: 100%;
  104. height: 50px;
  105. bottom: 0;
  106. background-color: #0077DB;
  107. padding-top: 5px;
  108. padding-left: 15px;
  109. }
  110. #footerRight {
  111. position: absolute;
  112. bottom: 0;
  113. right: 10px;
  114. }
  115. #footerLeft {
  116. position: absolute;
  117. bottom: 5px;
  118. left: 15px;
  119. color: white;
  120. }
  121. #logo {
  122. position: absolute;
  123. width: 194px;
  124. bottom: 0;
  125. left: 50%;
  126. margin-left: -97px;
  127. }
  128. .sepButton {
  129. width: 24px;
  130. height: 40px;
  131. margin-right: 20px;
  132. }
  133. .controlButton {
  134. border-radius: 25px;
  135. border: 2px solid white;
  136. width: 40px;
  137. height: 40px;
  138. margin-right: 20px;
  139. }
  140. .controlButton.selected {
  141. background-color: orange;
  142. }
  143. .controlButton:hover {
  144. transform: scale(0.95);
  145. -webkit-transform: scale(0.95);
  146. }
  147. .controlButton:active {
  148. transform: scale(0.9);
  149. -webkit-transform: scale(0.9);
  150. background-color: orange;
  151. }