diff --git a/ChangeLog b/ChangeLog index 3be426f79..bab8a4ff5 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ $Source$ - optimized the code a bit; - selecting a database in light mode launches the database properties page at the main frame (both frames changes). + * left.js, lines 291-300: fixed CSS problems under NS4 and left frame + light mode. 2002-01-19 Loïc Chapeaux * lang/*; libraries/common.lib.php3; Documentation.html: removed diff --git a/left.php3 b/left.php3 index e4bc24eea..3c7927a28 100755 --- a/left.php3 +++ b/left.php3 @@ -112,7 +112,7 @@ if ($num_dbs > 1) { .headaCnt {font-family: ; font-size: ; color: #000000} .parent {font-family: ; color: #000000; text-decoration: none} .child {font-family: ; font-size: ; color: #333399; text-decoration: none} - .item, .item:active, .item:hover, .tblItem, .tblItem:active {color: #333399; text-decoration: none} + .item, .item:active, .item:hover, .tblItem, .tblItem:active {font-size: ; color: #333399; text-decoration: none} .tblItem:hover {color: #FF0000; text-decoration: underline} //--> @@ -153,7 +153,7 @@ else { div {color: #000000} .heada {font-family: ; font-size: ; color: #000000} .parent {font-family: ; color: #000000; text-decoration: none} - .item, .item:active, .item:hover {color: #333399; text-decoration: none} + .item, .item:active, .item:hover {font-size: ; color: #333399; text-decoration: none} //--> 1) { // Gets the list of tables from the current database for ($j = 0; $j < $num_tables; $j++) { $table = mysql_tablename($tables, $j); - $table_list .= ' ' . "\n"; - $table_list .= ' ' . "\n"; + $table_list .= ' ' . "\n"; $table_list .= ' ' . $strBrowse . ': ' . $table . ' ' . "\n"; $table_list .= ' ' . $table . '
' . "\n"; diff --git a/libraries/left.js b/libraries/left.js index abc426234..ac6085e34 100644 --- a/libraries/left.js +++ b/libraries/left.js @@ -288,10 +288,15 @@ if (capable) { document.writeln('.item, .item:active, .item:hover, .tblItem, .tblItem:active {font-size: ' + fontSmall + '; color: #333399; text-decoration: none}'); document.writeln('.tblItem:hover {color: #FF0000; text-decoration: underline}'); } - else { - document.writeln('.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration: none; position: absolute; visibility: hidden}'); - document.writeln('.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; position: absolute; visibility: hidden}'); - document.writeln('.item, .tblItem {font-size: ' + fontSmall + '; color: #333399; text-decoration: none}'); + else { // NS4 case + if (typeof(expandedDb) != 'undefined') { + document.writeln('.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration: none; position: absolute; visibility: hidden}'); + document.writeln('.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; position: absolute; visibility: hidden}'); + } else { + document.writeln('.parent {font-family: ' + fontFamily + '; color: #000000; text-decoration: none}'); + document.writeln('.child {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399}'); + } + document.writeln('.item, .tblItem {font-family: ' + fontFamily + '; font-size: ' + fontSmall + '; color: #333399; text-decoration: none}'); } document.writeln('\/\/-->'); document.writeln('<\/style>');