do the chat resize without hiding the pad text

This commit is contained in:
Peter 'Pita' Martischka 2011-08-10 18:18:50 +01:00
parent d812557445
commit 13c10013b9
3 changed files with 18 additions and 2 deletions

View File

@ -1072,3 +1072,16 @@ margin-top: 1px;
{ {
width:27px !important; 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;
}

View File

@ -15,11 +15,11 @@ var chat = (function()
handles: 'nw', handles: 'nw',
start: function (event, ui) start: function (event, ui)
{ {
$("#editorcontainer").hide(); $("#focusprotector").show();
}, },
stop: function (event, ui) stop: function (event, ui)
{ {
$("#editorcontainer").show(); $("#focusprotector").hide();
$("#chatbox").css({right: "20px", bottom: "0px", left: "", top: ""}); $("#chatbox").css({right: "20px", bottom: "0px", left: "", top: ""});

View File

@ -265,10 +265,13 @@ Use this link to share a read-only version of your pad:<input id="readonlyInput"
</div> </div>
</div> </div>
<div id="focusprotector">&nbsp;</div>
<!-- /padeditor --> <!-- /padeditor -->
<div id="modaloverlay"> <div id="modaloverlay">
<div id="modaloverlay-inner"> <div id="modaloverlay-inner">
<!-- --> <!-- -->
</div> </div>
</div> </div>
<div id="mainmodals"> <div id="mainmodals">