From c42fc0fff683f8b27d213750d5b65a74a9ec5506 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Fri, 7 Mar 2014 16:11:43 +0100 Subject: Define default treelist styles (i.e. indentation) globally --- skins/larry/addressbook.css | 11 ---------- skins/larry/styles.css | 37 ++++++++++++++++++++++++++++++++-- skins/larry/templates/addressbook.html | 2 +- 3 files changed, 36 insertions(+), 14 deletions(-) (limited to 'skins/larry') diff --git a/skins/larry/addressbook.css b/skins/larry/addressbook.css index 54a14da0b..8e17d77f7 100644 --- a/skins/larry/addressbook.css +++ b/skins/larry/addressbook.css @@ -71,7 +71,6 @@ background-position: -100px 0; background-repeat: no-repeat; overflow: hidden; - padding-left: 36px; text-overflow: ellipsis; } @@ -83,21 +82,11 @@ background-position: 6px -791px; } -#directorylist li.addressbook ul li:last-child { - border-bottom: 0; -} - -#directorylist li.addressbook ul.groups { - margin: 0; - padding: 0; -} - #directorylist li.addressbook ul.groups li { width: 100%; } #directorylist li.contactgroup a { - padding-left: 62px; background-position: 32px -1555px; } diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 18ba49ae2..992243f71 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -1175,16 +1175,49 @@ ul.treelist li { position: relative; } +ul.treelist li ul { + margin: 0; + padding: 0; +} + +ul.treelist li ul li:last-child { + border-bottom: 0; +} + +ul.treelist li a { + display: block; + padding-left: 20px; + overflow: hidden; + text-overflow: ellipsis; +} + +ul.treelist li ul li a { + padding-left: 38px; +} + +ul.treelist.iconized li a { + padding-left: 36px; +} + +ul.treelist.iconized li ul li a { + padding-left: 62px; +} + ul.treelist li div.treetoggle { position: absolute; - top: 13px; - left: 19px; + top: 7px; + left: 4px; width: 13px; height: 13px; background: url(images/listicons.png) -3px -144px no-repeat; cursor: pointer; } +ul.treelist.iconized li div.treetoggle { + top: 13px; + left: 19px; +} + ul.treelist li div.treetoggle.expanded { background-position: -3px -168px; } diff --git a/skins/larry/templates/addressbook.html b/skins/larry/templates/addressbook.html index 9f83853b2..ebdce51be 100644 --- a/skins/larry/templates/addressbook.html +++ b/skins/larry/templates/addressbook.html @@ -30,7 +30,7 @@

- +