From a45c0fa0c47c7b0d9c45843bddad3d24cd457ad9 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Fri, 22 Nov 2013 09:48:29 +0100 Subject: Tweak borders and paddings of focused/selected list rows. Don't show focus indicator when selected --- skins/larry/addressbook.css | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'skins/larry/addressbook.css') diff --git a/skins/larry/addressbook.css b/skins/larry/addressbook.css index 8681cda70..43e433b2a 100644 --- a/skins/larry/addressbook.css +++ b/skins/larry/addressbook.css @@ -159,17 +159,19 @@ font-weight: bold; } -/* This padding-left should be equal to the focused border-left + the focused padding-left */ -#contacts-table thead tr td:first-child, -#contacts-table tbody tr td:first-child { - border-left: 0; -} - /* 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: 2px ridge #ffffff; + border-left: 2px solid #b0ccd7; padding-left: 34px; - background-position-x: 4px !important; /* important to override selected class */ + background-position-x: 4px; +} + +/* This padding-left should be equal to the focused border-left + the focused padding-left */ +#contacts-table thead tr td:first-child, +#contacts-table tbody tr td:first-child, +#contacts-table tbody tr.selected.focused > td:first-child { + border-left: 0; + padding-left: 36px; } #contacts-table .group td.name { -- cgit v1.2.3