added variables to define (text) color for marked and hovered objects

This commit is contained in:
Sebastian Mendel
2006-08-02 09:09:41 +00:00
parent 5ba79a6950
commit 9b092a37cf
7 changed files with 76 additions and 47 deletions

View File

@@ -5,6 +5,14 @@ phpMyAdmin - ChangeLog
$Id$
$Source$
2006-08-02 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* css\phpmyadmin.css.php, themes\darkblue_orange\css\theme_right.css.php
themes\darkblue_orange\layout.inc.php, themes\original\layout.inc.php
themes\original\css\theme_left.css.php,
themes\original\css\theme_right.css.php:
added variables to define (text) color for marked and hovered objects
thanks to Juergen Wind - windkiel for hinting this bug (patch #1503529)
2006-08-01 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html: patch #1532493 + light editing from me,
thanks to Isaac Bennetch

View File

@@ -709,8 +709,10 @@ if ($_SESSION['PMA_Theme']->checkVersion('2.9')) {
/********************/
<?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
div#left_tableList li.marked {
background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
/* marked items */
.marked {
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
<?php } ?>
@@ -724,16 +726,12 @@ div#left_tableList li.marked {
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
}
/* marked items */
.marked {
background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
/* hovered items */
.odd:hover,
.even:hover,
.hover {
background-color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
/**
@@ -743,7 +741,7 @@ tr.condition th,
tr.condition td,
td.condition,
th.condition {
border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
}
label.desc {

View File

@@ -189,7 +189,8 @@ table tr.even {
/* marked tbale rows */
table tr.marked th,
table tr.marked {
background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
/* hovered table rows */
@@ -199,7 +200,8 @@ table tr.odd:hover th,
table tr.even:hover th,
table tr.hover th,
table tr.hover {
background-color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
table .value {

View File

@@ -16,8 +16,11 @@ $GLOBALS['cfg']['NaviColor'] = '#ffffff';
// background for the navi frame
$GLOBALS['cfg']['NaviBackground'] = '#666699';
// color of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerColor'] = '#9999CC';
// foreground (text) color of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerColor'] = '#ffffff';
// background of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerBackground'] = '#9999cc';
/**
* main frame
@@ -26,14 +29,20 @@ $GLOBALS['cfg']['NaviPointerColor'] = '#9999CC';
$GLOBALS['cfg']['MainColor'] = '#000000';
// background for the main frame
$GLOBALS['cfg']['MainBackground'] = '#FFFFFF';
$GLOBALS['cfg']['MainBackground'] = '#ffffff';
//$GLOBALS['cfg']['MainBackground'] = 'url(../' . $_SESSION['PMA_Theme']->getImgPath() . 'vertical_line.png)';
// color of the pointer in browse mode
$GLOBALS['cfg']['BrowsePointerColor'] = '#CCFFCC';
// foreground (text) color of the pointer in browse mode
$GLOBALS['cfg']['BrowsePointerColor'] = '#000000';
// color of the marker (visually marks row by clicking on it) in browse mode
$GLOBALS['cfg']['BrowseMarkerColor'] = '#FFCC99';
// background of the pointer in browse mode
$GLOBALS['cfg']['BrowsePointerBackground'] = '#ccffcc';
// foreground (text) color of the marker (visually marks row by clicking on it) in browse mode
$GLOBALS['cfg']['BrowseMarkerColor'] = '#000000';
// background of the marker (visually marks row by clicking on it) in browse mode
$GLOBALS['cfg']['BrowseMarkerBackground'] = '#ffcc99';
/**
* fonts

View File

@@ -73,7 +73,8 @@ div#leftframelinks a img.icon {
}
div#leftframelinks a:hover {
background-color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
}
/* leftdatabaselist */
@@ -91,12 +92,12 @@ div#left_tableList ul ul {
}
div#left_tableList a {
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
color: inherit;
text-decoration: none;
}
div#left_tableList a:hover {
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
color: inherit;
text-decoration: underline;
}
@@ -108,7 +109,8 @@ div#left_tableList li {
<?php if ( $GLOBALS['cfg']['LeftPointerEnable'] ) { ?>
div#left_tableList li:hover {
background-color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
}
<?php } ?>

View File

@@ -166,7 +166,8 @@ table tr.even {
/* marked tbale rows */
table tr.marked th,
table tr.marked {
background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
/* hovered table rows */
@@ -176,7 +177,8 @@ table tr.odd:hover th,
table tr.even:hover th,
table tr.hover th,
table tr.hover {
background-color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
table .value {

View File

@@ -16,8 +16,10 @@ $GLOBALS['cfg']['NaviColor'] = '#000000';
// background for the navi frame
$GLOBALS['cfg']['NaviBackground'] = '#D0DCE0';
// color of the pointer in navi frame
// foreground (text) color of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerColor'] = '#CCFFCC';
// background of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerBackground'] = '#9999CC';
/**
* main frame
@@ -29,11 +31,17 @@ $GLOBALS['cfg']['MainColor'] = '#000000';
$GLOBALS['cfg']['MainBackground'] = '#F5F5F5';
//$GLOBALS['cfg']['MainBackground'] = 'url(../' . $_SESSION['PMA_Theme']->getImgPath() . 'vertical_line.png)';
// color of the pointer in browse mode
$GLOBALS['cfg']['BrowsePointerColor'] = '#CCFFCC';
// foreground (text) color of the pointer in browse mode
$GLOBALS['cfg']['BrowsePointerColor'] = '#000000';
// color of the marker (visually marks row by clicking on it) in browse mode
$GLOBALS['cfg']['BrowseMarkerColor'] = '#FFCC99';
// background of the pointer in browse mode
$GLOBALS['cfg']['BrowsePointerBackground'] = '#CCFFCC';
// foreground (text) color of the marker (visually marks row by clicking on it) in browse mode
$GLOBALS['cfg']['BrowseMarkerColor'] = '#000000';
// background of the marker (visually marks row by clicking on it) in browse mode
$GLOBALS['cfg']['BrowseMarkerBackground'] = '#FFCC99';
/**
* fonts