Code

Updated base selector styles
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jan 2010 17:27:01 +0000 (17:27 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jan 2010 17:27:01 +0000 (17:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15392 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/themes/default/style.css
gosa-core/include/class_baseSelector.inc

index 42fe28620d0847f762715366bb1f120ce6a8c493..944d5c2233d4501547954df2871fe54bb34317b3 100644 (file)
@@ -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;
+}
+
index 18f363e3fabb2dddc9a2b7f8b20d235236054b88..baea70e5fcc27eaec6b724b3adc670990a8d7d55 100644 (file)
@@ -58,7 +58,7 @@ class baseSelector {
 
     $this->pathMapping= array();
     $selected= $this->base == $config->current['BASE']?"Selected":"";
-    $this->tree= "<a class='treeList$selected' href='#'>"._("Root")."</a><ul class='treeList'>\n";
+    $this->tree= "<div class='treeList'><a class='treeList$selected' href='#'>"._("Root")."</a><ul class='treeList'>\n";
     $first= true;
     $last_indent= 2;
 
@@ -99,6 +99,7 @@ class baseSelector {
     for ($i= 0; $i<$last_indent; $i++) {
       $this->tree.= "</li></ul>\n";
     }
+    $this->tree.= "</div>\n";
 
 echo $this->tree;