diff --git a/VAR.Focus.Web/Scripts/05. Cards.js b/VAR.Focus.Web/Scripts/05. Cards.js index edc6d26..0ce8c9a 100644 --- a/VAR.Focus.Web/Scripts/05. Cards.js +++ b/VAR.Focus.Web/Scripts/05. Cards.js @@ -398,6 +398,7 @@ Card.prototype = { this.btnDelete.style.display = "none"; this.btnLock.style.display = "none"; this.btnUnlock.style.display = ""; + this.divOverlay.className = "divOverlayTouchable"; this.divOverlay.removeEventListener("mousedown", this.divOverlay_MouseDownBinded, false); this.divOverlay.removeEventListener("touchstart", this.divOverlay_TouchStartBinded, false); this.divResize.style.display = "none"; @@ -406,6 +407,7 @@ Card.prototype = { this.btnDelete.style.display = ""; this.btnLock.style.display = ""; this.btnUnlock.style.display = "none"; + this.divOverlay.className = "divOverlay"; this.divOverlay.addEventListener("mousedown", this.divOverlay_MouseDownBinded, false); this.divOverlay.addEventListener("touchstart", this.divOverlay_TouchStartBinded, false); this.divResize.style.display = ""; @@ -1015,6 +1017,7 @@ Region.prototype = { this.btnDelete.style.display = "none"; this.btnLock.style.display = "none"; this.btnUnlock.style.display = ""; + this.divOverlay.className = "divOverlayTouchable"; this.divOverlay.removeEventListener("mousedown", this.divOverlay_MouseDownBinded, false); this.divOverlay.removeEventListener("touchstart", this.divOverlay_TouchStartBinded, false); this.divResize.style.display = "none"; @@ -1023,6 +1026,7 @@ Region.prototype = { this.btnDelete.style.display = ""; this.btnLock.style.display = ""; this.btnUnlock.style.display = "none"; + this.divOverlay.className = "divOverlay"; this.divOverlay.addEventListener("mousedown", this.divOverlay_MouseDownBinded, false); this.divOverlay.addEventListener("touchstart", this.divOverlay_TouchStartBinded, false); this.divResize.style.display = ""; diff --git a/VAR.Focus.Web/Styles/05. Cards.css b/VAR.Focus.Web/Styles/05. Cards.css index df45253..619c7df 100644 --- a/VAR.Focus.Web/Styles/05. Cards.css +++ b/VAR.Focus.Web/Styles/05. Cards.css @@ -125,6 +125,16 @@ touch-action: none; } + .divCard .divOverlayTouchable { + opacity: 0; + background-color: rgb(255,255,0); + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + } + .divCard .divResize { opacity: 0; background-color: rgb(255,0,255); @@ -243,6 +253,16 @@ touch-action: none; } + .divRegion .divOverlayTouchable { + opacity: 0; + background-color: rgb(255,255,0); + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + } + .divRegion .divResize { opacity: 0; background-color: rgb(255,0,255);