diff -urN ../roundcubemail-1.4.11.orig/skins/larry/includes/links.html ./skins/larry/includes/links.html
--- ../roundcubemail-1.4.11.orig/skins/larry/includes/links.html 2021-02-08 21:29:41.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.11.orig/skins/larry/includes/mailtoolbar.html ./skins/larry/includes/mailtoolbar.html
--- ../roundcubemail-1.4.11.orig/skins/larry/includes/mailtoolbar.html 2021-02-08 21:29:41.000000000 +0200
+++ ./skins/larry/includes/mailtoolbar.html 2021-01-17 22:03:11.720445000 +0200
@@ -15,8 +15,8 @@
-
-
+
+
diff -urN ../roundcubemail-1.4.11.orig/skins/larry/ui.js ./skins/larry/ui.js
--- ../roundcubemail-1.4.11.orig/skins/larry/ui.js 2021-02-08 21:29:41.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.11.orig/skins/larry/ui.min.js ./skins/larry/ui.min.js
--- ../roundcubemail-1.4.11.orig/skins/larry/ui.min.js 2021-02-08 21:29:41.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 k(a){u||(u=rcmail.local_storage_get_item("prefs.larry",{}));if(null==u[a]){var c=rcmail.get_cookie(a);null!=c&&(u[a]=c,rcmail.local_storage_set_item("prefs.larry",u)&&rcmail.set_cookie(a,c,new Date))}return u[a]}function v(a,c){u[a]=c;if(!rcmail.local_storage_set_item("prefs.larry",u)){var b=new Date;b.setYear(b.getFullYear()+1);rcmail.set_cookie(a,c,b)}}function w(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?e():"compose"==rcmail.env.action&&x());$("body.iframe .footerleft").each(function(){var c=$(this),b=$(document.body),d=c.hasClass("floating"),f=b.outerHeight(!0)>$(window).height();f!=d&&(d=f?"addClass":"removeClass",c[d]("floating"),b[d]("floatingbuttons"))})},a)}function p(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);
-r.message_timer&&window.clearTimeout(r.message_timer);r.messagedialog||(r.messagedialog=$("").addClass("popupdialog").hide());c=a.message;var b=function(){r.messagedialog.is(":visible")&&r.messagedialog.dialog("destroy").hide()};r.messagedialog.is(":visible")&&r.messagedialog.text()!=c&&(c=r.messagedialog.html()+"
"+a.message+"
");r.messagedialog.html(c).dialog({resizable:!1,closeOnEscape:!0,dialogClass:a.type,title:rcmail.gettext("errortitle"),close:b,hide:{effect:"fadeOut"},width:420,
-minHeight:90}).show();r.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 g(a){}function n(a){}function t(){var a,c=["cc","bcc","replyto","followupto"];for(a=0;a div").width(c+
-8);$("#composebody_ifr").height(b+4-$("div.mce-toolbar").height());$("#googie_edit_layer").width(c).height(b);a=$("#directorylist");a.length&&$("#compose-contacts .scroller").css("top",a.position().top+a.outerHeight())}}function J(a){var c=$("#quotadisplay"),b=$("#quotamenu"),d=a.total?24*Math.ceil(a.percent/100*20):0;a.total&&480==d&&100>a.percent&&(d-=24);c.css("background-position","0 -"+d+"px");c.attr("class","countdisplay p"+10*Math.round(a.percent/10));a.table&&(b.length||(b=$('