diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-30 07:48:15 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-30 07:48:15 +0000 |
| commit | 316e2a51c184f0ee323450cdf0a4a8b13bc9d90d (patch) | |
| tree | 9206fa545a79ec90bf4901fe341843052c83c465 /roundcubemail/skins/default | |
| parent | a52aba3c07aa75390a52fc88393fbba3e7bb2821 (diff) | |
- 'threads' column made movable
git-svn-id: https://svn.roundcube.net/trunk@3688 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/skins/default')
| -rw-r--r-- | roundcubemail/skins/default/functions.js | 10 | ||||
| -rw-r--r-- | roundcubemail/skins/default/mail.css | 10 |
2 files changed, 13 insertions, 7 deletions
diff --git a/roundcubemail/skins/default/functions.js b/roundcubemail/skins/default/functions.js index e9b03a125..e1edee1e8 100644 --- a/roundcubemail/skins/default/functions.js +++ b/roundcubemail/skins/default/functions.js @@ -148,7 +148,7 @@ show_popupmenu: function(obj, refname, show, above) { if (typeof show == 'undefined') show = obj.is(':visible') ? false : true; - + var ref = rcube_find_object(refname); if (show && ref) { var pos = $(ref).offset(); @@ -214,7 +214,13 @@ show_listmenu: function(show) var ref = rcube_find_object('listmenulink'); if (show && ref) { - var pos = $(ref).offset(); + var pos = $(ref).offset(), + menuwidth = this.listmenu.width(), + pagewidth = $(document).width(); + + if (pagewidth - pos.left < menuwidth && pos.left > menuwidth) + pos.left = pos.left - menuwidth; + this.listmenu.css({ left:pos.left, top:(pos.top + ref.offsetHeight + 2)}); // set form values $('input[name="sort_col"][value="'+rcmail.env.sort_col+'"]').attr('checked', 1); diff --git a/roundcubemail/skins/default/mail.css b/roundcubemail/skins/default/mail.css index 8a78b4749..dfa091384 100644 --- a/roundcubemail/skins/default/mail.css +++ b/roundcubemail/skins/default/mail.css @@ -743,8 +743,8 @@ body.messagelist #messagelist tr td.attachment, #messagelist tr td.flag { - width: 20px; - padding: 0px 1px 1px 1px; + width: 18px; + padding: 0px 1px 1px 3px; } #messagelist tbody td span.branch, @@ -756,7 +756,7 @@ body.messagelist #messagelist tbody td img.msgicon { - margin-right: 2px; + margin: 0 2px; } #messagelist tr td div.collapsed, @@ -770,12 +770,12 @@ body.messagelist #messagelist tr td div.collapsed { - background: url(images/messageactions.png) 1px -91px no-repeat; + background: url(images/messageactions.png) -1px -91px no-repeat; } #messagelist tr td div.expanded { - background: url(images/messageactions.png) 1px -109px no-repeat; + background: url(images/messageactions.png) -1px -109px no-repeat; } #messagelist tbody tr td.flag img:hover, |
