Move splitter between the boxes of message list and message preview

pull/17/head
Thomas Bruederli 12 years ago
parent ae2e88bc0e
commit 3a8633cdc3

@ -48,12 +48,6 @@
height: 26px;
}
#mailviewsplitter {
right: 30px;
width: 30px;
left: auto !important;
}
#folderlist-header {
width: 100%;
height: 12px;
@ -325,11 +319,11 @@ a.iconbutton.threadmode.selected {
position: absolute;
right: 256px;
width: auto;
top: 8px;
top: 7px;
}
#searchfilter select {
height: 24px;
height: 26px;
}
#mailview-left select.mailboxlist {

@ -5,8 +5,8 @@
<roundcube:include file="/includes/links.html" />
<style type="text/css">
<roundcube:if condition="config:preview_pane == true" />
#mailview-top { height: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter-45 : 300" />px; }
#mailview-bottom { top: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+5 : 320" />px; height: auto; }
#mailview-top { height: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter-48 : 276" />px; }
#mailview-bottom { top: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+6 : 330" />px; height: auto; }
#mailpreviewframe { display: block; }
<roundcube:endif />
</style>

@ -110,7 +110,7 @@ function rcube_mail_ui()
$('#mailthreadmode').addClass(rcmail.env.threading ? 'selected' : '').click(function(e){ switch_view_mode('thread'); return false });
mailviewsplit = new rcube_splitter({ id:'mailviewsplitter', p1:'#mailview-top', p2:'#mailview-bottom',
orientation:'h', relative:true, start:310, min:150, size:6, offset:-18 });
orientation:'h', relative:true, start:310, min:150, size:12, offset:4 });
if (previewframe)
mailviewsplit.init();
@ -173,7 +173,7 @@ function rcube_mail_ui()
}
var select = $(this),
height = Math.max(select.height(), 24) - 2,
height = Math.max(select.height(), 26) - 2,
width = select.width() - 22,
title = $('option', this).first().text();
@ -316,8 +316,7 @@ function rcube_mail_ui()
function resize_leftcol(splitter)
{
if (0&&splitter)
$('#quicksearchbar input').css('width', (splitter.pos - 70) + 'px');
// STUB
}

Loading…
Cancel
Save