Monotone-Parent: df4778e039713e54437f14fe959b57a6b17ad3b8

Monotone-Revision: 46caa33c7bfe3da9c781178b812750be8722aade

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-08-04T14:58:40
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2006-08-04 14:58:40 +00:00
parent f8a398dcf7
commit e0b9bc7a19
7 changed files with 48 additions and 67 deletions

View File

@ -14,7 +14,7 @@
<div id="mailboxContent" style="visibility: hidden;">
</div>
<div id="mailboxDragHandle"
<div class="dragHandle" id="mailboxDragHandle"
style="visibility: hidden;"
onmousedown="startHandleDragging(event);"
onmousemove=""

View File

@ -12,7 +12,7 @@
<div id="mailboxContent" style="visibility: hidden;">
</div>
<div id="mailboxDragHandle"
<div class="dragHandle" id="mailboxDragHandle"
style="visibility: hidden;"
onmousedown="startHandleDragging(event);"
onmousemove=""

View File

@ -15,7 +15,7 @@
<var:component-content/>
</div>
<div id="mailboxDragHandle"
<div class="dragHandle" id="mailboxDragHandle"
onmousedown="startHandleDragging(event);"
onmousemove=""
ondblclick="dragHandleDoubleClick(event);"
@ -28,7 +28,6 @@
<script type="text/javascript">
initMailboxSelection('<var:string value="mailFolderName" />');
initMailboxAppearance();
</script>
</var:if>

View File

@ -316,7 +316,7 @@
/>
</div>
<div id="dragHandle"
<div class="dragHandle" id="dragHandle"
onmousedown="startHandleDragging(event);"
onmousemove=""
ondblclick="dragHandleDoubleClick(event);"

View File

@ -23,6 +23,18 @@
BODY
{ overflow: hidden; }
DIV.folderTree
{
position: absolute;
top: 5.5em;
left: 0px;
width: 14.7em;
bottom: 0px;
margin: 0px;
padding: 0px;
overflow: hidden;
}
DIV#mailerPageContent
{
position: absolute;
@ -40,7 +52,7 @@ DIV#mailboxContent
{
position: absolute;
width: 100%;
height: 50%;
height: 18em;
left: 0px;
top: 0px;
right: 0px;
@ -51,6 +63,7 @@ DIV#messageContent
position: absolute;
overflow: auto;
font-size: small;
top: 18.1em;
bottom: 0px;
width: 100%;
border-top: 1px solid #aaa;
@ -58,9 +71,16 @@ DIV#messageContent
background: #fff;
}
DIV.mailerPageContent DIV#messageContent
{
top: 51%;
DIV#folderTreeContent
{
position: absolute;
color: #000;
background: #fff;
width: 100%;
top: 2em;
bottom: 0px;
overflow: auto;
border: 1px solid #fff;
}
DIV#messageContent P
@ -192,30 +212,6 @@ table.titletable td.titlecell SELECT
padding: 4px;
}
DIV.folderTree
{
position: absolute;
top: 5.5em;
left: 0px;
width: 14.7em;
bottom: 0px;
margin: 0px;
padding: 0px;
overflow: hidden;
}
DIV#folderTreeContent
{
position: absolute;
color: #000;
background: #fff;
width: 100%;
top: 2em;
bottom: 0px;
overflow: auto;
border: 1px solid #fff;
}
.treecell
{
color: black;
@ -503,11 +499,12 @@ TABLE#addr_table
TABLE#messageList
{
display: block;
position: relative;
position: absolute;
color: #000;
background: #fff;
width: 100%;
height: 100%;
top: 2em;
bottom: 5px;
overflow: auto;
}
@ -558,39 +555,24 @@ INPUT#searchValue
INPUT#searchValue:focus
{ color: #000; }
/* drag handles */
DIV#dragHandle
{
{
cursor: e-resize;
position: absolute;
z-index: 1;
top: 7.5em;
left: 14.6em;
width: .4em;
bottom: 0px;
background: #dbdad5;
}
DIV#dragHandle:active
{
-moz-opacity: 0.5;
}
DIV#mailboxDragHandle
{
cursor: n-resize;
position: absolute;
background: #dbdad5;
z-index: 1;
top: 50%;
top: 17.7em;
left: 0px;
right: 0px;
height: .4em;
}
DIV#mailboxDragHandle:active
{
-moz-opacity: 0.5;
height: 5px;
}
PRE.textMessageViewer

View File

@ -1077,19 +1077,6 @@ function initMailboxSelection(mailboxName)
}
}
function initMailboxAppearance()
{
var mailboxContent = document.getElementById('mailboxContent');
var messageContent = document.getElementById('messageContent');
var mailboxDragHandle = document.getElementById('mailboxDragHandle');
mailboxContent.style.height = (mailboxDragHandle.offsetTop
- mailboxContent.offsetTop + 'px;');
messageContent.style.top = (mailboxDragHandle.offsetTop
+ mailboxDragHandle.offsetHeight
+ 'px;');
}
function onHeaderClick(node)
{
var href = node.getAttribute("href");

View File

@ -608,3 +608,16 @@ td.tbtv_headercell img.tbtv_sortcell
height: 12px;
}
/* drag handles */
DIV.dragHandle
{
position: absolute;
z-index: 1;
background: #dbdad5;
}
DIV.dragHandle:active
{
-moz-opacity: 0.5;
background: #222;
}