pxt-microbit 8.0.0 → 8.0.2
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/built/block-tests.js +1 -1
- package/built/target.js +1 -1
- package/built/target.json +1 -1
- package/built/targetlight.js +1 -1
- package/built/targetlight.json +1 -1
- package/built/theme.json +1 -1
- package/built/web/blockly.css +1 -1
- package/built/web/rtlblockly.css +1 -1
- package/built/web/rtlsemantic.css +1 -1
- package/built/web/semantic.css +1 -1
- package/package.json +5 -5
- package/pxtarget.json +2 -1
package/built/theme.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"accentColor":"#5C005C","logoUrl":"https://microbit.org/","logo":"@cdnUrl@/blob/d955ce94fc3f7d2c6573300c71a56dc1d92c9bf0/static/logo.portrait.white.svg","docsLogo":"@cdnUrl@/blob/3403510141da69da71b1fbb1024619a3ba88ac29/static/logo.square.white.svg","portraitLogo":"@cdnUrl@/blob/3403510141da69da71b1fbb1024619a3ba88ac29/static/logo.square.white.svg","footerLogo":"@cdnUrl@/blob/642175ae61e6822c948990e15570e590d2e0ecf1/static/logo.portrait.black.svg","cardLogo":"@cdnUrl@/blob/4de54063603c8d16531078818a83f7c29a3588fa/static/icons/apple-touch-icon.png","appLogo":"@cdnUrl@/blob/4de54063603c8d16531078818a83f7c29a3588fa/static/icons/apple-touch-icon.png","organization":"Microsoft MakeCode","organizationUrl":"https://makecode.com/","organizationLogo":"@cdnUrl@/blob/106597ae039a275897661651b96856220c9b0fad/static/Microsoft_logo_rgb_W-white_D-square.png","organizationWideLogo":"@cdnUrl@/blob/d6139e3d0af51f02aa5f8765ecb0985acbd98551/static/Microsoft_logo_rgb_W-white_D.png","homeScreenHero":{"imageUrl":"@cdnUrl@/blob/27137e90637eecca4fffc33c1d9b1ab0d20612d5/static/herogallery/hero-banner.png","name":"Flashing Heart","url":"/projects/flashing-heart","description":"New? Start here!","cardType":"tutorial"},"homeScreenHeroGallery":"/hero-banner","homeUrl":"https://makecode.microbit.org/","embedUrl":"https://makecode.microbit.org/","shareUrl":"https://makecode.microbit.org/","privacyUrl":"https://makecode.com/privacy","termsOfUseUrl":"https://makecode.com/termsofuse","githubUrl":"https://github.com/Microsoft/pxt-microbit","boardName":"micro:bit","boardNickname":"micro:bit","driveDisplayName":"MICROBIT","appStoreID":"1092687276","mobileSafariDownloadProtocol":"microbithex://?data","crowdinProject":"makecode","extendEditor":true,"extendFieldEditors":true,"enableTrace":true,"ignoreDocsErrors":false,"errorList":true,"workspaceSearch":true,"allowPackageExtensions":true,"addNewTypeScriptFile":true,"enabledFeatures":{"blocksErrorList":{}},"experiments":["accessibleBlocks","debugExtensionCode","bluetoothUartConsole","bluetoothPartialFlashing","identity","forceEnableAiErrorHelp"],"supportedExperiences":["code-eval"],"bluetoothUartFilters":[{"namePrefix":"BBC micro:bit"}],"docMenu":[{"name":"Support","path":"https://support.microbit.org/"},{"name":"Reference","path":"/reference"},{"name":"Hardware","path":"/device"},{"name":"Buy","path":"https://microbit.org/buy/"}],"hasReferenceDocs":true,"usbDocs":"/device/usb","hideHomeDetailsVideo":true,"invertedMenu":true,"coloredToolbox":true,"monacoToolbox":true,"hasAudio":true,"socialOptions":{"orgTwitterHandle":"MSMakeCode","hashtags":"MakeCode","discourse":"https://forum.makecode.com/","discourseCategory":"micro:bit"},"blocklyOptions":{"grid":{"spacing":45,"length":7,"colour":"rgba(189, 195, 199, 0.30)","snap":false}},"blockColors":{"logic":"#00A4A6","loops":"#00AA00","math":"#9400D3","variables":"#DC143C","text":"#B8860B","advanced":"#00272B","functions":"#3455DB","arrays":"#E65722"},"defaultColorTheme":"microbit-light","highContrastColorTheme":"pxt-high-contrast","blocksCollapsing":true,"highContrast":true,"greenScreen":true,"print":true,"selectLanguage":true,"availableLocales":["en","ar","bg","ca","cs","cy","da","de","el","es-ES","fi","fr","gn","he","hu","is","it","ja","ko","nl","nb","nn-NO","pl","pt-BR","pt-PT","ru","si-LK","sk","sr","sv-SE","tr","uk","vi","zh-CN","zh-TW"],"monacoColors":{"editor.background":"#ecf0f1"},"monacoFieldEditors":["soundeffect-editor","image-editor"],"browserDbPrefixes":{"1":"v1","2":"v2","3":"v3","4":"v4","5":"v5","6":"v6","7":"v7"},"editorVersionPaths":{"0":"v0"},"showProjectSettings":true,"scriptManager":true,"debugger":true,"simGifTransparent":"rgba(0,0,0,0)","simGifMaxFrames":44,"simScreenshot":true,"simScreenshotMaxUriLength":300000,"simGif":true,"simGifWidth":240,"qrCode":true,"importExtensionFiles":true,"nameProjectFirst":true,"githubEditor":true,"chooseLanguageRestrictionOnNewProject":true,"openProjectNewTab":true,"python":true,"appFlashingTroubleshoot":"/device/windows-app/troubleshoot","immersiveReader":true,"tutorialCodeValidation":true,"downloadDialogTheme":{"webUSBDeviceNames":["BBC micro:bit CMSIS-DAP","DAPLink CMSIS-DAP"],"minimumFirmwareVersion":"0249","deviceIcon":"xicon microbit","deviceSuccessIcon":"xicon microbit-check","downloadMenuHelpURL":"/device/usb","downloadHelpURL":"/device/usb","troubleshootWebUSBHelpURL":"/device/usb/webusb/troubleshoot","incompatibleHardwareHelpURL":"/device/v2","dragFileImage":"@cdnUrl@/blob/4ac41b592008946443c877dfb6704aef96e9fed3/static/download/transfer.png","connectDeviceImage":"@cdnUrl@/blob/531d5c31f85c523c9a72d2da24e0508502e1e965/static/download/connect-microbit.gif","disconnectDeviceImage":"@cdnUrl@/blob/5052d4e01613fa58ba6cf77c6155c07cd56e52cf/static/download/full-reset.gif","selectDeviceImage":"@cdnUrl@/blob/8b42ea0666da4b22eb9e6d5441b2d7956cdec9e6/static/download/selecting-microbit.gif","connectionSuccessImage":"@cdnUrl@/blob/87ce2f19a063cfe3bed227537b92c5ac0e098212/static/download/successfully-paired.png","incompatibleHardwareImage":"@cdnUrl@/blob/1ae40aeeaccad7ecef3eb8905c37eb89635fee09/static/download/incompatible.png","usbDeviceForgottenImage":"@cdnUrl@/blob/dd759c7e39f810c4304c711547c77232fd96b250/static/download/device-forgotten.gif","browserUnpairImage":"@cdnUrl@/blob/ab08b2f484a3c9779b3ee9757968976a12599d3a/static/download/browser-unpair-image.gif"},"winAppDeprImage":"@cdnUrl@/blob/418c9c299ed5dce035443b8b2094fec39f7fb5b1/static/winapp.PNG","showWinAppDeprBanner":false,"tours":{"editor":"/tours/editor-tour"},"tutorialSimSidebarLayout":true,"preferWebUSBDownload":true,"hideReplaceMyCode":true,"matchWebUSBDeviceInSim":true,"condenseProfile":true,"cloudProfileIcon":"@cdnUrl@/blob/0333f81cb5145591d6833c44eba89af5764d8321/static/profile/microbit-cloud.png","timeMachine":true,"timeMachineDiffInterval":600000,"timeMachineSnapshotInterval":1800000,"TOC":[{"name":"About","path":"/about","subitems":[]},{"name":"FAQ","path":"/faq","subitems":[]},{"name":"Projects","path":"/projects","subitems":[]},{"name":"GitHub","path":"/github","subitems":[]},{"name":"Support","path":"https://support.microbit.org/","subitems":[]},{"name":"Courses","path":"/courses","subitems":[{"name":"CS Intro","path":"/courses/csintro","subitems":[{"name":"About","path":"/courses/csintro/about","subitems":[]},{"name":"Introduction","path":"/courses/csintro/introduction","subitems":[]},{"name":"References","path":"/courses/csintro/references","subitems":[]},{"name":"Acknowledgements","path":"/courses/csintro/acknowledgements","subitems":[]},{"name":"Making","path":"/courses/csintro/making","subitems":[{"name":"Introduction","path":"/courses/csintro/making/introduction","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/making/unplugged","subitems":[]},{"name":"Walkthrough","path":"/courses/csintro/making/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/making/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/making/standards","subitems":[]}]},{"name":"Algorithms","path":"/courses/csintro/algorithms","subitems":[{"name":"Overview","path":"/courses/csintro/algorithms/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/algorithms/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/algorithms/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/algorithms/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/algorithms/standards","subitems":[]}]},{"name":"Variables","path":"/courses/csintro/variables","subitems":[{"name":"Overview","path":"/courses/csintro/variables/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/variables/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/variables/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/variables/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/variables/standards","subitems":[]}]},{"name":"Conditionals","path":"/courses/csintro/conditionals","subitems":[{"name":"Overview","path":"/courses/csintro/conditionals/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/conditionals/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/conditionals/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/conditionals/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/conditionals/standards","subitems":[]}]},{"name":"Iteration","path":"/courses/csintro/iteration","subitems":[{"name":"Overview","path":"/courses/csintro/iteration/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/iteration/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/iteration/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/iteration/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/iteration/standards","subitems":[]}]},{"name":"Mini-project","path":"/courses/csintro/miniproject","subitems":[{"name":"Review","path":"/courses/csintro/miniproject/review","subitems":[]},{"name":"Activity","path":"/courses/csintro/miniproject/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/miniproject/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/miniproject/standards","subitems":[]}]},{"name":"Coordinates","path":"/courses/csintro/coordinates","subitems":[{"name":"Overview","path":"/courses/csintro/coordinates/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/coordinates/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/coordinates/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/coordinates/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/coordinates/standards","subitems":[]}]},{"name":"Booleans","path":"/courses/csintro/booleans","subitems":[{"name":"Overview","path":"/courses/csintro/booleans/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/booleans/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/booleans/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/booleans/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/booleans/standards","subitems":[]}]},{"name":"Binary","path":"/courses/csintro/binary","subitems":[{"name":"Overview","path":"/courses/csintro/binary/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/binary/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/binary/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/binary/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/binary/standards","subitems":[]}]},{"name":"Radio","path":"/courses/csintro/radio","subitems":[{"name":"Overview","path":"/courses/csintro/radio/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/radio/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/radio/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/radio/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/radio/standards","subitems":[]}]},{"name":"Arrays","path":"/courses/csintro/arrays","subitems":[{"name":"Overview","path":"/courses/csintro/arrays/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/arrays/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/arrays/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/arrays/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/arrays/standards","subitems":[]}]},{"name":"Final Project","path":"/courses/csintro/finalproject","subitems":[{"name":"Review","path":"/courses/csintro/finalproject/review","subitems":[]},{"name":"Project","path":"/courses/csintro/finalproject/project","subitems":[]},{"name":"Examples","path":"/courses/csintro/finalproject/examples","subitems":[]},{"name":"Standards","path":"/courses/csintro/finalproject/standards","subitems":[]}]}]},{"name":"Blocks to JavaScript","path":"/courses/blocks-to-javascript","subitems":[{"name":"Hello JavaScript","path":"/courses/blocks-to-javascript/hello-javascript","subitems":[]},{"name":"Starter Blocks","path":"/courses/blocks-to-javascript/starter-blocks","subitems":[]},{"name":"Writing Code","path":"/courses/blocks-to-javascript/writing-code","subitems":[]},{"name":"Conditional Loops","path":"/courses/blocks-to-javascript/conditional-loops","subitems":[]},{"name":"Writing Functions","path":"/courses/blocks-to-javascript/writing-functions","subitems":[]}]},{"name":"Science experiments","path":"/courses/ucp-science","subitems":[{"name":"Data collection","path":"/courses/ucp-science/data-collection","subitems":[{"name":"Overview","path":"/courses/ucp-science/data-collection/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/data-collection/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/data-collection/resources","subitems":[]}]},{"name":"Population Traits","path":"/courses/ucp-science/population","subitems":[{"name":"Overview","path":"/courses/ucp-science/population/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/population/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/population/resources","subitems":[]}]},{"name":"Temperature","path":"/courses/ucp-science/temperature","subitems":[{"name":"Overview","path":"/courses/ucp-science/temperature/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/temperature/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/temperature/resources","subitems":[]}]},{"name":"Soil Moisture","path":"/courses/ucp-science/soil-moisture","subitems":[{"name":"Overview","path":"/courses/ucp-science/soil-moisture/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/soil-moisture/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/soil-moisture/resources","subitems":[]}]},{"name":"Gravity, Motion and Waves","path":"/courses/ucp-science/gravity","subitems":[{"name":"Overview","path":"/courses/ucp-science/gravity/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/gravity/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/gravity/resources","subitems":[]}]},{"name":"Body Electrical and Waves","path":"/courses/ucp-science/body-electrical","subitems":[{"name":"Overview","path":"/courses/ucp-science/body-electrical/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/body-electrical/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/body-electrical/resources","subitems":[]}]},{"name":"Electricity","path":"/courses/ucp-science/electricity","subitems":[{"name":"Overview","path":"/courses/ucp-science/electricity/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/electricity/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/electricity/resources","subitems":[]}]},{"name":"Rocket Acceleration","path":"/courses/ucp-science/rocket-acceleration","subitems":[{"name":"Overview","path":"/courses/ucp-science/rocket-acceleration/overview","subitems":[]},{"name":"Build","path":"/courses/ucp-science/rocket-acceleration/build","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/rocket-acceleration/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/rocket-acceleration/resources","subitems":[]}]}]},{"name":"Logic Lab","path":"/courses/logic-lab","subitems":[{"name":"Logic and Expressions","path":"/courses/logic-lab/expressions","subitems":[]},{"name":"Boolean Elements","path":"/courses/logic-lab/elements","subitems":[]},{"name":"Logic Explorer","path":"/courses/logic-lab/explorer","subitems":[]},{"name":"Logic Gates","path":"/courses/logic-lab/logic-gates","subitems":[]},{"name":"Programmable Logic","path":"/courses/logic-lab/programmable","subitems":[]}]}]},{"name":"Reference","path":"/reference","subitems":[{"name":"Basic","path":"/reference/basic","subitems":[{"name":"show number","path":"/reference/basic/show-number","subitems":[]},{"name":"show icon","path":"/reference/basic/show-icon","subitems":[]},{"name":"show leds","path":"/reference/basic/show-leds","subitems":[]},{"name":"show string","path":"/reference/basic/show-string","subitems":[]},{"name":"clear screen","path":"/reference/basic/clear-screen","subitems":[]},{"name":"forever","path":"/reference/basic/forever","subitems":[]},{"name":"pause","path":"/reference/basic/pause","subitems":[]},{"name":"show arrow","path":"/reference/basic/show-arrow","subitems":[]}]},{"name":"Input","path":"/reference/input","subitems":[{"name":"on button pressed","path":"/reference/input/on-button-pressed","subitems":[]},{"name":"on gesture","path":"/reference/input/on-gesture","subitems":[]},{"name":"on pin pressed","path":"/reference/input/on-pin-pressed","subitems":[]},{"name":"button is pressed","path":"/reference/input/button-is-pressed","subitems":[]},{"name":"compass heading","path":"/reference/input/compass-heading","subitems":[]},{"name":"pin is pressed","path":"/reference/input/pin-is-pressed","subitems":[]},{"name":"temperature","path":"/reference/input/temperature","subitems":[]},{"name":"acceleration","path":"/reference/input/acceleration","subitems":[]},{"name":"light level","path":"/reference/input/light-level","subitems":[]},{"name":"rotation","path":"/reference/input/rotation","subitems":[]},{"name":"magnetic force","path":"/reference/input/magnetic-force","subitems":[]},{"name":"running time","path":"/reference/input/running-time","subitems":[]},{"name":"set accelerometer range","path":"/reference/input/set-accelerometer-range","subitems":[]}]},{"name":"Music","path":"/reference/music","subitems":[{"name":"play tone","path":"/reference/music/play-tone","subitems":[]},{"name":"ring tone","path":"/reference/music/ring-tone","subitems":[]},{"name":"rest","path":"/reference/music/rest","subitems":[]},{"name":"beat","path":"/reference/music/beat","subitems":[]},{"name":"tempo","path":"/reference/music/tempo","subitems":[]},{"name":"change tempo by","path":"/reference/music/change-tempo-by","subitems":[]},{"name":"set tempo","path":"/reference/music/set-tempo","subitems":[]}]},{"name":"Led","path":"/reference/led","subitems":[{"name":"plot","path":"/reference/led/plot","subitems":[]},{"name":"unplot","path":"/reference/led/unplot","subitems":[]},{"name":"point","path":"/reference/led/point","subitems":[]},{"name":"toggle","path":"/reference/led/toggle","subitems":[]},{"name":"brightness","path":"/reference/led/brightness","subitems":[]},{"name":"set brightness","path":"/reference/led/set-brightness","subitems":[]},{"name":"stop animation","path":"/reference/led/stop-animation","subitems":[]},{"name":"plot bar graph","path":"/reference/led/plot-bar-graph","subitems":[]},{"name":"enable","path":"/reference/led/enable","subitems":[]}]},{"name":"Radio","path":"/reference/radio","subitems":[{"name":"send number","path":"/reference/radio/send-number","subitems":[]},{"name":"send value","path":"/reference/radio/send-value","subitems":[]},{"name":"send string","path":"/reference/radio/send-string","subitems":[]},{"name":"on received number","path":"/reference/radio/on-received-number","subitems":[]},{"name":"on received string","path":"/reference/radio/on-received-string","subitems":[]},{"name":"on received buffer","path":"/reference/radio/on-received-buffer","subitems":[]},{"name":"received packet","path":"/reference/radio/received-packet","subitems":[]},{"name":"set group","path":"/reference/radio/set-group","subitems":[]},{"name":"set transmit power","path":"/reference/radio/set-transmit-power","subitems":[]},{"name":"set transmit serial number","path":"/reference/radio/set-transmit-serial-number","subitems":[]},{"name":"on data packet received","path":"/reference/radio/on-data-packet-received","subitems":[]},{"name":"write received packet to serial","path":"/reference/radio/write-received-packet-to-serial","subitems":[]}]},{"name":"Game","path":"/reference/game","subitems":[{"name":"create sprite","path":"/reference/game/create-sprite","subitems":[]},{"name":"delete","path":"/reference/game/delete","subitems":[]},{"name":"move","path":"/reference/game/move","subitems":[]},{"name":"turn","path":"/reference/game/turn","subitems":[]},{"name":"if on edge bounce","path":"/reference/game/if-on-edge-bounce","subitems":[]},{"name":"get","path":"/reference/game/get","subitems":[]},{"name":"set","path":"/reference/game/set","subitems":[]},{"name":"change","path":"/reference/game/change","subitems":[]},{"name":"is touching","path":"/reference/game/is-touching","subitems":[]},{"name":"is touching edge","path":"/reference/game/is-touching-edge","subitems":[]},{"name":"add score","path":"/reference/game/add-score","subitems":[]},{"name":"score","path":"/reference/game/score","subitems":[]},{"name":"set score","path":"/reference/game/set-score","subitems":[]},{"name":"set life","path":"/reference/game/set-life","subitems":[]},{"name":"add life","path":"/reference/game/add-life","subitems":[]},{"name":"remove life","path":"/reference/game/remove-life","subitems":[]},{"name":"start countdown","path":"/reference/game/start-countdown","subitems":[]},{"name":"game over","path":"/reference/game/game-over","subitems":[]},{"name":"pause","path":"/reference/game/pause","subitems":[]},{"name":"resume","path":"/reference/game/resume","subitems":[]}]},{"name":"Images","path":"/reference/images","subitems":[{"name":"create image","path":"/reference/images/create-image","subitems":[]},{"name":"create big image","path":"/reference/images/create-big-image","subitems":[]},{"name":"show image","path":"/reference/images/show-image","subitems":[]},{"name":"scroll image","path":"/reference/images/scroll-image","subitems":[]},{"name":"arrow image","path":"/reference/images/arrow-image","subitems":[]},{"name":"icon image","path":"/reference/images/icon-image","subitems":[]},{"name":"arrow number","path":"/reference/images/arrow-number","subitems":[]}]},{"name":"Pins","path":"/reference/pins","subitems":[{"name":"digital read pin","path":"/reference/pins/digital-read-pin","subitems":[]},{"name":"digital write pin","path":"/reference/pins/digital-write-pin","subitems":[]},{"name":"analog read pin","path":"/reference/pins/analog-read-pin","subitems":[]},{"name":"analog write pin","path":"/reference/pins/analog-write-pin","subitems":[]},{"name":"analog set period","path":"/reference/pins/analog-set-period","subitems":[]},{"name":"map","path":"/reference/pins/map","subitems":[]},{"name":"on pulsed","path":"/reference/pins/on-pulsed","subitems":[]},{"name":"pulse duration","path":"/reference/pins/pulse-duration","subitems":[]},{"name":"pulse in","path":"/reference/pins/pulse-in","subitems":[]},{"name":"servo write pin","path":"/reference/pins/servo-write-pin","subitems":[]},{"name":"servo set pulse","path":"/reference/pins/servo-set-pulse","subitems":[]},{"name":"i2c read number","path":"/reference/pins/i2c-read-number","subitems":[]},{"name":"i2c write number","path":"/reference/pins/i2c-write-number","subitems":[]},{"name":"set pull","path":"/reference/pins/set-pull","subitems":[]},{"name":"analog pitch","path":"/reference/pins/analog-pitch","subitems":[]},{"name":"analog set pitch pin","path":"/reference/pins/analog-set-pitch-pin","subitems":[]},{"name":"spi write","path":"/reference/pins/spi-write","subitems":[]},{"name":"spi Pins","path":"/reference/pins/spi-pins","subitems":[]},{"name":"spi format","path":"/reference/pins/spi-format","subitems":[]},{"name":"spi frequency","path":"/reference/pins/spi-frequency","subitems":[]}]},{"name":"Serial","path":"/reference/serial","subitems":[{"name":"write line","path":"/reference/serial/write-line","subitems":[]},{"name":"write number","path":"/reference/serial/write-number","subitems":[]},{"name":"write value","path":"/reference/serial/write-value","subitems":[]},{"name":"write string","path":"/reference/serial/write-string","subitems":[]},{"name":"read until","path":"/reference/serial/read-until","subitems":[]},{"name":"read line","path":"/reference/serial/read-line","subitems":[]},{"name":"read string","path":"/reference/serial/read-string","subitems":[]},{"name":"on data received","path":"/reference/serial/on-data-received","subitems":[]},{"name":"redirect","path":"/reference/serial/redirect","subitems":[]},{"name":"redirect to usb","path":"/reference/serial/redirect-to-usb","subitems":[]},{"name":"set baud rate","path":"/reference/serial/set-baud-rate","subitems":[]},{"name":"set write line padding","path":"/reference/serial/set-write-line-padding","subitems":[]},{"name":"write buffer","path":"/reference/serial/write-buffer","subitems":[]},{"name":"read buffer","path":"/reference/serial/read-buffer","subitems":[]}]},{"name":"Control","path":"/reference/control","subitems":[{"name":"in background","path":"/reference/control/in-background","subitems":[]},{"name":"reset","path":"/reference/control/reset","subitems":[]},{"name":"wait micros","path":"/reference/control/wait-micros","subitems":[]},{"name":"on event","path":"/reference/control/on-event","subitems":[]},{"name":"raise event","path":"/reference/control/raise-event","subitems":[]},{"name":"event timestamp","path":"/reference/control/event-timestamp","subitems":[]},{"name":"event value","path":"/reference/control/event-value","subitems":[]}]},{"name":"Bluetooth","path":"/reference/bluetooth","subitems":[{"name":"About","path":"/reference/bluetooth/about-bluetooth","subitems":[]},{"name":"Pairing","path":"/reference/bluetooth/bluetooth-pairing","subitems":[]},{"name":"on bluetooth connected","path":"/reference/bluetooth/on-bluetooth-connected","subitems":[]},{"name":"on bluetooth disconnected","path":"/reference/bluetooth/on-bluetooth-disconnected","subitems":[]},{"name":"start accelerometer service","path":"/reference/bluetooth/start-accelerometer-service","subitems":[]},{"name":"start button service","path":"/reference/bluetooth/start-button-service","subitems":[]},{"name":"start io pin service","path":"/reference/bluetooth/start-io-pin-service","subitems":[]},{"name":"start led service","path":"/reference/bluetooth/start-led-service","subitems":[]},{"name":"start magnetometer service","path":"/reference/bluetooth/start-magnetometer-service","subitems":[]},{"name":"start temperature service","path":"/reference/bluetooth/start-temperature-service","subitems":[]},{"name":"start uart service","path":"/reference/bluetooth/start-uart-service","subitems":[]},{"name":"uart read until","path":"/reference/bluetooth/uart-read-until","subitems":[]},{"name":"uart write string","path":"/reference/bluetooth/uart-write-string","subitems":[]},{"name":"uart write number","path":"/reference/bluetooth/uart-write-number","subitems":[]},{"name":"uart write value","path":"/reference/bluetooth/uart-write-value","subitems":[]},{"name":"advertise url","path":"/reference/bluetooth/advertise-url","subitems":[]},{"name":"stop advertising","path":"/reference/bluetooth/stop-advertising","subitems":[]},{"name":"advertise uid","path":"/reference/bluetooth/advertise-uid","subitems":[]},{"name":"advertise-uid-buffer","path":"/reference/bluetooth/advertise-uid-buffer","subitems":[]}]}]},{"name":"Extensions","path":"/extensions","subitems":[]},{"name":"Blocks","path":"/blocks","subitems":[{"name":"On Start","path":"/blocks/on-start","subitems":[]},{"name":"Loops","path":"/blocks/loops","subitems":[{"name":"repeat","path":"/blocks/loops/repeat","subitems":[]},{"name":"for","path":"/blocks/loops/for","subitems":[]},{"name":"while","path":"/blocks/loops/while","subitems":[]},{"name":"for of","path":"/blocks/loops/for-of","subitems":[]}]},{"name":"Logic","path":"/blocks/logic","subitems":[{"name":"if","path":"/blocks/logic/if","subitems":[]},{"name":"Boolean","path":"/blocks/logic/boolean","subitems":[]}]},{"name":"Variables","path":"/blocks/variables","subitems":[{"name":"assign","path":"/blocks/variables/assign","subitems":[]},{"name":"change var","path":"/blocks/variables/change","subitems":[]},{"name":"var","path":"/blocks/variables/var","subitems":[]}]},{"name":"Math","path":"/blocks/math","subitems":[]},{"name":"JavaScript blocks","path":"/blocks/javascript-blocks","subitems":[]},{"name":"Custom blocks","path":"/blocks/custom","subitems":[]}]},{"name":"Python","path":"/python","subitems":[{"name":"Calling","path":"/python/call","subitems":[]},{"name":"Sequencing","path":"/python/sequence","subitems":[]},{"name":"Variables","path":"/python/variables","subitems":[]},{"name":"Operators","path":"/python/operators","subitems":[]},{"name":"Statements","path":"/python/statements","subitems":[]},{"name":"Functions","path":"/python/functions","subitems":[]},{"name":"Classes","path":"/python/classes","subitems":[]}]},{"name":"JavaScript","path":"/javascript","subitems":[{"name":"Calling","path":"/javascript/call","subitems":[]},{"name":"Sequencing","path":"/javascript/sequence","subitems":[]},{"name":"Variables","path":"/javascript/variables","subitems":[]},{"name":"Operators","path":"/javascript/operators","subitems":[]},{"name":"Statements","path":"/javascript/statements","subitems":[]},{"name":"Functions","path":"/javascript/functions","subitems":[]},{"name":"Types","path":"/javascript/types","subitems":[]},{"name":"Classes","path":"/javascript/classes","subitems":[]},{"name":"Interfaces","path":"/javascript/interfaces","subitems":[]},{"name":"Generics","path":"/javascript/generics","subitems":[]}]},{"name":"Types","path":"/types","subitems":[{"name":"Number","path":"/types/number","subitems":[]},{"name":"String","path":"/types/string","subitems":[]},{"name":"Boolean","path":"/types/boolean","subitems":[]},{"name":"Array","path":"/types/array","subitems":[]},{"name":"Function","path":"/types/function","subitems":[]},{"name":"Buffer","path":"/types/buffer","subitems":[{"name":"Using buffers","path":"/types/buffer/using-buffers","subitems":[]},{"name":"Number format","path":"/types/buffer/number-format","subitems":[]}]}]},{"name":"Blocks Gallery","path":"/block-gallery","subitems":[]},{"name":"Miscellaneous","path":"","subitems":[{"name":"About","path":"/about","subitems":[]},{"name":"Support","path":"/support","subitems":[]},{"name":"Translate","path":"/translate","subitems":[]},{"name":"Sharing projects","path":"/share","subitems":[]},{"name":"Offline support","path":"/offline","subitems":[]},{"name":"Save","path":"/save","subitems":[]},{"name":"Sign In","path":"/identity/sign-in","subitems":[]},{"name":"Cloud Sync","path":"/identity/cloud-sync","subitems":[]},{"name":"Home Page Content","path":"/homepage-content","subitems":[]}]},{"name":"Hardware","path":"/device","subitems":[{"name":"Data Analysis","path":"/device/data-analysis","subitems":[{"name":"Plotting with LEDs","path":"/device/data-analysis/led-plotting","subitems":[]},{"name":"Viewing Data","path":"/device/data-analysis/viewing","subitems":[]},{"name":"Writing Data","path":"/device/data-analysis/writing","subitems":[]},{"name":"Generating Data","path":"/device/data-analysis/generating","subitems":[]},{"name":"Analyzing Data","path":"/device/data-analysis/analyze","subitems":[]},{"name":"Remote Data","path":"/device/data-analysis/remote","subitems":[]}]},{"name":"Error codes","path":"/device/error-codes","subitems":[]},{"name":"Foil circuits","path":"/device/foil-circuits","subitems":[]},{"name":"Incompatible Hardware","path":"/device/incompatible","subitems":[]},{"name":"MES events","path":"/device/mes-events","subitems":[]},{"name":"Pins","path":"/device/pins","subitems":[]},{"name":"Reactive","path":"/device/reactive","subitems":[]},{"name":"Screen","path":"/device/screen","subitems":[]},{"name":"Serial","path":"/device/serial","subitems":[]},{"name":"Servo","path":"/device/servo","subitems":[]},{"name":"Simulator","path":"/device/simulator","subitems":[]},{"name":"USB","path":"/device/usb","subitems":[]},{"name":"WebUSB","path":"/device/usb/webusb","subitems":[{"name":"WebUSB Troubleshoot","path":"/device/usb/webusb/troubleshoot","subitems":[]}]},{"name":"Flashing via HID (CMSIS-DAP)","path":"/hidflash","subitems":[]}]},{"name":"Developers","path":"","subitems":[{"name":"Command Line Interface","path":"/cli","subitems":[]},{"name":"Visual Studio Code support","path":"/code","subitems":[]},{"name":"Blocks Embed","path":"/blocks-embed","subitems":[]}]},{"name":"Projects","path":"/projects","subitems":[{"name":"Flashing Heart","path":"/projects/flashing-heart","subitems":[]},{"name":"Smiley Buttons","path":"/projects/smiley-buttons","subitems":[]},{"name":"Love Meter","path":"/projects/love-meter","subitems":[]},{"name":"Rock Paper Scissors","path":"/projects/rock-paper-scissors","subitems":[]},{"name":"Magic Button Trick","path":"/projects/magic-button-trick","subitems":[]},{"name":"Coin Flipper","path":"/projects/coin-flipper","subitems":[]},{"name":"Salute!","path":"/projects/salute","subitems":[]},{"name":"Hack Your Headphones","path":"/projects/hack-your-headphones","subitems":[]},{"name":"Banana Keyboard","path":"/projects/banana-keyboard","subitems":[]},{"name":"Guitar","path":"/projects/guitar","subitems":[]},{"name":"Duct Tape Wallet","path":"/projects/wallet","subitems":[]},{"name":"Watch","path":"/projects/watch","subitems":[]},{"name":"Soil Moisture","path":"/projects/soil-moisture","subitems":[]},{"name":"Plant Watering","path":"/projects/plant-watering","subitems":[]},{"name":"Reaction Time","path":"/projects/reaction-time","subitems":[]},{"name":"States of Matter","path":"/projects/states-of-matter","subitems":[]},{"name":"Mood Radio","path":"/projects/mood-radio","subitems":[]},{"name":"Tele-Potato","path":"/projects/tele-potato","subitems":[]},{"name":"Hot or Cold","path":"/projects/hot-or-cold","subitems":[]},{"name":"Voting Machine","path":"/projects/voting-machine","subitems":[]},{"name":"Infection","path":"/projects/infection","subitems":[]},{"name":"Fireflies","path":"/projects/fireflies","subitems":[]},{"name":"Rock Paper Scissors Teams","path":"/projects/rps-teams","subitems":[]},{"name":"Inchworm","path":"/projects/inchworm","subitems":[]},{"name":"Milk Carton Robot","path":"/projects/milk-carton-robot","subitems":[]},{"name":"Milk Monster","path":"/projects/milky-monster","subitems":[]},{"name":"RC Car","path":"/projects/rc-car","subitems":[]},{"name":"Timing Gates","path":"/projects/timing-gates","subitems":[]},{"name":"Compass","path":"/projects/compass","subitems":[]},{"name":"Telegraph","path":"/projects/telegraph","subitems":[]},{"name":"Railway Crossing","path":"/projects/railway-crossing","subitems":[]},{"name":"Karel","path":"/projects/karel","subitems":[]},{"name":"Stopwatch","path":"/projects/stopwatch","subitems":[]},{"name":"Name Tag","path":"/projects/name-tag","subitems":[]},{"name":"Step counter","path":"/projects/step-counter","subitems":[]},{"name":"Servo calibrator","path":"/projects/servo-calibrator","subitems":[]},{"name":"Analog Pin Tester","path":"/projects/analog-pin-tester","subitems":[]},{"name":"Light Level Meter","path":"/projects/light-level-meter","subitems":[]},{"name":"Radio bridge","path":"/projects/radio-bridge","subitems":[]},{"name":"Snap the dot","path":"/projects/snap-the-dot","subitems":[]},{"name":"Red light green light","path":"/projects/red-light-green-light","subitems":[]},{"name":"Name Badge","path":"/projects/name-badge","subitems":[]}]}],"id":"microbit","title":"Microsoft MakeCode for micro:bit","name":"makecode.microbit.org","description":"A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.","htmlDocIncludes":{}}
|
|
1
|
+
{"accentColor":"#5C005C","logoUrl":"https://microbit.org/","logo":"@cdnUrl@/blob/d955ce94fc3f7d2c6573300c71a56dc1d92c9bf0/static/logo.portrait.white.svg","docsLogo":"@cdnUrl@/blob/3403510141da69da71b1fbb1024619a3ba88ac29/static/logo.square.white.svg","portraitLogo":"@cdnUrl@/blob/3403510141da69da71b1fbb1024619a3ba88ac29/static/logo.square.white.svg","footerLogo":"@cdnUrl@/blob/642175ae61e6822c948990e15570e590d2e0ecf1/static/logo.portrait.black.svg","cardLogo":"@cdnUrl@/blob/4de54063603c8d16531078818a83f7c29a3588fa/static/icons/apple-touch-icon.png","appLogo":"@cdnUrl@/blob/4de54063603c8d16531078818a83f7c29a3588fa/static/icons/apple-touch-icon.png","organization":"Microsoft MakeCode","organizationUrl":"https://makecode.com/","organizationLogo":"@cdnUrl@/blob/106597ae039a275897661651b96856220c9b0fad/static/Microsoft_logo_rgb_W-white_D-square.png","organizationWideLogo":"@cdnUrl@/blob/d6139e3d0af51f02aa5f8765ecb0985acbd98551/static/Microsoft_logo_rgb_W-white_D.png","homeScreenHero":{"imageUrl":"@cdnUrl@/blob/27137e90637eecca4fffc33c1d9b1ab0d20612d5/static/herogallery/hero-banner.png","name":"Flashing Heart","url":"/projects/flashing-heart","description":"New? Start here!","cardType":"tutorial"},"homeScreenHeroGallery":"/hero-banner","homeUrl":"https://makecode.microbit.org/","embedUrl":"https://makecode.microbit.org/","shareUrl":"https://makecode.microbit.org/","privacyUrl":"https://makecode.com/privacy","termsOfUseUrl":"https://makecode.com/termsofuse","githubUrl":"https://github.com/Microsoft/pxt-microbit","boardName":"micro:bit","boardNickname":"micro:bit","driveDisplayName":"MICROBIT","appStoreID":"1092687276","mobileSafariDownloadProtocol":"microbithex://?data","crowdinProject":"makecode","extendEditor":true,"extendFieldEditors":true,"enableTrace":true,"ignoreDocsErrors":false,"errorList":true,"workspaceSearch":true,"allowPackageExtensions":true,"addNewTypeScriptFile":true,"enabledFeatures":{"blocksErrorList":{}},"experiments":["accessibleBlocks","debugExtensionCode","bluetoothUartConsole","bluetoothPartialFlashing","identity","forceEnableAiErrorHelp"],"supportedExperiences":["code-eval"],"bluetoothUartFilters":[{"namePrefix":"BBC micro:bit"}],"docMenu":[{"name":"Support","path":"https://support.microbit.org/"},{"name":"Reference","path":"/reference"},{"name":"Hardware","path":"/device"},{"name":"Buy","path":"https://microbit.org/buy/"}],"hasReferenceDocs":true,"usbDocs":"/device/usb","hideHomeDetailsVideo":true,"invertedMenu":true,"coloredToolbox":true,"monacoToolbox":true,"hasAudio":true,"socialOptions":{"orgTwitterHandle":"MSMakeCode","hashtags":"MakeCode","discourse":"https://forum.makecode.com/","discourseCategory":"micro:bit"},"blocklyOptions":{"grid":{"spacing":45,"length":7,"colour":"rgba(189, 195, 199, 0.30)","snap":false}},"blockColors":{"logic":"#00A4A6","loops":"#00AA00","math":"#9400D3","variables":"#DC143C","text":"#B8860B","advanced":"#00272B","functions":"#3455DB","arrays":"#E65722"},"defaultColorTheme":"microbit-light","highContrastColorTheme":"pxt-high-contrast","blocksCollapsing":true,"highContrast":true,"greenScreen":true,"print":true,"selectLanguage":true,"availableLocales":["en","ar","bg","ca","cs","cy","da","de","el","es-ES","fi","fr","gn","he","hu","is","it","ja","ko","nl","nb","nn-NO","pl","pt-BR","pt-PT","ru","si-LK","sk","sr","sv-SE","tr","uk","vi","zh-CN","zh-TW"],"monacoColors":{"editor.background":"#ecf0f1"},"monacoFieldEditors":["soundeffect-editor","image-editor"],"browserDbPrefixes":{"1":"v1","2":"v2","3":"v3","4":"v4","5":"v5","6":"v6","7":"v7","8":"v8"},"editorVersionPaths":{"0":"v0"},"showProjectSettings":true,"scriptManager":true,"debugger":true,"simGifTransparent":"rgba(0,0,0,0)","simGifMaxFrames":44,"simScreenshot":true,"simScreenshotMaxUriLength":300000,"simGif":true,"simGifWidth":240,"qrCode":true,"importExtensionFiles":true,"nameProjectFirst":true,"githubEditor":true,"chooseLanguageRestrictionOnNewProject":true,"openProjectNewTab":true,"python":true,"appFlashingTroubleshoot":"/device/windows-app/troubleshoot","immersiveReader":true,"tutorialCodeValidation":true,"downloadDialogTheme":{"webUSBDeviceNames":["BBC micro:bit CMSIS-DAP","DAPLink CMSIS-DAP"],"minimumFirmwareVersion":"0249","deviceIcon":"xicon microbit","deviceSuccessIcon":"xicon microbit-check","downloadMenuHelpURL":"/device/usb","downloadHelpURL":"/device/usb","troubleshootWebUSBHelpURL":"/device/usb/webusb/troubleshoot","incompatibleHardwareHelpURL":"/device/v2","dragFileImage":"@cdnUrl@/blob/4ac41b592008946443c877dfb6704aef96e9fed3/static/download/transfer.png","connectDeviceImage":"@cdnUrl@/blob/531d5c31f85c523c9a72d2da24e0508502e1e965/static/download/connect-microbit.gif","disconnectDeviceImage":"@cdnUrl@/blob/5052d4e01613fa58ba6cf77c6155c07cd56e52cf/static/download/full-reset.gif","selectDeviceImage":"@cdnUrl@/blob/8b42ea0666da4b22eb9e6d5441b2d7956cdec9e6/static/download/selecting-microbit.gif","connectionSuccessImage":"@cdnUrl@/blob/87ce2f19a063cfe3bed227537b92c5ac0e098212/static/download/successfully-paired.png","incompatibleHardwareImage":"@cdnUrl@/blob/1ae40aeeaccad7ecef3eb8905c37eb89635fee09/static/download/incompatible.png","usbDeviceForgottenImage":"@cdnUrl@/blob/dd759c7e39f810c4304c711547c77232fd96b250/static/download/device-forgotten.gif","browserUnpairImage":"@cdnUrl@/blob/ab08b2f484a3c9779b3ee9757968976a12599d3a/static/download/browser-unpair-image.gif"},"winAppDeprImage":"@cdnUrl@/blob/418c9c299ed5dce035443b8b2094fec39f7fb5b1/static/winapp.PNG","showWinAppDeprBanner":false,"tours":{"editor":"/tours/editor-tour"},"tutorialSimSidebarLayout":true,"preferWebUSBDownload":true,"hideReplaceMyCode":true,"matchWebUSBDeviceInSim":true,"condenseProfile":true,"cloudProfileIcon":"@cdnUrl@/blob/0333f81cb5145591d6833c44eba89af5764d8321/static/profile/microbit-cloud.png","timeMachine":true,"timeMachineDiffInterval":600000,"timeMachineSnapshotInterval":1800000,"TOC":[{"name":"About","path":"/about","subitems":[]},{"name":"FAQ","path":"/faq","subitems":[]},{"name":"Projects","path":"/projects","subitems":[]},{"name":"GitHub","path":"/github","subitems":[]},{"name":"Support","path":"https://support.microbit.org/","subitems":[]},{"name":"Courses","path":"/courses","subitems":[{"name":"CS Intro","path":"/courses/csintro","subitems":[{"name":"About","path":"/courses/csintro/about","subitems":[]},{"name":"Introduction","path":"/courses/csintro/introduction","subitems":[]},{"name":"References","path":"/courses/csintro/references","subitems":[]},{"name":"Acknowledgements","path":"/courses/csintro/acknowledgements","subitems":[]},{"name":"Making","path":"/courses/csintro/making","subitems":[{"name":"Introduction","path":"/courses/csintro/making/introduction","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/making/unplugged","subitems":[]},{"name":"Walkthrough","path":"/courses/csintro/making/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/making/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/making/standards","subitems":[]}]},{"name":"Algorithms","path":"/courses/csintro/algorithms","subitems":[{"name":"Overview","path":"/courses/csintro/algorithms/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/algorithms/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/algorithms/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/algorithms/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/algorithms/standards","subitems":[]}]},{"name":"Variables","path":"/courses/csintro/variables","subitems":[{"name":"Overview","path":"/courses/csintro/variables/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/variables/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/variables/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/variables/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/variables/standards","subitems":[]}]},{"name":"Conditionals","path":"/courses/csintro/conditionals","subitems":[{"name":"Overview","path":"/courses/csintro/conditionals/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/conditionals/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/conditionals/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/conditionals/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/conditionals/standards","subitems":[]}]},{"name":"Iteration","path":"/courses/csintro/iteration","subitems":[{"name":"Overview","path":"/courses/csintro/iteration/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/iteration/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/iteration/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/iteration/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/iteration/standards","subitems":[]}]},{"name":"Mini-project","path":"/courses/csintro/miniproject","subitems":[{"name":"Review","path":"/courses/csintro/miniproject/review","subitems":[]},{"name":"Activity","path":"/courses/csintro/miniproject/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/miniproject/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/miniproject/standards","subitems":[]}]},{"name":"Coordinates","path":"/courses/csintro/coordinates","subitems":[{"name":"Overview","path":"/courses/csintro/coordinates/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/coordinates/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/coordinates/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/coordinates/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/coordinates/standards","subitems":[]}]},{"name":"Booleans","path":"/courses/csintro/booleans","subitems":[{"name":"Overview","path":"/courses/csintro/booleans/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/booleans/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/booleans/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/booleans/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/booleans/standards","subitems":[]}]},{"name":"Binary","path":"/courses/csintro/binary","subitems":[{"name":"Overview","path":"/courses/csintro/binary/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/binary/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/binary/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/binary/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/binary/standards","subitems":[]}]},{"name":"Radio","path":"/courses/csintro/radio","subitems":[{"name":"Overview","path":"/courses/csintro/radio/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/radio/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/radio/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/radio/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/radio/standards","subitems":[]}]},{"name":"Arrays","path":"/courses/csintro/arrays","subitems":[{"name":"Overview","path":"/courses/csintro/arrays/overview","subitems":[]},{"name":"Unplugged","path":"/courses/csintro/arrays/unplugged","subitems":[]},{"name":"Activity","path":"/courses/csintro/arrays/activity","subitems":[]},{"name":"Project","path":"/courses/csintro/arrays/project","subitems":[]},{"name":"Standards","path":"/courses/csintro/arrays/standards","subitems":[]}]},{"name":"Final Project","path":"/courses/csintro/finalproject","subitems":[{"name":"Review","path":"/courses/csintro/finalproject/review","subitems":[]},{"name":"Project","path":"/courses/csintro/finalproject/project","subitems":[]},{"name":"Examples","path":"/courses/csintro/finalproject/examples","subitems":[]},{"name":"Standards","path":"/courses/csintro/finalproject/standards","subitems":[]}]}]},{"name":"Blocks to JavaScript","path":"/courses/blocks-to-javascript","subitems":[{"name":"Hello JavaScript","path":"/courses/blocks-to-javascript/hello-javascript","subitems":[]},{"name":"Starter Blocks","path":"/courses/blocks-to-javascript/starter-blocks","subitems":[]},{"name":"Writing Code","path":"/courses/blocks-to-javascript/writing-code","subitems":[]},{"name":"Conditional Loops","path":"/courses/blocks-to-javascript/conditional-loops","subitems":[]},{"name":"Writing Functions","path":"/courses/blocks-to-javascript/writing-functions","subitems":[]}]},{"name":"Science experiments","path":"/courses/ucp-science","subitems":[{"name":"Data collection","path":"/courses/ucp-science/data-collection","subitems":[{"name":"Overview","path":"/courses/ucp-science/data-collection/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/data-collection/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/data-collection/resources","subitems":[]}]},{"name":"Population Traits","path":"/courses/ucp-science/population","subitems":[{"name":"Overview","path":"/courses/ucp-science/population/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/population/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/population/resources","subitems":[]}]},{"name":"Temperature","path":"/courses/ucp-science/temperature","subitems":[{"name":"Overview","path":"/courses/ucp-science/temperature/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/temperature/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/temperature/resources","subitems":[]}]},{"name":"Soil Moisture","path":"/courses/ucp-science/soil-moisture","subitems":[{"name":"Overview","path":"/courses/ucp-science/soil-moisture/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/soil-moisture/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/soil-moisture/resources","subitems":[]}]},{"name":"Gravity, Motion and Waves","path":"/courses/ucp-science/gravity","subitems":[{"name":"Overview","path":"/courses/ucp-science/gravity/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/gravity/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/gravity/resources","subitems":[]}]},{"name":"Body Electrical and Waves","path":"/courses/ucp-science/body-electrical","subitems":[{"name":"Overview","path":"/courses/ucp-science/body-electrical/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/body-electrical/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/body-electrical/resources","subitems":[]}]},{"name":"Electricity","path":"/courses/ucp-science/electricity","subitems":[{"name":"Overview","path":"/courses/ucp-science/electricity/overview","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/electricity/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/electricity/resources","subitems":[]}]},{"name":"Rocket Acceleration","path":"/courses/ucp-science/rocket-acceleration","subitems":[{"name":"Overview","path":"/courses/ucp-science/rocket-acceleration/overview","subitems":[]},{"name":"Build","path":"/courses/ucp-science/rocket-acceleration/build","subitems":[]},{"name":"Setup and procedure","path":"/courses/ucp-science/rocket-acceleration/setup-procedure","subitems":[]},{"name":"Resources","path":"/courses/ucp-science/rocket-acceleration/resources","subitems":[]}]}]},{"name":"Logic Lab","path":"/courses/logic-lab","subitems":[{"name":"Logic and Expressions","path":"/courses/logic-lab/expressions","subitems":[]},{"name":"Boolean Elements","path":"/courses/logic-lab/elements","subitems":[]},{"name":"Logic Explorer","path":"/courses/logic-lab/explorer","subitems":[]},{"name":"Logic Gates","path":"/courses/logic-lab/logic-gates","subitems":[]},{"name":"Programmable Logic","path":"/courses/logic-lab/programmable","subitems":[]}]}]},{"name":"Reference","path":"/reference","subitems":[{"name":"Basic","path":"/reference/basic","subitems":[{"name":"show number","path":"/reference/basic/show-number","subitems":[]},{"name":"show icon","path":"/reference/basic/show-icon","subitems":[]},{"name":"show leds","path":"/reference/basic/show-leds","subitems":[]},{"name":"show string","path":"/reference/basic/show-string","subitems":[]},{"name":"clear screen","path":"/reference/basic/clear-screen","subitems":[]},{"name":"forever","path":"/reference/basic/forever","subitems":[]},{"name":"pause","path":"/reference/basic/pause","subitems":[]},{"name":"show arrow","path":"/reference/basic/show-arrow","subitems":[]}]},{"name":"Input","path":"/reference/input","subitems":[{"name":"on button pressed","path":"/reference/input/on-button-pressed","subitems":[]},{"name":"on gesture","path":"/reference/input/on-gesture","subitems":[]},{"name":"on pin pressed","path":"/reference/input/on-pin-pressed","subitems":[]},{"name":"button is pressed","path":"/reference/input/button-is-pressed","subitems":[]},{"name":"compass heading","path":"/reference/input/compass-heading","subitems":[]},{"name":"pin is pressed","path":"/reference/input/pin-is-pressed","subitems":[]},{"name":"temperature","path":"/reference/input/temperature","subitems":[]},{"name":"acceleration","path":"/reference/input/acceleration","subitems":[]},{"name":"light level","path":"/reference/input/light-level","subitems":[]},{"name":"rotation","path":"/reference/input/rotation","subitems":[]},{"name":"magnetic force","path":"/reference/input/magnetic-force","subitems":[]},{"name":"running time","path":"/reference/input/running-time","subitems":[]},{"name":"set accelerometer range","path":"/reference/input/set-accelerometer-range","subitems":[]}]},{"name":"Music","path":"/reference/music","subitems":[{"name":"play tone","path":"/reference/music/play-tone","subitems":[]},{"name":"ring tone","path":"/reference/music/ring-tone","subitems":[]},{"name":"rest","path":"/reference/music/rest","subitems":[]},{"name":"beat","path":"/reference/music/beat","subitems":[]},{"name":"tempo","path":"/reference/music/tempo","subitems":[]},{"name":"change tempo by","path":"/reference/music/change-tempo-by","subitems":[]},{"name":"set tempo","path":"/reference/music/set-tempo","subitems":[]}]},{"name":"Led","path":"/reference/led","subitems":[{"name":"plot","path":"/reference/led/plot","subitems":[]},{"name":"unplot","path":"/reference/led/unplot","subitems":[]},{"name":"point","path":"/reference/led/point","subitems":[]},{"name":"toggle","path":"/reference/led/toggle","subitems":[]},{"name":"brightness","path":"/reference/led/brightness","subitems":[]},{"name":"set brightness","path":"/reference/led/set-brightness","subitems":[]},{"name":"stop animation","path":"/reference/led/stop-animation","subitems":[]},{"name":"plot bar graph","path":"/reference/led/plot-bar-graph","subitems":[]},{"name":"enable","path":"/reference/led/enable","subitems":[]}]},{"name":"Radio","path":"/reference/radio","subitems":[{"name":"send number","path":"/reference/radio/send-number","subitems":[]},{"name":"send value","path":"/reference/radio/send-value","subitems":[]},{"name":"send string","path":"/reference/radio/send-string","subitems":[]},{"name":"on received number","path":"/reference/radio/on-received-number","subitems":[]},{"name":"on received string","path":"/reference/radio/on-received-string","subitems":[]},{"name":"on received buffer","path":"/reference/radio/on-received-buffer","subitems":[]},{"name":"received packet","path":"/reference/radio/received-packet","subitems":[]},{"name":"set group","path":"/reference/radio/set-group","subitems":[]},{"name":"set transmit power","path":"/reference/radio/set-transmit-power","subitems":[]},{"name":"set transmit serial number","path":"/reference/radio/set-transmit-serial-number","subitems":[]},{"name":"on data packet received","path":"/reference/radio/on-data-packet-received","subitems":[]},{"name":"write received packet to serial","path":"/reference/radio/write-received-packet-to-serial","subitems":[]}]},{"name":"Game","path":"/reference/game","subitems":[{"name":"create sprite","path":"/reference/game/create-sprite","subitems":[]},{"name":"delete","path":"/reference/game/delete","subitems":[]},{"name":"move","path":"/reference/game/move","subitems":[]},{"name":"turn","path":"/reference/game/turn","subitems":[]},{"name":"if on edge bounce","path":"/reference/game/if-on-edge-bounce","subitems":[]},{"name":"get","path":"/reference/game/get","subitems":[]},{"name":"set","path":"/reference/game/set","subitems":[]},{"name":"change","path":"/reference/game/change","subitems":[]},{"name":"is touching","path":"/reference/game/is-touching","subitems":[]},{"name":"is touching edge","path":"/reference/game/is-touching-edge","subitems":[]},{"name":"add score","path":"/reference/game/add-score","subitems":[]},{"name":"score","path":"/reference/game/score","subitems":[]},{"name":"set score","path":"/reference/game/set-score","subitems":[]},{"name":"set life","path":"/reference/game/set-life","subitems":[]},{"name":"add life","path":"/reference/game/add-life","subitems":[]},{"name":"remove life","path":"/reference/game/remove-life","subitems":[]},{"name":"start countdown","path":"/reference/game/start-countdown","subitems":[]},{"name":"game over","path":"/reference/game/game-over","subitems":[]},{"name":"pause","path":"/reference/game/pause","subitems":[]},{"name":"resume","path":"/reference/game/resume","subitems":[]}]},{"name":"Images","path":"/reference/images","subitems":[{"name":"create image","path":"/reference/images/create-image","subitems":[]},{"name":"create big image","path":"/reference/images/create-big-image","subitems":[]},{"name":"show image","path":"/reference/images/show-image","subitems":[]},{"name":"scroll image","path":"/reference/images/scroll-image","subitems":[]},{"name":"arrow image","path":"/reference/images/arrow-image","subitems":[]},{"name":"icon image","path":"/reference/images/icon-image","subitems":[]},{"name":"arrow number","path":"/reference/images/arrow-number","subitems":[]}]},{"name":"Pins","path":"/reference/pins","subitems":[{"name":"digital read pin","path":"/reference/pins/digital-read-pin","subitems":[]},{"name":"digital write pin","path":"/reference/pins/digital-write-pin","subitems":[]},{"name":"analog read pin","path":"/reference/pins/analog-read-pin","subitems":[]},{"name":"analog write pin","path":"/reference/pins/analog-write-pin","subitems":[]},{"name":"analog set period","path":"/reference/pins/analog-set-period","subitems":[]},{"name":"map","path":"/reference/pins/map","subitems":[]},{"name":"on pulsed","path":"/reference/pins/on-pulsed","subitems":[]},{"name":"pulse duration","path":"/reference/pins/pulse-duration","subitems":[]},{"name":"pulse in","path":"/reference/pins/pulse-in","subitems":[]},{"name":"servo write pin","path":"/reference/pins/servo-write-pin","subitems":[]},{"name":"servo set pulse","path":"/reference/pins/servo-set-pulse","subitems":[]},{"name":"i2c read number","path":"/reference/pins/i2c-read-number","subitems":[]},{"name":"i2c write number","path":"/reference/pins/i2c-write-number","subitems":[]},{"name":"set pull","path":"/reference/pins/set-pull","subitems":[]},{"name":"analog pitch","path":"/reference/pins/analog-pitch","subitems":[]},{"name":"analog set pitch pin","path":"/reference/pins/analog-set-pitch-pin","subitems":[]},{"name":"spi write","path":"/reference/pins/spi-write","subitems":[]},{"name":"spi Pins","path":"/reference/pins/spi-pins","subitems":[]},{"name":"spi format","path":"/reference/pins/spi-format","subitems":[]},{"name":"spi frequency","path":"/reference/pins/spi-frequency","subitems":[]}]},{"name":"Serial","path":"/reference/serial","subitems":[{"name":"write line","path":"/reference/serial/write-line","subitems":[]},{"name":"write number","path":"/reference/serial/write-number","subitems":[]},{"name":"write value","path":"/reference/serial/write-value","subitems":[]},{"name":"write string","path":"/reference/serial/write-string","subitems":[]},{"name":"read until","path":"/reference/serial/read-until","subitems":[]},{"name":"read line","path":"/reference/serial/read-line","subitems":[]},{"name":"read string","path":"/reference/serial/read-string","subitems":[]},{"name":"on data received","path":"/reference/serial/on-data-received","subitems":[]},{"name":"redirect","path":"/reference/serial/redirect","subitems":[]},{"name":"redirect to usb","path":"/reference/serial/redirect-to-usb","subitems":[]},{"name":"set baud rate","path":"/reference/serial/set-baud-rate","subitems":[]},{"name":"set write line padding","path":"/reference/serial/set-write-line-padding","subitems":[]},{"name":"write buffer","path":"/reference/serial/write-buffer","subitems":[]},{"name":"read buffer","path":"/reference/serial/read-buffer","subitems":[]}]},{"name":"Control","path":"/reference/control","subitems":[{"name":"in background","path":"/reference/control/in-background","subitems":[]},{"name":"reset","path":"/reference/control/reset","subitems":[]},{"name":"wait micros","path":"/reference/control/wait-micros","subitems":[]},{"name":"on event","path":"/reference/control/on-event","subitems":[]},{"name":"raise event","path":"/reference/control/raise-event","subitems":[]},{"name":"event timestamp","path":"/reference/control/event-timestamp","subitems":[]},{"name":"event value","path":"/reference/control/event-value","subitems":[]}]},{"name":"Bluetooth","path":"/reference/bluetooth","subitems":[{"name":"About","path":"/reference/bluetooth/about-bluetooth","subitems":[]},{"name":"Pairing","path":"/reference/bluetooth/bluetooth-pairing","subitems":[]},{"name":"on bluetooth connected","path":"/reference/bluetooth/on-bluetooth-connected","subitems":[]},{"name":"on bluetooth disconnected","path":"/reference/bluetooth/on-bluetooth-disconnected","subitems":[]},{"name":"start accelerometer service","path":"/reference/bluetooth/start-accelerometer-service","subitems":[]},{"name":"start button service","path":"/reference/bluetooth/start-button-service","subitems":[]},{"name":"start io pin service","path":"/reference/bluetooth/start-io-pin-service","subitems":[]},{"name":"start led service","path":"/reference/bluetooth/start-led-service","subitems":[]},{"name":"start magnetometer service","path":"/reference/bluetooth/start-magnetometer-service","subitems":[]},{"name":"start temperature service","path":"/reference/bluetooth/start-temperature-service","subitems":[]},{"name":"start uart service","path":"/reference/bluetooth/start-uart-service","subitems":[]},{"name":"uart read until","path":"/reference/bluetooth/uart-read-until","subitems":[]},{"name":"uart write string","path":"/reference/bluetooth/uart-write-string","subitems":[]},{"name":"uart write number","path":"/reference/bluetooth/uart-write-number","subitems":[]},{"name":"uart write value","path":"/reference/bluetooth/uart-write-value","subitems":[]},{"name":"advertise url","path":"/reference/bluetooth/advertise-url","subitems":[]},{"name":"stop advertising","path":"/reference/bluetooth/stop-advertising","subitems":[]},{"name":"advertise uid","path":"/reference/bluetooth/advertise-uid","subitems":[]},{"name":"advertise-uid-buffer","path":"/reference/bluetooth/advertise-uid-buffer","subitems":[]}]}]},{"name":"Extensions","path":"/extensions","subitems":[]},{"name":"Blocks","path":"/blocks","subitems":[{"name":"On Start","path":"/blocks/on-start","subitems":[]},{"name":"Loops","path":"/blocks/loops","subitems":[{"name":"repeat","path":"/blocks/loops/repeat","subitems":[]},{"name":"for","path":"/blocks/loops/for","subitems":[]},{"name":"while","path":"/blocks/loops/while","subitems":[]},{"name":"for of","path":"/blocks/loops/for-of","subitems":[]}]},{"name":"Logic","path":"/blocks/logic","subitems":[{"name":"if","path":"/blocks/logic/if","subitems":[]},{"name":"Boolean","path":"/blocks/logic/boolean","subitems":[]}]},{"name":"Variables","path":"/blocks/variables","subitems":[{"name":"assign","path":"/blocks/variables/assign","subitems":[]},{"name":"change var","path":"/blocks/variables/change","subitems":[]},{"name":"var","path":"/blocks/variables/var","subitems":[]}]},{"name":"Math","path":"/blocks/math","subitems":[]},{"name":"JavaScript blocks","path":"/blocks/javascript-blocks","subitems":[]},{"name":"Custom blocks","path":"/blocks/custom","subitems":[]}]},{"name":"Python","path":"/python","subitems":[{"name":"Calling","path":"/python/call","subitems":[]},{"name":"Sequencing","path":"/python/sequence","subitems":[]},{"name":"Variables","path":"/python/variables","subitems":[]},{"name":"Operators","path":"/python/operators","subitems":[]},{"name":"Statements","path":"/python/statements","subitems":[]},{"name":"Functions","path":"/python/functions","subitems":[]},{"name":"Classes","path":"/python/classes","subitems":[]}]},{"name":"JavaScript","path":"/javascript","subitems":[{"name":"Calling","path":"/javascript/call","subitems":[]},{"name":"Sequencing","path":"/javascript/sequence","subitems":[]},{"name":"Variables","path":"/javascript/variables","subitems":[]},{"name":"Operators","path":"/javascript/operators","subitems":[]},{"name":"Statements","path":"/javascript/statements","subitems":[]},{"name":"Functions","path":"/javascript/functions","subitems":[]},{"name":"Types","path":"/javascript/types","subitems":[]},{"name":"Classes","path":"/javascript/classes","subitems":[]},{"name":"Interfaces","path":"/javascript/interfaces","subitems":[]},{"name":"Generics","path":"/javascript/generics","subitems":[]}]},{"name":"Types","path":"/types","subitems":[{"name":"Number","path":"/types/number","subitems":[]},{"name":"String","path":"/types/string","subitems":[]},{"name":"Boolean","path":"/types/boolean","subitems":[]},{"name":"Array","path":"/types/array","subitems":[]},{"name":"Function","path":"/types/function","subitems":[]},{"name":"Buffer","path":"/types/buffer","subitems":[{"name":"Using buffers","path":"/types/buffer/using-buffers","subitems":[]},{"name":"Number format","path":"/types/buffer/number-format","subitems":[]}]}]},{"name":"Blocks Gallery","path":"/block-gallery","subitems":[]},{"name":"Miscellaneous","path":"","subitems":[{"name":"About","path":"/about","subitems":[]},{"name":"Support","path":"/support","subitems":[]},{"name":"Translate","path":"/translate","subitems":[]},{"name":"Sharing projects","path":"/share","subitems":[]},{"name":"Offline support","path":"/offline","subitems":[]},{"name":"Save","path":"/save","subitems":[]},{"name":"Sign In","path":"/identity/sign-in","subitems":[]},{"name":"Cloud Sync","path":"/identity/cloud-sync","subitems":[]},{"name":"Home Page Content","path":"/homepage-content","subitems":[]}]},{"name":"Hardware","path":"/device","subitems":[{"name":"Data Analysis","path":"/device/data-analysis","subitems":[{"name":"Plotting with LEDs","path":"/device/data-analysis/led-plotting","subitems":[]},{"name":"Viewing Data","path":"/device/data-analysis/viewing","subitems":[]},{"name":"Writing Data","path":"/device/data-analysis/writing","subitems":[]},{"name":"Generating Data","path":"/device/data-analysis/generating","subitems":[]},{"name":"Analyzing Data","path":"/device/data-analysis/analyze","subitems":[]},{"name":"Remote Data","path":"/device/data-analysis/remote","subitems":[]}]},{"name":"Error codes","path":"/device/error-codes","subitems":[]},{"name":"Foil circuits","path":"/device/foil-circuits","subitems":[]},{"name":"Incompatible Hardware","path":"/device/incompatible","subitems":[]},{"name":"MES events","path":"/device/mes-events","subitems":[]},{"name":"Pins","path":"/device/pins","subitems":[]},{"name":"Reactive","path":"/device/reactive","subitems":[]},{"name":"Screen","path":"/device/screen","subitems":[]},{"name":"Serial","path":"/device/serial","subitems":[]},{"name":"Servo","path":"/device/servo","subitems":[]},{"name":"Simulator","path":"/device/simulator","subitems":[]},{"name":"USB","path":"/device/usb","subitems":[]},{"name":"WebUSB","path":"/device/usb/webusb","subitems":[{"name":"WebUSB Troubleshoot","path":"/device/usb/webusb/troubleshoot","subitems":[]}]},{"name":"Flashing via HID (CMSIS-DAP)","path":"/hidflash","subitems":[]}]},{"name":"Developers","path":"","subitems":[{"name":"Command Line Interface","path":"/cli","subitems":[]},{"name":"Visual Studio Code support","path":"/code","subitems":[]},{"name":"Blocks Embed","path":"/blocks-embed","subitems":[]}]},{"name":"Projects","path":"/projects","subitems":[{"name":"Flashing Heart","path":"/projects/flashing-heart","subitems":[]},{"name":"Smiley Buttons","path":"/projects/smiley-buttons","subitems":[]},{"name":"Love Meter","path":"/projects/love-meter","subitems":[]},{"name":"Rock Paper Scissors","path":"/projects/rock-paper-scissors","subitems":[]},{"name":"Magic Button Trick","path":"/projects/magic-button-trick","subitems":[]},{"name":"Coin Flipper","path":"/projects/coin-flipper","subitems":[]},{"name":"Salute!","path":"/projects/salute","subitems":[]},{"name":"Hack Your Headphones","path":"/projects/hack-your-headphones","subitems":[]},{"name":"Banana Keyboard","path":"/projects/banana-keyboard","subitems":[]},{"name":"Guitar","path":"/projects/guitar","subitems":[]},{"name":"Duct Tape Wallet","path":"/projects/wallet","subitems":[]},{"name":"Watch","path":"/projects/watch","subitems":[]},{"name":"Soil Moisture","path":"/projects/soil-moisture","subitems":[]},{"name":"Plant Watering","path":"/projects/plant-watering","subitems":[]},{"name":"Reaction Time","path":"/projects/reaction-time","subitems":[]},{"name":"States of Matter","path":"/projects/states-of-matter","subitems":[]},{"name":"Mood Radio","path":"/projects/mood-radio","subitems":[]},{"name":"Tele-Potato","path":"/projects/tele-potato","subitems":[]},{"name":"Hot or Cold","path":"/projects/hot-or-cold","subitems":[]},{"name":"Voting Machine","path":"/projects/voting-machine","subitems":[]},{"name":"Infection","path":"/projects/infection","subitems":[]},{"name":"Fireflies","path":"/projects/fireflies","subitems":[]},{"name":"Rock Paper Scissors Teams","path":"/projects/rps-teams","subitems":[]},{"name":"Inchworm","path":"/projects/inchworm","subitems":[]},{"name":"Milk Carton Robot","path":"/projects/milk-carton-robot","subitems":[]},{"name":"Milk Monster","path":"/projects/milky-monster","subitems":[]},{"name":"RC Car","path":"/projects/rc-car","subitems":[]},{"name":"Timing Gates","path":"/projects/timing-gates","subitems":[]},{"name":"Compass","path":"/projects/compass","subitems":[]},{"name":"Telegraph","path":"/projects/telegraph","subitems":[]},{"name":"Railway Crossing","path":"/projects/railway-crossing","subitems":[]},{"name":"Karel","path":"/projects/karel","subitems":[]},{"name":"Stopwatch","path":"/projects/stopwatch","subitems":[]},{"name":"Name Tag","path":"/projects/name-tag","subitems":[]},{"name":"Step counter","path":"/projects/step-counter","subitems":[]},{"name":"Servo calibrator","path":"/projects/servo-calibrator","subitems":[]},{"name":"Analog Pin Tester","path":"/projects/analog-pin-tester","subitems":[]},{"name":"Light Level Meter","path":"/projects/light-level-meter","subitems":[]},{"name":"Radio bridge","path":"/projects/radio-bridge","subitems":[]},{"name":"Snap the dot","path":"/projects/snap-the-dot","subitems":[]},{"name":"Red light green light","path":"/projects/red-light-green-light","subitems":[]},{"name":"Name Badge","path":"/projects/name-badge","subitems":[]}]}],"id":"microbit","title":"Microsoft MakeCode for micro:bit","name":"makecode.microbit.org","description":"A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.","htmlDocIncludes":{}}
|
package/built/web/blockly.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.blocklyDropDownContent .blocklyPianoDiv{position:relative;touch-action:none}.blocklyDropDownContent .blocklyNote{border:.5px solid;cursor:pointer;display:inline-block;position:absolute;top:0;border-bottom-left-radius:3px;border-bottom-right-radius:3px;background-color:#fff;z-index:1000}.blocklyDropDownContent .blocklyNote.black{background-color:#000;z-index:1001}.blocklyDropDownContent .blocklyNote:hover{background-color:#ff0!important}.blocklyDropDownContent .blocklyNote.selected{background-color:#9acd32!important}.blocklyDropDownContent .blocklyNoteLabel{font-family:Consolas,Monaco,Menlo,Ubuntu Mono,source-code-pro,monospace;font-size:12pt}.blocklyDropDownContent .blocklyNoteLabel,.blocklyDropDownContent .blocklyNotePrevNext{border:.5px solid;color:#fff;display:inline-block;line-height:normal;position:absolute;text-align:center}.blocklyDropDownContent .blocklyNotePrevNext{border-top:0;cursor:pointer;font-weight:700}.blocklyDropDownContent .blocklyDropdownTextLabel{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:70px;display:inline-block;color:#fff;font-size:12px}.blocklyToggle{transition:transform 1s}.blocklyToggle .blocklyToggleCircle,.blocklyToggle .blocklyToggleRect{stroke-width:1px;stroke:grey;stroke-opacity:.4}.blocklyToggle.blocklyToggleOn .blocklyToggleCircle,.blocklyToggle.blocklyToggleOn .blocklyToggleRect{fill:#4ddc64}.blocklyToggle.blocklyToggleOff .blocklyToggleCircle,.blocklyToggle.blocklyToggleOff .blocklyToggleRect{fill:#95a5a6}.blocklyToggle.blocklyToggleOnBreakpoint polygon{fill:#e80d00;stroke:#fff;stroke-width:12px!important;stroke-linecap:round;stroke-opacity:1;cursor:pointer}.blocklyToggle.blocklyToggleOffBreakpoint polygon{fill:#333;stroke:0;cursor:pointer}.blocklyToggle~.blocklyText.blocklyToggleText{font-size:10pt;cursor:pointer}.blocklyToggle.blocklyToggleOff~.blocklyText.blocklyToggleText{fill:#fff}.blocklyDropDownDiv .rgbColorPicker>tr>td{height:40px;width:40px}.blocklyDropDownDiv .blocklyFieldSliderReadout .blocklyColorReadout{height:20px;width:25px;border-radius:10px;display:inline-block;vertical-align:middle}#custom-content .blocklyLightboxDiv{position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.55);z-index:993}.blocklyCanvasOverlayOuter{padding:.5rem;margin:.1rem;background:#249ca3;border:2px solid #249ca3;border-top-left-radius:1rem;border-top-right-radius:1rem;border-bottom-left-radius:0}.blocklyCanvasOverlayDiv{cursor:none;background-color:hsla(0,0%,100%,.9);z-index:10000;position:relative;overflow:hidden;border:5px solid #333;clip-path:polygon(0 4px,4px 0,calc(100% - 2px) 0,100% 4px,100% calc(100% - 2px),calc(100% - 2px) 100%,4px 100%,0 calc(100% - 2px))}.blocklyCanvasOverlayDiv .cross-x,.blocklyCanvasOverlayDiv .cross-y{background-color:#575e75;position:absolute}.blocklyCanvasOverlayDiv .cross-x{width:100%;height:2px;z-index:10}.blocklyCanvasOverlayDiv .cross-y{width:2px;height:100%;z-index:10}.blocklyCanvasOverlayDiv .label{position:absolute;color:#575e75;font-size:100%;white-space:nowrap}.positionEyedropper{background:none;outline:none;width:100%;text-align:center;border:none;border-top:1px solid #ddd;padding-top:5px;cursor:pointer}.positionEyedropper:hover{background:#eee}.pixel-cell{shape-rendering:crispedges}.palette-selected{stroke:orange;stroke-width:2px}.palette-unselected{stroke:none}.sprite-editor-canvas{cursor:crosshair;z-index:1001;touch-action:none}.sprite-editor-canvas.sprite-editor-eyedropper{cursor:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M15.241 4.652L13.76 6.133l.835.835-3.085 3.085-.762-.762-5.168 5.17L1.984 16 .025 14.041l1.349-3.742 5.19-5.191-.645-.646 3.085-3.085.835.835L11.32.731c.431-.431 1-.678 1.616-.731h.461a2.835 2.835 0 011.77.802c1.082 1.084 1.114 2.81.074 3.85z' fill='%23f6f6f6'/%3E%3Cpath d='M9.467 7.932l.612.613-5.071 5.072-2.795 1.198-1.032-1.032 1.057-2.936L7.31 5.775l.585.585v.003l-4.356 4.356 1.569 1.569 4.355-4.356h.004zm4.995-6.422c-.667-.664-1.777-.729-2.435-.072L9.839 3.627l-.836-.835-.174.174-1.497 1.497 4.177 4.177 1.671-1.671-.835-.835 2.189-2.189c.658-.658.592-1.768-.072-2.435z' fill='%23424242'/%3E%3C/svg%3E") 2 16,copy}.sprite-canvas-controls{z-index:1000}#sprite-editor-palette .palette-swatch{cursor:pointer}.sprite-editor-dropdown.blocklyDropDownDiv{background:linear-gradient(#4b7bec 50px,#2c3e50 0,#2c3e50)}.sprite-editor-dropdown.blocklyDropDownDiv .blocklyDropDownArrow.arrowTop{background:#4b7bec}.sprite-editor-dropdown.blocklyDropDownDiv .blocklyDropDownArrow.arrowBottom{background:#2c3e50}#sprite-editor-header{z-index:1002;height:50px;width:inherit;position:absolute;top:0;left:0}#sprite-editor-header-controls{width:100%;height:100%}#sprite-editor-gallery-outer{overflow:hidden;position:absolute;z-index:1002;width:100%}#sprite-editor-gallery{overflow-y:scroll;width:100%;height:100%;background:#2c3e50}.sprite-editor-card{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath fill='%23fff' d='M0 0h10v10H0z'/%3E%3Cpath fill='%23dedede' d='M0 0h5v5H0zM5 5h5v5H5z'/%3E%3C/svg%3E")}.sprite-editor-icon{fill:#fff;font-family:Icons;font-size:19px}.sprite-editor-xicon{fill:#fff;font-family:xicon;font-size:19px}.sprite-editor-button{cursor:pointer}.sprite-editor-button-bg{fill:#525a5b}.sprite-editor-button-fg{fill:#7f8c8d}.sprite-editor-confirm-button .sprite-editor-button-bg{fill:#294da0}.sprite-editor-confirm-button .sprite-editor-button-fg{fill:#4b7bec}.sprite-editor-button.disabled{cursor:not-allowed}.sprite-editor-button.disabled .sprite-editor-button-bg,.sprite-editor-button.disabled .sprite-editor-button-fg{fill-opacity:.8}.sprite-editor-button:active:not(.disabled) .sprite-editor-button-bg,.sprite-editor-button:active:not(.disabled) .sprite-editor-button-fg{fill-opacity:1!important;transition:fill-opacity .1s}.sprite-editor-button:hover:not(.disabled) .sprite-editor-button-bg,.sprite-editor-button:hover:not(.disabled) .sprite-editor-button-fg{fill-opacity:.8;transition:fill-opacity .1s}.sprite-editor-button.selected{position:relative}.sprite-editor-button.selected .sprite-editor-button-fg{fill:#495353}.sprite-editor-text{font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;user-select:none;cursor:auto}.sprite-editor-label{fill:#fff}.sprite-editor-dropdown-bg{background:linear-gradient(#4b7bec 50px,#2c3e50 0,#2c3e50);border-radius:4px;padding-top:4px;position:relative}.sprite-editor-glyph{cursor:pointer;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8c0 4.411-3.589 8-8 8a2.803 2.803 0 01-2.8-2.8c0-.833.272-1.629.766-2.241a.596.596 0 00.101-.359.667.667 0 00-.667-.666.58.58 0 00-.358.102A3.584 3.584 0 012.8 10.8 2.803 2.803 0 010 8c0-4.411 3.589-8 8-8s8 3.589 8 8z' fill='%23f6f6f6'/%3E%3Cpath d='M5.4 7.933a2.67 2.67 0 012.667 2.666c0 .606-.193 1.179-.544 1.614a1.599 1.599 0 00-.323.987.8.8 0 00.8.8c3.309 0 6-2.691 6-6s-2.691-6-6-6-6 2.691-6 6c0 .441.359.8.8.8.378 0 .729-.114.986-.322A2.568 2.568 0 015.4 7.933z' fill='%23fff'/%3E%3Cpath d='M8 15c-.992 0-1.8-.808-1.8-1.8 0-.606.193-1.179.544-1.613.208-.259.323-.609.323-.987 0-.919-.748-1.666-1.667-1.666-.377 0-.728.115-.986.323A2.58 2.58 0 012.8 9.8C1.808 9.8 1 8.992 1 8c0-3.86 3.14-7 7-7 3.859 0 7 3.14 7 7 0 3.859-3.141 7-7 7zM5.4 7.933a2.67 2.67 0 012.667 2.666c0 .606-.193 1.179-.544 1.614a1.599 1.599 0 00-.323.987.8.8 0 00.8.8c3.309 0 6-2.691 6-6s-2.691-6-6-6-6 2.691-6 6c0 .441.359.8.8.8.378 0 .729-.114.986-.322A2.568 2.568 0 015.4 7.933z' fill='%23424242'/%3E%3Cpath d='M4.5 5.375a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23652d90'/%3E%3Cpath d='M7.125 3.625a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%231ba1e2'/%3E%3Cpath d='M10.625 4.5a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23393'/%3E%3Cpath d='M11.5 8a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23fc0'/%3E%3Cpath d='M9.75 10.625a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23e51400'/%3E%3C/svg%3E");background-position:50%;background-size:65%;background-repeat:no-repeat}.sprite-focus-hover{transition:all .15s ease-out;border-radius:50%}.sprite-focus-hover:hover{box-shadow:0 0 0 3px rgba(0,0,0,.35);-webkit-transform:scale(1.1);transform:scale(1.1)}.sprite-editor-glyph.sprite-focus-hover:hover{box-shadow:inset 0 0 0 2px rgba(0,0,0,.35)}.sprite-gallery-button{display:inline-block;float:left;padding:0;margin:4px;border-radius:4px;outline:none;border:1px solid;transition:box-shadow .1s;cursor:pointer}.sprite-gallery-button-hover{box-shadow:0 0 0 4px hsla(0,0%,100%,.2)}.sprite-gallery-button:active{box-shadow:0 0 0 6px hsla(0,0%,100%,.2)}.sprite-gallery-button>img{width:80%;height:80%;margin-top:5%;image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:optimize-contrast;image-rendering:pixelated;-ms-interpolation-mode:nearest-neighbor}.snippet-sprite-editor,.sprite-editor-snippet-container{height:503px;width:492px;overflow:hidden}.snippet-sprite-editor{max-height:503px;min-height:503px;max-width:492px;min-width:492px}#melody-toggle{margin:10px;text-align:center;float:center}#melody-editor-header-controls{height:52px;display:block}.melody-grid-div{margin:10px 20px 0;text-align:center;background-color:inherit;outline:none}.cell{height:35px;width:35px;margin:1px}.melody-top-bar-div{float:center;text-align:center}.melody-editor-div{height:100%;background-color:#4f0643}.melody-content-div{max-height:550px;width:300px;padding:0;overflow:hidden}.melody-editor-dropdown{padding:0!important}#melody-editor-gallery-outer{overflow:hidden;position:absolute;z-index:1002;width:100%}#melody-editor-gallery{overflow-y:scroll;overflow-x:hidden;padding:.75rem;background:#4f0643;max-height:350px;outline:none}.melody-gallery-button{text-align:center;display:flex;border-radius:4px;transition:box-shadow .1s;cursor:pointer;background-color:#dcdcdc;width:100%;margin-bottom:.75rem;height:2.75rem;line-height:2.5rem}.melody-gallery-button .melody-color-block{margin-top:.5rem}.melody-editor-button.left-button{flex-grow:1;border-radius:4px 0 0 4px;border-left:1px solid #fff;border-bottom:1px solid #fff;border-top:1px solid #fff;padding-left:.5rem;padding-right:.3rem}.melody-editor-button.right-button{min-width:2.75rem;padding-left:.3rem;border-radius:0 4px 4px 0;border:1px solid #fff;border-left-color:#4f0643}.melody-editor-toggle-buttons{outline:none}.melody-editor-toggle-buttons:focus-visible{outline:3px solid #fff;border-radius:2px}.melody-editor-button{background-color:#dcdcdc;color:#000;transition:color .1s,background-color .1s}.melody-editor-button:hover{background-color:#cacbcd;color:#000}.melody-editor-button.selected{outline:3px solid var(--pxt-focus-border);outline-offset:-5px}.melody-editor-button.right-button .icon{opacity:.9}.melody-gallery-play-icon{float:left}.melody-confirm-button{float:right;margin:0!important;height:28px;width:70px;color:#fff;background-color:#e30fc0;border:none;border-radius:2px;-webkit-transition-duration:.1s;transition-duration:.1s;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important}.melody-confirm-button:hover{background-color:#9e0986;border:1px solid #e30fc0}.melody-editor-text{margin:0 3px;float:left;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;font-weight:700;font-size:17px}.melody-editor-field-icon{fill:#fff;font-family:Icons;font-size:19px}.melody-icon{float:left;height:25px}.melody-gallery-button-hover{box-shadow:0 0 0 4px hsla(0,0%,100%,.2)}.melody-gallery-button:active{box-shadow:0 0 0 6px hsla(0,0%,100%,.2)}#melody-tempo-input{float:left;width:50px;height:28px;border-radius:2px;border:none;padding-left:5px;background-color:#fff;color:#1b1c1d}#melody-tempo-input:focus{outline:none!important}#melody-play-button{height:28px;width:120px;display:inline-block;color:#fff;background-color:#7f8c8d;border:none;border-radius:2px;-webkit-transition-duration:.1s;transition-duration:.1s}#melody-play-button:hover{background-color:#525a5b;border:1px solid #7f8c8d}.melody-bottom-bar-div button:focus-visible{outline:3px solid #fff}.melody-bottom-bar-div{margin:7px 3px 0;padding:0 20px 20px;background-color:inherit;text-align:center}.melody-color-block{margin:4px 7px 0 0;float:right}.sliver{display:inline-block;width:9px;height:23px;margin:.5px;border:1px solid rgba(0,0,0,.2)}.left-edge{border-radius:5px 0 0 5px}.right-edge{border-radius:0 5px 5px 0}.melody-preview-button{float:right;height:35px;width:35px;padding:12px 11px!important}.melody-gallery-row{float:left}.melody-content-div .melody-red,.pxt-renderer.classic-theme g.blocklyField>.melody-red{fill:#a80000;background:#a80000}.melody-content-div .melody-orange,.pxt-renderer.classic-theme g.blocklyField>.melody-orange{fill:#d83b01;background:#d83b01}.melody-content-div .melody-yellow,.pxt-renderer.classic-theme g.blocklyField>.melody-yellow{fill:#ffb900;background:#ffb900}.melody-content-div .melody-green,.pxt-renderer.classic-theme g.blocklyField>.melody-green{fill:#107c10;background:#107c10}.melody-content-div .melody-teal,.pxt-renderer.classic-theme g.blocklyField>.melody-teal{fill:#008272;background:#008272}.melody-content-div .melody-blue,.pxt-renderer.classic-theme g.blocklyField>.melody-blue{fill:#0078d7;background:#0078d7}.melody-content-div .melody-violet,.pxt-renderer.classic-theme g.blocklyField>.melody-violet{fill:#b4009e;background:#b4009e}.melody-content-div .melody-purple,.pxt-renderer.classic-theme g.blocklyField>.melody-purple{fill:#5c2d91;background:#5c2d91}.melody-content-div .melody-default,.pxt-renderer.classic-theme g.blocklyField>.melody-default{fill:#dcdcdc;background:#dcdcdc}.playing{fill-opacity:.7}svg.blocklySvg{background-color:var(--pxt-target-background1)!important;color:var(--pxt-target-foreground1)!important}#blocksEditor>div.loading,#maineditor{background:var(--pxt-target-background1);color:var(--pxt-target-foreground1)}.blocksAndErrorList{display:flex;flex-direction:column;height:100%}.blocksEditorOuter{position:relative;display:inline-block;overflow:hidden;height:100%}#blocksEditor{position:absolute;width:100%;height:100%}#blocksEditor .injectionDiv svg{overflow:visible}#blocksEditor>div.loading{position:absolute;left:0;top:0;right:0;bottom:0;z-index:1;opacity:.7}.blocklyMainBackground{stroke:none!important}.rtl text.blocklyText{text-align:right}body.blocklyMinimalBody{min-width:0;overflow:initial;position:unset}@supports (-ms-accelerator:true){.rtl .blocklyPreview{right:50%;left:auto}}.pxt-renderer.classic-theme .blocklyFlyoutButton text.blocklyText,.pxt-renderer.classic-theme text.blocklyFlyoutLabelText{font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important}.pxt-renderer.classic-theme text.blocklyText.blocklyBoldText{font-weight:700}.pxt-renderer.classic-theme text.blocklyText.blocklyItalicizedText{font-style:italic}.pxt-renderer.classic-theme text.blocklyText.blocklyBoldItalicizedText{font-weight:700;font-style:italic}.pxt-renderer.classic-theme text.blocklyText.blocklyBubbleText{fill:#fff}.pxt-renderer.classic-theme .blocklyEditableText>text.semanticIcon,.pxt-renderer.classic-theme .blocklyNonEditableText>text.semanticIcon{fill:#fff;font-family:Icons;font-size:19px}.pxt-renderer.classic-theme .blocklyEditableText>text.semanticIcon.inverted{fill:#000}.blocklyGreyExpressionBlockText{color:#fff}.blocklyTreeRowContentContainer{pointer-events:none}span.blocklyTreeIcon{visibility:visible}span.blocklyTreeIcon.pxt-toolbox-icon{display:inline-block}i.icon.blocklyTreeButton{float:right;line-height:40px;color:grey;opacity:0;transition-property:opacity;transition-duration:.5s}.blocklyTreeRow:hover i.icon.blocklyTreeButton{opacity:1}.blocklyFlyoutButton{fill:transparent!important}.blocklyFlyoutButton:hover{fill:var(--pxt-primary-background)!important}.blocklyFlyoutButtonBackground{stroke:var(--pxt-primary-background)!important;stroke-width:3px!important}.blocklyFlyoutButton .blocklyText{fill:var(--pxt-neutral-foreground3)!important}.blocklyFlyoutButtonShadow{fill:none!important}.blocklyFlyoutLabelText{fill:var(--pxt-neutral-foreground3)!important;font-size:1rem}.blocklyFlyoutHeading .blocklyFlyoutLabelText{fill:var(--pxt-neutral-foreground3)!important;font-size:1.5rem}.blocklyFlyoutLabelText:hover{fill:var(--pxt-neutral-foreground3)!important}.blocklyFlyoutLabelIcon{font-family:Icons;font-size:1.5rem}line.blocklyFlyoutLine{stroke:var(--pxt-neutral-foreground3)}path.blocklyFlyoutBackground{fill:var(--pxt-neutral-background3)!important;fill-opacity:1!important}div.blocklyWidgetDiv{position:fixed;z-index:993}div.blocklyWidgetDiv:focus-visible{outline:none}div.blocklyWidgetDiv.functioneditor{z-index:1001}div.blocklyDropDownDiv{z-index:994;overflow:hidden}div.blocklyDropDownDiv:focus-visible{outline:none}div.blocklyTooltipDiv{border:none!important;box-shadow:none!important;background-color:transparent!important;opacity:1!important;overflow-wrap:break-word}div.blocklyTooltipDiv .ui.card .content .description{display:inline}.blocklyWidgetDiv .goog-slider-horizontal{background:#fff;border:2px solid #000;border-radius:5px}text.blocklyCheckbox{fill:#ff3030!important;text-shadow:0 0 6px red;font-size:17pt!important}.pxt-renderer.classic-theme .blocklyEditableField>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklyAnimationField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklyTilemapField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklyAnimationField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklyTilemapField{fill:#dedede;stroke:#898989;stroke-width:1}.blocklyDragging>.blocklyPath{fill-opacity:.7}.blocklyDisabled>.blocklyPathDark{display:block!important;fill-opacity:.5}.blocklyDisabled .blocklyNonEditableText .blocklyBlockBackground{fill-opacity:.1!important}.passiveBlockFocus.blocklyPath{stroke-dasharray:5 3;stroke-width:3;stroke:#ffa200}.passiveNextIndicator{stroke:#ffa200;fill:#ffa200}.inputActiveFocus{stroke-width:3;stroke:#ffa200}.blocklyScrollbarBackground{fill:none}.blocklyScrollbarHandle{fill:var(--pxt-target-stencil1);opacity:1}.blocklyScrollbarBackground:active+.blocklyScrollbarHandle,.blocklyScrollbarBackground:hover+.blocklyScrollbarHandle,.blocklyScrollbarHandle:active,.blocklyScrollbarHandle:hover{stroke-width:3;stroke:var(--pxt-target-stencil1)}.blocklyWidgetDiv .blocklyContextMenu{background:var(--pxt-neutral-background1);color:var(--pxt-neutral-foreground1);border:1px solid var(--pxt-neutral-stencil1);box-shadow:0 1px 2px 0 var(--pxt-neutral-alpha20)!important;padding:0!important}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem{margin:0!important;padding:.92857143em 1.14285714em!important;font:normal 13px Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;background:var(--pxt-neutral-background1);color:var(--pxt-neutral-foreground1)}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem.blocklyMenuItemDisabled{color:var(--pxt-neutral-alpha20)}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem.blocklyMenuItemHighlight,.blocklyWidgetDiv .blocklyContextMenu .goog-menuitem-hover{border:none!important;padding:.92857143em 1.14285714em!important;background:var(--pxt-neutral-background1-hover)!important;color:var(--pxt-neutral-foreground1-hover)}.blocklyDeleteIcon{display:block}.blocklyComment .blocklyTextarea{border:none;color:#575e75}.blockly-ws-searching path.blocklyPath:not(.blockly-ws-search-highlight-pxt){opacity:.6}.blockly-ws-searching path.blocklyPath.blockly-ws-search-highlight-pxt.blockly-ws-search-current{stroke:#fff200;stroke-width:4px;transition:none}@media only screen and (max-width:767px){text.blocklyCheckbox{font-size:17pt!important}}html{--blockly-active-node-color:#fff200;--blockly-active-tree-color:#000;--blockly-selection-width:3px}div.blocklyTreeRoot>div[role=tree]:focus-visible{outline:none}.blocklyKeyboardNavigation div.blocklyTreeRoot>div[role=tree]:focus-visible{outline:var(--blockly-selection-width) solid var(--blockly-active-tree-color);outline-offset:calc(var(--blockly-selection-width)*-1)}.blocklyKeyboardNavigation .blocklyActiveFocus.blocklyField>.blocklyFieldRect,.blocklyKeyboardNavigation .blocklyActiveFocus.blocklyField>.blocklyFieldRect.blocklySpriteField,.blocklyKeyboardNavigation .blocklyActiveFocus.blocklyIconGroup>:is(.blocklyIconShape,.blocklyBreakpointSymbol),.blocklyKeyboardNavigation .blocklyActiveFocus:is(.blocklyPath,.blocklyHighlightedConnectionPath){stroke:var(--blockly-active-node-color);stroke-width:var(--blockly-selection-width)}.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyField>.blocklyFieldRect,.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyField>.blocklyFieldRect.blocklySpriteField,.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyIconGroup>:is(.blocklyIconShape,.blocklyBreakpointSymbol),.blocklyKeyboardNavigation .blocklyPassiveFocus:is(.blocklyPath,.blocklyHighlightedConnectionPath){stroke:var(--blockly-active-node-color);stroke-dasharray:5px 3px;stroke-width:var(--blockly-selection-width)}.blocklyKeyboardNavigation .blocklyFlyout .blocklyPassiveFocus.blocklyPath{stroke:none}.blocklyKeyboardNavigation .blocklyIconGroup:is(.blocklyActiveFocus,.blocklyPassiveFocus){opacity:1}.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyHighlightedConnectionPath{display:unset!important}.blocklyKeyboardNavigation .blocklyActiveFocus:is(.blocklyFlyout,.blocklyToolbox div[role=tree]),.blocklyKeyboardNavigation .blocklyFlyout:has(.blocklyActiveFocus),.blocklyKeyboardNavigation .blocklyToolbox div[role=tree]:has(.blocklyActiveFocus){outline-offset:calc(var(--blockly-selection-width)*-1);outline:var(--blockly-selection-width) solid var(--blockly-active-tree-color)}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutButton.blocklyActiveFocus,.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus{outline:none}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutButton.blocklyActiveFocus>.blocklyFlyoutButtonBackground,.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus>.blocklyFlyoutLabelBackground{outline-offset:2px;outline:var(--blockly-selection-width) solid var(--blockly-active-node-color);border-radius:2px}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus>.blocklyFlyoutLabelBackground{opacity:1;fill:transparent}.blocklyKeyboardNavigation .blocklySvg:has(~.blocklyBlockDragSurface .blocklyActiveFocus) .blocklyWorkspaceFocusRing,.blocklyKeyboardNavigation .blocklyWorkspace.blocklyActiveFocus .blocklyWorkspaceFocusRing,.blocklyKeyboardNavigation .blocklyWorkspace:has(.blocklyActiveFocus) .blocklyWorkspaceFocusRing{stroke:var(--blockly-active-tree-color);stroke-width:calc(var(--blockly-selection-width)*2)}.blocklyKeyboardNavigation .blocklyWorkspace.blocklyActiveFocus .blocklyWorkspaceSelectionRing{stroke:var(--blockly-active-node-color);stroke-width:var(--blockly-selection-width)}.blocklyKeyboardNavigation .blocklyImageField:focus-visible,.blocklyKeyboardNavigation .blocklyToolboxCategoryContainer:focus-visible{outline:none}.blocklyKeyboardNavigation .blocklyImageField:is(.blocklyActiveFocus,.blocklyPassiveFocus)>image{outline:var(--blockly-selection-width) solid var(--blockly-active-node-color);border-radius:2px;outline-offset:2px}.blocklyKeyboardNavigation .blocklyImageField.blocklyPassiveFocus>image{outline-style:dashed}.blocklyRTL .blocklyMenuItemContent .blocklyShortcutContainer{flex-direction:row-reverse}.blocklyMenuItemContent .blocklyShortcutContainer{width:100%;display:flex;justify-content:space-between;gap:16px}.blocklyMenuItemContent .blocklyShortcutContainer .blocklyShortcut{color:#ccc}text.blocklyText{font-weight:600;text-rendering:optimizeLegibility;-webkit-font-smoothing:subpixel-antialiased;-webkit-font-smoothing:antialiased}.blocklyGridPickerTooltip{padding:3px 5px;background-color:#fefefe;border:3px solid #000;color:#000;border-radius:10px}.blocklyLedOn{stroke:#fff;stroke-width:1px}
|
|
1
|
+
.blocklyDropDownContent .blocklyPianoDiv{position:relative;touch-action:none}.blocklyDropDownContent .blocklyNote{border:.5px solid;cursor:pointer;display:inline-block;position:absolute;top:0;border-bottom-left-radius:3px;border-bottom-right-radius:3px;background-color:#fff;z-index:1000}.blocklyDropDownContent .blocklyNote.black{background-color:#000;z-index:1001}.blocklyDropDownContent .blocklyNote:hover{background-color:#ff0!important}.blocklyDropDownContent .blocklyNote.selected{background-color:#9acd32!important}.blocklyDropDownContent .blocklyNoteLabel{font-family:Consolas,Monaco,Menlo,Ubuntu Mono,source-code-pro,monospace;font-size:12pt}.blocklyDropDownContent .blocklyNoteLabel,.blocklyDropDownContent .blocklyNotePrevNext{border:.5px solid;color:#fff;display:inline-block;line-height:normal;position:absolute;text-align:center}.blocklyDropDownContent .blocklyNotePrevNext{border-top:0;cursor:pointer;font-weight:700}.blocklyDropDownContent .blocklyDropdownTextLabel{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:70px;display:inline-block;color:#fff;font-size:12px}.blocklyToggle{transition:transform 1s}.blocklyToggle .blocklyToggleCircle,.blocklyToggle .blocklyToggleRect{stroke-width:1px;stroke:grey;stroke-opacity:.4}.blocklyToggle.blocklyToggleOn .blocklyToggleCircle,.blocklyToggle.blocklyToggleOn .blocklyToggleRect{fill:#4ddc64}.blocklyToggle.blocklyToggleOff .blocklyToggleCircle,.blocklyToggle.blocklyToggleOff .blocklyToggleRect{fill:#95a5a6}.blocklyToggle.blocklyToggleOnBreakpoint polygon{fill:#e80d00;stroke:#fff;stroke-width:12px!important;stroke-linecap:round;stroke-opacity:1;cursor:pointer}.blocklyToggle.blocklyToggleOffBreakpoint polygon{fill:#333;stroke:0;cursor:pointer}.blocklyToggle~.blocklyText.blocklyToggleText{font-size:10pt;cursor:pointer}.blocklyToggle.blocklyToggleOff~.blocklyText.blocklyToggleText{fill:#fff}.blocklyDropDownDiv .rgbColorPicker>tr>td{height:40px;width:40px}.blocklyDropDownDiv .blocklyFieldSliderReadout .blocklyColorReadout{height:20px;width:25px;border-radius:10px;display:inline-block;vertical-align:middle}#custom-content .blocklyLightboxDiv{position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.55);z-index:993}.blocklyCanvasOverlayOuter{padding:.5rem;margin:.1rem;background:#249ca3;border:2px solid #249ca3;border-top-left-radius:1rem;border-top-right-radius:1rem;border-bottom-left-radius:0}.blocklyCanvasOverlayDiv{cursor:none;background-color:hsla(0,0%,100%,.9);z-index:10000;position:relative;overflow:hidden;border:5px solid #333;clip-path:polygon(0 4px,4px 0,calc(100% - 2px) 0,100% 4px,100% calc(100% - 2px),calc(100% - 2px) 100%,4px 100%,0 calc(100% - 2px))}.blocklyCanvasOverlayDiv .cross-x,.blocklyCanvasOverlayDiv .cross-y{background-color:#575e75;position:absolute}.blocklyCanvasOverlayDiv .cross-x{width:100%;height:2px;z-index:10}.blocklyCanvasOverlayDiv .cross-y{width:2px;height:100%;z-index:10}.blocklyCanvasOverlayDiv .label{position:absolute;color:#575e75;font-size:100%;white-space:nowrap}.positionEyedropper{background:none;outline:none;width:100%;text-align:center;border:none;border-top:1px solid #ddd;padding-top:5px;cursor:pointer}.positionEyedropper:hover{background:#eee}.pixel-cell{shape-rendering:crispedges}.palette-selected{stroke:orange;stroke-width:2px}.palette-unselected{stroke:none}.sprite-editor-canvas{cursor:crosshair;z-index:1001;touch-action:none}.sprite-editor-canvas.sprite-editor-eyedropper{cursor:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M15.241 4.652L13.76 6.133l.835.835-3.085 3.085-.762-.762-5.168 5.17L1.984 16 .025 14.041l1.349-3.742 5.19-5.191-.645-.646 3.085-3.085.835.835L11.32.731c.431-.431 1-.678 1.616-.731h.461a2.835 2.835 0 011.77.802c1.082 1.084 1.114 2.81.074 3.85z' fill='%23f6f6f6'/%3E%3Cpath d='M9.467 7.932l.612.613-5.071 5.072-2.795 1.198-1.032-1.032 1.057-2.936L7.31 5.775l.585.585v.003l-4.356 4.356 1.569 1.569 4.355-4.356h.004zm4.995-6.422c-.667-.664-1.777-.729-2.435-.072L9.839 3.627l-.836-.835-.174.174-1.497 1.497 4.177 4.177 1.671-1.671-.835-.835 2.189-2.189c.658-.658.592-1.768-.072-2.435z' fill='%23424242'/%3E%3C/svg%3E") 2 16,copy}.sprite-canvas-controls{z-index:1000}#sprite-editor-palette .palette-swatch{cursor:pointer}.sprite-editor-dropdown.blocklyDropDownDiv{background:linear-gradient(#4b7bec 50px,#2c3e50 0,#2c3e50)}.sprite-editor-dropdown.blocklyDropDownDiv .blocklyDropDownArrow.arrowTop{background:#4b7bec}.sprite-editor-dropdown.blocklyDropDownDiv .blocklyDropDownArrow.arrowBottom{background:#2c3e50}#sprite-editor-header{z-index:1002;height:50px;width:inherit;position:absolute;top:0;left:0}#sprite-editor-header-controls{width:100%;height:100%}#sprite-editor-gallery-outer{overflow:hidden;position:absolute;z-index:1002;width:100%}#sprite-editor-gallery{overflow-y:scroll;width:100%;height:100%;background:#2c3e50}.sprite-editor-card{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath fill='%23fff' d='M0 0h10v10H0z'/%3E%3Cpath fill='%23dedede' d='M0 0h5v5H0zM5 5h5v5H5z'/%3E%3C/svg%3E")}.sprite-editor-icon{fill:#fff;font-family:Icons;font-size:19px}.sprite-editor-xicon{fill:#fff;font-family:xicon;font-size:19px}.sprite-editor-button{cursor:pointer}.sprite-editor-button-bg{fill:#525a5b}.sprite-editor-button-fg{fill:#7f8c8d}.sprite-editor-confirm-button .sprite-editor-button-bg{fill:#294da0}.sprite-editor-confirm-button .sprite-editor-button-fg{fill:#4b7bec}.sprite-editor-button.disabled{cursor:not-allowed}.sprite-editor-button.disabled .sprite-editor-button-bg,.sprite-editor-button.disabled .sprite-editor-button-fg{fill-opacity:.8}.sprite-editor-button:active:not(.disabled) .sprite-editor-button-bg,.sprite-editor-button:active:not(.disabled) .sprite-editor-button-fg{fill-opacity:1!important;transition:fill-opacity .1s}.sprite-editor-button:hover:not(.disabled) .sprite-editor-button-bg,.sprite-editor-button:hover:not(.disabled) .sprite-editor-button-fg{fill-opacity:.8;transition:fill-opacity .1s}.sprite-editor-button.selected{position:relative}.sprite-editor-button.selected .sprite-editor-button-fg{fill:#495353}.sprite-editor-text{font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;user-select:none;cursor:auto}.sprite-editor-label{fill:#fff}.sprite-editor-dropdown-bg{background:linear-gradient(#4b7bec 50px,#2c3e50 0,#2c3e50);border-radius:4px;padding-top:4px;position:relative}.sprite-editor-glyph{cursor:pointer;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8c0 4.411-3.589 8-8 8a2.803 2.803 0 01-2.8-2.8c0-.833.272-1.629.766-2.241a.596.596 0 00.101-.359.667.667 0 00-.667-.666.58.58 0 00-.358.102A3.584 3.584 0 012.8 10.8 2.803 2.803 0 010 8c0-4.411 3.589-8 8-8s8 3.589 8 8z' fill='%23f6f6f6'/%3E%3Cpath d='M5.4 7.933a2.67 2.67 0 012.667 2.666c0 .606-.193 1.179-.544 1.614a1.599 1.599 0 00-.323.987.8.8 0 00.8.8c3.309 0 6-2.691 6-6s-2.691-6-6-6-6 2.691-6 6c0 .441.359.8.8.8.378 0 .729-.114.986-.322A2.568 2.568 0 015.4 7.933z' fill='%23fff'/%3E%3Cpath d='M8 15c-.992 0-1.8-.808-1.8-1.8 0-.606.193-1.179.544-1.613.208-.259.323-.609.323-.987 0-.919-.748-1.666-1.667-1.666-.377 0-.728.115-.986.323A2.58 2.58 0 012.8 9.8C1.808 9.8 1 8.992 1 8c0-3.86 3.14-7 7-7 3.859 0 7 3.14 7 7 0 3.859-3.141 7-7 7zM5.4 7.933a2.67 2.67 0 012.667 2.666c0 .606-.193 1.179-.544 1.614a1.599 1.599 0 00-.323.987.8.8 0 00.8.8c3.309 0 6-2.691 6-6s-2.691-6-6-6-6 2.691-6 6c0 .441.359.8.8.8.378 0 .729-.114.986-.322A2.568 2.568 0 015.4 7.933z' fill='%23424242'/%3E%3Cpath d='M4.5 5.375a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23652d90'/%3E%3Cpath d='M7.125 3.625a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%231ba1e2'/%3E%3Cpath d='M10.625 4.5a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23393'/%3E%3Cpath d='M11.5 8a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23fc0'/%3E%3Cpath d='M9.75 10.625a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23e51400'/%3E%3C/svg%3E");background-position:50%;background-size:65%;background-repeat:no-repeat}.sprite-focus-hover{transition:all .15s ease-out;border-radius:50%}.sprite-focus-hover:hover{box-shadow:0 0 0 3px rgba(0,0,0,.35);-webkit-transform:scale(1.1);transform:scale(1.1)}.sprite-editor-glyph.sprite-focus-hover:hover{box-shadow:inset 0 0 0 2px rgba(0,0,0,.35)}.sprite-gallery-button{display:inline-block;float:left;padding:0;margin:4px;border-radius:4px;outline:none;border:1px solid;transition:box-shadow .1s;cursor:pointer}.sprite-gallery-button-hover{box-shadow:0 0 0 4px hsla(0,0%,100%,.2)}.sprite-gallery-button:active{box-shadow:0 0 0 6px hsla(0,0%,100%,.2)}.sprite-gallery-button>img{width:80%;height:80%;margin-top:5%;image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:optimize-contrast;image-rendering:pixelated;-ms-interpolation-mode:nearest-neighbor}.snippet-sprite-editor,.sprite-editor-snippet-container{height:503px;width:492px;overflow:hidden}.snippet-sprite-editor{max-height:503px;min-height:503px;max-width:492px;min-width:492px}#melody-toggle{margin:10px;text-align:center;float:center}#melody-editor-header-controls{height:52px;display:block}.melody-grid-div{margin:10px 20px 0;text-align:center;background-color:inherit;outline:none}.cell{height:35px;width:35px;margin:1px}.melody-top-bar-div{float:center;text-align:center}.melody-editor-div{height:100%;background-color:#4f0643}.melody-content-div{max-height:550px;width:300px;padding:0;overflow:hidden}.melody-editor-dropdown{padding:0!important}#melody-editor-gallery-outer{overflow:hidden;position:absolute;z-index:1002;width:100%}#melody-editor-gallery{overflow-y:scroll;overflow-x:hidden;padding:.75rem;background:#4f0643;max-height:350px;outline:none}.melody-gallery-button{text-align:center;display:flex;border-radius:4px;transition:box-shadow .1s;cursor:pointer;background-color:#dcdcdc;width:100%;margin-bottom:.75rem;height:2.75rem;line-height:2.5rem}.melody-gallery-button .melody-color-block{margin-top:.5rem}.melody-editor-button.left-button{flex-grow:1;border-radius:4px 0 0 4px;border-left:1px solid #fff;border-bottom:1px solid #fff;border-top:1px solid #fff;padding-left:.5rem;padding-right:.3rem}.melody-editor-button.right-button{min-width:2.75rem;padding-left:.3rem;border-radius:0 4px 4px 0;border:1px solid #fff;border-left-color:#4f0643}.melody-editor-toggle-buttons{outline:none}.melody-editor-toggle-buttons:focus-visible{outline:3px solid #fff;border-radius:2px}.melody-editor-button{background-color:#dcdcdc;color:#000;transition:color .1s,background-color .1s}.melody-editor-button:hover{background-color:#cacbcd;color:#000}.melody-editor-button.selected{outline:3px solid var(--pxt-focus-border);outline-offset:-5px}.melody-editor-button.right-button .icon{opacity:.9}.melody-gallery-play-icon{float:left}.melody-confirm-button{float:right;margin:0!important;height:28px;width:70px;color:#fff;background-color:#e30fc0;border:none;border-radius:2px;-webkit-transition-duration:.1s;transition-duration:.1s;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important}.melody-confirm-button:hover{background-color:#9e0986;border:1px solid #e30fc0}.melody-editor-text{margin:0 3px;float:left;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;font-weight:700;font-size:17px}.melody-editor-field-icon{fill:#fff;font-family:Icons;font-size:19px}.melody-icon{float:left;height:25px}.melody-gallery-button-hover{box-shadow:0 0 0 4px hsla(0,0%,100%,.2)}.melody-gallery-button:active{box-shadow:0 0 0 6px hsla(0,0%,100%,.2)}#melody-tempo-input{float:left;width:50px;height:28px;border-radius:2px;border:none;padding-left:5px;background-color:#fff;color:#1b1c1d}#melody-tempo-input:focus{outline:none!important}#melody-play-button{height:28px;width:120px;display:inline-block;color:#fff;background-color:#7f8c8d;border:none;border-radius:2px;-webkit-transition-duration:.1s;transition-duration:.1s}#melody-play-button:hover{background-color:#525a5b;border:1px solid #7f8c8d}.melody-bottom-bar-div button:focus-visible{outline:3px solid #fff}.melody-bottom-bar-div{margin:7px 3px 0;padding:0 20px 20px;background-color:inherit;text-align:center}.melody-color-block{margin:4px 7px 0 0;float:right}.sliver{display:inline-block;width:9px;height:23px;margin:.5px;border:1px solid rgba(0,0,0,.2)}.left-edge{border-radius:5px 0 0 5px}.right-edge{border-radius:0 5px 5px 0}.melody-preview-button{float:right;height:35px;width:35px;padding:12px 11px!important}.melody-gallery-row{float:left}.melody-content-div .melody-red,.pxt-renderer.classic-theme g.blocklyField>.melody-red{fill:#a80000;background:#a80000}.melody-content-div .melody-orange,.pxt-renderer.classic-theme g.blocklyField>.melody-orange{fill:#d83b01;background:#d83b01}.melody-content-div .melody-yellow,.pxt-renderer.classic-theme g.blocklyField>.melody-yellow{fill:#ffb900;background:#ffb900}.melody-content-div .melody-green,.pxt-renderer.classic-theme g.blocklyField>.melody-green{fill:#107c10;background:#107c10}.melody-content-div .melody-teal,.pxt-renderer.classic-theme g.blocklyField>.melody-teal{fill:#008272;background:#008272}.melody-content-div .melody-blue,.pxt-renderer.classic-theme g.blocklyField>.melody-blue{fill:#0078d7;background:#0078d7}.melody-content-div .melody-violet,.pxt-renderer.classic-theme g.blocklyField>.melody-violet{fill:#b4009e;background:#b4009e}.melody-content-div .melody-purple,.pxt-renderer.classic-theme g.blocklyField>.melody-purple{fill:#5c2d91;background:#5c2d91}.melody-content-div .melody-default,.pxt-renderer.classic-theme g.blocklyField>.melody-default{fill:#dcdcdc;background:#dcdcdc}.playing{fill-opacity:.7}svg.blocklySvg{background-color:var(--pxt-target-background1)!important;color:var(--pxt-target-foreground1)!important}#blocksEditor>div.loading,#maineditor{background:var(--pxt-target-background1);color:var(--pxt-target-foreground1)}.blocksAndErrorList{display:flex;flex-direction:column;height:100%}.blocksEditorOuter{position:relative;display:inline-block;overflow:hidden;height:100%}#blocksEditor{position:absolute;width:100%;height:100%}#blocksEditor .injectionDiv svg{overflow:visible}#blocksEditor>div.loading{position:absolute;left:0;top:0;right:0;bottom:0;z-index:1;opacity:.7}.blocklyMainBackground{stroke:none!important}.rtl text.blocklyText{text-align:right}body.blocklyMinimalBody{min-width:0;overflow:initial;position:unset}@supports (-ms-accelerator:true){.rtl .blocklyPreview{right:50%;left:auto}}.pxt-renderer.classic-theme .blocklyFlyoutButton text.blocklyText,.pxt-renderer.classic-theme text.blocklyFlyoutLabelText{font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important}.pxt-renderer.classic-theme text.blocklyText.blocklyBoldText{font-weight:700}.pxt-renderer.classic-theme text.blocklyText.blocklyItalicizedText{font-style:italic}.pxt-renderer.classic-theme text.blocklyText.blocklyBoldItalicizedText{font-weight:700;font-style:italic}.pxt-renderer.classic-theme text.blocklyText.blocklyBubbleText{fill:#fff}.pxt-renderer.classic-theme .blocklyEditableText>text.semanticIcon,.pxt-renderer.classic-theme .blocklyNonEditableText>text.semanticIcon{fill:#fff;font-family:Icons;font-size:19px}.pxt-renderer.classic-theme .blocklyEditableText>text.semanticIcon.inverted{fill:#000}.blocklyGreyExpressionBlockText{color:#fff}.blocklyTreeRowContentContainer{pointer-events:none}span.blocklyTreeIcon{visibility:visible}span.blocklyTreeIcon.pxt-toolbox-icon{display:inline-block}i.icon.blocklyTreeButton{float:right;line-height:40px;color:grey;opacity:0;transition-property:opacity;transition-duration:.5s}.blocklyTreeRow:hover i.icon.blocklyTreeButton{opacity:1}.blocklyFlyoutButton{fill:transparent!important}.blocklyFlyoutButton:hover{fill:var(--pxt-primary-background)!important}.blocklyFlyoutButtonBackground{stroke:var(--pxt-primary-background)!important;stroke-width:3px!important}.blocklyFlyoutButton .blocklyText{fill:var(--pxt-neutral-foreground3)!important}.blocklyFlyoutButtonShadow{fill:none!important}.blocklyFlyoutLabelText{fill:var(--pxt-neutral-foreground3)!important;font-size:1rem}.blocklyFlyoutHeading .blocklyFlyoutLabelText{fill:var(--pxt-neutral-foreground3)!important;font-size:1.5rem}.blocklyFlyoutLabelText:hover{fill:var(--pxt-neutral-foreground3)!important}.blocklyFlyoutLabelIcon{font-family:Icons;font-size:1.5rem}line.blocklyFlyoutLine{stroke:var(--pxt-neutral-foreground3)}path.blocklyFlyoutBackground{fill:var(--pxt-neutral-background3)!important;fill-opacity:1!important}div.blocklyWidgetDiv{position:fixed;z-index:993}div.blocklyWidgetDiv:focus-visible{outline:none}div.blocklyWidgetDiv.functioneditor{z-index:1001}div.blocklyDropDownDiv{z-index:994;overflow:hidden}div.blocklyDropDownDiv:focus-visible{outline:none}div.blocklyTooltipDiv{border:none!important;box-shadow:none!important;background-color:transparent!important;opacity:1!important;overflow-wrap:break-word}div.blocklyTooltipDiv .ui.card .content .description{display:inline}.blocklyWidgetDiv .goog-slider-horizontal{background:#fff;border:2px solid #000;border-radius:5px}text.blocklyCheckbox{fill:#ff3030!important;text-shadow:0 0 6px red;font-size:17pt!important}.pxt-renderer.classic-theme .blocklyEditableField>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklyAnimationField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklyTilemapField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklyAnimationField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklyTilemapField{fill:#dedede;stroke:#898989;stroke-width:1}.blocklyDragging>.blocklyPath{fill-opacity:.7}.blocklyDisabled>.blocklyPathDark{display:block!important;fill-opacity:.5}.blocklyDisabled .blocklyNonEditableText .blocklyBlockBackground{fill-opacity:.1!important}.passiveBlockFocus.blocklyPath{stroke-dasharray:5 3;stroke-width:3;stroke:#ffa200}.passiveNextIndicator{stroke:#ffa200;fill:#ffa200}.inputActiveFocus{stroke-width:3;stroke:#ffa200}.blocklyScrollbarBackground{fill:none}.blocklyScrollbarHandle{fill:var(--pxt-target-stencil1);opacity:1}.blocklyScrollbarBackground:active+.blocklyScrollbarHandle,.blocklyScrollbarBackground:hover+.blocklyScrollbarHandle,.blocklyScrollbarHandle:active,.blocklyScrollbarHandle:hover{stroke-width:3;stroke:var(--pxt-target-stencil1)}.blocklyWidgetDiv .blocklyContextMenu{background:var(--pxt-neutral-background1);color:var(--pxt-neutral-foreground1);border:1px solid var(--pxt-neutral-stencil1);box-shadow:0 1px 2px 0 var(--pxt-neutral-alpha20)!important;padding:0!important}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem{margin:0!important;padding:.92857143em 1.14285714em!important;font:normal 13px Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;background:var(--pxt-neutral-background1);color:var(--pxt-neutral-foreground1)}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem.blocklyMenuItemDisabled{color:var(--pxt-neutral-alpha20)}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem.blocklyMenuItemHighlight,.blocklyWidgetDiv .blocklyContextMenu .goog-menuitem-hover{border:none!important;padding:.92857143em 1.14285714em!important;background:var(--pxt-neutral-background1-hover)!important;color:var(--pxt-neutral-foreground1-hover)}.blocklyDeleteIcon{display:block}.blocklyComment .blocklyTextarea{border:none;color:#575e75}.blockly-ws-searching path.blocklyPath:not(.blockly-ws-search-highlight-pxt){opacity:.6}.blockly-ws-searching path.blocklyPath.blockly-ws-search-highlight-pxt.blockly-ws-search-current{stroke:#fff200;stroke-width:4px;transition:none}@media only screen and (max-width:767px){text.blocklyCheckbox{font-size:17pt!important}}.injectionDiv{--blockly-active-node-color:#fff200;--blockly-active-tree-color:var(--pxt-target-foreground1);--blockly-active-workspace-comment-color:var(--pxt-target-foreground1);--blockly-selection-width:3px}div.blocklyTreeRoot>div[role=tree]:focus-visible{outline:none}.blocklyKeyboardNavigation div.blocklyTreeRoot>div[role=tree]:focus-visible{outline:var(--blockly-selection-width) solid var(--blockly-active-tree-color);outline-offset:calc(var(--blockly-selection-width)*-1)}.blocklyKeyboardNavigation .blocklyActiveFocus.blocklyField>.blocklyFieldRect.blocklySpriteField,.blocklyKeyboardNavigation .blocklyActiveFocus.blocklyIconGroup>:is(.blocklyBreakpointSymbol){stroke:var(--blockly-active-node-color);stroke-width:var(--blockly-selection-width)}.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyField>.blocklyFieldRect.blocklySpriteField,.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyIconGroup>:is(.blocklyBreakpointSymbol){stroke:var(--blockly-active-node-color);stroke-dasharray:5px 3px;stroke-width:var(--blockly-selection-width)}.blocklyKeyboardNavigation .blocklyIconGroup:is(.blocklyActiveFocus,.blocklyPassiveFocus){opacity:1}.blocklyKeyboardNavigation .injectionDiv .blocklyToolbox:has(.blocklyActiveFocus){outline:none}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutButton.blocklyActiveFocus,.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus{outline:none}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutButton.blocklyActiveFocus>.blocklyFlyoutButtonBackground,.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus>.blocklyFlyoutLabelBackground{outline-offset:2px;outline:var(--blockly-selection-width) solid var(--blockly-active-node-color);border-radius:2px}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus>.blocklyFlyoutLabelBackground{opacity:1;fill:transparent}.blocklyKeyboardNavigation .blocklyImageField:focus-visible{outline:none}.blocklyKeyboardNavigation .blocklyImageField:is(.blocklyActiveFocus,.blocklyPassiveFocus)>image{outline:var(--blockly-selection-width) solid var(--blockly-active-node-color);border-radius:2px;outline-offset:2px}.blocklyKeyboardNavigation .blocklyImageField.blocklyPassiveFocus>image{outline-style:dashed}.blocklyKeyboardNavigation .blocklyComment.blocklyActiveFocus .blocklyCommentHighlight{stroke:var(--blockly-active-workspace-comment-color);stroke-width:4px}.blocklyCommentTopbar .blocklyActiveFocus{outline:2px solid var(--blockly-active-workspace-comment-color);border-radius:2px;outline-offset:-1px}text.blocklyText{font-weight:600;text-rendering:optimizeLegibility;-webkit-font-smoothing:subpixel-antialiased;-webkit-font-smoothing:antialiased}.blocklyGridPickerTooltip{padding:3px 5px;background-color:#fefefe;border:3px solid #000;color:#000;border-radius:10px}.blocklyLedOn{stroke:#fff;stroke-width:1px}
|
package/built/web/rtlblockly.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.blocklyDropDownContent .blocklyPianoDiv{position:relative;touch-action:none}.blocklyDropDownContent .blocklyNote{border:.5px solid;cursor:pointer;display:inline-block;position:absolute;top:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:#fff;z-index:1000}.blocklyDropDownContent .blocklyNote.black{background-color:#000;z-index:1001}.blocklyDropDownContent .blocklyNote:hover{background-color:#ff0!important}.blocklyDropDownContent .blocklyNote.selected{background-color:#9acd32!important}.blocklyDropDownContent .blocklyNoteLabel{font-family:Consolas,Monaco,Menlo,Ubuntu Mono,source-code-pro,monospace;font-size:12pt}.blocklyDropDownContent .blocklyNoteLabel,.blocklyDropDownContent .blocklyNotePrevNext{border:.5px solid;color:#fff;display:inline-block;line-height:normal;position:absolute;text-align:center}.blocklyDropDownContent .blocklyNotePrevNext{border-top:0;cursor:pointer;font-weight:700}.blocklyDropDownContent .blocklyDropdownTextLabel{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:70px;display:inline-block;color:#fff;font-size:12px}.blocklyToggle{transition:transform 1s}.blocklyToggle .blocklyToggleCircle,.blocklyToggle .blocklyToggleRect{stroke-width:1px;stroke:grey;stroke-opacity:.4}.blocklyToggle.blocklyToggleOn .blocklyToggleCircle,.blocklyToggle.blocklyToggleOn .blocklyToggleRect{fill:#4ddc64}.blocklyToggle.blocklyToggleOff .blocklyToggleCircle,.blocklyToggle.blocklyToggleOff .blocklyToggleRect{fill:#95a5a6}.blocklyToggle.blocklyToggleOnBreakpoint polygon{fill:#e80d00;stroke:#fff;stroke-width:12px!important;stroke-linecap:round;stroke-opacity:1;cursor:pointer}.blocklyToggle.blocklyToggleOffBreakpoint polygon{fill:#333;stroke:0;cursor:pointer}.blocklyToggle~.blocklyText.blocklyToggleText{font-size:10pt;cursor:pointer}.blocklyToggle.blocklyToggleOff~.blocklyText.blocklyToggleText{fill:#fff}.blocklyDropDownDiv .rgbColorPicker>tr>td{height:40px;width:40px}.blocklyDropDownDiv .blocklyFieldSliderReadout .blocklyColorReadout{height:20px;width:25px;border-radius:10px;display:inline-block;vertical-align:middle}#custom-content .blocklyLightboxDiv{position:absolute;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.55);z-index:993}.blocklyCanvasOverlayOuter{padding:.5rem;margin:.1rem;background:#249ca3;border:2px solid #249ca3;border-top-right-radius:1rem;border-top-left-radius:1rem;border-bottom-right-radius:0}.blocklyCanvasOverlayDiv{cursor:none;background-color:hsla(0,0%,100%,.9);z-index:10000;position:relative;overflow:hidden;border:5px solid #333;clip-path:polygon(0 4px,4px 0,calc(100% - 2px) 0,100% 4px,100% calc(100% - 2px),calc(100% - 2px) 100%,4px 100%,0 calc(100% - 2px))}.blocklyCanvasOverlayDiv .cross-x,.blocklyCanvasOverlayDiv .cross-y{background-color:#575e75;position:absolute}.blocklyCanvasOverlayDiv .cross-x{width:100%;height:2px;z-index:10}.blocklyCanvasOverlayDiv .cross-y{width:2px;height:100%;z-index:10}.blocklyCanvasOverlayDiv .label{position:absolute;color:#575e75;font-size:100%;white-space:nowrap}.positionEyedropper{background:none;outline:none;width:100%;text-align:center;border:none;border-top:1px solid #ddd;padding-top:5px;cursor:pointer}.positionEyedropper:hover{background:#eee}.pixel-cell{shape-rendering:crispedges}.palette-selected{stroke:orange;stroke-width:2px}.palette-unselected{stroke:none}.sprite-editor-canvas{cursor:crosshair;z-index:1001;touch-action:none}.sprite-editor-canvas.sprite-editor-eyedropper{cursor:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M15.241 4.652L13.76 6.133l.835.835-3.085 3.085-.762-.762-5.168 5.17L1.984 16 .025 14.041l1.349-3.742 5.19-5.191-.645-.646 3.085-3.085.835.835L11.32.731c.431-.431 1-.678 1.616-.731h.461a2.835 2.835 0 011.77.802c1.082 1.084 1.114 2.81.074 3.85z' fill='%23f6f6f6'/%3E%3Cpath d='M9.467 7.932l.612.613-5.071 5.072-2.795 1.198-1.032-1.032 1.057-2.936L7.31 5.775l.585.585v.003l-4.356 4.356 1.569 1.569 4.355-4.356h.004zm4.995-6.422c-.667-.664-1.777-.729-2.435-.072L9.839 3.627l-.836-.835-.174.174-1.497 1.497 4.177 4.177 1.671-1.671-.835-.835 2.189-2.189c.658-.658.592-1.768-.072-2.435z' fill='%23424242'/%3E%3C/svg%3E") 2 16,copy}.sprite-canvas-controls{z-index:1000}#sprite-editor-palette .palette-swatch{cursor:pointer}.sprite-editor-dropdown.blocklyDropDownDiv{background:linear-gradient(#4b7bec 50px,#2c3e50 0,#2c3e50)}.sprite-editor-dropdown.blocklyDropDownDiv .blocklyDropDownArrow.arrowTop{background:#4b7bec}.sprite-editor-dropdown.blocklyDropDownDiv .blocklyDropDownArrow.arrowBottom{background:#2c3e50}#sprite-editor-header{z-index:1002;height:50px;width:inherit;position:absolute;top:0;right:0}#sprite-editor-header-controls{width:100%;height:100%}#sprite-editor-gallery-outer{overflow:hidden;position:absolute;z-index:1002;width:100%}#sprite-editor-gallery{overflow-y:scroll;width:100%;height:100%;background:#2c3e50}.sprite-editor-card{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath fill='%23fff' d='M0 0h10v10H0z'/%3E%3Cpath fill='%23dedede' d='M0 0h5v5H0zM5 5h5v5H5z'/%3E%3C/svg%3E")}.sprite-editor-icon{fill:#fff;font-family:Icons;font-size:19px}.sprite-editor-xicon{fill:#fff;font-family:xicon;font-size:19px}.sprite-editor-button{cursor:pointer}.sprite-editor-button-bg{fill:#525a5b}.sprite-editor-button-fg{fill:#7f8c8d}.sprite-editor-confirm-button .sprite-editor-button-bg{fill:#294da0}.sprite-editor-confirm-button .sprite-editor-button-fg{fill:#4b7bec}.sprite-editor-button.disabled{cursor:not-allowed}.sprite-editor-button.disabled .sprite-editor-button-bg,.sprite-editor-button.disabled .sprite-editor-button-fg{fill-opacity:.8}.sprite-editor-button:active:not(.disabled) .sprite-editor-button-bg,.sprite-editor-button:active:not(.disabled) .sprite-editor-button-fg{fill-opacity:1!important;transition:fill-opacity .1s}.sprite-editor-button:hover:not(.disabled) .sprite-editor-button-bg,.sprite-editor-button:hover:not(.disabled) .sprite-editor-button-fg{fill-opacity:.8;transition:fill-opacity .1s}.sprite-editor-button.selected{position:relative}.sprite-editor-button.selected .sprite-editor-button-fg{fill:#495353}.sprite-editor-text{font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;user-select:none;cursor:auto}.sprite-editor-label{fill:#fff}.sprite-editor-dropdown-bg{background:linear-gradient(#4b7bec 50px,#2c3e50 0,#2c3e50);border-radius:4px;padding-top:4px;position:relative}.sprite-editor-glyph{cursor:pointer;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8c0 4.411-3.589 8-8 8a2.803 2.803 0 01-2.8-2.8c0-.833.272-1.629.766-2.241a.596.596 0 00.101-.359.667.667 0 00-.667-.666.58.58 0 00-.358.102A3.584 3.584 0 012.8 10.8 2.803 2.803 0 010 8c0-4.411 3.589-8 8-8s8 3.589 8 8z' fill='%23f6f6f6'/%3E%3Cpath d='M5.4 7.933a2.67 2.67 0 012.667 2.666c0 .606-.193 1.179-.544 1.614a1.599 1.599 0 00-.323.987.8.8 0 00.8.8c3.309 0 6-2.691 6-6s-2.691-6-6-6-6 2.691-6 6c0 .441.359.8.8.8.378 0 .729-.114.986-.322A2.568 2.568 0 015.4 7.933z' fill='%23fff'/%3E%3Cpath d='M8 15c-.992 0-1.8-.808-1.8-1.8 0-.606.193-1.179.544-1.613.208-.259.323-.609.323-.987 0-.919-.748-1.666-1.667-1.666-.377 0-.728.115-.986.323A2.58 2.58 0 012.8 9.8C1.808 9.8 1 8.992 1 8c0-3.86 3.14-7 7-7 3.859 0 7 3.14 7 7 0 3.859-3.141 7-7 7zM5.4 7.933a2.67 2.67 0 012.667 2.666c0 .606-.193 1.179-.544 1.614a1.599 1.599 0 00-.323.987.8.8 0 00.8.8c3.309 0 6-2.691 6-6s-2.691-6-6-6-6 2.691-6 6c0 .441.359.8.8.8.378 0 .729-.114.986-.322A2.568 2.568 0 015.4 7.933z' fill='%23424242'/%3E%3Cpath d='M4.5 5.375a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23652d90'/%3E%3Cpath d='M7.125 3.625a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%231ba1e2'/%3E%3Cpath d='M10.625 4.5a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23393'/%3E%3Cpath d='M11.5 8a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23fc0'/%3E%3Cpath d='M9.75 10.625a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23e51400'/%3E%3C/svg%3E");background-position:50%;background-size:65%;background-repeat:no-repeat}.sprite-focus-hover{transition:all .15s ease-out;border-radius:50%}.sprite-focus-hover:hover{box-shadow:0 0 0 3px rgba(0,0,0,.35);-webkit-transform:scale(1.1);transform:scale(1.1)}.sprite-editor-glyph.sprite-focus-hover:hover{box-shadow:inset 0 0 0 2px rgba(0,0,0,.35)}.sprite-gallery-button{display:inline-block;float:right;padding:0;margin:4px;border-radius:4px;outline:none;border:1px solid;transition:box-shadow .1s;cursor:pointer}.sprite-gallery-button-hover{box-shadow:0 0 0 4px hsla(0,0%,100%,.2)}.sprite-gallery-button:active{box-shadow:0 0 0 6px hsla(0,0%,100%,.2)}.sprite-gallery-button>img{width:80%;height:80%;margin-top:5%;image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:optimize-contrast;image-rendering:pixelated;-ms-interpolation-mode:nearest-neighbor}.snippet-sprite-editor,.sprite-editor-snippet-container{height:503px;width:492px;overflow:hidden}.snippet-sprite-editor{max-height:503px;min-height:503px;max-width:492px;min-width:492px}#melody-toggle{margin:10px;text-align:center;float:center}#melody-editor-header-controls{height:52px;display:block}.melody-grid-div{margin:10px 20px 0;text-align:center;background-color:inherit;outline:none}.cell{height:35px;width:35px;margin:1px}.melody-top-bar-div{float:center;text-align:center}.melody-editor-div{height:100%;background-color:#4f0643}.melody-content-div{max-height:550px;width:300px;padding:0;overflow:hidden}.melody-editor-dropdown{padding:0!important}#melody-editor-gallery-outer{overflow:hidden;position:absolute;z-index:1002;width:100%}#melody-editor-gallery{overflow-y:scroll;overflow-x:hidden;padding:.75rem;background:#4f0643;max-height:350px;outline:none}.melody-gallery-button{text-align:center;display:flex;border-radius:4px;transition:box-shadow .1s;cursor:pointer;background-color:#dcdcdc;width:100%;margin-bottom:.75rem;height:2.75rem;line-height:2.5rem}.melody-gallery-button .melody-color-block{margin-top:.5rem}.melody-editor-button.left-button{flex-grow:1;border-radius:0 4px 4px 0;border-right:1px solid #fff;border-bottom:1px solid #fff;border-top:1px solid #fff;padding-right:.5rem;padding-left:.3rem}.melody-editor-button.right-button{min-width:2.75rem;padding-right:.3rem;border-radius:4px 0 0 4px;border:1px solid #fff;border-right-color:#4f0643}.melody-editor-toggle-buttons{outline:none}.melody-editor-toggle-buttons:focus-visible{outline:3px solid #fff;border-radius:2px}.melody-editor-button{background-color:#dcdcdc;color:#000;transition:color .1s,background-color .1s}.melody-editor-button:hover{background-color:#cacbcd;color:#000}.melody-editor-button.selected{outline:3px solid var(--pxt-focus-border);outline-offset:-5px}.melody-editor-button.right-button .icon{opacity:.9}.melody-gallery-play-icon{float:right}.melody-confirm-button{float:left;margin:0!important;height:28px;width:70px;color:#fff;background-color:#e30fc0;border:none;border-radius:2px;-webkit-transition-duration:.1s;transition-duration:.1s;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important}.melody-confirm-button:hover{background-color:#9e0986;border:1px solid #e30fc0}.melody-editor-text{margin:0 3px;float:right;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;font-weight:700;font-size:17px}.melody-editor-field-icon{fill:#fff;font-family:Icons;font-size:19px}.melody-icon{float:right;height:25px}.melody-gallery-button-hover{box-shadow:0 0 0 4px hsla(0,0%,100%,.2)}.melody-gallery-button:active{box-shadow:0 0 0 6px hsla(0,0%,100%,.2)}#melody-tempo-input{float:right;width:50px;height:28px;border-radius:2px;border:none;padding-right:5px;background-color:#fff;color:#1b1c1d}#melody-tempo-input:focus{outline:none!important}#melody-play-button{height:28px;width:120px;display:inline-block;color:#fff;background-color:#7f8c8d;border:none;border-radius:2px;-webkit-transition-duration:.1s;transition-duration:.1s}#melody-play-button:hover{background-color:#525a5b;border:1px solid #7f8c8d}.melody-bottom-bar-div button:focus-visible{outline:3px solid #fff}.melody-bottom-bar-div{margin:7px 3px 0;padding:0 20px 20px;background-color:inherit;text-align:center}.melody-color-block{margin:4px 0 0 7px;float:left}.sliver{display:inline-block;width:9px;height:23px;margin:.5px;border:1px solid rgba(0,0,0,.2)}.left-edge{border-radius:0 5px 5px 0}.right-edge{border-radius:5px 0 0 5px}.melody-preview-button{float:left;height:35px;width:35px;padding:12px 11px!important}.melody-gallery-row{float:right}.melody-content-div .melody-red,.pxt-renderer.classic-theme g.blocklyField>.melody-red{fill:#a80000;background:#a80000}.melody-content-div .melody-orange,.pxt-renderer.classic-theme g.blocklyField>.melody-orange{fill:#d83b01;background:#d83b01}.melody-content-div .melody-yellow,.pxt-renderer.classic-theme g.blocklyField>.melody-yellow{fill:#ffb900;background:#ffb900}.melody-content-div .melody-green,.pxt-renderer.classic-theme g.blocklyField>.melody-green{fill:#107c10;background:#107c10}.melody-content-div .melody-teal,.pxt-renderer.classic-theme g.blocklyField>.melody-teal{fill:#008272;background:#008272}.melody-content-div .melody-blue,.pxt-renderer.classic-theme g.blocklyField>.melody-blue{fill:#0078d7;background:#0078d7}.melody-content-div .melody-violet,.pxt-renderer.classic-theme g.blocklyField>.melody-violet{fill:#b4009e;background:#b4009e}.melody-content-div .melody-purple,.pxt-renderer.classic-theme g.blocklyField>.melody-purple{fill:#5c2d91;background:#5c2d91}.melody-content-div .melody-default,.pxt-renderer.classic-theme g.blocklyField>.melody-default{fill:#dcdcdc;background:#dcdcdc}.playing{fill-opacity:.7}svg.blocklySvg{background-color:var(--pxt-target-background1)!important;color:var(--pxt-target-foreground1)!important}#blocksEditor>div.loading,#maineditor{background:var(--pxt-target-background1);color:var(--pxt-target-foreground1)}.blocksAndErrorList{display:flex;flex-direction:column;height:100%}.blocksEditorOuter{position:relative;display:inline-block;overflow:hidden;height:100%}#blocksEditor{position:absolute;width:100%;height:100%}#blocksEditor .injectionDiv svg{overflow:visible}#blocksEditor>div.loading{position:absolute;right:0;top:0;left:0;bottom:0;z-index:1;opacity:.7}.blocklyMainBackground{stroke:none!important}.rtl text.blocklyText{text-align:left}body.blocklyMinimalBody{min-width:0;overflow:initial;position:unset}@supports (-ms-accelerator:true){.rtl .blocklyPreview{left:50%;right:auto}}.pxt-renderer.classic-theme .blocklyFlyoutButton text.blocklyText,.pxt-renderer.classic-theme text.blocklyFlyoutLabelText{font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important}.pxt-renderer.classic-theme text.blocklyText.blocklyBoldText{font-weight:700}.pxt-renderer.classic-theme text.blocklyText.blocklyItalicizedText{font-style:italic}.pxt-renderer.classic-theme text.blocklyText.blocklyBoldItalicizedText{font-weight:700;font-style:italic}.pxt-renderer.classic-theme text.blocklyText.blocklyBubbleText{fill:#fff}.pxt-renderer.classic-theme .blocklyEditableText>text.semanticIcon,.pxt-renderer.classic-theme .blocklyNonEditableText>text.semanticIcon{fill:#fff;font-family:Icons;font-size:19px}.pxt-renderer.classic-theme .blocklyEditableText>text.semanticIcon.inverted{fill:#000}.blocklyGreyExpressionBlockText{color:#fff}.blocklyTreeRowContentContainer{pointer-events:none}span.blocklyTreeIcon{visibility:visible}span.blocklyTreeIcon.pxt-toolbox-icon{display:inline-block}i.icon.blocklyTreeButton{float:left;line-height:40px;color:grey;opacity:0;transition-property:opacity;transition-duration:.5s}.blocklyTreeRow:hover i.icon.blocklyTreeButton{opacity:1}.blocklyFlyoutButton{fill:transparent!important}.blocklyFlyoutButton:hover{fill:var(--pxt-primary-background)!important}.blocklyFlyoutButtonBackground{stroke:var(--pxt-primary-background)!important;stroke-width:3px!important}.blocklyFlyoutButton .blocklyText{fill:var(--pxt-neutral-foreground3)!important}.blocklyFlyoutButtonShadow{fill:none!important}.blocklyFlyoutLabelText{fill:var(--pxt-neutral-foreground3)!important;font-size:1rem}.blocklyFlyoutHeading .blocklyFlyoutLabelText{fill:var(--pxt-neutral-foreground3)!important;font-size:1.5rem}.blocklyFlyoutLabelText:hover{fill:var(--pxt-neutral-foreground3)!important}.blocklyFlyoutLabelIcon{font-family:Icons;font-size:1.5rem}line.blocklyFlyoutLine{stroke:var(--pxt-neutral-foreground3)}path.blocklyFlyoutBackground{fill:var(--pxt-neutral-background3)!important;fill-opacity:1!important}div.blocklyWidgetDiv{position:fixed;z-index:993}div.blocklyWidgetDiv:focus-visible{outline:none}div.blocklyWidgetDiv.functioneditor{z-index:1001}div.blocklyDropDownDiv{z-index:994;overflow:hidden}div.blocklyDropDownDiv:focus-visible{outline:none}div.blocklyTooltipDiv{border:none!important;box-shadow:none!important;background-color:transparent!important;opacity:1!important;overflow-wrap:break-word}div.blocklyTooltipDiv .ui.card .content .description{display:inline}.blocklyWidgetDiv .goog-slider-horizontal{background:#fff;border:2px solid #000;border-radius:5px}text.blocklyCheckbox{fill:#ff3030!important;text-shadow:0 0 6px red;font-size:17pt!important}.pxt-renderer.classic-theme .blocklyEditableField>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklyAnimationField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklyTilemapField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklyAnimationField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklyTilemapField{fill:#dedede;stroke:#898989;stroke-width:1}.blocklyDragging>.blocklyPath{fill-opacity:.7}.blocklyDisabled>.blocklyPathDark{display:block!important;fill-opacity:.5}.blocklyDisabled .blocklyNonEditableText .blocklyBlockBackground{fill-opacity:.1!important}.passiveBlockFocus.blocklyPath{stroke-dasharray:5 3;stroke-width:3;stroke:#ffa200}.passiveNextIndicator{stroke:#ffa200;fill:#ffa200}.inputActiveFocus{stroke-width:3;stroke:#ffa200}.blocklyScrollbarBackground{fill:none}.blocklyScrollbarHandle{fill:var(--pxt-target-stencil1);opacity:1}.blocklyScrollbarBackground:active+.blocklyScrollbarHandle,.blocklyScrollbarBackground:hover+.blocklyScrollbarHandle,.blocklyScrollbarHandle:active,.blocklyScrollbarHandle:hover{stroke-width:3;stroke:var(--pxt-target-stencil1)}.blocklyWidgetDiv .blocklyContextMenu{background:var(--pxt-neutral-background1);color:var(--pxt-neutral-foreground1);border:1px solid var(--pxt-neutral-stencil1);box-shadow:0 1px 2px 0 var(--pxt-neutral-alpha20)!important;padding:0!important}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem{margin:0!important;padding:.92857143em 1.14285714em!important;font:normal 13px Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;background:var(--pxt-neutral-background1);color:var(--pxt-neutral-foreground1)}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem.blocklyMenuItemDisabled{color:var(--pxt-neutral-alpha20)}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem.blocklyMenuItemHighlight,.blocklyWidgetDiv .blocklyContextMenu .goog-menuitem-hover{border:none!important;padding:.92857143em 1.14285714em!important;background:var(--pxt-neutral-background1-hover)!important;color:var(--pxt-neutral-foreground1-hover)}.blocklyDeleteIcon{display:block}.blocklyComment .blocklyTextarea{border:none;color:#575e75}.blockly-ws-searching path.blocklyPath:not(.blockly-ws-search-highlight-pxt){opacity:.6}.blockly-ws-searching path.blocklyPath.blockly-ws-search-highlight-pxt.blockly-ws-search-current{stroke:#fff200;stroke-width:4px;transition:none}@media only screen and (max-width:767px){text.blocklyCheckbox{font-size:17pt!important}}html{--blockly-active-node-color:#fff200;--blockly-active-tree-color:#000;--blockly-selection-width:3px}div.blocklyTreeRoot>div[role=tree]:focus-visible{outline:none}.blocklyKeyboardNavigation div.blocklyTreeRoot>div[role=tree]:focus-visible{outline:var(--blockly-selection-width) solid var(--blockly-active-tree-color);outline-offset:calc(var(--blockly-selection-width)*-1)}.blocklyKeyboardNavigation .blocklyActiveFocus.blocklyField>.blocklyFieldRect,.blocklyKeyboardNavigation .blocklyActiveFocus.blocklyField>.blocklyFieldRect.blocklySpriteField,.blocklyKeyboardNavigation .blocklyActiveFocus.blocklyIconGroup>:is(.blocklyIconShape,.blocklyBreakpointSymbol),.blocklyKeyboardNavigation .blocklyActiveFocus:is(.blocklyPath,.blocklyHighlightedConnectionPath){stroke:var(--blockly-active-node-color);stroke-width:var(--blockly-selection-width)}.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyField>.blocklyFieldRect,.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyField>.blocklyFieldRect.blocklySpriteField,.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyIconGroup>:is(.blocklyIconShape,.blocklyBreakpointSymbol),.blocklyKeyboardNavigation .blocklyPassiveFocus:is(.blocklyPath,.blocklyHighlightedConnectionPath){stroke:var(--blockly-active-node-color);stroke-dasharray:5px 3px;stroke-width:var(--blockly-selection-width)}.blocklyKeyboardNavigation .blocklyFlyout .blocklyPassiveFocus.blocklyPath{stroke:none}.blocklyKeyboardNavigation .blocklyIconGroup:is(.blocklyActiveFocus,.blocklyPassiveFocus){opacity:1}.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyHighlightedConnectionPath{display:unset!important}.blocklyKeyboardNavigation .blocklyActiveFocus:is(.blocklyFlyout,.blocklyToolbox div[role=tree]),.blocklyKeyboardNavigation .blocklyFlyout:has(.blocklyActiveFocus),.blocklyKeyboardNavigation .blocklyToolbox div[role=tree]:has(.blocklyActiveFocus){outline-offset:calc(var(--blockly-selection-width)*-1);outline:var(--blockly-selection-width) solid var(--blockly-active-tree-color)}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutButton.blocklyActiveFocus,.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus{outline:none}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutButton.blocklyActiveFocus>.blocklyFlyoutButtonBackground,.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus>.blocklyFlyoutLabelBackground{outline-offset:2px;outline:var(--blockly-selection-width) solid var(--blockly-active-node-color);border-radius:2px}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus>.blocklyFlyoutLabelBackground{opacity:1;fill:transparent}.blocklyKeyboardNavigation .blocklySvg:has(~.blocklyBlockDragSurface .blocklyActiveFocus) .blocklyWorkspaceFocusRing,.blocklyKeyboardNavigation .blocklyWorkspace.blocklyActiveFocus .blocklyWorkspaceFocusRing,.blocklyKeyboardNavigation .blocklyWorkspace:has(.blocklyActiveFocus) .blocklyWorkspaceFocusRing{stroke:var(--blockly-active-tree-color);stroke-width:calc(var(--blockly-selection-width)*2)}.blocklyKeyboardNavigation .blocklyWorkspace.blocklyActiveFocus .blocklyWorkspaceSelectionRing{stroke:var(--blockly-active-node-color);stroke-width:var(--blockly-selection-width)}.blocklyKeyboardNavigation .blocklyImageField:focus-visible,.blocklyKeyboardNavigation .blocklyToolboxCategoryContainer:focus-visible{outline:none}.blocklyKeyboardNavigation .blocklyImageField:is(.blocklyActiveFocus,.blocklyPassiveFocus)>image{outline:var(--blockly-selection-width) solid var(--blockly-active-node-color);border-radius:2px;outline-offset:2px}.blocklyKeyboardNavigation .blocklyImageField.blocklyPassiveFocus>image{outline-style:dashed}.blocklyRTL .blocklyMenuItemContent .blocklyShortcutContainer{flex-direction:row-reverse}.blocklyMenuItemContent .blocklyShortcutContainer{width:100%;display:flex;justify-content:space-between;gap:16px}.blocklyMenuItemContent .blocklyShortcutContainer .blocklyShortcut{color:#ccc}text.blocklyText{font-weight:600;text-rendering:optimizeLegibility;-webkit-font-smoothing:subpixel-antialiased;-webkit-font-smoothing:antialiased}.blocklyGridPickerTooltip{padding:3px 5px;background-color:#fefefe;border:3px solid #000;color:#000;border-radius:10px}.blocklyLedOn{stroke:#fff;stroke-width:1px}
|
|
1
|
+
.blocklyDropDownContent .blocklyPianoDiv{position:relative;touch-action:none}.blocklyDropDownContent .blocklyNote{border:.5px solid;cursor:pointer;display:inline-block;position:absolute;top:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:#fff;z-index:1000}.blocklyDropDownContent .blocklyNote.black{background-color:#000;z-index:1001}.blocklyDropDownContent .blocklyNote:hover{background-color:#ff0!important}.blocklyDropDownContent .blocklyNote.selected{background-color:#9acd32!important}.blocklyDropDownContent .blocklyNoteLabel{font-family:Consolas,Monaco,Menlo,Ubuntu Mono,source-code-pro,monospace;font-size:12pt}.blocklyDropDownContent .blocklyNoteLabel,.blocklyDropDownContent .blocklyNotePrevNext{border:.5px solid;color:#fff;display:inline-block;line-height:normal;position:absolute;text-align:center}.blocklyDropDownContent .blocklyNotePrevNext{border-top:0;cursor:pointer;font-weight:700}.blocklyDropDownContent .blocklyDropdownTextLabel{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:70px;display:inline-block;color:#fff;font-size:12px}.blocklyToggle{transition:transform 1s}.blocklyToggle .blocklyToggleCircle,.blocklyToggle .blocklyToggleRect{stroke-width:1px;stroke:grey;stroke-opacity:.4}.blocklyToggle.blocklyToggleOn .blocklyToggleCircle,.blocklyToggle.blocklyToggleOn .blocklyToggleRect{fill:#4ddc64}.blocklyToggle.blocklyToggleOff .blocklyToggleCircle,.blocklyToggle.blocklyToggleOff .blocklyToggleRect{fill:#95a5a6}.blocklyToggle.blocklyToggleOnBreakpoint polygon{fill:#e80d00;stroke:#fff;stroke-width:12px!important;stroke-linecap:round;stroke-opacity:1;cursor:pointer}.blocklyToggle.blocklyToggleOffBreakpoint polygon{fill:#333;stroke:0;cursor:pointer}.blocklyToggle~.blocklyText.blocklyToggleText{font-size:10pt;cursor:pointer}.blocklyToggle.blocklyToggleOff~.blocklyText.blocklyToggleText{fill:#fff}.blocklyDropDownDiv .rgbColorPicker>tr>td{height:40px;width:40px}.blocklyDropDownDiv .blocklyFieldSliderReadout .blocklyColorReadout{height:20px;width:25px;border-radius:10px;display:inline-block;vertical-align:middle}#custom-content .blocklyLightboxDiv{position:absolute;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.55);z-index:993}.blocklyCanvasOverlayOuter{padding:.5rem;margin:.1rem;background:#249ca3;border:2px solid #249ca3;border-top-right-radius:1rem;border-top-left-radius:1rem;border-bottom-right-radius:0}.blocklyCanvasOverlayDiv{cursor:none;background-color:hsla(0,0%,100%,.9);z-index:10000;position:relative;overflow:hidden;border:5px solid #333;clip-path:polygon(0 4px,4px 0,calc(100% - 2px) 0,100% 4px,100% calc(100% - 2px),calc(100% - 2px) 100%,4px 100%,0 calc(100% - 2px))}.blocklyCanvasOverlayDiv .cross-x,.blocklyCanvasOverlayDiv .cross-y{background-color:#575e75;position:absolute}.blocklyCanvasOverlayDiv .cross-x{width:100%;height:2px;z-index:10}.blocklyCanvasOverlayDiv .cross-y{width:2px;height:100%;z-index:10}.blocklyCanvasOverlayDiv .label{position:absolute;color:#575e75;font-size:100%;white-space:nowrap}.positionEyedropper{background:none;outline:none;width:100%;text-align:center;border:none;border-top:1px solid #ddd;padding-top:5px;cursor:pointer}.positionEyedropper:hover{background:#eee}.pixel-cell{shape-rendering:crispedges}.palette-selected{stroke:orange;stroke-width:2px}.palette-unselected{stroke:none}.sprite-editor-canvas{cursor:crosshair;z-index:1001;touch-action:none}.sprite-editor-canvas.sprite-editor-eyedropper{cursor:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M15.241 4.652L13.76 6.133l.835.835-3.085 3.085-.762-.762-5.168 5.17L1.984 16 .025 14.041l1.349-3.742 5.19-5.191-.645-.646 3.085-3.085.835.835L11.32.731c.431-.431 1-.678 1.616-.731h.461a2.835 2.835 0 011.77.802c1.082 1.084 1.114 2.81.074 3.85z' fill='%23f6f6f6'/%3E%3Cpath d='M9.467 7.932l.612.613-5.071 5.072-2.795 1.198-1.032-1.032 1.057-2.936L7.31 5.775l.585.585v.003l-4.356 4.356 1.569 1.569 4.355-4.356h.004zm4.995-6.422c-.667-.664-1.777-.729-2.435-.072L9.839 3.627l-.836-.835-.174.174-1.497 1.497 4.177 4.177 1.671-1.671-.835-.835 2.189-2.189c.658-.658.592-1.768-.072-2.435z' fill='%23424242'/%3E%3C/svg%3E") 2 16,copy}.sprite-canvas-controls{z-index:1000}#sprite-editor-palette .palette-swatch{cursor:pointer}.sprite-editor-dropdown.blocklyDropDownDiv{background:linear-gradient(#4b7bec 50px,#2c3e50 0,#2c3e50)}.sprite-editor-dropdown.blocklyDropDownDiv .blocklyDropDownArrow.arrowTop{background:#4b7bec}.sprite-editor-dropdown.blocklyDropDownDiv .blocklyDropDownArrow.arrowBottom{background:#2c3e50}#sprite-editor-header{z-index:1002;height:50px;width:inherit;position:absolute;top:0;right:0}#sprite-editor-header-controls{width:100%;height:100%}#sprite-editor-gallery-outer{overflow:hidden;position:absolute;z-index:1002;width:100%}#sprite-editor-gallery{overflow-y:scroll;width:100%;height:100%;background:#2c3e50}.sprite-editor-card{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Cpath fill='%23fff' d='M0 0h10v10H0z'/%3E%3Cpath fill='%23dedede' d='M0 0h5v5H0zM5 5h5v5H5z'/%3E%3C/svg%3E")}.sprite-editor-icon{fill:#fff;font-family:Icons;font-size:19px}.sprite-editor-xicon{fill:#fff;font-family:xicon;font-size:19px}.sprite-editor-button{cursor:pointer}.sprite-editor-button-bg{fill:#525a5b}.sprite-editor-button-fg{fill:#7f8c8d}.sprite-editor-confirm-button .sprite-editor-button-bg{fill:#294da0}.sprite-editor-confirm-button .sprite-editor-button-fg{fill:#4b7bec}.sprite-editor-button.disabled{cursor:not-allowed}.sprite-editor-button.disabled .sprite-editor-button-bg,.sprite-editor-button.disabled .sprite-editor-button-fg{fill-opacity:.8}.sprite-editor-button:active:not(.disabled) .sprite-editor-button-bg,.sprite-editor-button:active:not(.disabled) .sprite-editor-button-fg{fill-opacity:1!important;transition:fill-opacity .1s}.sprite-editor-button:hover:not(.disabled) .sprite-editor-button-bg,.sprite-editor-button:hover:not(.disabled) .sprite-editor-button-fg{fill-opacity:.8;transition:fill-opacity .1s}.sprite-editor-button.selected{position:relative}.sprite-editor-button.selected .sprite-editor-button-fg{fill:#495353}.sprite-editor-text{font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;user-select:none;cursor:auto}.sprite-editor-label{fill:#fff}.sprite-editor-dropdown-bg{background:linear-gradient(#4b7bec 50px,#2c3e50 0,#2c3e50);border-radius:4px;padding-top:4px;position:relative}.sprite-editor-glyph{cursor:pointer;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8c0 4.411-3.589 8-8 8a2.803 2.803 0 01-2.8-2.8c0-.833.272-1.629.766-2.241a.596.596 0 00.101-.359.667.667 0 00-.667-.666.58.58 0 00-.358.102A3.584 3.584 0 012.8 10.8 2.803 2.803 0 010 8c0-4.411 3.589-8 8-8s8 3.589 8 8z' fill='%23f6f6f6'/%3E%3Cpath d='M5.4 7.933a2.67 2.67 0 012.667 2.666c0 .606-.193 1.179-.544 1.614a1.599 1.599 0 00-.323.987.8.8 0 00.8.8c3.309 0 6-2.691 6-6s-2.691-6-6-6-6 2.691-6 6c0 .441.359.8.8.8.378 0 .729-.114.986-.322A2.568 2.568 0 015.4 7.933z' fill='%23fff'/%3E%3Cpath d='M8 15c-.992 0-1.8-.808-1.8-1.8 0-.606.193-1.179.544-1.613.208-.259.323-.609.323-.987 0-.919-.748-1.666-1.667-1.666-.377 0-.728.115-.986.323A2.58 2.58 0 012.8 9.8C1.808 9.8 1 8.992 1 8c0-3.86 3.14-7 7-7 3.859 0 7 3.14 7 7 0 3.859-3.141 7-7 7zM5.4 7.933a2.67 2.67 0 012.667 2.666c0 .606-.193 1.179-.544 1.614a1.599 1.599 0 00-.323.987.8.8 0 00.8.8c3.309 0 6-2.691 6-6s-2.691-6-6-6-6 2.691-6 6c0 .441.359.8.8.8.378 0 .729-.114.986-.322A2.568 2.568 0 015.4 7.933z' fill='%23424242'/%3E%3Cpath d='M4.5 5.375a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23652d90'/%3E%3Cpath d='M7.125 3.625a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%231ba1e2'/%3E%3Cpath d='M10.625 4.5a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23393'/%3E%3Cpath d='M11.5 8a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23fc0'/%3E%3Cpath d='M9.75 10.625a.875.875 0 100 1.75.875.875 0 000-1.75z' fill='%23e51400'/%3E%3C/svg%3E");background-position:50%;background-size:65%;background-repeat:no-repeat}.sprite-focus-hover{transition:all .15s ease-out;border-radius:50%}.sprite-focus-hover:hover{box-shadow:0 0 0 3px rgba(0,0,0,.35);-webkit-transform:scale(1.1);transform:scale(1.1)}.sprite-editor-glyph.sprite-focus-hover:hover{box-shadow:inset 0 0 0 2px rgba(0,0,0,.35)}.sprite-gallery-button{display:inline-block;float:right;padding:0;margin:4px;border-radius:4px;outline:none;border:1px solid;transition:box-shadow .1s;cursor:pointer}.sprite-gallery-button-hover{box-shadow:0 0 0 4px hsla(0,0%,100%,.2)}.sprite-gallery-button:active{box-shadow:0 0 0 6px hsla(0,0%,100%,.2)}.sprite-gallery-button>img{width:80%;height:80%;margin-top:5%;image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:optimize-contrast;image-rendering:pixelated;-ms-interpolation-mode:nearest-neighbor}.snippet-sprite-editor,.sprite-editor-snippet-container{height:503px;width:492px;overflow:hidden}.snippet-sprite-editor{max-height:503px;min-height:503px;max-width:492px;min-width:492px}#melody-toggle{margin:10px;text-align:center;float:center}#melody-editor-header-controls{height:52px;display:block}.melody-grid-div{margin:10px 20px 0;text-align:center;background-color:inherit;outline:none}.cell{height:35px;width:35px;margin:1px}.melody-top-bar-div{float:center;text-align:center}.melody-editor-div{height:100%;background-color:#4f0643}.melody-content-div{max-height:550px;width:300px;padding:0;overflow:hidden}.melody-editor-dropdown{padding:0!important}#melody-editor-gallery-outer{overflow:hidden;position:absolute;z-index:1002;width:100%}#melody-editor-gallery{overflow-y:scroll;overflow-x:hidden;padding:.75rem;background:#4f0643;max-height:350px;outline:none}.melody-gallery-button{text-align:center;display:flex;border-radius:4px;transition:box-shadow .1s;cursor:pointer;background-color:#dcdcdc;width:100%;margin-bottom:.75rem;height:2.75rem;line-height:2.5rem}.melody-gallery-button .melody-color-block{margin-top:.5rem}.melody-editor-button.left-button{flex-grow:1;border-radius:0 4px 4px 0;border-right:1px solid #fff;border-bottom:1px solid #fff;border-top:1px solid #fff;padding-right:.5rem;padding-left:.3rem}.melody-editor-button.right-button{min-width:2.75rem;padding-right:.3rem;border-radius:4px 0 0 4px;border:1px solid #fff;border-right-color:#4f0643}.melody-editor-toggle-buttons{outline:none}.melody-editor-toggle-buttons:focus-visible{outline:3px solid #fff;border-radius:2px}.melody-editor-button{background-color:#dcdcdc;color:#000;transition:color .1s,background-color .1s}.melody-editor-button:hover{background-color:#cacbcd;color:#000}.melody-editor-button.selected{outline:3px solid var(--pxt-focus-border);outline-offset:-5px}.melody-editor-button.right-button .icon{opacity:.9}.melody-gallery-play-icon{float:right}.melody-confirm-button{float:left;margin:0!important;height:28px;width:70px;color:#fff;background-color:#e30fc0;border:none;border-radius:2px;-webkit-transition-duration:.1s;transition-duration:.1s;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important}.melody-confirm-button:hover{background-color:#9e0986;border:1px solid #e30fc0}.melody-editor-text{margin:0 3px;float:right;font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;font-weight:700;font-size:17px}.melody-editor-field-icon{fill:#fff;font-family:Icons;font-size:19px}.melody-icon{float:right;height:25px}.melody-gallery-button-hover{box-shadow:0 0 0 4px hsla(0,0%,100%,.2)}.melody-gallery-button:active{box-shadow:0 0 0 6px hsla(0,0%,100%,.2)}#melody-tempo-input{float:right;width:50px;height:28px;border-radius:2px;border:none;padding-right:5px;background-color:#fff;color:#1b1c1d}#melody-tempo-input:focus{outline:none!important}#melody-play-button{height:28px;width:120px;display:inline-block;color:#fff;background-color:#7f8c8d;border:none;border-radius:2px;-webkit-transition-duration:.1s;transition-duration:.1s}#melody-play-button:hover{background-color:#525a5b;border:1px solid #7f8c8d}.melody-bottom-bar-div button:focus-visible{outline:3px solid #fff}.melody-bottom-bar-div{margin:7px 3px 0;padding:0 20px 20px;background-color:inherit;text-align:center}.melody-color-block{margin:4px 0 0 7px;float:left}.sliver{display:inline-block;width:9px;height:23px;margin:.5px;border:1px solid rgba(0,0,0,.2)}.left-edge{border-radius:0 5px 5px 0}.right-edge{border-radius:5px 0 0 5px}.melody-preview-button{float:left;height:35px;width:35px;padding:12px 11px!important}.melody-gallery-row{float:right}.melody-content-div .melody-red,.pxt-renderer.classic-theme g.blocklyField>.melody-red{fill:#a80000;background:#a80000}.melody-content-div .melody-orange,.pxt-renderer.classic-theme g.blocklyField>.melody-orange{fill:#d83b01;background:#d83b01}.melody-content-div .melody-yellow,.pxt-renderer.classic-theme g.blocklyField>.melody-yellow{fill:#ffb900;background:#ffb900}.melody-content-div .melody-green,.pxt-renderer.classic-theme g.blocklyField>.melody-green{fill:#107c10;background:#107c10}.melody-content-div .melody-teal,.pxt-renderer.classic-theme g.blocklyField>.melody-teal{fill:#008272;background:#008272}.melody-content-div .melody-blue,.pxt-renderer.classic-theme g.blocklyField>.melody-blue{fill:#0078d7;background:#0078d7}.melody-content-div .melody-violet,.pxt-renderer.classic-theme g.blocklyField>.melody-violet{fill:#b4009e;background:#b4009e}.melody-content-div .melody-purple,.pxt-renderer.classic-theme g.blocklyField>.melody-purple{fill:#5c2d91;background:#5c2d91}.melody-content-div .melody-default,.pxt-renderer.classic-theme g.blocklyField>.melody-default{fill:#dcdcdc;background:#dcdcdc}.playing{fill-opacity:.7}svg.blocklySvg{background-color:var(--pxt-target-background1)!important;color:var(--pxt-target-foreground1)!important}#blocksEditor>div.loading,#maineditor{background:var(--pxt-target-background1);color:var(--pxt-target-foreground1)}.blocksAndErrorList{display:flex;flex-direction:column;height:100%}.blocksEditorOuter{position:relative;display:inline-block;overflow:hidden;height:100%}#blocksEditor{position:absolute;width:100%;height:100%}#blocksEditor .injectionDiv svg{overflow:visible}#blocksEditor>div.loading{position:absolute;right:0;top:0;left:0;bottom:0;z-index:1;opacity:.7}.blocklyMainBackground{stroke:none!important}.rtl text.blocklyText{text-align:left}body.blocklyMinimalBody{min-width:0;overflow:initial;position:unset}@supports (-ms-accelerator:true){.rtl .blocklyPreview{left:50%;right:auto}}.pxt-renderer.classic-theme .blocklyFlyoutButton text.blocklyText,.pxt-renderer.classic-theme text.blocklyFlyoutLabelText{font-family:Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important}.pxt-renderer.classic-theme text.blocklyText.blocklyBoldText{font-weight:700}.pxt-renderer.classic-theme text.blocklyText.blocklyItalicizedText{font-style:italic}.pxt-renderer.classic-theme text.blocklyText.blocklyBoldItalicizedText{font-weight:700;font-style:italic}.pxt-renderer.classic-theme text.blocklyText.blocklyBubbleText{fill:#fff}.pxt-renderer.classic-theme .blocklyEditableText>text.semanticIcon,.pxt-renderer.classic-theme .blocklyNonEditableText>text.semanticIcon{fill:#fff;font-family:Icons;font-size:19px}.pxt-renderer.classic-theme .blocklyEditableText>text.semanticIcon.inverted{fill:#000}.blocklyGreyExpressionBlockText{color:#fff}.blocklyTreeRowContentContainer{pointer-events:none}span.blocklyTreeIcon{visibility:visible}span.blocklyTreeIcon.pxt-toolbox-icon{display:inline-block}i.icon.blocklyTreeButton{float:left;line-height:40px;color:grey;opacity:0;transition-property:opacity;transition-duration:.5s}.blocklyTreeRow:hover i.icon.blocklyTreeButton{opacity:1}.blocklyFlyoutButton{fill:transparent!important}.blocklyFlyoutButton:hover{fill:var(--pxt-primary-background)!important}.blocklyFlyoutButtonBackground{stroke:var(--pxt-primary-background)!important;stroke-width:3px!important}.blocklyFlyoutButton .blocklyText{fill:var(--pxt-neutral-foreground3)!important}.blocklyFlyoutButtonShadow{fill:none!important}.blocklyFlyoutLabelText{fill:var(--pxt-neutral-foreground3)!important;font-size:1rem}.blocklyFlyoutHeading .blocklyFlyoutLabelText{fill:var(--pxt-neutral-foreground3)!important;font-size:1.5rem}.blocklyFlyoutLabelText:hover{fill:var(--pxt-neutral-foreground3)!important}.blocklyFlyoutLabelIcon{font-family:Icons;font-size:1.5rem}line.blocklyFlyoutLine{stroke:var(--pxt-neutral-foreground3)}path.blocklyFlyoutBackground{fill:var(--pxt-neutral-background3)!important;fill-opacity:1!important}div.blocklyWidgetDiv{position:fixed;z-index:993}div.blocklyWidgetDiv:focus-visible{outline:none}div.blocklyWidgetDiv.functioneditor{z-index:1001}div.blocklyDropDownDiv{z-index:994;overflow:hidden}div.blocklyDropDownDiv:focus-visible{outline:none}div.blocklyTooltipDiv{border:none!important;box-shadow:none!important;background-color:transparent!important;opacity:1!important;overflow-wrap:break-word}div.blocklyTooltipDiv .ui.card .content .description{display:inline}.blocklyWidgetDiv .goog-slider-horizontal{background:#fff;border:2px solid #000;border-radius:5px}text.blocklyCheckbox{fill:#ff3030!important;text-shadow:0 0 6px red;font-size:17pt!important}.pxt-renderer.classic-theme .blocklyEditableField>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklyAnimationField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyEditableText>rect.blocklyTilemapField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklyAnimationField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklySpriteField,.pxt-renderer.classic-theme .blocklyNonEditableText>rect.blocklyTilemapField{fill:#dedede;stroke:#898989;stroke-width:1}.blocklyDragging>.blocklyPath{fill-opacity:.7}.blocklyDisabled>.blocklyPathDark{display:block!important;fill-opacity:.5}.blocklyDisabled .blocklyNonEditableText .blocklyBlockBackground{fill-opacity:.1!important}.passiveBlockFocus.blocklyPath{stroke-dasharray:5 3;stroke-width:3;stroke:#ffa200}.passiveNextIndicator{stroke:#ffa200;fill:#ffa200}.inputActiveFocus{stroke-width:3;stroke:#ffa200}.blocklyScrollbarBackground{fill:none}.blocklyScrollbarHandle{fill:var(--pxt-target-stencil1);opacity:1}.blocklyScrollbarBackground:active+.blocklyScrollbarHandle,.blocklyScrollbarBackground:hover+.blocklyScrollbarHandle,.blocklyScrollbarHandle:active,.blocklyScrollbarHandle:hover{stroke-width:3;stroke:var(--pxt-target-stencil1)}.blocklyWidgetDiv .blocklyContextMenu{background:var(--pxt-neutral-background1);color:var(--pxt-neutral-foreground1);border:1px solid var(--pxt-neutral-stencil1);box-shadow:0 1px 2px 0 var(--pxt-neutral-alpha20)!important;padding:0!important}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem{margin:0!important;padding:.92857143em 1.14285714em!important;font:normal 13px Roboto,Helvetica Neue,Helvetica,Arial,sans-serif!important;background:var(--pxt-neutral-background1);color:var(--pxt-neutral-foreground1)}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem.blocklyMenuItemDisabled{color:var(--pxt-neutral-alpha20)}.blocklyWidgetDiv .blocklyContextMenu .blocklyMenuItem.blocklyMenuItemHighlight,.blocklyWidgetDiv .blocklyContextMenu .goog-menuitem-hover{border:none!important;padding:.92857143em 1.14285714em!important;background:var(--pxt-neutral-background1-hover)!important;color:var(--pxt-neutral-foreground1-hover)}.blocklyDeleteIcon{display:block}.blocklyComment .blocklyTextarea{border:none;color:#575e75}.blockly-ws-searching path.blocklyPath:not(.blockly-ws-search-highlight-pxt){opacity:.6}.blockly-ws-searching path.blocklyPath.blockly-ws-search-highlight-pxt.blockly-ws-search-current{stroke:#fff200;stroke-width:4px;transition:none}@media only screen and (max-width:767px){text.blocklyCheckbox{font-size:17pt!important}}.injectionDiv{--blockly-active-node-color:#fff200;--blockly-active-tree-color:var(--pxt-target-foreground1);--blockly-active-workspace-comment-color:var(--pxt-target-foreground1);--blockly-selection-width:3px}div.blocklyTreeRoot>div[role=tree]:focus-visible{outline:none}.blocklyKeyboardNavigation div.blocklyTreeRoot>div[role=tree]:focus-visible{outline:var(--blockly-selection-width) solid var(--blockly-active-tree-color);outline-offset:calc(var(--blockly-selection-width)*-1)}.blocklyKeyboardNavigation .blocklyActiveFocus.blocklyField>.blocklyFieldRect.blocklySpriteField,.blocklyKeyboardNavigation .blocklyActiveFocus.blocklyIconGroup>:is(.blocklyBreakpointSymbol){stroke:var(--blockly-active-node-color);stroke-width:var(--blockly-selection-width)}.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyField>.blocklyFieldRect.blocklySpriteField,.blocklyKeyboardNavigation .blocklyPassiveFocus.blocklyIconGroup>:is(.blocklyBreakpointSymbol){stroke:var(--blockly-active-node-color);stroke-dasharray:5px 3px;stroke-width:var(--blockly-selection-width)}.blocklyKeyboardNavigation .blocklyIconGroup:is(.blocklyActiveFocus,.blocklyPassiveFocus){opacity:1}.blocklyKeyboardNavigation .injectionDiv .blocklyToolbox:has(.blocklyActiveFocus){outline:none}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutButton.blocklyActiveFocus,.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus{outline:none}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutButton.blocklyActiveFocus>.blocklyFlyoutButtonBackground,.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus>.blocklyFlyoutLabelBackground{outline-offset:2px;outline:var(--blockly-selection-width) solid var(--blockly-active-node-color);border-radius:2px}.blocklyKeyboardNavigation .blocklyFlyout .blocklyFlyoutLabel.blocklyActiveFocus>.blocklyFlyoutLabelBackground{opacity:1;fill:transparent}.blocklyKeyboardNavigation .blocklyImageField:focus-visible{outline:none}.blocklyKeyboardNavigation .blocklyImageField:is(.blocklyActiveFocus,.blocklyPassiveFocus)>image{outline:var(--blockly-selection-width) solid var(--blockly-active-node-color);border-radius:2px;outline-offset:2px}.blocklyKeyboardNavigation .blocklyImageField.blocklyPassiveFocus>image{outline-style:dashed}.blocklyKeyboardNavigation .blocklyComment.blocklyActiveFocus .blocklyCommentHighlight{stroke:var(--blockly-active-workspace-comment-color);stroke-width:4px}.blocklyCommentTopbar .blocklyActiveFocus{outline:2px solid var(--blockly-active-workspace-comment-color);border-radius:2px;outline-offset:-1px}text.blocklyText{font-weight:600;text-rendering:optimizeLegibility;-webkit-font-smoothing:subpixel-antialiased;-webkit-font-smoothing:antialiased}.blocklyGridPickerTooltip{padding:3px 5px;background-color:#fefefe;border:3px solid #000;color:#000;border-radius:10px}.blocklyLedOn{stroke:#fff;stroke-width:1px}
|