not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

563 lines
7.2 KiB

  1. /* Toolbar buttons */
  2. #main-toolbar #activity-button {
  3. background-image: url(activity/activity-icon.svg);
  4. }
  5. #main-toolbar #en-button {
  6. margin-left: 100px;
  7. background-image: url(images/en.svg);
  8. }
  9. #main-toolbar #fr-button {
  10. margin-left: 5px;
  11. background-image: url(images/fr.svg);
  12. }
  13. #main-toolbar #pt_BR-button {
  14. margin-left: 5px;
  15. background-image: url(images/pt_BR.svg);
  16. }
  17. /* App background */
  18. .board {
  19. background-color: #005a40 !important;
  20. }
  21. /* Home page */
  22. .cardbox {
  23. position: absolute;
  24. left: 0px;
  25. top: 0px;
  26. width: 100%;
  27. height: 100%;
  28. z-index: 0;
  29. overflow-x: hidden;
  30. overflow-y: hidden;
  31. }
  32. .glass {
  33. position: absolute;
  34. left: 0px;
  35. top: 0px;
  36. width: 100%;
  37. height: 100%;
  38. background-color: rgba(0, 0, 0, 0.5);
  39. z-index: 1;
  40. overflow-x: hidden;
  41. overflow-y: hidden;
  42. }
  43. .logo {
  44. position: absolute;
  45. margin-top: 5%;
  46. margin-left: 28%;
  47. z-index: 2;
  48. max-width: 50%;
  49. }
  50. .game-LearnGame {
  51. position: absolute;
  52. left: 10%;
  53. top: 40%;
  54. z-index: 2;
  55. }
  56. .game-BuildGame {
  57. position: absolute;
  58. left: 40%;
  59. top: 30%;
  60. z-index: 2;
  61. }
  62. .game-PlayGame {
  63. position: absolute;
  64. left: 70%;
  65. top: 40%;
  66. z-index: 2;
  67. }
  68. .game-popup {
  69. position: absolute;
  70. left: 25%;
  71. top: 55%;
  72. width: 40%;
  73. height: 300px;
  74. max-height: 30%;
  75. border: medium solid black;
  76. border-radius: 20px / 15px;
  77. background-color: white;
  78. box-shadow: 5px 4px 10px 2px gray;
  79. padding: 5px;
  80. z-index: 2;
  81. }
  82. .game-title {
  83. font-size: x-large;
  84. }
  85. .game-color-LearnGame {
  86. color: blue;
  87. }
  88. .game-color-BuildGame {
  89. color: red;
  90. }
  91. .game-color-PlayGame {
  92. color: magenta;
  93. }
  94. .game-description {
  95. font-size: small;
  96. }
  97. .information {
  98. position: absolute;
  99. left: 85%;
  100. bottom: 30%;
  101. }
  102. /* Game One */
  103. .start-box {
  104. margin-top: 1%;
  105. margin-left: 40%;
  106. border-width: 2px;
  107. border-style: dashed;
  108. border-color: white;
  109. width: 25%;
  110. height: 260px;
  111. z-index: -1;
  112. }
  113. .end-box {
  114. border-width: 2px;
  115. border-style: dashed;
  116. width: 25%;
  117. height: 300px;
  118. z-index: -1;
  119. display: inline-block;
  120. border-color: white;
  121. }
  122. .herb-box-two {
  123. margin-top: 1%;
  124. margin-left: 20%;
  125. background-image: url(images/grass.png);
  126. background-size: 70%;
  127. background-repeat: no-repeat;
  128. background-position: center;
  129. }
  130. .herb-box-three {
  131. margin-top: 1%;
  132. margin-left: 10%;
  133. background-image: url(images/grass.png);
  134. background-size: 70%;
  135. background-repeat: no-repeat;
  136. background-position: center;
  137. }
  138. .carn-box-two {
  139. margin-top: 1%;
  140. margin-left: 13%;
  141. background-image: url(images/meat.png);
  142. background-size: 70%;
  143. background-repeat: no-repeat;
  144. background-position: center;
  145. }
  146. .carn-box-three {
  147. margin-top: 1%;
  148. margin-left: 5%;
  149. background-image: url(images/meat.png);
  150. background-size: 70%;
  151. background-repeat: no-repeat;
  152. background-position: center;
  153. }
  154. .omni-box-two {
  155. visibility: hidden;
  156. }
  157. .omni-box-three {
  158. margin-top: 1%;
  159. margin-left: 5%;
  160. background-image: url(images/recycle.png);
  161. background-size: 70%;
  162. background-repeat: no-repeat;
  163. background-position: center;
  164. }
  165. .box-name {
  166. text-align: center;
  167. font-size: 14pt;
  168. color: white;
  169. }
  170. /* Game Two */
  171. .level-zone {
  172. position: absolute;
  173. left: 1%;
  174. width: 90%;
  175. }
  176. .level-value {
  177. margin-left: 1%;
  178. position: relative;
  179. display: inline-block;
  180. }
  181. .timer-value {
  182. margin-right: 3%;
  183. }
  184. .score-zone {
  185. position: absolute;
  186. text-align: right;
  187. right: 1%;
  188. width: 90%;
  189. }
  190. .score-text {
  191. display: inline-block;
  192. }
  193. .score-value {
  194. margin-left: 1%;
  195. display: inline-block;
  196. }
  197. .timer-overtime {
  198. color: red !important;
  199. }
  200. .title {
  201. margin-bottom: 1%;
  202. margin-top: 1%;
  203. font-size: 17pt;
  204. color: white;
  205. text-shadow: 0.1em .1em 1px lightgrey;
  206. }
  207. .box {
  208. position: absolute;
  209. top: 48%;
  210. left: 0%;
  211. border-width: 2px;
  212. border-style: dashed;
  213. border-color: white;
  214. width: 99%;
  215. height: 45%;
  216. z-index: 1;
  217. }
  218. .box-dragging {
  219. cursor: move;
  220. }
  221. .box-win {
  222. background-color: green;
  223. }
  224. .box-lost {
  225. background-color: red;
  226. }
  227. .play {
  228. position: absolute;
  229. right: 15%;
  230. top: 20%;
  231. }
  232. .validate {
  233. position: absolute;
  234. left: 45%;
  235. top: 20%;
  236. }
  237. .restart {
  238. position: absolute;
  239. right: 15%;
  240. top: 20%;
  241. }
  242. .home {
  243. position: absolute;
  244. left: 1%;
  245. top: 20%;
  246. }
  247. /* Game Three */
  248. .status-bar {
  249. top: 0% !important;
  250. position: absolute;
  251. width: 100%;
  252. }
  253. .home2 {
  254. position: absolute;
  255. right: 15%;
  256. top: 50%;
  257. }
  258. .game-box {
  259. margin-top: 6%;
  260. margin-left: 1%;
  261. border-width: 2px;
  262. border-style: dashed;
  263. border-color: white;
  264. background-image: url(images/play_background.png);
  265. z-index: -1;
  266. overflow-x: hidden;
  267. overflow-y: hidden;
  268. }
  269. .image-preload {
  270. visibility: hidden;
  271. }
  272. .life-border {
  273. position: absolute;
  274. bottom: 1%;
  275. text-align: right;
  276. width: 100%;
  277. z-index: 2;
  278. }
  279. .life {
  280. display: inline-block;
  281. max-width: 5%;
  282. }
  283. /* Credits */
  284. .credits-popup {
  285. width: 950px;
  286. max-width: 100%;
  287. height: 680px;
  288. max-height: 90%;
  289. color: black;
  290. }
  291. .credit-content {
  292. height: 100%;
  293. }
  294. .credit-title {
  295. font-size: x-large;
  296. margin-top: 1%;
  297. margin-left: 30%;
  298. color: white;
  299. }
  300. .credit-name {
  301. font-size: small;
  302. margin-left: 30%;
  303. color: white;
  304. }
  305. .two-column-credits {
  306. display: inline-block;
  307. width: 65%;
  308. }
  309. .emul-canvas {
  310. background-image: url(images/play_background.png);
  311. margin-left: 2%;
  312. margin-top: 5%;
  313. position: absolute;
  314. }
  315. /* Components */
  316. .shadowbutton-image {
  317. -webkit-user-select: none;
  318. -moz-user-select: none;
  319. -ms-user-select: none;
  320. user-select: none;
  321. }
  322. .shadowbutton {
  323. position: absolute;
  324. z-index: 2;
  325. }
  326. .shadowbutton-shadow {
  327. position: absolute;
  328. margin-left: 5px;
  329. margin-top: 3px;
  330. z-index: 1;
  331. }
  332. .card {
  333. position: absolute;
  334. border-width: 5px;
  335. border-style: inset;
  336. border-color: darkgray;
  337. box-shadow: 5px -4px 4px 2px black;
  338. width: 220px;
  339. max-width: 20%;
  340. background-color: white;
  341. display: inline-block;
  342. margin-left: 2%;
  343. margin-top: 1%;
  344. margin-bottom: 1%;
  345. z-index: 0;
  346. -webkit-user-select: none;
  347. -moz-user-select: none;
  348. -ms-user-select: none;
  349. user-select: none;
  350. }
  351. .card-dragged {
  352. border-color: blue;
  353. cursor: move;
  354. }
  355. .cardImage {
  356. width: 70%;
  357. margin-top: 5%;
  358. margin-left: 10%;
  359. }
  360. .cardText {
  361. font-size:30px;
  362. text-align: center;
  363. padding: 5px;
  364. }
  365. .cardSoundIcon {
  366. margin-left: 5%;
  367. width: 12%;
  368. }
  369. .cardSound {
  370. width: 50px;
  371. }
  372. @media screen and (max-width: 480px) {
  373. .shadowbutton-image {
  374. width: 60px;
  375. }
  376. .card {
  377. border-width: 3px;
  378. box-shadow: 3px -2px 2px 1px black;
  379. }
  380. .cardText {
  381. font-size: 12px;
  382. }
  383. .start-box {
  384. height: 120px;
  385. }
  386. .end-box {
  387. height: 120px;
  388. }
  389. .box-name {
  390. font-size: 10pt;
  391. }
  392. .title {
  393. font-size: 14pt;
  394. }
  395. .play {
  396. top: 24%;
  397. }
  398. .validate {
  399. top: 24%;
  400. }
  401. .restart {
  402. top: 24%;
  403. }
  404. .home {
  405. top: 24%;
  406. }
  407. }
  408. @media screen and (min-width: 481px) and (max-width: 640px) {
  409. .shadowbutton-image {
  410. width: 80px;
  411. }
  412. .card {
  413. border-width: 4px;
  414. box-shadow: 4px -3px 3px 2px black;
  415. }
  416. .cardText {
  417. font-size: 14px;
  418. }
  419. .start-box {
  420. height: 150px;
  421. }
  422. .end-box {
  423. height: 160px;
  424. }
  425. .box-name {
  426. font-size: 12pt;
  427. }
  428. .title {
  429. font-size: 15pt;
  430. }
  431. }
  432. @media screen and (min-width: 641px) and (max-width: 854px) {
  433. .shadowbutton-image {
  434. width: 100px;
  435. }
  436. .cardText {
  437. font-size: 18px;
  438. }
  439. .start-box {
  440. height: 190px;
  441. }
  442. .end-box {
  443. height: 200px;
  444. }
  445. }
  446. @media screen and (min-width: 855px) and (max-width: 960px) {
  447. .shadowbutton-image {
  448. width: 110px;
  449. }
  450. .cardText {
  451. font-size: 20px;
  452. }
  453. .start-box {
  454. height: 205px;
  455. }
  456. .end-box {
  457. height: 215px;
  458. }
  459. }
  460. @media screen and (min-width: 961px) and (max-width: 1024px) {
  461. .start-box {
  462. height: 250px;
  463. }
  464. .end-box {
  465. height: 260px;
  466. }
  467. }