From b7940fd1564a074428976be0d2deb098571f01e8 Mon Sep 17 00:00:00 2001 From: Emma Dauterman Date: Fri, 26 Aug 2016 11:44:15 -0700 Subject: [PATCH] Blockly Factory: Shadow Block UI (#602) * Fixed bug of open flyout not updating by closing flyout, also changed shadow block editing UI to be a block that changes between add shadow and remove shadow * Removed unncessary CSS rule --- demos/blocklyfactory/factory.css | 11 +++ demos/blocklyfactory/index.html | 11 +-- .../workspacefactory/wfactory_controller.js | 3 + .../workspacefactory/wfactory_init.js | 94 ++++++++++--------- 4 files changed, 66 insertions(+), 53 deletions(-) diff --git a/demos/blocklyfactory/factory.css b/demos/blocklyfactory/factory.css index dad8922c3..6118816f0 100644 --- a/demos/blocklyfactory/factory.css +++ b/demos/blocklyfactory/factory.css @@ -467,6 +467,17 @@ td { margin-top: 2%; } +#disable_div { + background-color: white; + height: 100%; + left: 0; + opacity: .5; + position: absolute; + top: 0; + width: 100%; + z-index: -1; /* Start behind workspace */ +} + /* Rules for Closure popup color picker */ .goog-palette { outline: none; diff --git a/demos/blocklyfactory/index.html b/demos/blocklyfactory/index.html index 8a5e8fd23..6c5aadf5e 100644 --- a/demos/blocklyfactory/index.html +++ b/demos/blocklyfactory/index.html @@ -212,15 +212,8 @@ - + +