From 073d09e8f22114aaf653a8ae5237c1de7b0784a0 Mon Sep 17 00:00:00 2001
From: Paul Kaplan <pkaplan@media.mit.edu>
Date: Fri, 2 Nov 2018 16:41:31 -0400
Subject: [PATCH] Layer extension button and monitors below block drag surface

---
 src/css/z-index.css | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/css/z-index.css b/src/css/z-index.css
index 06e201565..377b3afc1 100644
--- a/src/css/z-index.css
+++ b/src/css/z-index.css
@@ -3,11 +3,12 @@
     In other words, z-index values that are "inside" a component are not added here.
     This prevents conflicts between identical z-index values in different components.
 */
+$z-index-toolbox: 40;
+$z-index-extension-button: 45;
+$z-index-monitor: 45; /* Below block drags, confined to stage, never meets extension button */
+$z-index-block-drag: 50;
 
-$z-index-extension-button: 50; /* Force extension button above the ScratchBlocks flyout */
-$z-index-menu-bar: 50; /* blocklyToolboxDiv is 40 */
-
-$z-index-monitor: 100;
+$z-index-menu-bar: 60;
 $z-index-stage-indicator: 110;
 $z-index-add-button: 120;
 $z-index-tooltip: 130; /* tooltips should go over add buttons if they overlap */
-- 
GitLab