summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-07-05 19:20:52 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-07-05 19:23:09 +0200
commit3a8633cdc3c2b07450f25a5f1d23c310d492a9dd (patch)
tree860dcf7475e963fdbccb00f1889ea97cc09076e4
parentae2e88bc0e0883b750fb614f3c95e7c3f6200b63 (diff)
Move splitter between the boxes of message list and message preview
-rw-r--r--skins/larry/mail.css10
-rw-r--r--skins/larry/templates/mail.html4
-rw-r--r--skins/larry/ui.js7
3 files changed, 7 insertions, 14 deletions
diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index 3804d80f4..437c8f15c 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -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 {
diff --git a/skins/larry/templates/mail.html b/skins/larry/templates/mail.html
index 404a8ad32..01a59861c 100644
--- a/skins/larry/templates/mail.html
+++ b/skins/larry/templates/mail.html
@@ -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>
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 7c66e01ae..4872a1004 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -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
}