From 1670b3e1d3a46fd8b9cb691c03017956452c155e Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Fri, 22 Nov 2013 10:36:57 +0100 Subject: More improvements to list focus styles: - display focused row also when selected - background-position-x doesn't work on Firefox, use full background-position properties --- skins/classic/addressbook.css | 8 ++++---- skins/classic/mail.css | 18 +++++++++++------- 2 files changed, 15 insertions(+), 11 deletions(-) (limited to 'skins/classic') diff --git a/skins/classic/addressbook.css b/skins/classic/addressbook.css index db039f1ad..2fcb1715a 100644 --- a/skins/classic/addressbook.css +++ b/skins/classic/addressbook.css @@ -233,13 +233,13 @@ /* because of border-collapse, we make the left border twice what we want it to be - half will be hidden to the left */ #contacts-table tbody tr.focused > td:first-child { - border-left: 4px solid #ddd; - padding-left: 4px; + border-left: 2px solid #d4d4d4; + padding-left: 6px; } #contacts-table tbody tr.selected.focused > td:first-child { - border-left: 0; - padding-left: 8px; + border-left: 1px solid #ccc; + padding-left: 7px; } #contacts-table .contact.readonly td diff --git a/skins/classic/mail.css b/skins/classic/mail.css index 4475fd74d..e5d55e05c 100644 --- a/skins/classic/mail.css +++ b/skins/classic/mail.css @@ -958,18 +958,22 @@ table.messagelist.fixedcopy color: #CC0000; } +/* This padding-left minus the focused padding left should be half of the focused border-left */ +.messagelist thead tr td:first-child, +.messagelist tbody tr td:first-child { + border-left: 0; + padding-left: 6px; +} + /* because of border-collapse, we make the left border twice what we want it to be - half will be hidden to the left */ .messagelist tbody tr.focused > td:first-child { - border-left: 6px solid #ddd; - padding-left: 3px; + border-left: 4px solid #d4d4d4; + padding-left: 4px; } -/* This padding-left minus the focused padding left should be half of the focused border-left */ -.messagelist thead tr td:first-child, -.messagelist tbody tr td:first-child, .messagelist tbody tr.selected.focused > td:first-child { - border-left: 0; - padding-left: 6px; + border-left: 2px solid #ccc; + padding-left: 5px; } .messagelist tr.selected td -- cgit v1.2.3