bug #1758159 Wrong place for styling

This commit is contained in:
Marc Delisle
2007-07-22 16:22:54 +00:00
parent e809642283
commit 17c81f3f97
5 changed files with 13 additions and 13 deletions

View File

@@ -1540,6 +1540,10 @@ $cfg['TrustedProxies'] =
<dd>The style used for the pointer in the navi frame.
See <tt>themes/themename/layout.inc.php</tt>.</dd>
<dt id="cfg_NaviDatabaseNameColor">$cfg['NaviDatabaseNameColor'] string [valid css code]<br />
<dd>The color used for the database name in the navi frame.
See <tt>themes/themename/layout.inc.php</tt>.</dd>
<dt id="cfg_LeftPointerEnable">$cfg['LeftPointerEnable'] boolean</dt>
<dd>A value of <tt>TRUE</tt> activates the navi pointer (when LeftFrameLight
is <tt>FALSE</tt>).</dd>

View File

@@ -790,18 +790,5 @@ body.loginform div.container {
<?php
} // end styles 2.9
if ($_SESSION['PMA_Theme']->checkVersion('2.11')) {
?>
/********************/
/* NEW in PMA 2.11 */
/********************/
.navi_dbName {
font-weight: bold;
color: #0000FF;
}
<?php
} // end styles 2.11
$_SESSION['PMA_Theme_Manager']->printCss($_REQUEST['js_frame']);
?>

View File

@@ -27,6 +27,9 @@ $GLOBALS['cfg']['NaviPointerColor'] = '#000000';
// background of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerBackground'] = '#9999cc';
// text color of the selected database name (when showing the table list)
$GLOBALS['cfg']['NaviDatabaseNameColor'] = '#ff9900';
/**
* main frame
*/

View File

@@ -62,6 +62,10 @@ button {
margin-left: 0.3em;
}
.navi_dbName {
font-weight: bold;
color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>;
}
/******************************************************************************/
/* specific elements */

View File

@@ -25,6 +25,8 @@ $GLOBALS['cfg']['NaviBackground'] = '#D0DCE0';
$GLOBALS['cfg']['NaviPointerColor'] = '#000000';
// background of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerBackground'] = '#9999CC';
// text color of the selected database name (when showing the table list)
$GLOBALS['cfg']['NaviDatabaseNameColor'] = '#0000FF';
/**
* main frame