From 98d4da0c93f8df24dc0c9bd4a92c90c27b461755 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 27 Jan 2010 17:27:01 +0000 Subject: [PATCH] Updated base selector styles git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15392 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/themes/default/style.css | 74 +++++++++++++++++++++--- gosa-core/include/class_baseSelector.inc | 3 +- 2 files changed, 67 insertions(+), 10 deletions(-) diff --git a/gosa-core/html/themes/default/style.css b/gosa-core/html/themes/default/style.css index 42fe28620..944d5c223 100644 --- a/gosa-core/html/themes/default/style.css +++ b/gosa-core/html/themes/default/style.css @@ -2012,12 +2012,68 @@ tr.sortableListItemMarked { /* Tree List */ -ul.treeList, ul.treeList ul { list-style-type: none; background: url(../../images/lists/vline.png) repeat-y; margin: 0; padding: 0; } -ul.treeList ul { margin-left: 10px; } -ul.treeList a:hover { background-color: #DDD } -a.treeList { font-weight: bold } -a.treeListSelected { font-weight: bold; color: red; } -ul.treeList li { margin: 0; padding: 0 12px; line-height: 20px; background: url(../../images/lists/node.png) no-repeat; font-weight: bold; } -li.treeListSelected a {color: red} -ul.treeList li.last { background: #fff url(../../images/lists/lastnode.png) no-repeat; } -ul.treeList li:last-child { background: #fff url(../../images/lists/lastnode.png) no-repeat; } +ul.treeList, ul.treeList ul { + list-style-type: none; + background: url(../../images/lists/vline.png) repeat-y; + margin: 0; + padding: 0; +} + +ul.treeList ul { + margin-left: 10px; +} + +ul.treeList a:hover { + background-color: #DDD +} + +a.treeList { + font-weight: bold; + padding: 2px; +} + +a.treeListSelected { + font-weight: bold; + color: red; + padding: 2px; +} + +a.treeList:hover, a.treeListSelected:hover { + background-color: #DDD; + padding: 2px; +} + +ul.treeList a { + padding: 2px; +} + +ul.treeList li { + margin: 0; + padding: 0 12px; + line-height: 20px; + background: url(../../images/lists/node.png) no-repeat; + font-weight: bold; +} + +li.treeListSelected a { + color: red; + padding: 2px; +} + +ul.treeList li.last { + background: #fff url(../../images/lists/lastnode.png) no-repeat; +} + +ul.treeList li:last-child { + background: #fff url(../../images/lists/lastnode.png) no-repeat; +} + +div.treeList { + background-color:white; + border: 1px solid #AAA; + padding: 5px; + height: 500px; + display: inline-block; + overflow-y: auto; +} + diff --git a/gosa-core/include/class_baseSelector.inc b/gosa-core/include/class_baseSelector.inc index 18f363e3f..baea70e5f 100644 --- a/gosa-core/include/class_baseSelector.inc +++ b/gosa-core/include/class_baseSelector.inc @@ -58,7 +58,7 @@ class baseSelector { $this->pathMapping= array(); $selected= $this->base == $config->current['BASE']?"Selected":""; - $this->tree= ""._("Root")."