From 13c10013b9fb0276225d8b67bd9fae08e5a92155 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Wed, 10 Aug 2011 18:18:50 +0100 Subject: [PATCH] do the chat resize without hiding the pad text --- static/css/pad.css | 13 +++++++++++++ static/js/chat.js | 4 ++-- static/pad.html | 3 +++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/static/css/pad.css b/static/css/pad.css index 99a4268ea..163adc7cd 100644 --- a/static/css/pad.css +++ b/static/css/pad.css @@ -1072,3 +1072,16 @@ margin-top: 1px; { width:27px !important; } + +#focusprotector +{ + z-index: 100; + position: absolute; + bottom: 0px; + top: 0px; + left: 0px; + right: 0px; + background-color: white; + opacity:0.01; + display:none; +} diff --git a/static/js/chat.js b/static/js/chat.js index e3cfd5ad6..f617bdb32 100644 --- a/static/js/chat.js +++ b/static/js/chat.js @@ -15,11 +15,11 @@ var chat = (function() handles: 'nw', start: function (event, ui) { - $("#editorcontainer").hide(); + $("#focusprotector").show(); }, stop: function (event, ui) { - $("#editorcontainer").show(); + $("#focusprotector").hide(); $("#chatbox").css({right: "20px", bottom: "0px", left: "", top: ""}); diff --git a/static/pad.html b/static/pad.html index 72703331a..65944eee4 100644 --- a/static/pad.html +++ b/static/pad.html @@ -265,10 +265,13 @@ Use this link to share a read-only version of your pad: +
 
+
+