diff -urN ../roundcubemail-1.4.10.orig/skins/larry/includes/links.html ./skins/larry/includes/links.html
--- ../roundcubemail-1.4.10.orig/skins/larry/includes/links.html 2020-12-27 23:42:19.000000000 +0200
+++ ./skins/larry/includes/links.html 2021-01-17 22:03:11.720430000 +0200
@@ -2,6 +2,7 @@
+
.css" />
diff -urN ../roundcubemail-1.4.10.orig/skins/larry/includes/mailtoolbar.html ./skins/larry/includes/mailtoolbar.html
--- ../roundcubemail-1.4.10.orig/skins/larry/includes/mailtoolbar.html 2020-12-27 23:42:19.000000000 +0200
+++ ./skins/larry/includes/mailtoolbar.html 2021-01-17 22:03:11.720445000 +0200
@@ -15,8 +15,8 @@
-
-
+
+
diff -urN ../roundcubemail-1.4.10.orig/skins/larry/ui.js ./skins/larry/ui.js
--- ../roundcubemail-1.4.10.orig/skins/larry/ui.js 2020-12-27 23:42:19.000000000 +0200
+++ ./skins/larry/ui.js 2021-01-17 22:03:01.016400000 +0200
@@ -359,7 +359,8 @@
// set min-width to show all toolbar buttons
var screen = $('body.minwidth');
if (screen.length) {
- screen.css('min-width', $('.toolbar').width() + $('#quicksearchbar').width() + $('#searchfilter').width() + 30);
+// screen.css('min-width', $('.toolbar').width() + $('#quicksearchbar').width() + $('#searchfilter').width() + 30);
+ screen.css('min-width', $('.toolbar').width() + 30);
}
// don't use $(window).resize() due to some unwanted side-effects
@@ -384,6 +385,27 @@
layout_messageview();
else if (rcmail.env.action == 'compose')
layout_composeview();
+ else {
+ var screen = $('body.minwidth');
+ if (screen.length) {
+ var toolbar = $('.toolbar');
+ var quicksearchbar = $('#quicksearchbar');
+ var searchfilter = $('#searchfilter');
+ var mainscreencontent = $('#mainscreencontent');
+ screen.css('min-width', $(toolbar).width() + 30);
+ var mainscreen = $('#mainscreen');
+ $(mainscreen).css('min-width', ($(toolbar).width() + 30) - $(mainscreen).css('left').replace('px', '') - $(mainscreen).css('right').replace('px', ''));
+ if ($(screen).width() > $(toolbar).width() + $(quicksearchbar).width() + $(searchfilter).width() + 30) {
+ $(searchfilter).css('top', '2px');
+ $(quicksearchbar).css('top', '2px');
+ $(mainscreencontent).css('top', '42px');
+ } else {
+ $(searchfilter).css('top', '40px').css('visibility', 'visible');
+ $(quicksearchbar).css('top', '40px').css('visibility', 'visible');
+ $(mainscreencontent).css('top', '75px');
+ }
+ }
+ }
}
// make iframe footer buttons float if scrolling is active
@@ -1297,6 +1319,7 @@
.attr('role', 'presentation')
.addClass('splitter ' + (this.horizontal ? 'splitter-h' : 'splitter-v'))
.appendTo(this.parent)
+ .on('touchstart', onDragStart)
.mousedown(onDragStart);
if (this.horizontal) {
@@ -1377,6 +1400,10 @@
me.p2pos = me.relative ? me.p2.position() : me.p2.offset();
me.drag_active = true;
+ if (e.type == 'touchstart')
+ // start listening to touchmove events
+ $(document).on('touchmove.' + this.id, onDrag).on('touchend.' + this.id, onDragStop);
+ else if (e.type == 'mousedown')
// start listening to mousemove events
$(document).on('mousemove.' + this.id, onDrag).on('mouseup.' + this.id, onDragStop);
@@ -1418,7 +1445,8 @@
*/
function onDragAction(e)
{
- var pos = rcube_event.get_mouse_pos(e);
+// var pos = rcube_event.get_mouse_pos(e);
+ var pos = (e.type == 'touchmove' ? rcube_event.get_touch_pos(e) : rcube_event.get_mouse_pos(e));
if (me.relative) {
var parent = me.parent.offset();
diff -urN ../roundcubemail-1.4.10.orig/skins/larry/ui.min.js ./skins/larry/ui.min.js
--- ../roundcubemail-1.4.10.orig/skins/larry/ui.min.js 2020-12-27 23:42:19.000000000 +0200
+++ ./skins/larry/ui.min.js 2021-01-18 03:27:56.467373000 +0200
@@ -1,67 +1 @@
-/**
- * Roundcube functions for default skin interface
- *
- * Copyright (c) The Roundcube Dev Team
- *
- * The contents are subject to the Creative Commons Attribution-ShareAlike
- * License. It is allowed to copy, distribute, transmit and to adapt the work
- * by keeping credits to the original autors in the README file.
- * See http://creativecommons.org/licenses/by-sa/3.0/ for details.
- *
- * @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
- */
-/*
- magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0-1.0
-*/
-function rcube_mail_ui(){function f(a){p||(p=rcmail.local_storage_get_item("prefs.larry",{}));if(null==p[a]){var c=rcmail.get_cookie(a);null!=c&&(p[a]=c,rcmail.local_storage_set_item("prefs.larry",p)&&rcmail.set_cookie(a,c,new Date))}return p[a]}function q(a,c){p[a]=c;if(!rcmail.local_storage_set_item("prefs.larry",p)){var d=new Date;d.setYear(d.getFullYear()+1);rcmail.set_cookie(a,c,d)}}function r(a){a=a?10:0;rcmail.resize_timeout&&window.clearTimeout(rcmail.resize_timeout);rcmail.resize_timeout=
-window.setTimeout(function(){"mail"==rcmail.env.task&&("show"==rcmail.env.action||"preview"==rcmail.env.action?b():"compose"==rcmail.env.action&&s());$("body.iframe .footerleft").each(function(){var a=$(this),d=$(document.body),l=a.hasClass("floating"),b=d.outerHeight(!0)>$(window).height();b!=l&&(l=b?"addClass":"removeClass",a[l]("floating"),d[l]("floatingbuttons"))})},a)}function g(a){var c=$(a.object).siblings("div");c.length&&$(a.object).insertBefore(c.first());if("error"==a.type&&"login"!=rcmail.env.task){rcmail.hide_message(a.object);
-m.message_timer&&window.clearTimeout(m.message_timer);m.messagedialog||(m.messagedialog=$("").addClass("popupdialog").hide());var c=a.message,d=function(){m.messagedialog.is(":visible")&&m.messagedialog.dialog("destroy").hide()};m.messagedialog.is(":visible")&&m.messagedialog.text()!=c&&(c=m.messagedialog.html()+"
"+a.message+"
");m.messagedialog.html(c).dialog({resizable:!1,closeOnEscape:!0,dialogClass:a.type,title:rcmail.gettext("errortitle"),close:d,hide:{effect:"fadeOut"},width:420,
-minHeight:90}).show();m.messagedialog.closest("div[role=dialog]").attr("role","alertdialog");0
.mailvelope");if(a.length){var c=$("#messagecontent").length?$("#messagecontent").height()-16:$(window).height()-a.offset().top-2;a.height(c)}}function e(a){}function k(a){}function G(){var a,c,d,l=["cc","bcc","replyto","followupto"];for(a=0;a div").width(c+
-8),$("#composebody_ifr").height(d+4-$("div.mce-toolbar").height()),$("#googie_edit_layer").width(c).height(d),a=$("#directorylist"),a.length&&$("#compose-contacts .scroller").css("top",a.position().top+a.outerHeight()))}function C(a){var c=$("#quotadisplay"),d=$("#quotamenu"),b=a.total?24*Math.ceil(a.percent/100*20):0;a.total&&480==b&&100>a.percent&&(b-=24);c.css("background-position","0 -"+b+"px");c.attr("class","countdisplay p"+10*Math.round(a.percent/10));a.table&&(d.length||(d=$('