From 4d2da1f36c91a66817049809840c51d1990c0a46 Mon Sep 17 00:00:00 2001 From: Otto Zaiser <zaisero@nic.ar> Date: Thu, 6 Sep 2018 18:11:30 -0300 Subject: [PATCH] =?UTF-8?q?Peque=C3=B1os=20cambios=20de=20fade=20in=20y=20?= =?UTF-8?q?transitions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GUI/lib/css/style.css | 1 + GUI/lib/js/index.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/GUI/lib/css/style.css b/GUI/lib/css/style.css index 9e9eed1..a5f9272 100644 --- a/GUI/lib/css/style.css +++ b/GUI/lib/css/style.css @@ -14,6 +14,7 @@ body{ text-align: center; -webkit-border-radius: 5px; border-radius: 5px; + transition: 0.3s; } .dropArea:hover{ background-color: #f0f7ff; diff --git a/GUI/lib/js/index.js b/GUI/lib/js/index.js index 76ffc16..6010a41 100644 --- a/GUI/lib/js/index.js +++ b/GUI/lib/js/index.js @@ -35,7 +35,7 @@ function drop(e){ e.preventDefault(); $('#ots_div').html('<img src="' + loader_gif + '">'); - $('#ots_div').show(); + $('#ots_div').fadeIn('fast'); var file = e.dataTransfer.items[0].getAsFile(); @@ -61,7 +61,7 @@ function drop(e){ var ots = ' {"file_hash": "' + file_hash + '", "ots": "' + response.temporay_ots + '"}'; $('#ots_div').html(ots); - $('#ots_div').show(); + $('#ots_div').fadeIn('fast'); } }); -- GitLab