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? // 2do: hover background in Gecko not fitting the img size , a hint somebody?
// unplanned execution path // unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) { if (!defined('PMA_MINIMUM_COMMON')) {
@@ -70,13 +70,17 @@ div#leftframelinks {
div#pmalogo, div#pmalogo,
div#leftframelinks, div#leftframelinks,
div#databaseList { 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']; ?>; border-bottom: 1px solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
margin-bottom: .5em; margin-bottom: .5em;
padding-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 { div#leftframelinks a img.icon {
padding: .2em; 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 // unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) { if (!defined('PMA_MINIMUM_COMMON')) {
exit(); exit();
} }
/*jw (pma <2.9:experimental) */ /*jw*/
$VER = substr(PMA_VERSION,0,3); if ('2.8' == substr(PMA_VERSION,0,3)) {
if (('2.7'==$VER)or('2.8'==$VER)) { echo "/* 2.8 (experimental) */
echo "/*$VER*/
html { html {
font-size: ", $GLOBALS['cfg']['FontSize'],' font-size: ", $GLOBALS['cfg']['FontSize'],'
} }
@@ -19,7 +18,7 @@ table {
} //<2.9 } //<2.9
?> ?>
/** Grid right general tags v.2.9 20060917 windkiel **/ /** Grid right general tags v. 2.9 20060922 windkiel **/
body { body {
<?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?> <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>; font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
@@ -154,7 +153,7 @@ button {
} }
<?php/* * * * * * * * * * * * * * * * * * * * * * * * * */?> <?php /* * * * * * * * * * * * * * * * * * * * * * * * * */ ?>
/* classes */ /* classes */
fieldset.tblFooters { fieldset.tblFooters {
@@ -534,7 +533,7 @@ form.login label {
} }
<?php/* * * * * * * * * * * * * * * * * * * * * * * * * */?> <?php /* * * * * * * * * * * * * * * * * * * * * * * * * */ ?>
/* specific elements */ /* specific elements */
/* topmenu */ /* topmenu */
@@ -546,8 +545,12 @@ ul#topmenu {
} }
ul#topmenu li { ul#topmenu li {
float: <?php echo $left; 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; list-style-type: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -612,7 +615,7 @@ ul#topmenu li {
-moz-border-radius-topright:.6em'; -moz-border-radius-topright:.6em';
} }
/** /**
MSIE: MSIE:
Sebastian removed the wrong lines from "original" :( Sebastian removed the wrong lines from "original" :(
neither border-radius-topleft nor border-top-left-radius is css compliant neither border-radius-topleft nor border-top-left-radius is css compliant
http://blogs.msdn.com/ie/archive/2005/06/23/431980.aspx http://blogs.msdn.com/ie/archive/2005/06/23/431980.aspx

View File

@@ -1,19 +1,24 @@
<?php <?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 * differs from theme "original" (2.9) in :
* successfully tested with pma >= 2.9 *
* working with pma >= 2.8,
* smaller table margins/paddings
* border-rounding only working in Geckos like Firefox 1.5 ( -moz...), * border-rounding only working in Geckos like Firefox 1.5 ( -moz...),
* IE6 ( left pointer/marker working with links ), * IE6 ( left pointer/marker working with links ),
* Opera 7 ~ 9.01 ( switching cursor on hover not supported ) * Opera 7 ~ 9.01 ( switching cursor on hover not supported )
* ( Opera 9.01 needs a Ctrl F5 or restart to show theme/fontsize changes ! ) * ( 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 information */
$theme_name = 'Grid'; $theme_name = 'Grid';
$theme_version = 2;
$theme_full_version = '2.9'; $theme_full_version = '2.9';
?> ?>

View File

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