fixed CSS problems under NS4 and left frame light mode
This commit is contained in:
@@ -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<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* lang/*; libraries/common.lib.php3; Documentation.html: removed
|
||||
|
@@ -112,7 +112,7 @@ if ($num_dbs > 1) {
|
||||
.headaCnt {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_smaller; ?>; color: #000000}
|
||||
.parent {font-family: <?php echo $left_font_family; ?>; color: #000000; text-decoration: none}
|
||||
.child {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_smaller; ?>; 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: <?php echo $font_smaller; ?>; color: #333399; text-decoration: none}
|
||||
.tblItem:hover {color: #FF0000; text-decoration: underline}
|
||||
//-->
|
||||
</style>
|
||||
@@ -153,7 +153,7 @@ else {
|
||||
div {color: #000000}
|
||||
.heada {font-family: <?php echo $left_font_family; ?>; font-size: <?php echo $font_size; ?>; color: #000000}
|
||||
.parent {font-family: <?php echo $left_font_family; ?>; color: #000000; text-decoration: none}
|
||||
.item, .item:active, .item:hover {color: #333399; text-decoration: none}
|
||||
.item, .item:active, .item:hover {font-size: <?php echo $font_smaller; ?>; color: #333399; text-decoration: none}
|
||||
//-->
|
||||
</style>
|
||||
<?php
|
||||
@@ -285,8 +285,7 @@ if ($num_dbs > 1) {
|
||||
// Gets the list of tables from the current database
|
||||
for ($j = 0; $j < $num_tables; $j++) {
|
||||
$table = mysql_tablename($tables, $j);
|
||||
$table_list .= ' <nobr><img src="images/spacer.gif" border="0" width="9" height="9" alt="" />' . "\n";
|
||||
$table_list .= ' <a target="phpmain" href="sql.php3?' . $common_url_query . '&table=' . urlencode($table) . '&sql_query=' . urlencode('SELECT * FROM ' . PMA_backquote($table)) . '&pos=0&goto=tbl_properties.php3">' . "\n";
|
||||
$table_list .= ' <nobr><a target="phpmain" href="sql.php3?' . $common_url_query . '&table=' . urlencode($table) . '&sql_query=' . urlencode('SELECT * FROM ' . PMA_backquote($table)) . '&pos=0&goto=tbl_properties.php3">' . "\n";
|
||||
$table_list .= ' <img src="images/browse.gif" border="0" alt="' . $strBrowse . ': ' . $table . '" /></a><bdo dir="' . $text_dir . '"> </bdo>' . "\n";
|
||||
$table_list .= ' <a class="tblItem" title="' . str_replace('"', '"', $tooltip[$table]) . '" target="phpmain" href="tbl_properties.php3?' . $common_url_query . '&table=' . urlencode($table) . '">' . $table . '</a></nobr><br />' . "\n";
|
||||
|
||||
|
@@ -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 {
|
||||
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}');
|
||||
document.writeln('.item, .tblItem {font-size: ' + fontSmall + '; color: #333399; text-decoration: none}');
|
||||
} 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>');
|
||||
|
Reference in New Issue
Block a user