@robotical/martyblocksjr 4.2.10 → 4.2.11

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 (52) hide show
  1. package/editions/free/src/30d09ba32a17082ef820.hex +26350 -0
  2. package/editions/free/src/app.bundle.js +1 -1
  3. package/editions/free/src/app.bundle.js.LICENSE.txt +15 -0
  4. package/editions/free/src/assets/blockicons/microbitbuttona.svg +7 -1
  5. package/editions/free/src/assets/blockicons/microbitbuttonab.svg +8 -1
  6. package/editions/free/src/assets/blockicons/microbitbuttonb.svg +7 -1
  7. package/editions/free/src/assets/blockicons/microbitdisplayclear.svg +9 -25
  8. package/editions/free/src/assets/blockicons/microbitdisplayhappy.svg +13 -31
  9. package/editions/free/src/assets/blockicons/microbitdisplayheart.svg +13 -37
  10. package/editions/free/src/assets/blockicons/microbitdisplaytext.svg +10 -25
  11. package/editions/free/src/assets/blockicons/microbittiltleft.svg +1 -1
  12. package/editions/free/src/assets/blockicons/microbittiltright.svg +1 -1
  13. package/editions/free/src/assets/connection/remove_extension-default.svg +5 -0
  14. package/editions/free/src/css/editor.css +171 -5
  15. package/editions/free/src/css/editorleftpanel.css +87 -12
  16. package/editions/free/src/localizations/bg.json +12 -12
  17. package/editions/free/src/localizations/ca.json +12 -12
  18. package/editions/free/src/localizations/cs.json +12 -12
  19. package/editions/free/src/localizations/cy.json +12 -12
  20. package/editions/free/src/localizations/da.json +12 -12
  21. package/editions/free/src/localizations/de.json +12 -12
  22. package/editions/free/src/localizations/el.json +12 -12
  23. package/editions/free/src/localizations/en.json +34 -14
  24. package/editions/free/src/localizations/es.json +12 -12
  25. package/editions/free/src/localizations/fi.json +12 -12
  26. package/editions/free/src/localizations/fr.json +12 -12
  27. package/editions/free/src/localizations/it.json +12 -12
  28. package/editions/free/src/localizations/ja.json +12 -12
  29. package/editions/free/src/localizations/ko.json +12 -12
  30. package/editions/free/src/localizations/nl.json +12 -12
  31. package/editions/free/src/localizations/no.json +12 -12
  32. package/editions/free/src/localizations/pl.json +12 -12
  33. package/editions/free/src/localizations/pt-br.json +12 -12
  34. package/editions/free/src/localizations/pt.json +12 -12
  35. package/editions/free/src/localizations/sv.json +12 -12
  36. package/editions/free/src/localizations/th.json +12 -12
  37. package/editions/free/src/localizations/tr.json +12 -12
  38. package/editions/free/src/localizations/uk.json +12 -12
  39. package/editions/free/src/localizations/zh-cn.json +12 -12
  40. package/editions/free/src/localizations/zh-tw.json +12 -12
  41. package/package.json +4 -1
  42. package/scripts/prepare-microbit-hex.mjs +47 -0
  43. package/tests/BlockGuideRegistry.test.js +4 -2
  44. package/tests/MicroBitBlockDescriptions.test.js +28 -0
  45. package/tests/MicroBitBlockOptions.test.js +34 -0
  46. package/tests/MicroBitButtonIcons.test.js +24 -0
  47. package/tests/MicroBitDisplayIcons.test.js +64 -0
  48. package/tests/e2e/chromium-79-smoke.test.js +126 -10
  49. package/tests/e2e/marty-connection-ui.e2e.test.js +152 -4
  50. package/tests/e2e/microbit-updater.test.js +126 -0
  51. package/vitest.config.js +1 -0
  52. package/webpack.config.js +4 -0
@@ -12,6 +12,21 @@
12
12
  * @license MIT
13
13
  */
14
14
 
15
+ /*! *****************************************************************************
16
+ Copyright (c) Microsoft Corporation. All rights reserved.
17
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
18
+ this file except in compliance with the License. You may obtain a copy of the
19
+ License at http://www.apache.org/licenses/LICENSE-2.0
20
+
21
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
22
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
23
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
24
+ MERCHANTABLITY OR NON-INFRINGEMENT.
25
+
26
+ See the Apache Version 2.0 License for specific language governing permissions
27
+ and limitations under the License.
28
+ ***************************************************************************** */
29
+
15
30
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
16
31
 
17
32
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
@@ -1,4 +1,10 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="85" height="66" viewBox="0 0 85 66">
2
+ <defs>
3
+ <g id="button-press-hand">
4
+ <path d="M63.97 33.7c-.99-1.56-2.26-3.14-4.1-3.14-.72 0-1.55.15-2.24.33-.85-.62-1.85-.95-2.89-.95-.73-.01-1.48.17-2.15.52-.13.07-.42.22-1.8 1.4-.53-.15-1-.17-1.28-.17-.49 0-1.14.07-1.78.37h-.01c-.22.1-.43.24-.64.4-.75.58-1.37 1.12-1.81 1.54-1.57-1.43-3.34-2.96-4.93-4.34-.66-.57-1.31-1.13-1.95-1.7-.55-.47-1.25-1.04-2.05-1.44-.37-.18-.76-.33-1.17-.41-.24-.06-.5-.09-.75-.09-.17 0-.33.01-.49.04-.64.09-1.24.38-1.71.84-.62.59-.95 1.27-1.07 1.99-.06.39-.06.8-.01 1.2.05.39.15.77.3 1.14.27.74.7 1.44 1.21 2.03 1.45 1.66 4.37 4.56 7.4 7.46l.04.04s-.07.01-.11.02h-.05c-1.38.13-2.68.89-3.19 1.84l-.02.03c-.03.07-.06.13-.09.2-.38.81-.26 1.19-.21 1.34.04.13.15.48.84.88.54.45.89 1.08 1.33 1.85.69 1.21 1.56 2.71 3.5 3.48.73.28 1.52.71 2.27 1.12l.84.46c1.07.58 2 1.09 2.91 1.28.58.12 1.2.37 1.85.63.28.11.56.22.84.33.75.27 1.4.47 2.04.65.48.15.97.29 1.5.47.14.05.31.08.46.08 9.71-.02 11.71-4.89 12.39-9.65.72-5.09-.04-7.15-3.22-12.08Z" fill="#34332b"/>
5
+ <path d="M54.67 54.41c-1.25-.43-2.24-.65-3.52-1.12-.94-.35-1.91-.81-2.83-1-.89-.18-1.91-.79-3.11-1.44-.9-.49-1.84-1.02-2.75-1.38-1.63-.64-2.36-1.94-3.01-3.07-.46-.81-.9-1.57-1.62-2.15 0 0-.41-.23-.46-.37-.05-.16.18-.64.18-.64.25-.71 1.52-1.5 2.86-1.5.5 0 .99.11 1.45.32.29.13.59.36.96.66.57.45 1.34 1.05 2.02 1.17-2.99-2.82-9.15-8.67-11.42-11.29-1.24-1.44-1.93-3.61-.5-4.98.4-.39.94-.61 1.5-.6 1.23 0 2.48.97 3.32 1.7.65.57 1.3 1.13 1.95 1.7 1.83 1.59 3.91 3.38 5.6 4.96.28-.29 1.15-1.15 2.41-2.13.59-.46 1.31-.56 1.81-.56.46 0 1.02.09 1.5.3.77-.67 1.75-1.49 2.05-1.65.52-.27 1.09-.41 1.68-.4.98 0 1.93.38 2.66 1.05.61-.17 1.66-.43 2.48-.43 1.35 0 2.41 1.36 3.26 2.68 3.09 4.8 3.74 6.61 3.07 11.4-.63 4.45-2.42 8.78-11.41 8.79-.04 0-.09-.01-.13-.02Z" fill="#fff"/>
6
+ </g>
7
+ </defs>
2
8
  <rect x="18" y="12" width="50" height="39" rx="7" fill="#231f20" opacity="0.16"/>
3
9
  <rect x="17" y="11" width="50" height="39" rx="7" fill="#414757"/>
4
10
  <path d="M17 20v-3c0-3.3 2.7-6 6-6h5z" fill="#4c97ff"/>
@@ -20,7 +26,6 @@
20
26
  <rect x="41.8" y="31" width="2.2" height="2.2" rx="0.3"/>
21
27
  <rect x="47.1" y="31" width="2.2" height="2.2" rx="0.3"/>
22
28
  </g>
23
- <text x="42.5" y="49" text-anchor="middle" font-family="Inter, Arial, sans-serif" font-size="16" font-weight="700" fill="#35c1df">A</text>
24
29
  <g fill="#ffbf00">
25
30
  <rect x="24" y="49" width="3" height="5"/>
26
31
  <rect x="29" y="49" width="3" height="5"/>
@@ -30,4 +35,5 @@
30
35
  <rect x="49" y="49" width="3" height="5"/>
31
36
  <rect x="54" y="49" width="3" height="5"/>
32
37
  </g>
38
+ <use href="#button-press-hand" transform="translate(10.3 8.6) scale(.55)"/>
33
39
  </svg>
@@ -1,4 +1,10 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="85" height="66" viewBox="0 0 85 66">
2
+ <defs>
3
+ <g id="button-press-hand">
4
+ <path d="M63.97 33.7c-.99-1.56-2.26-3.14-4.1-3.14-.72 0-1.55.15-2.24.33-.85-.62-1.85-.95-2.89-.95-.73-.01-1.48.17-2.15.52-.13.07-.42.22-1.8 1.4-.53-.15-1-.17-1.28-.17-.49 0-1.14.07-1.78.37h-.01c-.22.1-.43.24-.64.4-.75.58-1.37 1.12-1.81 1.54-1.57-1.43-3.34-2.96-4.93-4.34-.66-.57-1.31-1.13-1.95-1.7-.55-.47-1.25-1.04-2.05-1.44-.37-.18-.76-.33-1.17-.41-.24-.06-.5-.09-.75-.09-.17 0-.33.01-.49.04-.64.09-1.24.38-1.71.84-.62.59-.95 1.27-1.07 1.99-.06.39-.06.8-.01 1.2.05.39.15.77.3 1.14.27.74.7 1.44 1.21 2.03 1.45 1.66 4.37 4.56 7.4 7.46l.04.04s-.07.01-.11.02h-.05c-1.38.13-2.68.89-3.19 1.84l-.02.03c-.03.07-.06.13-.09.2-.38.81-.26 1.19-.21 1.34.04.13.15.48.84.88.54.45.89 1.08 1.33 1.85.69 1.21 1.56 2.71 3.5 3.48.73.28 1.52.71 2.27 1.12l.84.46c1.07.58 2 1.09 2.91 1.28.58.12 1.2.37 1.85.63.28.11.56.22.84.33.75.27 1.4.47 2.04.65.48.15.97.29 1.5.47.14.05.31.08.46.08 9.71-.02 11.71-4.89 12.39-9.65.72-5.09-.04-7.15-3.22-12.08Z" fill="#34332b"/>
5
+ <path d="M54.67 54.41c-1.25-.43-2.24-.65-3.52-1.12-.94-.35-1.91-.81-2.83-1-.89-.18-1.91-.79-3.11-1.44-.9-.49-1.84-1.02-2.75-1.38-1.63-.64-2.36-1.94-3.01-3.07-.46-.81-.9-1.57-1.62-2.15 0 0-.41-.23-.46-.37-.05-.16.18-.64.18-.64.25-.71 1.52-1.5 2.86-1.5.5 0 .99.11 1.45.32.29.13.59.36.96.66.57.45 1.34 1.05 2.02 1.17-2.99-2.82-9.15-8.67-11.42-11.29-1.24-1.44-1.93-3.61-.5-4.98.4-.39.94-.61 1.5-.6 1.23 0 2.48.97 3.32 1.7.65.57 1.3 1.13 1.95 1.7 1.83 1.59 3.91 3.38 5.6 4.96.28-.29 1.15-1.15 2.41-2.13.59-.46 1.31-.56 1.81-.56.46 0 1.02.09 1.5.3.77-.67 1.75-1.49 2.05-1.65.52-.27 1.09-.41 1.68-.4.98 0 1.93.38 2.66 1.05.61-.17 1.66-.43 2.48-.43 1.35 0 2.41 1.36 3.26 2.68 3.09 4.8 3.74 6.61 3.07 11.4-.63 4.45-2.42 8.78-11.41 8.79-.04 0-.09-.01-.13-.02Z" fill="#fff"/>
6
+ </g>
7
+ </defs>
2
8
  <rect x="18" y="12" width="50" height="39" rx="7" fill="#231f20" opacity="0.16"/>
3
9
  <rect x="17" y="11" width="50" height="39" rx="7" fill="#414757"/>
4
10
  <path d="M17 20v-3c0-3.3 2.7-6 6-6h5z" fill="#4c97ff"/>
@@ -20,7 +26,6 @@
20
26
  <rect x="41.8" y="31" width="2.2" height="2.2" rx="0.3"/>
21
27
  <rect x="47.1" y="31" width="2.2" height="2.2" rx="0.3"/>
22
28
  </g>
23
- <text x="42.5" y="49" text-anchor="middle" font-family="Inter, Arial, sans-serif" font-size="16" font-weight="700" fill="#35c1df">A + B</text>
24
29
  <g fill="#ffbf00">
25
30
  <rect x="24" y="49" width="3" height="5"/>
26
31
  <rect x="29" y="49" width="3" height="5"/>
@@ -30,4 +35,6 @@
30
35
  <rect x="49" y="49" width="3" height="5"/>
31
36
  <rect x="54" y="49" width="3" height="5"/>
32
37
  </g>
38
+ <use href="#button-press-hand" transform="translate(10.3 8.6) scale(.55)"/>
39
+ <use href="#button-press-hand" transform="translate(37.3 8.6) scale(.55)"/>
33
40
  </svg>
@@ -1,4 +1,10 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="85" height="66" viewBox="0 0 85 66">
2
+ <defs>
3
+ <g id="button-press-hand">
4
+ <path d="M63.97 33.7c-.99-1.56-2.26-3.14-4.1-3.14-.72 0-1.55.15-2.24.33-.85-.62-1.85-.95-2.89-.95-.73-.01-1.48.17-2.15.52-.13.07-.42.22-1.8 1.4-.53-.15-1-.17-1.28-.17-.49 0-1.14.07-1.78.37h-.01c-.22.1-.43.24-.64.4-.75.58-1.37 1.12-1.81 1.54-1.57-1.43-3.34-2.96-4.93-4.34-.66-.57-1.31-1.13-1.95-1.7-.55-.47-1.25-1.04-2.05-1.44-.37-.18-.76-.33-1.17-.41-.24-.06-.5-.09-.75-.09-.17 0-.33.01-.49.04-.64.09-1.24.38-1.71.84-.62.59-.95 1.27-1.07 1.99-.06.39-.06.8-.01 1.2.05.39.15.77.3 1.14.27.74.7 1.44 1.21 2.03 1.45 1.66 4.37 4.56 7.4 7.46l.04.04s-.07.01-.11.02h-.05c-1.38.13-2.68.89-3.19 1.84l-.02.03c-.03.07-.06.13-.09.2-.38.81-.26 1.19-.21 1.34.04.13.15.48.84.88.54.45.89 1.08 1.33 1.85.69 1.21 1.56 2.71 3.5 3.48.73.28 1.52.71 2.27 1.12l.84.46c1.07.58 2 1.09 2.91 1.28.58.12 1.2.37 1.85.63.28.11.56.22.84.33.75.27 1.4.47 2.04.65.48.15.97.29 1.5.47.14.05.31.08.46.08 9.71-.02 11.71-4.89 12.39-9.65.72-5.09-.04-7.15-3.22-12.08Z" fill="#34332b"/>
5
+ <path d="M54.67 54.41c-1.25-.43-2.24-.65-3.52-1.12-.94-.35-1.91-.81-2.83-1-.89-.18-1.91-.79-3.11-1.44-.9-.49-1.84-1.02-2.75-1.38-1.63-.64-2.36-1.94-3.01-3.07-.46-.81-.9-1.57-1.62-2.15 0 0-.41-.23-.46-.37-.05-.16.18-.64.18-.64.25-.71 1.52-1.5 2.86-1.5.5 0 .99.11 1.45.32.29.13.59.36.96.66.57.45 1.34 1.05 2.02 1.17-2.99-2.82-9.15-8.67-11.42-11.29-1.24-1.44-1.93-3.61-.5-4.98.4-.39.94-.61 1.5-.6 1.23 0 2.48.97 3.32 1.7.65.57 1.3 1.13 1.95 1.7 1.83 1.59 3.91 3.38 5.6 4.96.28-.29 1.15-1.15 2.41-2.13.59-.46 1.31-.56 1.81-.56.46 0 1.02.09 1.5.3.77-.67 1.75-1.49 2.05-1.65.52-.27 1.09-.41 1.68-.4.98 0 1.93.38 2.66 1.05.61-.17 1.66-.43 2.48-.43 1.35 0 2.41 1.36 3.26 2.68 3.09 4.8 3.74 6.61 3.07 11.4-.63 4.45-2.42 8.78-11.41 8.79-.04 0-.09-.01-.13-.02Z" fill="#fff"/>
6
+ </g>
7
+ </defs>
2
8
  <rect x="18" y="12" width="50" height="39" rx="7" fill="#231f20" opacity="0.16"/>
3
9
  <rect x="17" y="11" width="50" height="39" rx="7" fill="#414757"/>
4
10
  <path d="M17 20v-3c0-3.3 2.7-6 6-6h5z" fill="#4c97ff"/>
@@ -20,7 +26,6 @@
20
26
  <rect x="41.8" y="31" width="2.2" height="2.2" rx="0.3"/>
21
27
  <rect x="47.1" y="31" width="2.2" height="2.2" rx="0.3"/>
22
28
  </g>
23
- <text x="42.5" y="49" text-anchor="middle" font-family="Inter, Arial, sans-serif" font-size="16" font-weight="700" fill="#35c1df">B</text>
24
29
  <g fill="#ffbf00">
25
30
  <rect x="24" y="49" width="3" height="5"/>
26
31
  <rect x="29" y="49" width="3" height="5"/>
@@ -30,4 +35,5 @@
30
35
  <rect x="49" y="49" width="3" height="5"/>
31
36
  <rect x="54" y="49" width="3" height="5"/>
32
37
  </g>
38
+ <use href="#button-press-hand" transform="translate(37.3 8.6) scale(.55)"/>
33
39
  </svg>
@@ -1,29 +1,13 @@
1
1
  <svg width="85" height="66" viewBox="0 0 85 66" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path opacity="0.16" d="M57 11H28C24.134 11 21 14.134 21 18V46C21 49.866 24.134 53 28 53H57C60.866 53 64 49.866 64 46V18C64 14.134 60.866 11 57 11Z" fill="#231F20"/>
3
- <path d="M56 10H27C23.134 10 20 13.134 20 17V45C20 48.866 23.134 52 27 52H56C59.866 52 63 48.866 63 45V17C63 13.134 59.866 10 56 10Z" fill="#414757"/>
4
- <path d="M20 19V16C20 12.7 22.7 10 26 10H31L20 19Z" fill="#4C97FF"/>
5
- <path d="M52 10H57C60.3 10 63 12.7 63 16V19L52 10Z" fill="#4C97FF"/>
6
- <path d="M20 43L28 52H26C22.7 52 20 49.3 20 46V43Z" fill="#4C97FF"/>
7
- <path d="M63 43V46C63 49.3 60.3 52 57 52H54L63 43Z" fill="#4C97FF"/>
8
- <g opacity="0.55" fill="#7C87A5">
9
- <rect x="36" y="21" width="2.5" height="2.5" rx="0.35"/>
10
- <rect x="42" y="21" width="2.5" height="2.5" rx="0.35"/>
11
- <rect x="48" y="21" width="2.5" height="2.5" rx="0.35"/>
12
- <rect x="36" y="27" width="2.5" height="2.5" rx="0.35"/>
13
- <rect x="42" y="27" width="2.5" height="2.5" rx="0.35"/>
14
- <rect x="48" y="27" width="2.5" height="2.5" rx="0.35"/>
15
- <rect x="36" y="33" width="2.5" height="2.5" rx="0.35"/>
16
- <rect x="42" y="33" width="2.5" height="2.5" rx="0.35"/>
17
- <rect x="48" y="33" width="2.5" height="2.5" rx="0.35"/>
2
+ <g transform="translate(-5 0)">
3
+ <rect x="19" y="9" width="49" height="49" rx="7" fill="#231F20" opacity="0.16"/>
4
+ <rect data-microbit-display="true" x="18" y="8" width="49" height="49" rx="7" fill="#414757" stroke="#7C87A5" stroke-width="1.5"/>
5
+ <g fill="#7C87A5" opacity="0.35">
6
+ <rect x="24" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="14" width="5.5" height="5.5" rx="0.8"/>
7
+ <rect x="24" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="22" width="5.5" height="5.5" rx="0.8"/>
8
+ <rect x="24" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="30" width="5.5" height="5.5" rx="0.8"/>
9
+ <rect x="24" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="38" width="5.5" height="5.5" rx="0.8"/>
10
+ <rect x="24" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="46" width="5.5" height="5.5" rx="0.8"/>
18
11
  </g>
19
- <path d="M30 19L55 43M55 19L30 43" stroke="white" stroke-width="5.2" stroke-linecap="round"/>
20
- <g fill="#FFBF00">
21
- <rect x="26" y="51" width="3" height="5"/>
22
- <rect x="31" y="51" width="3" height="5"/>
23
- <rect x="36" y="51" width="3" height="5"/>
24
- <rect x="41" y="51" width="3" height="5"/>
25
- <rect x="46" y="51" width="3" height="5"/>
26
- <rect x="51" y="51" width="3" height="5"/>
27
- <rect x="56" y="51" width="3" height="5"/>
28
12
  </g>
29
13
  </svg>
@@ -1,36 +1,18 @@
1
1
  <svg width="85" height="66" viewBox="0 0 85 66" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path opacity="0.16" d="M57 11H28C24.134 11 21 14.134 21 18V46C21 49.866 24.134 53 28 53H57C60.866 53 64 49.866 64 46V18C64 14.134 60.866 11 57 11Z" fill="#231F20"/>
3
- <path d="M56 10H27C23.134 10 20 13.134 20 17V45C20 48.866 23.134 52 27 52H56C59.866 52 63 48.866 63 45V17C63 13.134 59.866 10 56 10Z" fill="#414757"/>
4
- <path d="M20 19V16C20 12.7 22.7 10 26 10H31L20 19Z" fill="#4C97FF"/>
5
- <path d="M52 10H57C60.3 10 63 12.7 63 16V19L52 10Z" fill="#4C97FF"/>
6
- <path d="M20 43L28 52H26C22.7 52 20 49.3 20 46V43Z" fill="#4C97FF"/>
7
- <path d="M63 43V46C63 49.3 60.3 52 57 52H54L63 43Z" fill="#4C97FF"/>
8
- <g opacity="0.22" fill="#7C87A5">
9
- <rect x="36" y="19" width="2.2" height="2.2" rx="0.3"/>
10
- <rect x="36" y="26" width="2.2" height="2.2" rx="0.3"/>
11
- <rect x="36" y="33" width="2.2" height="2.2" rx="0.3"/>
12
- <rect x="42" y="19" width="2.2" height="2.2" rx="0.3"/>
13
- <rect x="42" y="26" width="2.2" height="2.2" rx="0.3"/>
14
- <rect x="42" y="33" width="2.2" height="2.2" rx="0.3"/>
15
- <rect x="48" y="19" width="2.2" height="2.2" rx="0.3"/>
16
- <rect x="48" y="26" width="2.2" height="2.2" rx="0.3"/>
17
- <rect x="48" y="33" width="2.2" height="2.2" rx="0.3"/>
2
+ <g transform="translate(-5 0)">
3
+ <rect x="19" y="9" width="49" height="49" rx="7" fill="#231F20" opacity="0.16"/>
4
+ <rect data-microbit-display="true" x="18" y="8" width="49" height="49" rx="7" fill="#414757" stroke="#7C87A5" stroke-width="1.5"/>
5
+ <g fill="#7C87A5" opacity="0.35">
6
+ <rect x="24" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="14" width="5.5" height="5.5" rx="0.8"/>
7
+ <rect x="24" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="22" width="5.5" height="5.5" rx="0.8"/>
8
+ <rect x="24" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="30" width="5.5" height="5.5" rx="0.8"/>
9
+ <rect x="32" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="38" width="5.5" height="5.5" rx="0.8"/>
10
+ <rect x="24" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="46" width="5.5" height="5.5" rx="0.8"/>
18
11
  </g>
19
- <g fill="#35C1DF">
20
- <circle cx="34" cy="24" r="3"/>
21
- <circle cx="51" cy="24" r="3"/>
22
- <circle cx="31" cy="38" r="3"/>
23
- <circle cx="38" cy="43" r="3"/>
24
- <circle cx="47" cy="43" r="3"/>
25
- <circle cx="54" cy="38" r="3"/>
12
+ <g data-led-state="on" fill="#FFFFFF">
13
+ <rect x="32" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="22" width="5.5" height="5.5" rx="0.8"/>
14
+ <rect x="24" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="38" width="5.5" height="5.5" rx="0.8"/>
15
+ <rect x="32" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="46" width="5.5" height="5.5" rx="0.8"/>
26
16
  </g>
27
- <g fill="#FFBF00">
28
- <rect x="26" y="51" width="3" height="5"/>
29
- <rect x="31" y="51" width="3" height="5"/>
30
- <rect x="36" y="51" width="3" height="5"/>
31
- <rect x="41" y="51" width="3" height="5"/>
32
- <rect x="46" y="51" width="3" height="5"/>
33
- <rect x="51" y="51" width="3" height="5"/>
34
- <rect x="56" y="51" width="3" height="5"/>
35
17
  </g>
36
18
  </svg>
@@ -1,42 +1,18 @@
1
1
  <svg width="85" height="66" viewBox="0 0 85 66" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path opacity="0.16" d="M57 11H28C24.134 11 21 14.134 21 18V46C21 49.866 24.134 53 28 53H57C60.866 53 64 49.866 64 46V18C64 14.134 60.866 11 57 11Z" fill="#231F20"/>
3
- <path d="M56 10H27C23.134 10 20 13.134 20 17V45C20 48.866 23.134 52 27 52H56C59.866 52 63 48.866 63 45V17C63 13.134 59.866 10 56 10Z" fill="#414757"/>
4
- <path d="M20 19V16C20 12.7 22.7 10 26 10H31L20 19Z" fill="#4C97FF"/>
5
- <path d="M52 10H57C60.3 10 63 12.7 63 16V19L52 10Z" fill="#4C97FF"/>
6
- <path d="M20 43L28 52H26C22.7 52 20 49.3 20 46V43Z" fill="#4C97FF"/>
7
- <path d="M63 43V46C63 49.3 60.3 52 57 52H54L63 43Z" fill="#4C97FF"/>
8
- <g opacity="0.22" fill="#7C87A5">
9
- <rect x="36" y="19" width="2.2" height="2.2" rx="0.3"/>
10
- <rect x="36" y="26" width="2.2" height="2.2" rx="0.3"/>
11
- <rect x="36" y="33" width="2.2" height="2.2" rx="0.3"/>
12
- <rect x="42" y="19" width="2.2" height="2.2" rx="0.3"/>
13
- <rect x="42" y="26" width="2.2" height="2.2" rx="0.3"/>
14
- <rect x="42" y="33" width="2.2" height="2.2" rx="0.3"/>
15
- <rect x="48" y="19" width="2.2" height="2.2" rx="0.3"/>
16
- <rect x="48" y="26" width="2.2" height="2.2" rx="0.3"/>
17
- <rect x="48" y="33" width="2.2" height="2.2" rx="0.3"/>
2
+ <g transform="translate(-5 0)">
3
+ <rect x="19" y="9" width="49" height="49" rx="7" fill="#231F20" opacity="0.16"/>
4
+ <rect data-microbit-display="true" x="18" y="8" width="49" height="49" rx="7" fill="#414757" stroke="#7C87A5" stroke-width="1.5"/>
5
+ <g fill="#7C87A5" opacity="0.35">
6
+ <rect x="24" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="14" width="5.5" height="5.5" rx="0.8"/>
7
+ <rect x="24" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="38" width="5.5" height="5.5" rx="0.8"/>
8
+ <rect x="24" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="46" width="5.5" height="5.5" rx="0.8"/>
18
9
  </g>
19
- <g fill="#35C1DF">
20
- <circle cx="32" cy="19" r="3"/>
21
- <circle cx="38" cy="23" r="3"/>
22
- <circle cx="42.5" cy="29" r="3"/>
23
- <circle cx="52" cy="19" r="3"/>
24
- <circle cx="46" cy="23" r="3"/>
25
- <circle cx="26" cy="23" r="3"/>
26
- <circle cx="58" cy="23" r="3"/>
27
- <circle cx="26" cy="31" r="3"/>
28
- <circle cx="58" cy="31" r="3"/>
29
- <circle cx="34" cy="39" r="3"/>
30
- <circle cx="42" cy="47" r="3"/>
31
- <circle cx="50" cy="39" r="3"/>
10
+ <g data-led-state="on" fill="#FFFFFF">
11
+ <rect x="32" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="14" width="5.5" height="5.5" rx="0.8"/>
12
+ <rect x="24" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="22" width="5.5" height="5.5" rx="0.8"/>
13
+ <rect x="24" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="30" width="5.5" height="5.5" rx="0.8"/>
14
+ <rect x="32" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="38" width="5.5" height="5.5" rx="0.8"/>
15
+ <rect x="40" y="46" width="5.5" height="5.5" rx="0.8"/>
32
16
  </g>
33
- <g fill="#FFBF00">
34
- <rect x="26" y="51" width="3" height="5"/>
35
- <rect x="31" y="51" width="3" height="5"/>
36
- <rect x="36" y="51" width="3" height="5"/>
37
- <rect x="41" y="51" width="3" height="5"/>
38
- <rect x="46" y="51" width="3" height="5"/>
39
- <rect x="51" y="51" width="3" height="5"/>
40
- <rect x="56" y="51" width="3" height="5"/>
41
17
  </g>
42
18
  </svg>
@@ -1,29 +1,14 @@
1
1
  <svg width="85" height="66" viewBox="0 0 85 66" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path opacity="0.16" d="M57 11H28C24.134 11 21 14.134 21 18V46C21 49.866 24.134 53 28 53H57C60.866 53 64 49.866 64 46V18C64 14.134 60.866 11 57 11Z" fill="#231F20"/>
3
- <path d="M56 10H27C23.134 10 20 13.134 20 17V45C20 48.866 23.134 52 27 52H56C59.866 52 63 48.866 63 45V17C63 13.134 59.866 10 56 10Z" fill="#414757"/>
4
- <path d="M20 19V16C20 12.7 22.7 10 26 10H31L20 19Z" fill="#4C97FF"/>
5
- <path d="M52 10H57C60.3 10 63 12.7 63 16V19L52 10Z" fill="#4C97FF"/>
6
- <path d="M20 43L28 52H26C22.7 52 20 49.3 20 46V43Z" fill="#4C97FF"/>
7
- <path d="M63 43V46C63 49.3 60.3 52 57 52H54L63 43Z" fill="#4C97FF"/>
8
- <g opacity="0.4" fill="#7C87A5">
9
- <rect x="36" y="19" width="2.2" height="2.2" rx="0.3"/>
10
- <rect x="42" y="19" width="2.2" height="2.2" rx="0.3"/>
11
- <rect x="48" y="19" width="2.2" height="2.2" rx="0.3"/>
12
- <rect x="36" y="26" width="2.2" height="2.2" rx="0.3"/>
13
- <rect x="42" y="26" width="2.2" height="2.2" rx="0.3"/>
14
- <rect x="48" y="26" width="2.2" height="2.2" rx="0.3"/>
15
- <rect x="36" y="33" width="2.2" height="2.2" rx="0.3"/>
16
- <rect x="42" y="33" width="2.2" height="2.2" rx="0.3"/>
17
- <rect x="48" y="33" width="2.2" height="2.2" rx="0.3"/>
2
+ <g transform="translate(-5 0)">
3
+ <rect x="19" y="9" width="49" height="49" rx="7" fill="#231F20" opacity="0.16"/>
4
+ <rect data-microbit-display="true" x="18" y="8" width="49" height="49" rx="7" fill="#414757" stroke="#7C87A5" stroke-width="1.5"/>
5
+ <g fill="#7C87A5" opacity="0.22">
6
+ <rect x="24" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="14" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="14" width="5.5" height="5.5" rx="0.8"/>
7
+ <rect x="24" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="22" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="22" width="5.5" height="5.5" rx="0.8"/>
8
+ <rect x="24" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="30" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="30" width="5.5" height="5.5" rx="0.8"/>
9
+ <rect x="24" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="38" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="38" width="5.5" height="5.5" rx="0.8"/>
10
+ <rect x="24" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="32" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="40" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="48" y="46" width="5.5" height="5.5" rx="0.8"/><rect x="56" y="46" width="5.5" height="5.5" rx="0.8"/>
18
11
  </g>
19
- <path d="M31.7944 37V19.5455H35.4847V26.7472H42.9762V19.5455H46.658V37H42.9762V29.7898H35.4847V37H31.7944ZM49.6325 37V23.9091H53.2631V37H49.6325ZM51.4563 22.2216C50.9165 22.2216 50.4535 22.0426 50.0671 21.6847C49.6864 21.321 49.4961 20.8864 49.4961 20.3807C49.4961 19.8807 49.6864 19.4517 50.0671 19.0938C50.4535 18.7301 50.9165 18.5483 51.4563 18.5483C51.9961 18.5483 52.4563 18.7301 52.837 19.0938C53.2234 19.4517 53.4165 19.8807 53.4165 20.3807C53.4165 20.8864 53.2234 21.321 52.837 21.6847C52.4563 22.0426 51.9961 22.2216 51.4563 22.2216Z" fill="#35C1DF"/>
20
- <g fill="#FFBF00">
21
- <rect x="26" y="51" width="3" height="5"/>
22
- <rect x="31" y="51" width="3" height="5"/>
23
- <rect x="36" y="51" width="3" height="5"/>
24
- <rect x="41" y="51" width="3" height="5"/>
25
- <rect x="46" y="51" width="3" height="5"/>
26
- <rect x="51" y="51" width="3" height="5"/>
27
- <rect x="56" y="51" width="3" height="5"/>
12
+ <text x="42.5" y="40" text-anchor="middle" font-family="Inter, Arial, sans-serif" font-size="23" font-weight="700" fill="#FFFFFF">Hi</text>
28
13
  </g>
29
14
  </svg>
@@ -1,5 +1,5 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="76" height="66" viewBox="0 0 85 66">
2
- <g transform="translate(42.5 33) rotate(-10) translate(-42.5 -33)">
2
+ <g transform="translate(42.5 33) rotate(0) translate(-42.5 -33)">
3
3
  <rect x="27" y="18" width="31" height="27" rx="3" fill="#231f20" opacity="0.16"/>
4
4
  <rect x="26" y="17" width="31" height="27" rx="3" fill="#414757"/>
5
5
  <path d="M26 25v-5c0-1.65 1.35-3 3-3h5z" fill="#4c97ff"/>
@@ -1,5 +1,5 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="76" height="66" viewBox="0 0 85 66">
2
- <g transform="translate(42.5 33) rotate(10) translate(-42.5 -33)">
2
+ <g transform="translate(42.5 33) rotate(0) translate(-42.5 -33)">
3
3
  <rect x="27" y="18" width="31" height="27" rx="3" fill="#231f20" opacity="0.16"/>
4
4
  <rect x="26" y="17" width="31" height="27" rx="3" fill="#414757"/>
5
5
  <path d="M26 25v-5c0-1.65 1.35-3 3-3h5z" fill="#4c97ff"/>
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Remove extension">
2
+ <circle cx="32" cy="32" r="30" fill="#ed5252" stroke="#fff" stroke-width="4"/>
3
+ <path d="M22 24h20l-2 25H24l-2-25zm5-8h10l2 4H25l2-4zm-7 4h24v5H20v-5z" fill="#fff"/>
4
+ <path d="M29 29v15m6-15v15" stroke="#ed5252" stroke-width="3" stroke-linecap="round"/>
5
+ </svg>
@@ -451,8 +451,8 @@ div.frame {
451
451
  position: relative;
452
452
  margin: ${css_vh(0)} ${css_vh(0)} ${css_vh(0)};
453
453
  height: ${64 * scaleMultiplier}px;
454
- /* width: ${659 * scaleMultiplier}px; */
455
- width: 85%;
454
+ /* Keep a fixed, height-scaled lane for undo/redo instead of a viewport percentage. */
455
+ width: calc(100% - ${120 * scaleMultiplier}px);
456
456
  z-index:4;
457
457
  overflow: hidden;
458
458
  }
@@ -977,6 +977,172 @@ div.frame {
977
977
  outline-offset: 3px;
978
978
  }
979
979
 
980
+ /* micro:bit connection and software installer */
981
+ .microBitConnectionDialog {
982
+ position: fixed;
983
+ left: 50%;
984
+ top: 50%;
985
+ width: ${css_vh(56)};
986
+ min-height: ${css_vh(31)};
987
+ transform: translate(-50%, -50%);
988
+ z-index: 12000;
989
+ box-sizing: border-box;
990
+ padding: ${css_vh(3.2)} ${css_vh(3.4)} ${css_vh(3)};
991
+ border: 3px solid #F4AD46;
992
+ border-radius: 16px;
993
+ background: #FEDF8F;
994
+ box-shadow: 0 ${css_vh(0.65)} ${css_vh(2.2)} rgba(0, 0, 0, 0.32);
995
+ font-family: 'Lato Regular';
996
+ }
997
+
998
+ .microBitConnectionDialog.fade {
999
+ display: none;
1000
+ opacity: 0;
1001
+ }
1002
+
1003
+ .microBitConnectionDialog.fade.in {
1004
+ display: block;
1005
+ opacity: 1;
1006
+ }
1007
+
1008
+ .microBitConnectionDialogClose {
1009
+ position: absolute;
1010
+ right: ${css_vh(1.1)};
1011
+ top: ${css_vh(1.1)};
1012
+ width: ${css_vh(4.3)};
1013
+ height: ${css_vh(4.3)};
1014
+ border: 0;
1015
+ padding: 0;
1016
+ background: url('../assets/ui/closeit.svg') no-repeat center center;
1017
+ background-size: 100%;
1018
+ cursor: pointer;
1019
+ -webkit-tap-highlight-color: transparent;
1020
+ }
1021
+
1022
+ .microBitConnectionDialogClose:disabled {
1023
+ cursor: default;
1024
+ opacity: 0.45;
1025
+ }
1026
+
1027
+ .microBitConnectionDialogTitle {
1028
+ color: #315F7B;
1029
+ font-size: ${css_vh(3.4)};
1030
+ font-weight: bold;
1031
+ line-height: ${css_vh(4)};
1032
+ text-align: center;
1033
+ text-shadow: 0 ${css_vh(0.13)} #fff;
1034
+ }
1035
+
1036
+ .microBitConnectionDialogBody {
1037
+ display: flex;
1038
+ flex-direction: column;
1039
+ align-items: center;
1040
+ min-height: ${css_vh(17)};
1041
+ padding-top: ${css_vh(1.6)};
1042
+ text-align: center;
1043
+ }
1044
+
1045
+ .microBitConnectionDialogIcon {
1046
+ display: flex;
1047
+ align-items: center;
1048
+ justify-content: center;
1049
+ width: ${css_vh(8)};
1050
+ height: ${css_vh(8)};
1051
+ border-radius: 50%;
1052
+ background: #F9CF37;
1053
+ }
1054
+
1055
+ .microBitConnectionDialogIcon svg {
1056
+ width: ${css_vh(6.3)};
1057
+ height: ${css_vh(6.3)};
1058
+ }
1059
+
1060
+ .microBitConnectionDialogMessage {
1061
+ max-width: ${css_vh(45)};
1062
+ margin-top: ${css_vh(1.2)};
1063
+ color: #315F7B;
1064
+ font-size: ${css_vh(1.9)};
1065
+ line-height: ${css_vh(2.6)};
1066
+ }
1067
+
1068
+ .microBitConnectionDialogProgress {
1069
+ display: none;
1070
+ flex-direction: column;
1071
+ align-items: center;
1072
+ width: min(100%, ${css_vh(38)});
1073
+ margin-top: ${css_vh(1.5)};
1074
+ }
1075
+
1076
+ .microBitConnectionDialogProgressBar {
1077
+ width: 100%;
1078
+ height: ${css_vh(1.5)};
1079
+ accent-color: #5D9CC8;
1080
+ }
1081
+
1082
+ .microBitConnectionDialogProgressLabel {
1083
+ margin-top: ${css_vh(0.5)};
1084
+ color: #315F7B;
1085
+ font-size: ${css_vh(1.65)};
1086
+ font-weight: bold;
1087
+ }
1088
+
1089
+ .microBitConnectionDialogError {
1090
+ display: none;
1091
+ max-width: ${css_vh(45)};
1092
+ margin-top: ${css_vh(1)};
1093
+ padding: ${css_vh(0.8)} ${css_vh(1)};
1094
+ border-radius: 8px;
1095
+ background: #FFF5D9;
1096
+ color: #9E1F28;
1097
+ font-size: ${css_vh(1.45)};
1098
+ line-height: ${css_vh(2)};
1099
+ overflow-wrap: anywhere;
1100
+ }
1101
+
1102
+ .microBitConnectionDialogHelp {
1103
+ display: none;
1104
+ margin-top: ${css_vh(1)};
1105
+ color: #255E83;
1106
+ font-size: ${css_vh(1.6)};
1107
+ font-weight: bold;
1108
+ }
1109
+
1110
+ .microBitConnectionDialogActions {
1111
+ display: flex;
1112
+ justify-content: flex-end;
1113
+ gap: ${css_vh(1)};
1114
+ margin-top: ${css_vh(1.3)};
1115
+ }
1116
+
1117
+ .microBitConnectionDialogButton {
1118
+ min-width: ${css_vh(10)};
1119
+ min-height: ${css_vh(4.2)};
1120
+ padding: ${css_vh(0.5)} ${css_vh(1.3)};
1121
+ border: 2px solid #315F7B;
1122
+ border-radius: 10px;
1123
+ color: #fff;
1124
+ font-family: 'Lato Regular';
1125
+ font-size: ${css_vh(1.7)};
1126
+ font-weight: bold;
1127
+ cursor: pointer;
1128
+ -webkit-tap-highlight-color: transparent;
1129
+ }
1130
+
1131
+ .microBitConnectionDialogButton.secondary {
1132
+ background: #5D9CC8;
1133
+ }
1134
+
1135
+ .microBitConnectionDialogButton.primary {
1136
+ background: #2E9E66;
1137
+ }
1138
+
1139
+ .microBitConnectionDialogClose:focus-visible,
1140
+ .microBitConnectionDialogButton:focus-visible,
1141
+ .microBitConnectionDialogHelp:focus-visible {
1142
+ outline: 3px solid #133C46;
1143
+ outline-offset: 3px;
1144
+ }
1145
+
980
1146
  /* parental gate */
981
1147
  .parentalgate {
982
1148
  position: fixed;
@@ -1562,9 +1728,9 @@ form.projectname {
1562
1728
  }
1563
1729
 
1564
1730
  *.microbitMatrixCell.on {
1565
- background: #35C1DF;
1566
- border-color: #1F8EA6;
1567
- box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.22);
1731
+ background: #FFFFFF;
1732
+ border-color: #C8CDD8;
1733
+ box-shadow: inset 0 2px 0 rgba(65, 71, 87, 0.12), 0 0 0 2px rgba(65, 71, 87, 0.35);
1568
1734
  }
1569
1735
 
1570
1736
  *.microbitMatrixCell:active {