diff --git a/resources/library/interactivities/Contraste.wgt/css/basic.css b/resources/library/interactivities/Contraste.wgt/css/basic.css index 6ca92f51..451e6ce0 100644 --- a/resources/library/interactivities/Contraste.wgt/css/basic.css +++ b/resources/library/interactivities/Contraste.wgt/css/basic.css @@ -60,6 +60,7 @@ body{ .shadowDiv{ width: 100%; + height: 100%; display: none; opacity: 0.7; background-color: black; @@ -67,7 +68,10 @@ body{ -webkit-border-radius: 3px; border-radius: 3px; border-radius: 3px; - z-index: 100; + z-index: 400; + position: absolute; + top: 0; + left: 0; } .popupBack{ @@ -126,8 +130,6 @@ body{ } .readyTask{ - margin: 2px; - padding: 2px; width: 100%; height: 100%; overflow: hidden; @@ -167,9 +169,11 @@ body{ height: 65%; cursor: e-resize; position: absolute; - background: none; + background-image: url(../images/trgRight.png); + background-position: center; + background-repeat: no-repeat; right: -10px; - top: 20%; + top: 18%; } .bottomResize{ @@ -177,9 +181,11 @@ body{ height: 10px; cursor: n-resize; position: absolute; - background: none; + background-image: url(../images/trgDown.png); + background-position: center; + background-repeat: no-repeat; bottom: -10px; - left: 20%; + left: 18%; } /*new design*/ diff --git a/resources/library/interactivities/Contraste.wgt/images/trgDown.png b/resources/library/interactivities/Contraste.wgt/images/trgDown.png new file mode 100644 index 00000000..632be5fb Binary files /dev/null and b/resources/library/interactivities/Contraste.wgt/images/trgDown.png differ diff --git a/resources/library/interactivities/Contraste.wgt/images/trgRight.png b/resources/library/interactivities/Contraste.wgt/images/trgRight.png new file mode 100644 index 00000000..05646be0 Binary files /dev/null and b/resources/library/interactivities/Contraste.wgt/images/trgRight.png differ diff --git a/resources/library/interactivities/Contraste.wgt/locales/fr/scripts/blackYellow.js b/resources/library/interactivities/Contraste.wgt/locales/fr/scripts/blackYellow.js index 7f0cfb19..7cfdea27 100644 --- a/resources/library/interactivities/Contraste.wgt/locales/fr/scripts/blackYellow.js +++ b/resources/library/interactivities/Contraste.wgt/locales/fr/scripts/blackYellow.js @@ -81,9 +81,9 @@ function init(){ .css("top",importArray[i].top) .css("left",importArray[i].left); tmpReadyTask.appendTo("#data"); - } - } - $(document).disableTextSelect(); + } + $(document).disableTextSelect(); + } } /* ------------- BUTTONS -------------*/ @@ -182,10 +182,16 @@ function init(){ }); $("#wgt_add").click(function(){ - shadowDiv.show("fast", function(){ - shadowOver = true; - popupBack.show("slow"); - }); + if($("#wgt_help").hasClass("open")){ + $("#help").slideUp("100", function(){ + $("#wgt_help").removeClass("open"); + $("#data").show(); + }); + } + shadowDiv.show() + shadowOver = true; + popupBack.show("slow"); + $(document).disableTextSelect(); }); @@ -203,7 +209,7 @@ function init(){ var rightDiv = $("