brick-engine-js 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/dist/app.js +1 -4952
  2. package/dist/brick-engine.js +1 -4970
  3. package/dist/css/{app.bundle.css → app.0ce9b8479d1758fc15ba.css} +0 -2
  4. package/dist/css/{brick-engine.bundle.css → brick-engine.0ce9b8479d1758fc15ba.css} +0 -2
  5. package/dist/docs/GAME_DEVELOPER_GUIDE.html +1 -1
  6. package/dist/docs/brick-engine-guide.html +1 -1
  7. package/dist/docs/getting-started.html +1 -1
  8. package/dist/docs/jsdoc_standard.html +1 -1
  9. package/dist/docs/publishing.html +1 -1
  10. package/dist/docs/reference/interfaces/modules/Session.html +1 -1
  11. package/dist/docs/reference/modules/GameMenu.html +1 -1
  12. package/dist/docs/reference/modules/GameSession.html +1 -1
  13. package/dist/docs/reference/modules/InitialStateSnapshot.html +1 -1
  14. package/dist/docs/reference/modules/SessionModal.html +1 -1
  15. package/dist/docs/testing_best_practices.html +1 -1
  16. package/dist/index.html +1 -15
  17. package/dist/vendor/p5.min.js +1 -1
  18. package/package.json +2 -4
  19. package/dist/app.js.map +0 -1
  20. package/dist/brick-engine.js.map +0 -1
  21. package/dist/css/app.bundle.css.map +0 -1
  22. package/dist/css/brick-engine.bundle.css.map +0 -1
  23. package/docs/GAME_DEVELOPER_GUIDE.adoc +0 -167
  24. package/docs/brick-engine-guide.adoc +0 -87
  25. package/docs/diagrams/lifecycle.mmd +0 -19
  26. package/docs/documentation_style_guide.adoc +0 -210
  27. package/docs/getting-started.adoc +0 -147
  28. package/docs/images/lifecycle.svg +0 -1
  29. package/docs/jsdoc_standard.adoc +0 -109
  30. package/docs/publishing.adoc +0 -58
  31. package/docs/reference/enums/Color.adoc +0 -35
  32. package/docs/reference/enums/ControlEventType.adoc +0 -28
  33. package/docs/reference/enums/ControlKey.adoc +0 -34
  34. package/docs/reference/enums/FontAlignment.adoc +0 -43
  35. package/docs/reference/enums/FontSize.adoc +0 -31
  36. package/docs/reference/enums/Sound.adoc +0 -42
  37. package/docs/reference/enums/StateProperty.adoc +0 -33
  38. package/docs/reference/helpers/CellHelper.adoc +0 -37
  39. package/docs/reference/helpers/ControlInputHandlerHelper.adoc +0 -57
  40. package/docs/reference/helpers/CoordinateHelper.adoc +0 -118
  41. package/docs/reference/helpers/RelativeValuesHelper.adoc +0 -53
  42. package/docs/reference/interfaces/Debuggable.adoc +0 -29
  43. package/docs/reference/interfaces/GameModules.adoc +0 -35
  44. package/docs/reference/interfaces/Initializable.adoc +0 -24
  45. package/docs/reference/interfaces/RendererInitializable.adoc +0 -33
  46. package/docs/reference/interfaces/StateSyncable.adoc +0 -41
  47. package/docs/reference/interfaces/modules/Control.adoc +0 -98
  48. package/docs/reference/interfaces/modules/Grid.adoc +0 -411
  49. package/docs/reference/interfaces/modules/Renderer.adoc +0 -34
  50. package/docs/reference/interfaces/modules/RendererComposite.adoc +0 -57
  51. package/docs/reference/interfaces/modules/Score.adoc +0 -107
  52. package/docs/reference/interfaces/modules/Session.adoc +0 -66
  53. package/docs/reference/interfaces/modules/State.adoc +0 -290
  54. package/docs/reference/interfaces/modules/Text.adoc +0 -110
  55. package/docs/reference/interfaces/modules/Time.adoc +0 -119
  56. package/docs/reference/modules/Debugger.adoc +0 -71
  57. package/docs/reference/modules/DisplayRenderer.adoc +0 -55
  58. package/docs/reference/modules/Game.adoc +0 -256
  59. package/docs/reference/modules/GameControl.adoc +0 -139
  60. package/docs/reference/modules/GameGrid.adoc +0 -794
  61. package/docs/reference/modules/GameHudGrid.adoc +0 -38
  62. package/docs/reference/modules/GameMenu.adoc +0 -39
  63. package/docs/reference/modules/GameRenderer.adoc +0 -79
  64. package/docs/reference/modules/GameScore.adoc +0 -138
  65. package/docs/reference/modules/GameSession.adoc +0 -43
  66. package/docs/reference/modules/GameSound.adoc +0 -111
  67. package/docs/reference/modules/GameState.adoc +0 -318
  68. package/docs/reference/modules/GameText.adoc +0 -139
  69. package/docs/reference/modules/GameTime.adoc +0 -141
  70. package/docs/reference/modules/HudRenderer.adoc +0 -56
  71. package/docs/reference/modules/InitialStateSnapshot.adoc +0 -47
  72. package/docs/reference/modules/SessionModal.adoc +0 -34
  73. package/docs/reference/types/Axis.adoc +0 -28
  74. package/docs/reference/types/Cell.adoc +0 -29
  75. package/docs/reference/types/ControlCallback.adoc +0 -23
  76. package/docs/reference/types/Coordinate.adoc +0 -29
  77. package/docs/reference/types/GameEntry.adoc +0 -29
  78. package/docs/reference/types/GameEvent.adoc +0 -29
  79. package/docs/reference/types/Piece.adoc +0 -32
  80. package/docs/reference/types/RendererMetrics.adoc +0 -29
  81. package/docs/reference/types/Vector.adoc +0 -28
  82. package/docs/testing_best_practices.adoc +0 -190
  83. package/public/CNAME +0 -1
  84. package/public/docs/GAME_DEVELOPER_GUIDE.html +0 -727
  85. package/public/docs/brick-engine-guide.html +0 -610
  86. package/public/docs/diagrams/lifecycle.mmd +0 -19
  87. package/public/docs/documentation_style_guide.html +0 -994
  88. package/public/docs/getting-started.html +0 -648
  89. package/public/docs/images/lifecycle.svg +0 -1
  90. package/public/docs/index.html +0 -593
  91. package/public/docs/jsdoc_standard.html +0 -656
  92. package/public/docs/publishing.html +0 -573
  93. package/public/docs/reference/enums/Color.html +0 -533
  94. package/public/docs/reference/enums/ControlEventType.html +0 -505
  95. package/public/docs/reference/enums/ControlKey.html +0 -529
  96. package/public/docs/reference/enums/FontAlignment.html +0 -545
  97. package/public/docs/reference/enums/FontSize.html +0 -517
  98. package/public/docs/reference/enums/Sound.html +0 -558
  99. package/public/docs/reference/enums/StateProperty.html +0 -525
  100. package/public/docs/reference/helpers/CellHelper.html +0 -520
  101. package/public/docs/reference/helpers/ControlInputHandlerHelper.html +0 -569
  102. package/public/docs/reference/helpers/CoordinateHelper.html +0 -703
  103. package/public/docs/reference/helpers/RelativeValuesHelper.html +0 -560
  104. package/public/docs/reference/interfaces/Debuggable.html +0 -501
  105. package/public/docs/reference/interfaces/GameModules.html +0 -544
  106. package/public/docs/reference/interfaces/Initializable.html +0 -495
  107. package/public/docs/reference/interfaces/RendererInitializable.html +0 -517
  108. package/public/docs/reference/interfaces/StateSyncable.html +0 -542
  109. package/public/docs/reference/interfaces/modules/Control.html +0 -648
  110. package/public/docs/reference/interfaces/modules/Grid.html +0 -1256
  111. package/public/docs/reference/interfaces/modules/Renderer.html +0 -522
  112. package/public/docs/reference/interfaces/modules/RendererComposite.html +0 -577
  113. package/public/docs/reference/interfaces/modules/Score.html +0 -669
  114. package/public/docs/reference/interfaces/modules/Session.html +0 -585
  115. package/public/docs/reference/interfaces/modules/State.html +0 -897
  116. package/public/docs/reference/interfaces/modules/Text.html +0 -668
  117. package/public/docs/reference/interfaces/modules/Time.html +0 -684
  118. package/public/docs/reference/modules/Debugger.html +0 -579
  119. package/public/docs/reference/modules/DisplayRenderer.html +0 -557
  120. package/public/docs/reference/modules/Game.html +0 -909
  121. package/public/docs/reference/modules/GameControl.html +0 -716
  122. package/public/docs/reference/modules/GameGrid.html +0 -1910
  123. package/public/docs/reference/modules/GameHudGrid.html +0 -508
  124. package/public/docs/reference/modules/GameMenu.html +0 -538
  125. package/public/docs/reference/modules/GameRenderer.html +0 -589
  126. package/public/docs/reference/modules/GameScore.html +0 -664
  127. package/public/docs/reference/modules/GameSession.html +0 -533
  128. package/public/docs/reference/modules/GameSound.html +0 -636
  129. package/public/docs/reference/modules/GameState.html +0 -922
  130. package/public/docs/reference/modules/GameText.html +0 -701
  131. package/public/docs/reference/modules/GameTime.html +0 -696
  132. package/public/docs/reference/modules/HudRenderer.html +0 -568
  133. package/public/docs/reference/modules/InitialStateSnapshot.html +0 -557
  134. package/public/docs/reference/modules/SessionModal.html +0 -520
  135. package/public/docs/reference/types/Axis.html +0 -505
  136. package/public/docs/reference/types/Cell.html +0 -514
  137. package/public/docs/reference/types/ControlCallback.html +0 -488
  138. package/public/docs/reference/types/Coordinate.html +0 -510
  139. package/public/docs/reference/types/GameEntry.html +0 -514
  140. package/public/docs/reference/types/GameEvent.html +0 -514
  141. package/public/docs/reference/types/Piece.html +0 -506
  142. package/public/docs/reference/types/RendererMetrics.html +0 -514
  143. package/public/docs/reference/types/Vector.html +0 -509
  144. package/public/docs/testing_best_practices.html +0 -770
  145. package/public/favicon.ico +0 -0
  146. package/public/fonts/digital-7.monoitalic.ttf +0 -0
  147. package/public/images/cell.svg +0 -32
  148. package/public/images/close.png +0 -0
  149. package/public/images/games.png +0 -0
  150. package/public/images/github.png +0 -0
  151. package/public/images/letter-a.png +0 -0
  152. package/public/images/letter-d.png +0 -0
  153. package/public/images/letter-j.png +0 -0
  154. package/public/images/letter-s.png +0 -0
  155. package/public/images/letter-w.png +0 -0
  156. package/public/images/meta-image.png +0 -0
  157. package/public/images/number-1.png +0 -0
  158. package/public/images/number-2.png +0 -0
  159. package/public/images/number-3.png +0 -0
  160. package/public/images/number-4.png +0 -0
  161. package/public/images/number-5.png +0 -0
  162. package/public/images/number-6.png +0 -0
  163. package/public/images/splash.gif +0 -0
  164. package/public/index.html +0 -15
  165. package/public/sounds/sound_00.wav +0 -0
  166. package/public/sounds/sound_01.wav +0 -0
  167. package/public/sounds/sound_02.wav +0 -0
  168. package/public/sounds/sound_03.wav +0 -0
  169. package/public/sounds/sound_04.wav +0 -0
  170. package/public/sounds/sound_05.wav +0 -0
  171. package/public/sounds/sound_06.wav +0 -0
  172. package/public/sounds/sound_07.wav +0 -0
  173. package/public/sounds/sound_08.wav +0 -0
  174. package/public/sounds/sound_09.wav +0 -0
  175. package/public/sounds/sound_10.wav +0 -0
  176. package/public/sounds/sound_11.wav +0 -0
  177. package/public/sounds/sound_12.wav +0 -0
  178. package/public/sounds/sound_13.wav +0 -0
  179. package/public/sounds/sound_14.wav +0 -0
  180. package/public/sounds/sound_15.wav +0 -0
  181. package/public/style/body.css +0 -86
  182. package/public/style/buttons.css +0 -233
  183. package/public/style/debugger.css +0 -117
  184. package/public/style/sessionModal.css +0 -155
  185. package/public/style/sourceCodeAndCommands.css +0 -74
  186. package/public/style/splash.css +0 -13
  187. package/public/style/theme.css +0 -137
  188. /package/dist/{bootstrap.d.ts → types/bootstrap.d.ts} +0 -0
  189. /package/dist/{bootstrap.test.d.ts → types/bootstrap.test.d.ts} +0 -0
  190. /package/dist/{config → types/config}/configs.d.ts +0 -0
  191. /package/dist/{config → types/config}/configs.test.d.ts +0 -0
  192. /package/dist/{core → types/core}/Game.d.ts +0 -0
  193. /package/dist/{core → types/core}/Game.test.d.ts +0 -0
  194. /package/dist/{core → types/core}/InitialStateSnapshot.d.ts +0 -0
  195. /package/dist/{core → types/core}/InitialStateSnapshot.test.d.ts +0 -0
  196. /package/dist/{core → types/core}/helpers/CellHelper.d.ts +0 -0
  197. /package/dist/{core → types/core}/helpers/CellHelper.test.d.ts +0 -0
  198. /package/dist/{core → types/core}/helpers/ControlInputHandlerHelper.d.ts +0 -0
  199. /package/dist/{core → types/core}/helpers/ControlInputHandlerHelper.test.d.ts +0 -0
  200. /package/dist/{core → types/core}/helpers/CoordinateHelper.d.ts +0 -0
  201. /package/dist/{core → types/core}/helpers/CoordinateHelper.test.d.ts +0 -0
  202. /package/dist/{core → types/core}/helpers/InterfaceIdentifierHelper.d.ts +0 -0
  203. /package/dist/{core → types/core}/helpers/InterfaceIdentifierHelper.test.d.ts +0 -0
  204. /package/dist/{core → types/core}/helpers/RelativeValuesHelper.d.ts +0 -0
  205. /package/dist/{core → types/core}/helpers/RelativeValuesHelper.test.d.ts +0 -0
  206. /package/dist/{core → types/core}/module/control/GameControl.d.ts +0 -0
  207. /package/dist/{core → types/core}/module/control/GameControl.test.d.ts +0 -0
  208. /package/dist/{core → types/core}/module/control/GameControlKeyBinding.d.ts +0 -0
  209. /package/dist/{core → types/core}/module/control/GameControlKeyBinding.test.d.ts +0 -0
  210. /package/dist/{core → types/core}/module/grid/GameGrid.d.ts +0 -0
  211. /package/dist/{core → types/core}/module/grid/GameGrid.test.d.ts +0 -0
  212. /package/dist/{core → types/core}/module/grid/GameHudGrid.d.ts +0 -0
  213. /package/dist/{core → types/core}/module/grid/GameHudGrid.test.d.ts +0 -0
  214. /package/dist/{core → types/core}/module/grid/engines/GridAnalysisEngine.d.ts +0 -0
  215. /package/dist/{core → types/core}/module/grid/engines/GridAnalysisEngine.test.d.ts +0 -0
  216. /package/dist/{core → types/core}/module/grid/engines/GridLineEngine.d.ts +0 -0
  217. /package/dist/{core → types/core}/module/grid/engines/GridLineEngine.test.d.ts +0 -0
  218. /package/dist/{core → types/core}/module/grid/engines/GridMovementEngine.d.ts +0 -0
  219. /package/dist/{core → types/core}/module/grid/engines/GridMovementEngine.test.d.ts +0 -0
  220. /package/dist/{core → types/core}/module/grid/engines/GridRegionEngine.d.ts +0 -0
  221. /package/dist/{core → types/core}/module/grid/engines/GridRegionEngine.test.d.ts +0 -0
  222. /package/dist/{core → types/core}/module/grid/engines/GridTransformEngine.d.ts +0 -0
  223. /package/dist/{core → types/core}/module/grid/engines/GridTransformEngine.test.d.ts +0 -0
  224. /package/dist/{core → types/core}/module/renderer/DisplayRenderer.d.ts +0 -0
  225. /package/dist/{core → types/core}/module/renderer/DisplayRenderer.test.d.ts +0 -0
  226. /package/dist/{core → types/core}/module/renderer/GameRenderer.d.ts +0 -0
  227. /package/dist/{core → types/core}/module/renderer/GameRenderer.test.d.ts +0 -0
  228. /package/dist/{core → types/core}/module/renderer/HudRenderer.d.ts +0 -0
  229. /package/dist/{core → types/core}/module/renderer/HudRenderer.test.d.ts +0 -0
  230. /package/dist/{core → types/core}/module/score/GameScore.d.ts +0 -0
  231. /package/dist/{core → types/core}/module/score/GameScore.test.d.ts +0 -0
  232. /package/dist/{core → types/core}/module/session/GameSession.d.ts +0 -0
  233. /package/dist/{core → types/core}/module/session/GameSession.test.d.ts +0 -0
  234. /package/dist/{core → types/core}/module/sound/GameSound.d.ts +0 -0
  235. /package/dist/{core → types/core}/module/sound/GameSound.test.d.ts +0 -0
  236. /package/dist/{core → types/core}/module/state/GameState.d.ts +0 -0
  237. /package/dist/{core → types/core}/module/state/GameState.test.d.ts +0 -0
  238. /package/dist/{core → types/core}/module/text/GameText.d.ts +0 -0
  239. /package/dist/{core → types/core}/module/text/GameText.test.d.ts +0 -0
  240. /package/dist/{core → types/core}/module/time/GameTime.d.ts +0 -0
  241. /package/dist/{core → types/core}/module/time/GameTime.test.d.ts +0 -0
  242. /package/dist/{core → types/core}/types/Interfaces.d.ts +0 -0
  243. /package/dist/{core → types/core}/types/Types.d.ts +0 -0
  244. /package/dist/{core → types/core}/types/enums.d.ts +0 -0
  245. /package/dist/{core → types/core}/types/modules.d.ts +0 -0
  246. /package/dist/{index.d.ts → types/index.d.ts} +0 -0
  247. /package/dist/{main.d.ts → types/main.d.ts} +0 -0
  248. /package/dist/{menu → types/menu}/GameMenu.d.ts +0 -0
  249. /package/dist/{menu → types/menu}/GameMenu.test.d.ts +0 -0
  250. /package/dist/{menu → types/menu}/GameMenuSingleton.d.ts +0 -0
  251. /package/dist/{menu → types/menu}/GameMenuSingleton.test.d.ts +0 -0
  252. /package/dist/{menu → types/menu}/GameRepository.d.ts +0 -0
  253. /package/dist/{menu → types/menu}/GameRepository.test.d.ts +0 -0
  254. /package/dist/{menu → types/menu}/manager/GameManager.d.ts +0 -0
  255. /package/dist/{menu → types/menu}/manager/GameManager.test.d.ts +0 -0
  256. /package/dist/types/{interfaces.d.ts → types/interfaces.d.ts} +0 -0
  257. /package/dist/{view → types/view}/Debugger.d.ts +0 -0
  258. /package/dist/{view → types/view}/Debugger.test.d.ts +0 -0
  259. /package/dist/{view → types/view}/GameView.d.ts +0 -0
  260. /package/dist/{view → types/view}/GameView.test.d.ts +0 -0
  261. /package/dist/{view → types/view}/SessionModal.d.ts +0 -0
  262. /package/dist/{view → types/view}/SessionModal.test.d.ts +0 -0
  263. /package/dist/{view → types/view}/components/layout/ButtonLayout.d.ts +0 -0
  264. /package/dist/{view → types/view}/components/layout/ButtonLayout.test.d.ts +0 -0
  265. /package/dist/{view → types/view}/components/layout/ContainerLayout.d.ts +0 -0
  266. /package/dist/{view → types/view}/components/layout/ContainerLayout.test.d.ts +0 -0
  267. /package/dist/{view → types/view}/components/layout/FrameLayout.d.ts +0 -0
  268. /package/dist/{view → types/view}/components/layout/FrameLayout.test.d.ts +0 -0
  269. /package/dist/{view → types/view}/components/ui/BigButton.d.ts +0 -0
  270. /package/dist/{view → types/view}/components/ui/BigButton.test.d.ts +0 -0
  271. /package/dist/{view → types/view}/components/ui/Button.d.ts +0 -0
  272. /package/dist/{view → types/view}/components/ui/Button.test.d.ts +0 -0
  273. /package/dist/{view → types/view}/components/ui/Canvas.d.ts +0 -0
  274. /package/dist/{view → types/view}/components/ui/Canvas.test.d.ts +0 -0
  275. /package/dist/{view → types/view}/components/ui/SmallButton.d.ts +0 -0
  276. /package/dist/{view → types/view}/components/ui/SmallButton.test.d.ts +0 -0
  277. /package/dist/{view → types/view}/theme/applyColors.d.ts +0 -0
  278. /package/dist/{view → types/view}/theme/applyColors.test.d.ts +0 -0
  279. /package/dist/{view → types/view}/theme/dimensions.d.ts +0 -0
  280. /package/dist/{view → types/view}/theme/dimensions.test.d.ts +0 -0
Binary file
@@ -1,32 +0,0 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
- <svg version="1.0" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3 3">
5
-
6
- <rect
7
- x="0"
8
- y="0"
9
- width="3"
10
- height="3"
11
- fill="rgb(172, 189, 173)"
12
- />
13
-
14
- <rect
15
- x="0.3"
16
- y="0.3"
17
- width="2.5"
18
- height="2.5"
19
- stroke="rgb(161, 178, 160)"
20
- stroke-width=".2"
21
- fill="none"
22
- />
23
-
24
- <rect
25
- x=".8"
26
- y=".8"
27
- width="1.5"
28
- height="1.5"
29
- fill="rgb(161, 178, 160)"
30
- />
31
-
32
- </svg>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/public/index.html DELETED
@@ -1,15 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <title>P5 Project</title>
6
- <script src="vendor/p5.min.js"></script>
7
- </head>
8
- <body>
9
- <div id="brick-game"></div>
10
-
11
- <div id="splash">
12
- <img src="images/splash.gif" />
13
- </div>
14
- </body>
15
- </html>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,86 +0,0 @@
1
- /* MAIN BODY */
2
-
3
- #brick-game {
4
- display: flex;
5
- justify-content: center;
6
- align-items: center;
7
- width: 100%;
8
- height: 100%;
9
- }
10
-
11
- #container {
12
- width: var(--width);
13
- height: var(--height);
14
-
15
- background-color: var(--main-color);
16
-
17
- border-radius: var(--border-radius);
18
- border: var(--border);
19
-
20
- box-sizing: border-box;
21
- margin: auto;
22
- position: relative;
23
-
24
- display: flex;
25
- flex-direction: column;
26
-
27
- box-shadow:
28
- calc(var(--width) * -0.03) calc(var(--width) * 0.03) var(--dispersion) black,
29
- calc(var(--width) * -0.02) calc(var(--width) * 0.02) var(--dispersion) var(--color-shadow-reflexion) inset,
30
- calc(var(--width) * 0.01) calc(var(--width) * -0.01) var(--dispersion) var(--color-shadow) inset;
31
- }
32
-
33
- #brick-game-canvas {
34
- border: var(--border);
35
- box-shadow:
36
- calc(var(--width) * -0.01) calc(var(--width) * 0.01) var(--dispersion) var(--color-shadow),
37
- calc(var(--width) * 0.01) calc(var(--width) * -0.01) var(--dispersion) var(--color-shadow-reflexion);
38
- }
39
-
40
- /* FRAME */
41
-
42
- #frame {
43
- border: var(--border);
44
- border-radius: var(--border-radius);
45
-
46
- position: relative;
47
-
48
- width: calc(var(--width) * 0.85);
49
- height: auto;
50
- aspect-ratio: 9/10;
51
- margin: 7.5%;
52
- margin-bottom: 3.75%;
53
-
54
- display: flex;
55
- justify-content: center;
56
- align-items: center;
57
- }
58
-
59
- #frame div {
60
- position: absolute;
61
- top: calc(var(--height) * -0.02);
62
- left: 27.5%;
63
-
64
- width: 45%;
65
- height: calc(var(--height) * 0.03);
66
-
67
- background-color: var(--main-color);
68
-
69
- display: flex;
70
- justify-content: center;
71
-
72
- padding-top: calc(var(--height) * 0.005);
73
- padding-bottom: 0;
74
- }
75
-
76
- #frame p {
77
- text-align: center;
78
-
79
- font-family: 'retro-gamming';
80
- font-weight: bold;
81
- font-size: calc(var(--height) * 0.03);
82
-
83
- text-shadow:
84
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) 0 var(--color-shadow),
85
- calc(var(--width) * 0.002) calc(var(--width) * -0.002) 0 var(--color-shadow-reflexion);
86
- }
@@ -1,233 +0,0 @@
1
- /* BUTTONS */
2
-
3
- .sm-btn,
4
- .btn,
5
- .lg-btn {
6
- z-index: 999;
7
- }
8
-
9
- .sm-btn {
10
- box-shadow:
11
- calc(var(--width) * -0.0075) calc(var(--width) * 0.0075) var(--dispersion) var(--color-shadow),
12
- calc(var(--width) * -0.01) calc(var(--width) * 0.01) var(--dispersion) var(--button-color-reflexion) inset;
13
- }
14
-
15
- .sm-btn:active {
16
- box-shadow:
17
- calc(var(--width) * -0.004) calc(var(--width) * 0.004) var(--dispersion) var(--color-shadow),
18
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) var(--dispersion) var(--button-color-reflexion) inset;
19
- transform: translateX(calc(var(--width) * -0.0025)) translateY(calc(var(--width) * 0.0025));
20
- }
21
-
22
- .btn {
23
- box-shadow:
24
- calc(var(--width) * -0.015) calc(var(--width) * 0.015) var(--dispersion) var(--color-shadow),
25
- calc(var(--width) * -0.0175) calc(var(--width) * 0.0175) var(--dispersion) var(--button-color-reflexion) inset;
26
- }
27
-
28
- .btn:active {
29
- box-shadow:
30
- calc(var(--width) * -0.004) calc(var(--width) * 0.004) var(--dispersion) var(--color-shadow),
31
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) var(--dispersion) var(--button-color-reflexion) inset;
32
- transform: translateX(calc(var(--width) * -0.005)) translateY(calc(var(--width) * 0.005));
33
- }
34
-
35
- .lg-btn {
36
- box-shadow:
37
- calc(var(--width) * -0.02) calc(var(--width) * 0.02) var(--dispersion) var(--color-shadow),
38
- calc(var(--width) * -0.0175) calc(var(--width) * 0.0175) var(--dispersion) var(--button-color-reflexion) inset;
39
- }
40
-
41
- .lg-btn:active {
42
- box-shadow:
43
- calc(var(--width) * -0.005) calc(var(--width) * 0.005) var(--dispersion) var(--color-shadow),
44
- calc(var(--width) * -0.004) calc(var(--width) * 0.004) var(--dispersion) var(--button-color-reflexion) inset;
45
- transform: translateX(calc(var(--width) * -0.0075)) translateY(calc(var(--width) * 0.0075));
46
- }
47
-
48
- .sm-btn-p,
49
- .btn-p,
50
- .lg-btn-p {
51
- font-family: 'retro-gamming';
52
- color: white;
53
- text-align: center;
54
-
55
- user-select: none;
56
- }
57
-
58
- .sm-btn-container,
59
- .btn-container,
60
- .lg-btn-container {
61
- display: flex;
62
- justify-content: center;
63
- align-items: center;
64
- }
65
-
66
- .sm-btn,
67
- .btn,
68
- .lg-btn {
69
- outline: none;
70
-
71
- border-radius: 50%;
72
- border: var(--button-border);
73
-
74
- transition-property: transform box-shadow;
75
- transition-duration: var(--button-animation-duration);
76
-
77
- background-color: var(--button-color);
78
- }
79
-
80
- .sm-btn-container {
81
- flex-direction: column;
82
- }
83
-
84
- .sm-btn {
85
- width: var(--sm-button-size);
86
- height: var(--sm-button-size);
87
- }
88
-
89
- .sm-btn-p {
90
- font-family: 'retro-gamming';
91
- color: white;
92
- text-align: center;
93
-
94
- user-select: none;
95
-
96
- font-size: calc(var(--width) * 0.03);
97
-
98
- /* width: calc(var(--width) * 0.08); */
99
- margin-top: calc(var(--width) * 0.01);
100
-
101
- line-height: calc(var(--width) * 0.03);
102
- height: calc(var(--width) * 0.06);
103
-
104
- text-shadow:
105
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) 0 var(--color-shadow),
106
- calc(var(--width) * 0.002) calc(var(--width) * -0.002) 0 var(--color-shadow-reflexion);
107
- }
108
-
109
- .btn-container {
110
- flex-direction: column-reverse;
111
- }
112
-
113
- .btn {
114
- width: var(--button-size);
115
- height: var(--button-size);
116
- }
117
-
118
- .btn-p {
119
- font-weight: bold;
120
- font-size: calc(var(--width) * 0.04);
121
- margin-bottom: calc(var(--width) * 0.015);
122
- line-height: calc(var(--width) * 0.03);
123
- }
124
-
125
- .lg-btn-container {
126
- flex-direction: column;
127
- }
128
-
129
- .lg-btn {
130
- width: var(--lg-button-size);
131
- height: var(--lg-button-size);
132
- }
133
-
134
- .lg-btn-p {
135
- font-weight: bold;
136
- font-size: calc(var(--width) * 0.05);
137
- margin-bottom: calc(var(--width) * 0.015);
138
- line-height: calc(var(--width) * 0.03);
139
- }
140
-
141
- .btn,
142
- .lg-btn {
143
- font-family: 'retro-gamming';
144
- font-size: calc(var(--width) * 0.045);
145
- font-weight: bold;
146
- color: white;
147
- text-shadow:
148
- calc(var(--width) * -0.003) calc(var(--width) * 0.003) 0 var(--button-color-shadow),
149
- calc(var(--width) * 0.002) calc(var(--width) * -0.002) 0 var(--button-color-reflexion);
150
- }
151
-
152
- /* BUTTON CONTAINERS */
153
-
154
- #button-container,
155
- #small-button-container,
156
- #inner-button-container,
157
- #medium-button-container,
158
- #large-button-container {
159
- width: 100%;
160
- height: auto;
161
- }
162
-
163
- #button-container {
164
- display: flex;
165
- flex-grow: 1;
166
- flex-direction: column;
167
- }
168
-
169
- #small-button-container {
170
- display: flex;
171
- flex-grow: 0.1;
172
- justify-content: space-evenly;
173
-
174
- max-height: 150px;
175
-
176
- position: relative;
177
- }
178
-
179
- .sm-btn-container-top {
180
- position: relative;
181
- top: -20%;
182
- }
183
-
184
- .sm-btn-container-bottom {
185
- position: relative;
186
- bottom: -20%;
187
- }
188
-
189
- #inner-button-container {
190
- display: flex;
191
- flex-grow: 1;
192
- flex-direction: row;
193
- }
194
-
195
- #medium-button-container {
196
- display: flex;
197
- flex-shrink: 1;
198
-
199
- position: relative;
200
- }
201
-
202
- #large-button-container {
203
- display: flex;
204
- justify-content: center;
205
- align-items: center;
206
-
207
- flex-shrink: 1.5;
208
- }
209
-
210
- #direction-vertical-container,
211
- #direction-horizontal-container {
212
- width: 100%;
213
- height: 100%;
214
-
215
- display: flex;
216
- justify-content: center;
217
- align-items: center;
218
- gap: calc(var(--width) * 0.115);
219
-
220
- position: absolute;
221
- top: 0;
222
- bottom: 0;
223
- left: 0;
224
- right: 0;
225
- }
226
-
227
- #direction-vertical-container {
228
- flex-direction: column;
229
- }
230
-
231
- #direction-horizontal-container {
232
- flex-direction: row;
233
- }
@@ -1,117 +0,0 @@
1
- #debugger {
2
- font-family: 'retro-gamming', monospace;
3
- background-color: rgba(0, 0, 0, 0.9);
4
- color: #0f0; /* Green phosphor */
5
- border: 2px solid #0f0;
6
- box-shadow: 0 0 10px #0f0;
7
- padding: 10px;
8
- position: absolute;
9
- top: 10px;
10
- right: 10px;
11
- width: 300px;
12
- max-height: calc(100vh - 40px);
13
- overflow-y: auto;
14
- user-select: none;
15
- -webkit-user-select: none;
16
- z-index: 9999;
17
- font-size: 14px;
18
- /* text-shadow: 0 0 2px #0f0; */
19
- }
20
-
21
- /* Custom Scrollbar */
22
- #debugger::-webkit-scrollbar {
23
- width: 8px;
24
- }
25
-
26
- #debugger::-webkit-scrollbar-track {
27
- background: #001100;
28
- }
29
-
30
- #debugger::-webkit-scrollbar-thumb {
31
- background: #0f0;
32
- border-radius: 4px;
33
- }
34
-
35
- #debugger::-webkit-scrollbar-thumb:hover {
36
- background: #0a0;
37
- }
38
-
39
- /* Summary / Header */
40
- #debugger-summary {
41
- font-weight: bold;
42
- font-size: 16px;
43
- cursor: pointer;
44
- margin-bottom: 10px;
45
- /* text-transform: uppercase; */
46
- border-bottom: 1px dashed #0f0;
47
- padding-bottom: 5px;
48
- list-style: none;
49
- }
50
-
51
- /* Module Sections */
52
- .debugger-module {
53
- margin-bottom: 10px;
54
- border-left: 1px solid #004400;
55
- padding-left: 8px;
56
- }
57
-
58
- .debugger-module-summary {
59
- cursor: pointer;
60
- font-weight: bold;
61
- color: #cfc;
62
- margin-bottom: 4px;
63
- }
64
-
65
- .debugger-module-summary:hover {
66
- color: #fff;
67
- /* text-shadow: 0 0 4px #fff; */
68
- }
69
-
70
- /* Data Rows */
71
- .debugger-container {
72
- display: flex;
73
- justify-content: space-between;
74
- padding: 2px 0;
75
- border-bottom: 1px dotted #003300;
76
- }
77
-
78
- /* Closed State */
79
- #debugger:not([open]) {
80
- width: auto;
81
- height: auto;
82
- max-height: none;
83
- padding: 5px 10px;
84
- border: 1px solid #0f0;
85
- background-color: rgba(0, 0, 0, 0.5);
86
- box-shadow: none;
87
- }
88
-
89
- #debugger:not([open]) #debugger-summary {
90
- margin-bottom: 0;
91
- border-bottom: none;
92
- padding-bottom: 0;
93
- }
94
-
95
- .debugger-container:hover {
96
- background-color: rgba(0, 255, 0, 0.05);
97
- }
98
-
99
- .debugger-container.highlight {
100
- background-color: transparent;
101
- color: #fff;
102
- /* text-shadow: 0 0 5px #fff; */
103
- border-bottom: 1px solid #fff;
104
- }
105
-
106
- .debugger-container.highlight span {
107
- color: #fff;
108
- }
109
-
110
- .debugger-container p {
111
- margin: 0;
112
- opacity: 0.8;
113
- }
114
-
115
- .debugger-container span {
116
- font-weight: bold;
117
- }