summaryrefslogtreecommitdiff
path: root/skins
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:20:52 +0200
commitc8dc07e4ddadc0020e20392021ec44841b767237 (patch)
tree55234782e7860497363a0262115194c1b025ffaa /skins
parent14ee44e0917fbf4f2856485c668b31a7eb6c2460 (diff)
Move splitter between the boxes of message list and message preview
Diffstat (limited to 'skins')
-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 eb2908997..27cc768b0 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 884ee55be..906ea6e7f 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -108,7 +108,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();
@@ -171,7 +171,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();
@@ -314,8 +314,7 @@ function rcube_mail_ui()
function resize_leftcol(splitter)
{
- if (0&&splitter)
- $('#quicksearchbar input').css('width', (splitter.pos - 70) + 'px');
+ // STUB
}