pxt-core 13.2.13 → 13.2.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-core",
3
- "version": "13.2.13",
3
+ "version": "13.2.15",
4
4
  "description": "Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors",
5
5
  "keywords": [
6
6
  "TypeScript",
package/theme/common.less CHANGED
@@ -1768,10 +1768,10 @@ p.ui.font.small {
1768
1768
 
1769
1769
  #root.headless.transparentEditorTools {
1770
1770
  #editortools {
1771
+ position: absolute;
1771
1772
  left: auto;
1772
1773
  height: 5.7rem;
1773
1774
  margin-right: 1rem;
1774
- bottom: var(--extra-mobile-sim-padding);
1775
1775
  }
1776
1776
 
1777
1777
  #editortools #downloadArea,
@@ -105,7 +105,7 @@
105
105
  border-radius: .5rem;
106
106
  background: var(--tools-surface);
107
107
  }
108
- .common-input { font: inherit; color: var(--tools-foreground); }
108
+ .common-input { font: inherit; color: var(--tools-foreground); border-radius: inherit; }
109
109
  .common-input::placeholder { color: var(--tools-foreground); opacity: .7; }
110
110
  .common-input-group:focus-within::after { border-radius: .5rem; }
111
111
 
@@ -298,6 +298,10 @@
298
298
  background: var(--pxt-neutral-background1);
299
299
  font: inherit;
300
300
 
301
+ &::selection {
302
+ color: var(--pxt-neutral-foreground1);
303
+ }
304
+
301
305
  &:focus-visible {
302
306
  outline: 3px solid var(--pxt-focus-border);
303
307
  outline-offset: 2px;
@@ -51,7 +51,7 @@
51
51
  position: fixed;
52
52
  width: var(--tools-bubble-size);
53
53
  inset-inline-end: 1rem;
54
- top: calc(var(--tools-menu-height) + var(--tools-banner-height) + 1rem);
54
+ top: calc(var(--tools-menu-height) + var(--tools-banner-height) + var(--editor-offset, 0px) + 1rem);
55
55
  // Keep bubble labels above the panel.
56
56
  z-index: (@sidedocZIndex + 1);
57
57
  }
@@ -137,7 +137,7 @@
137
137
 
138
138
  .project-tools-panel {
139
139
  --tools-pointer-offset: calc(var(--tools-bubble-size) * (var(--tools-tab-index) + 1.5) + var(--tools-bubble-gap) * (var(--tools-tab-index) + 1));
140
- --tools-panel-top: calc(var(--tools-menu-height) + var(--tools-banner-height) + 1rem);
140
+ --tools-panel-top: calc(var(--tools-menu-height) + var(--tools-banner-height) + var(--editor-offset, 0px) + 1rem);
141
141
  --tools-panel-bottom: calc(@editorToolsCollapsedHeight + 1rem);
142
142
  --tools-available-width: calc(100vw - 6rem);
143
143
  --tools-default-width: @sideBarWidth;
@@ -460,7 +460,7 @@
460
460
  &[dir="rtl"] { --tools-slide-x: -1; }
461
461
 
462
462
  .project-tools-launcher {
463
- top: calc(var(--tools-menu-height) + var(--tools-banner-height) + .5rem);
463
+ top: calc(var(--tools-menu-height) + var(--tools-banner-height) + var(--editor-offset, 0px) + .5rem);
464
464
  inset-inline-end: .5rem;
465
465
  }
466
466
  .project-tools-bubbles {
@@ -483,7 +483,7 @@
483
483
  }
484
484
  .project-tools-panel {
485
485
  --tools-pointer-offset: calc(var(--tools-bubble-size) * (var(--tools-tab-count) - var(--tools-tab-index) + .5) + var(--tools-bubble-gap) * (var(--tools-tab-count) - var(--tools-tab-index)));
486
- --tools-panel-top: calc(var(--tools-menu-height) + var(--tools-banner-height) + 4.75rem);
486
+ --tools-panel-top: calc(var(--tools-menu-height) + var(--tools-banner-height) + var(--editor-offset, 0px) + 4.75rem);
487
487
  --tools-available-width: calc(100vw - 1rem);
488
488
  // Include the outer gutter in the default width.
489
489
  --tools-launcher-space: .5rem;
@@ -21,6 +21,10 @@
21
21
  height: 100%;
22
22
  }
23
23
 
24
+ #root.hideBlocklyCategories .blocklyToolbox {
25
+ visibility: hidden;
26
+ }
27
+
24
28
  .blocklyToolbox text,
25
29
  .monacoToolboxDiv text,
26
30
  span.blocklyTreeIcon {