From: jollytoad Date: Thu, 3 Mar 2005 14:52:18 +0000 (+0000) Subject: Updated for XLoadTree2(beta) X-Git-Url: http://git.postgresql.org/gitweb/static/main.js?a=commitdiff_plain;h=ae2f814b82b0e5b073ee0eb47516c246fcfdf070;p=phppgadmin.git Updated for XLoadTree2(beta) --- diff --git a/browser.php b/browser.php index c8f8d4f1..729904fc 100644 --- a/browser.php +++ b/browser.php @@ -5,7 +5,7 @@ * if you click on a database it shows a list of database objects in that * database. * - * $Id: browser.php,v 1.44.2.1 2005/03/01 10:47:03 jollytoad Exp $ + * $Id: browser.php,v 1.44.2.2 2005/03/03 14:52:56 jollytoad Exp $ */ // Include application functions @@ -13,12 +13,17 @@ include_once('./libraries/lib.inc.php'); // Output header - $misc->printHeader('', "\n\n"); + $misc->printHeader('', "\n\n"); $misc->printBody('browser'); ?> - + + diff --git a/themes/default/global.css b/themes/default/global.css index 3381805e..735386f8 100644 --- a/themes/default/global.css +++ b/themes/default/global.css @@ -1,7 +1,7 @@ /** * Default style sheet * - * $Id: global.css,v 1.31.4.1 2005/03/01 10:43:10 jollytoad Exp $ + * $Id: global.css,v 1.31.4.2 2005/03/03 14:52:18 jollytoad Exp $ */ /** ELEMENTS */ @@ -328,28 +328,32 @@ pre.data .keyword {color: #FF8000} .literal {color: #808080} -/* Browser Tree */ -.webfx-tree-container { - margin: 0px; - padding: 0px; - font: arial, tahoma, verdana, helvetica, sans-serif, serif; +/* Browser Tree using XLoadTree 2 */ +.webfx-tree-row { white-space: nowrap; + font: arial, tahoma, verdana, helvetica, sans-serif, serif; } -.webfx-tree-item { - padding: 0px; - margin: 0px; - font: arial, tahoma, verdana, helvetica, sans-serif, serif; - white-space: nowrap; - height: 20px; +.webfx-tree-children { + background-repeat: repeat-y; + background-position-y: 1px !important; /* IE only */ } -.webfx-tree-item img { +.webfx-tree-row img { vertical-align: middle; - border: 0px; + height: 20px; } .webfx-tree-icon { width: 20px; - height: 20px; + cursor: hand; + cursor: pointer; +} + +.webfx-tree-expand-icon { + width: 20px; +} + +.webfx-tree-hide-root { + display: none; }