@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.
- package/editions/free/src/30d09ba32a17082ef820.hex +26350 -0
- package/editions/free/src/app.bundle.js +1 -1
- package/editions/free/src/app.bundle.js.LICENSE.txt +15 -0
- package/editions/free/src/assets/blockicons/microbitbuttona.svg +7 -1
- package/editions/free/src/assets/blockicons/microbitbuttonab.svg +8 -1
- package/editions/free/src/assets/blockicons/microbitbuttonb.svg +7 -1
- package/editions/free/src/assets/blockicons/microbitdisplayclear.svg +9 -25
- package/editions/free/src/assets/blockicons/microbitdisplayhappy.svg +13 -31
- package/editions/free/src/assets/blockicons/microbitdisplayheart.svg +13 -37
- package/editions/free/src/assets/blockicons/microbitdisplaytext.svg +10 -25
- package/editions/free/src/assets/blockicons/microbittiltleft.svg +1 -1
- package/editions/free/src/assets/blockicons/microbittiltright.svg +1 -1
- package/editions/free/src/assets/connection/remove_extension-default.svg +5 -0
- package/editions/free/src/css/editor.css +171 -5
- package/editions/free/src/css/editorleftpanel.css +87 -12
- package/editions/free/src/localizations/bg.json +12 -12
- package/editions/free/src/localizations/ca.json +12 -12
- package/editions/free/src/localizations/cs.json +12 -12
- package/editions/free/src/localizations/cy.json +12 -12
- package/editions/free/src/localizations/da.json +12 -12
- package/editions/free/src/localizations/de.json +12 -12
- package/editions/free/src/localizations/el.json +12 -12
- package/editions/free/src/localizations/en.json +34 -14
- package/editions/free/src/localizations/es.json +12 -12
- package/editions/free/src/localizations/fi.json +12 -12
- package/editions/free/src/localizations/fr.json +12 -12
- package/editions/free/src/localizations/it.json +12 -12
- package/editions/free/src/localizations/ja.json +12 -12
- package/editions/free/src/localizations/ko.json +12 -12
- package/editions/free/src/localizations/nl.json +12 -12
- package/editions/free/src/localizations/no.json +12 -12
- package/editions/free/src/localizations/pl.json +12 -12
- package/editions/free/src/localizations/pt-br.json +12 -12
- package/editions/free/src/localizations/pt.json +12 -12
- package/editions/free/src/localizations/sv.json +12 -12
- package/editions/free/src/localizations/th.json +12 -12
- package/editions/free/src/localizations/tr.json +12 -12
- package/editions/free/src/localizations/uk.json +12 -12
- package/editions/free/src/localizations/zh-cn.json +12 -12
- package/editions/free/src/localizations/zh-tw.json +12 -12
- package/package.json +4 -1
- package/scripts/prepare-microbit-hex.mjs +47 -0
- package/tests/BlockGuideRegistry.test.js +4 -2
- package/tests/MicroBitBlockDescriptions.test.js +28 -0
- package/tests/MicroBitBlockOptions.test.js +34 -0
- package/tests/MicroBitButtonIcons.test.js +24 -0
- package/tests/MicroBitDisplayIcons.test.js +64 -0
- package/tests/e2e/chromium-79-smoke.test.js +126 -10
- package/tests/e2e/marty-connection-ui.e2e.test.js +152 -4
- package/tests/e2e/microbit-updater.test.js +126 -0
- package/vitest.config.js +1 -0
- 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
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<rect x="
|
|
10
|
-
<rect x="
|
|
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
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<rect x="
|
|
10
|
-
<rect x="
|
|
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="#
|
|
20
|
-
<
|
|
21
|
-
<
|
|
22
|
-
<
|
|
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
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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="#
|
|
20
|
-
<
|
|
21
|
-
<
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
<
|
|
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
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<rect x="
|
|
10
|
-
<rect x="
|
|
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
|
-
<
|
|
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(
|
|
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(
|
|
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
|
-
/*
|
|
455
|
-
width:
|
|
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: #
|
|
1566
|
-
border-color: #
|
|
1567
|
-
box-shadow: inset 0 2px 0 rgba(
|
|
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 {
|