This commit is contained in:
Marc Delisle
2006-09-24 21:55:43 +00:00
parent 956fb6099e
commit 19eef86fbb
4 changed files with 52 additions and 39 deletions

View File

@@ -1,4 +1,4 @@
<?php /*jw <-- diff from original */
<?php /*jw <-- diff from original 20060922 */
// 2do: hover background in Gecko not fitting the img size , a hint somebody?
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
@@ -70,13 +70,17 @@ div#leftframelinks {
div#pmalogo,
div#leftframelinks,
div#databaseList {
<?php if ($GLOBALS['cfg']['ServerLeft']) {
echo 'text-align: left'; // looks nicer if leftserver=true
}; ?>
border-bottom: 1px solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
margin-bottom: .5em;
padding-bottom: .5em;
}
<?php if( ($GLOBALS['cfg']['LeftDisplayServers'])&&($GLOBALS['cfg']['LeftFrameLight']) ) {
echo '
div#databaseList {
text-align: left;
}'; // looks nicer if LeftDisplayServers==true
}; ?>
div#leftframelinks a img.icon {
padding: .2em;

View File

@@ -1,13 +1,12 @@
<?php /*jw <-- diff from original */
<?php /*jw <-- diff from original/theme_right.css.php 20060922 */
// 2do: replace ../ with $oneUp
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
exit();
}
/*jw (pma <2.9:experimental) */
$VER = substr(PMA_VERSION,0,3);
if (('2.7'==$VER)or('2.8'==$VER)) {
echo "/*$VER*/
/*jw*/
if ('2.8' == substr(PMA_VERSION,0,3)) {
echo "/* 2.8 (experimental) */
html {
font-size: ", $GLOBALS['cfg']['FontSize'],'
}
@@ -19,7 +18,7 @@ table {
} //<2.9
?>
/** Grid right general tags v.2.9 20060917 windkiel **/
/** Grid right general tags v. 2.9 20060922 windkiel **/
body {
<?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
@@ -547,7 +546,11 @@ ul#topmenu {
ul#topmenu li {
float: <?php echo $left;
/*thx to Ci-Dev on irc "dot problem" : */?>;
/* "dot problem"
lem9: xp, ff1507
C-Dev:
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051218 Firefox/1.0.7
thx to Ci-Dev on irc , workaround : (gecko flaw? should be inherited, ok in original) */?>;
list-style-type: none;
margin: 0;
padding: 0;

View File

@@ -1,19 +1,24 @@
<?php
/* info.inc.php 2006/06/19 cybot_tm / 2006/09/17 windkiel */
/* info.inc.php 2006/06/19 cybot_tm / 2006/09/20 windkiel */
/**
*
* original/img/ reused , resulting in 7kB .zip file
* successfully tested with pma >= 2.9
* differs from theme "original" (2.9) in :
*
* working with pma >= 2.8,
* smaller table margins/paddings
* border-rounding only working in Geckos like Firefox 1.5 ( -moz...),
* IE6 ( left pointer/marker working with links ),
* Opera 7 ~ 9.01 ( switching cursor on hover not supported )
* ( Opera 9.01 needs a Ctrl F5 or restart to show theme/fontsize changes ! )
* pma < 2.9 support only experimental !
*
* comments, suggestions, bugreports are welcome:
* http://sourceforge.net/users/windkiel/
*
*/
/* Theme information */
$theme_name = 'Grid';
$theme_version = 2;
$theme_full_version = '2.9';
?>

View File

@@ -1,27 +1,26 @@
<?php
/**
* derived from original layout cvs60811
* modifications by windkiel 20060819/0917 marked with "*jw"
* works with pma >= 2.7
* derived from theme "original" pma 2.9, HEAD
* modifications by windkiel 20060819~0922 marked with "*jw"
* works with pma 2.8 (still experimental)
* no '' allowed, except for Font.. ..Link.. ..Marke...
* reuse original pics if img folder lacking
* for detailed layout configuration please refer to the css files
* comments, suggestions, bugreports are welcome:
* http://sourceforge.net/users/windkiel/
*/
/**
* navi frame
*/
// navi frame width
$GLOBALS['cfg']['NaviWidth'] = 200;
//backword compatibility for index.php <pma2.9
#$cfg['LeftWidth'] = $GLOBALS['cfg']['NaviWidth'];
$GLOBALS['cfg']['LeftWidth'] = $GLOBALS['cfg']['NaviWidth'];
// navi frame width for index.php :
$GLOBALS['cfg']['NaviWidth'] = 200; //only for >= 2.9
$GLOBALS['cfg']['LeftWidth'] = 200; //backword compatibility 2.8
// foreground (text) color for the navi frame
$GLOBALS['cfg']['NaviColor'] = '#000';
// background for the navi frame
$GLOBALS['cfg']['NaviBackground'] = '#D3DCE3';//'#eee';
$GLOBALS['cfg']['NaviBackground'] = '#D3DCE3';#dee
// link color
$GLOBALS['cfg']['NaviLinkColor'] = '#00a';/*jw*/
@@ -51,7 +50,7 @@ $GLOBALS['cfg']['NaviFontPercentage'] = '90%';/*jw*/
$GLOBALS['cfg']['MainColor'] = '#000';
// background for the main frame
$GLOBALS['cfg']['MainBackground'] = '#ccc';
$GLOBALS['cfg']['MainBackground'] = '#d3d3d3';
if ( PMA_USR_BROWSER_AGENT != 'MOZILLA' ) { /*jw index.php: NO frameborder="0"*/
$GLOBALS['cfg']['MainBackground'] .=
@@ -74,7 +73,6 @@ $GLOBALS['cfg']['BrowseMarkerColor'] = '#000';
// background of the marker (visually marks row by clicking on it) in browse mode
$GLOBALS['cfg']['BrowseMarkerBackground'] = '#fc9';
/**
* fonts
*/
@@ -98,7 +96,7 @@ $GLOBALS['cfg']['FontFamilyFixed'] = 'monospace';
*/
// for pma <= 2.8 :
$GLOBALS['cfg']['FontSize'] = '80%';
$GLOBALS['cfg']['FontSize'] = '90%';
/**
* tables
@@ -106,17 +104,20 @@ $GLOBALS['cfg']['FontSize'] = '80%';
/*jw*/
// border strenght ONLY FF(Gecko, e.g. .05em(min!)|1px|3pt| 0 but NOT 1)
$GLOBALS['cfg']['Border'] = '1px';
//at least 1 bit difference from $GLOBALS['cfg']['MainBackground'] to show the grid!?
$GLOBALS['cfg']['MainGridColor'] = '#cccccd';
//at least 1 bit difference from $GLOBALS['cfg']['MainBackground'] to show the grid!
$GLOBALS['cfg']['MainGridColor'] = '#d3d3d2';
// table header and footer color
$GLOBALS['cfg']['ThBackground'] = '#D3DCE3';
$GLOBALS['cfg']['ThBackground'] = $GLOBALS['cfg']['NaviBackground'];#def';//'#D3DCE3';
// table header and footer background
$GLOBALS['cfg']['ThColor'] = '#000';
// table data row background
$GLOBALS['cfg']['BgOne'] = '#f7f7f7';#E5E5E5';
$GLOBALS['cfg']['BgOne'] = '#f7f7f7';
// table data row background, alternate
$GLOBALS['cfg']['BgTwo'] = 'white';//'#D5D5D5';//'#ffff99';
$GLOBALS['cfg']['BgTwo'] = '#fff';
//needed for pma2.8 only (if E_NOTICE=1 , but no effect) :
$GLOBALS['cfg']['BgcolorOne']='#f7f7f7';
$GLOBALS['cfg']['BgcolorTwo']='#fff';
/**
* query window