index.css 11 KB

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