index.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  1. html, body {
  2. width: 100%;
  3. height: 100%;
  4. padding: 0;
  5. margin: 0;
  6. overflow: hidden;
  7. position: fixed;
  8. font-family: "Segoe WP", "Segoe UI", "Verdana", "Arial";
  9. }
  10. a {
  11. color: black;
  12. }
  13. a:visited {
  14. color: black;
  15. }
  16. .button {
  17. cursor: pointer;
  18. z-index: 1;
  19. }
  20. .button:hover {
  21. transform: scale3d(0.9, 0.9, 0.9);
  22. -webkit-transform: scale3d(0.9, 0.9, 0.9);
  23. }
  24. .buttonControlPanel {
  25. height: 40px;
  26. width: 200px;
  27. margin: 5px 0px 5px 0px;
  28. }
  29. .smallButtonControlPanel {
  30. height: 30px;
  31. width: 200px;
  32. margin: 2px 0px 2px 0px;
  33. }
  34. .smallButtonControlPanel.pushed {
  35. border: 2px solid #00008b;
  36. }
  37. .buttonImg {
  38. height: 32px;
  39. width: 32px;
  40. float: left;
  41. }
  42. button {
  43. border: 1px solid #888888;
  44. background-color: #DEDEDE;
  45. color: #888888;
  46. }
  47. button:hover {
  48. background-color: #EEEEEE;
  49. }
  50. button:active {
  51. transform: scale(0.98);
  52. -webkit-transform: scale(0.98);
  53. }
  54. #title0 {
  55. font-size: 50px;
  56. color: #2F2F2F;
  57. font-weight: 900;
  58. position: absolute;
  59. top: 0px;
  60. left: 50px;
  61. }
  62. #title1 {
  63. font-size: 40px;
  64. color: #2E7F80;
  65. font-weight: 900;
  66. position: absolute;
  67. top: 50px;
  68. left: 50px;
  69. }
  70. #title2 {
  71. font-size: 30px;
  72. color: #872526;
  73. font-weight: 900;
  74. position: absolute;
  75. top: 90px;
  76. left: 50px;
  77. }
  78. #title3 {
  79. font-size: 14px;
  80. color: #872526;
  81. font-weight: 100;
  82. text-align: center;
  83. }
  84. #screen1 {
  85. position: absolute;
  86. width: 100%;
  87. height: 100%;
  88. padding: 0;
  89. margin: 0;
  90. transition: transform 0.4s ease-in-out;
  91. -webkit-transition: -webkit-transform 0.4s ease-in-out;
  92. background-color: #DEDEDE;
  93. background-image: url("Assets/Bandeauhaut.png");
  94. background-repeat: repeat-x;
  95. }
  96. #gradient {
  97. position: absolute;
  98. left: 0;
  99. top: 135px;
  100. width: 100%;
  101. height: 47px;
  102. background-image: url("Assets/gradient.png");
  103. background-repeat: repeat-x;
  104. z-index: 1;
  105. }
  106. .hidden {
  107. display: none;
  108. }
  109. #newImg {
  110. position: absolute;
  111. top: 5px;
  112. left: 5px;
  113. z-index: 1;
  114. }
  115. #newText {
  116. position: absolute;
  117. top: 65px;
  118. left: 45px;
  119. color: white;
  120. font-weight: bold;
  121. font-size: 16px;
  122. cursor: default;
  123. z-index: 1;
  124. text-align: right;
  125. }
  126. #downloadLink {
  127. position: absolute;
  128. top: 70px;
  129. right: 240px;
  130. border: 0;
  131. z-index: 1;
  132. }
  133. #aboutLink {
  134. position: absolute;
  135. top: 70px;
  136. right: 360px;
  137. z-index: 1;
  138. }
  139. #aboutText {
  140. position: absolute;
  141. top: 110px;
  142. right: 460px;
  143. font-weight: bold;
  144. color: #862627;
  145. cursor: default;
  146. }
  147. #downloadText {
  148. position: absolute;
  149. top: 110px;
  150. right: 140px;
  151. font-weight: bold;
  152. color: #2F7F80;
  153. cursor: default;
  154. }
  155. .movedLeft {
  156. transform: translateX(-2000px);
  157. -webkit-transform: translateX(-2000px);
  158. }
  159. .movedRight {
  160. transform: translateX(2000px);
  161. -webkit-transform: translateX(2000px);
  162. }
  163. #babylonLink {
  164. position: absolute;
  165. top: 20px;
  166. right: 20px;
  167. }
  168. #babylonLink:hover {
  169. transform: scale3d(0.9, 0.9, 0.9);
  170. -webkit-transform: scale3d(0.9, 0.9, 0.9);
  171. }
  172. #babylonLink:active {
  173. opacity: 0.8;
  174. }
  175. #mainTitle {
  176. position: absolute;
  177. top: 10px;
  178. right: 30px;
  179. color: White;
  180. }
  181. #opacityMask {
  182. opacity: 0.8;
  183. background-color: black;
  184. width: 100%;
  185. height: 100%;
  186. position: absolute;
  187. z-index: 2;
  188. }
  189. #menuPanel {
  190. position: absolute;
  191. left: 0;
  192. right: 0;
  193. top: 136px;
  194. bottom: 0px;
  195. overflow-y: auto;
  196. overflow-x: hidden;
  197. width: 100%;
  198. }
  199. #renderZone {
  200. width: 100%;
  201. height: 100%;
  202. transition: transform 0.4s ease-in-out;
  203. -webkit-transition: -webkit-transform 0.4s ease-in-out;
  204. }
  205. .header {
  206. font-size: 34px;
  207. color: #2E7F80;
  208. font-weight: 900;
  209. }
  210. #itemsContainer {
  211. position: absolute;
  212. top: 50px;
  213. left: 15%;
  214. right: 5%;
  215. }
  216. .big-item {
  217. float: left;
  218. position: relative;
  219. width: 400px;
  220. height: 508px;
  221. margin-right: 2px;
  222. margin-left: 2px;
  223. }
  224. .big-item:hover {
  225. opacity: 0.8;
  226. cursor: pointer;
  227. }
  228. .big-item:active {
  229. opacity: 0.6;
  230. }
  231. .big-item .item-image {
  232. position: relative;
  233. height: 505px;
  234. width: 400px;
  235. }
  236. .item {
  237. position: relative;
  238. width: 400px;
  239. height: 250px;
  240. margin: 2px;
  241. }
  242. .item:hover {
  243. opacity: 0.8;
  244. cursor: pointer;
  245. }
  246. .item:active {
  247. opacity: 0.6;
  248. }
  249. .item-image {
  250. position: relative;
  251. width: 400px;
  252. height: 250px;
  253. /*height: 100%;*/
  254. }
  255. .item-text {
  256. position: absolute;
  257. left: 0px;
  258. right: 0px;
  259. bottom: 0;
  260. height: 30px;
  261. font-size: 20px;
  262. color: white;
  263. font-weight: bold;
  264. background-color: rgba(30, 30, 30, 0.9);
  265. padding: 10px 10px 10px 10px;
  266. margin-bottom: 4px;
  267. }
  268. .item-text-right {
  269. position: absolute;
  270. right: 10px;
  271. bottom: 15px;
  272. font-size: 16px;
  273. color: white;
  274. }
  275. #notSupported {
  276. color: red;
  277. width: 100%;
  278. height: 60px;
  279. position: absolute;
  280. top: 50%;
  281. margin-top: -30px;
  282. background-color: #EEEEEE;
  283. border: 1px solid #888888;
  284. text-align: center;
  285. padding-top: 10px;
  286. font-size: 30px;
  287. z-index: 3;
  288. cursor: default;
  289. }
  290. #rootDiv {
  291. width: 100%;
  292. height: 100%;
  293. }
  294. #renderCanvas {
  295. width: 100%;
  296. height: 100%;
  297. touch-action: none;
  298. -ms-touch-action: none;
  299. }
  300. #fps {
  301. position: absolute;
  302. right: 20px;
  303. top: 20px;
  304. font-size: 20px;
  305. color: white;
  306. text-shadow: 2px 2px 0 black;
  307. }
  308. #stats {
  309. position: absolute;
  310. right: 20px;
  311. top: 60px;
  312. font-size: 14px;
  313. color: white;
  314. text-align: right;
  315. text-shadow: 2px 2px 0 black;
  316. }
  317. #status {
  318. position: absolute;
  319. left: 20px;
  320. bottom: 20px;
  321. font-size: 14px;
  322. color: white;
  323. text-shadow: 2px 2px 0 black;
  324. }
  325. #controlPanel {
  326. position: absolute;
  327. height: 250px;
  328. bottom: 0px;
  329. width: 500px;
  330. left: 50%;
  331. margin-left: -250px;
  332. z-index: 1;
  333. transition: transform 0.25s ease-in-out;
  334. transform: translateY(250px);
  335. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  336. -webkit-transform: translateY(250px);
  337. }
  338. .tag {
  339. position: absolute;
  340. background-color: #EEEEEE;
  341. height: 40px;
  342. width: 150px;
  343. left: 50%;
  344. padding: 5px;
  345. color: #888888;
  346. font-size: 18px;
  347. margin-left: -75px;
  348. text-align: center;
  349. top: -40px;
  350. border-top-left-radius: 10px 10px;
  351. border-top-right-radius: 10px 10px;
  352. }
  353. #controlsZone {
  354. width: 100%;
  355. height: 100%;
  356. background-color: #EEEEEE;
  357. color: #888888;
  358. padding: 20px;
  359. border-top-left-radius: 10px 10px;
  360. border-top-right-radius: 10px 10px;
  361. }
  362. #cameraPanel {
  363. position: absolute;
  364. right: 0px;
  365. width: 300px;
  366. top: 350px;
  367. z-index: 1;
  368. transition: transform 0.25s ease-in-out;
  369. transform: translateX(300px);
  370. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  371. -webkit-transform: translateX(300px);
  372. }
  373. .cameraTag {
  374. position: absolute;
  375. background-color: #EEEEEE;
  376. height: 50px;
  377. width: 50px;
  378. top: 0px;
  379. left: -50px;
  380. border-top-left-radius: 10px 10px;
  381. border-bottom-left-radius: 10px 10px;
  382. }
  383. #clickableTag {
  384. cursor: hand;
  385. background-color: transparent;
  386. }
  387. #cameraClickableTag {
  388. cursor: hand;
  389. background-color: transparent;
  390. }
  391. #cameraControlsZone {
  392. width: 100%;
  393. height: 100%;
  394. background-color: #EEEEEE;
  395. color: #888888;
  396. padding: 20px;
  397. border-bottom-left-radius: 10px 10px;
  398. }
  399. #loadingBack {
  400. width: 100%;
  401. height: 60px;
  402. position: absolute;
  403. left: 0;
  404. top: 50%;
  405. margin-top: -30px;
  406. background-color: white;
  407. border: 1px solid #888888;
  408. transition: transform 0.25s ease-in-out;
  409. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  410. z-index: 3;
  411. cursor: default;
  412. }
  413. #loadingText {
  414. width: 100%;
  415. height: 60px;
  416. position: absolute;
  417. top: 50%;
  418. left: 0;
  419. margin-top: -30px;
  420. color: #888888;
  421. text-align: center;
  422. padding-top: 10px;
  423. font-size: 30px;
  424. transition: transform 0.25s ease-in-out;
  425. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  426. z-index: 3;
  427. cursor: default;
  428. }
  429. .loadingBack {
  430. transform: translateX(-120%);
  431. -webkit-transform: translateX(-120%);
  432. }
  433. .loadingText {
  434. transform: translateX(120%);
  435. -webkit-transform: translateX(120%);
  436. }
  437. #leftPart {
  438. position: absolute;
  439. left: 20px;
  440. top: 10px;
  441. height: 40%;
  442. width: 30%;
  443. }
  444. #rightPart {
  445. position: absolute;
  446. right: 10px;
  447. top: 10px;
  448. height: 40%;
  449. width: 50%;
  450. }
  451. /*About*/
  452. #clickableTitle {
  453. position: absolute;
  454. background-color: transparent;
  455. right: -80px;
  456. width: 100px;
  457. height: 35px;
  458. bottom: 20px;
  459. font-size: 20px;
  460. font-weight: 900;
  461. color: #777777;
  462. background-color: #EEEEEE;
  463. border-bottom-right-radius: 10px 10px;
  464. border-top-right-radius: 10px 10px;
  465. text-align: right;
  466. padding: 5px 10px 0px 0px;
  467. cursor: pointer;
  468. }
  469. #aboutPanel {
  470. position: absolute;
  471. height: 80%;
  472. width: 80%;
  473. left: 10%;
  474. top: 10%;
  475. z-index: 50;
  476. transition: transform 0.25s ease-in-out;
  477. background-color: #EEEEEE;
  478. border: 2px solid #DDDDDD;
  479. color: #888888;
  480. padding-left: 20px;
  481. padding-right: 20px;
  482. transform: translateX(-120%);
  483. -webkit-transition: -webkit-transform 0.25s ease-in-out;
  484. -webkit-transform: translateX(-120%);
  485. }
  486. #aboutParagraph {
  487. text-align: center;
  488. }
  489. #features {
  490. overflow-y: auto;
  491. overflow-x: hidden;
  492. position: absolute;
  493. top: 350px;
  494. left: 10px;
  495. right: 10px;
  496. bottom: 10px;
  497. }
  498. #engineFeatures {
  499. column-count: 3;
  500. column-gap: 20px;
  501. column-rule-color: #ccc;
  502. column-rule-style: dotted;
  503. column-rule-width: 2px;
  504. -webkit-column-count: 3;
  505. -webkit-column-gap: 20px;
  506. -webkit-column-rule-color: #ccc;
  507. -webkit-column-rule-style: dotted;
  508. -webkit-column-rule-width: 2px;
  509. -moz-column-count: 3;
  510. -moz-column-gap: 20px;
  511. -moz-column-rule-color: #ccc;
  512. -moz-column-rule-style: dotted;
  513. -moz-column-rule-width: 2px;
  514. }