From f5aecf055b88c5ac34e0bc9cb4aa76c866f4e620 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 31 Jan 2013 13:46:53 +0100 Subject: Only trigger timers when dragging is active --- skins/larry/ui.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'skins') diff --git a/skins/larry/ui.js b/skins/larry/ui.js index d2faa3611..d2638bbca 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -1,7 +1,7 @@ /** * Roundcube functions for default skin interface * - * Copyright (c) 2011, The Roundcube Dev Team + * Copyright (c) 2013, 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 @@ -940,11 +940,11 @@ function rcube_scroller(list, top, bottom) this.delay = 500; this.top - .mouseenter(function() { ref.ts = window.setTimeout(function() { ref.scroll('down'); }, ref.delay); }) + .mouseenter(function() { if (rcmail.drag_active) ref.ts = window.setTimeout(function() { ref.scroll('down'); }, ref.delay); }) .mouseout(function() { if (ref.ts) window.clearTimeout(ref.ts); }); this.bottom - .mouseenter(function() { ref.ts = window.setTimeout(function() { ref.scroll('up'); }, ref.delay); }) + .mouseenter(function() { if (rcmail.drag_active) ref.ts = window.setTimeout(function() { ref.scroll('up'); }, ref.delay); }) .mouseout(function() { if (ref.ts) window.clearTimeout(ref.ts); }); this.scroll = function(dir) -- cgit v1.2.3 From b7ea947844b97fe4cb0e2bd37b84d79fff8014f4 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 31 Jan 2013 13:48:56 +0100 Subject: Define a global style for tree lists --- skins/classic/common.css | 22 ++++++++++++++++++++++ skins/classic/mail.css | 26 -------------------------- skins/classic/templates/mail.html | 2 +- skins/larry/mail.css | 26 +++----------------------- skins/larry/styles.css | 26 ++++++++++++++++++++++++++ skins/larry/templates/mail.html | 2 +- 6 files changed, 53 insertions(+), 51 deletions(-) (limited to 'skins') diff --git a/skins/classic/common.css b/skins/classic/common.css index b4adc58a7..16edeedf6 100644 --- a/skins/classic/common.css +++ b/skins/classic/common.css @@ -622,6 +622,27 @@ table.records-table tr.unfocused td background-color: #929292; } +ul.treelist li div.treetoggle +{ + position: absolute; + left: 8px !important; + left: -16px; + top: 1px; + width: 14px; + height: 16px; + cursor: pointer; +} + +ul.treelist li div.collapsed +{ + background: url(images/icons/collapsed.png) bottom right no-repeat; +} + +ul.treelist li div.expanded +{ + background: url(images/icons/expanded.png) bottom right no-repeat; +} + /***** mac-style quicksearch field *****/ @@ -666,6 +687,7 @@ table.records-table tr.unfocused td font-size: 11px; padding: 0px; border: none; + outline: none; } /***** roundcube webmail pre-defined classes *****/ diff --git a/skins/classic/mail.css b/skins/classic/mail.css index 54673fe64..8be35aaa6 100644 --- a/skins/classic/mail.css +++ b/skins/classic/mail.css @@ -393,32 +393,6 @@ border-bottom: none; } -#mailboxlist li div -{ - position: absolute; - left: 8px !important; - left: -16px; - top: 1px; - width: 14px; - height: 16px; -} - -#mailboxlist li div.collapsed, -#mailboxlist li div.expanded -{ - cursor: pointer; -} - -#mailboxlist li div.collapsed -{ - background: url(images/icons/collapsed.png) bottom right no-repeat; -} - -#mailboxlist li div.expanded -{ - background: url(images/icons/expanded.png) bottom right no-repeat; -} - #mailboxlist li.inbox { background-position: 5px -18px; diff --git a/skins/classic/templates/mail.html b/skins/classic/templates/mail.html index 75a112ff5..c7010e87c 100644 --- a/skins/classic/templates/mail.html +++ b/skins/classic/templates/mail.html @@ -28,7 +28,7 @@
- +