grid 2.9c

This commit is contained in:
Marc Delisle
2007-01-17 17:12:57 +00:00
parent 8da264608e
commit cffc524c4d
2 changed files with 13 additions and 13 deletions

View File

@@ -1,5 +1,4 @@
<?php /*jw <-- diff from original/theme_right.css.php 20061018 Let's again obey TextareaRows (bug #1465906).*/ <?php /*jw <-- diff from original/theme_right.css.php 2006-12-29 IE6 sql window fix */
// 2do: replace ../ with $oneUp
// unplanned execution path // unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) { if (!defined('PMA_MINIMUM_COMMON')) {
exit(); exit();
@@ -103,11 +102,12 @@ form {
} }
textarea { textarea {
overflow: visible; overflow: visible;<?php if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') > 0) echo 'height:8em;'; ?>
} }
fieldset { fieldset {
margin: 1em 0 1px; margin: 1em 0 1px 1px;
border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px; border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
padding: .5em; padding: .5em;
background: <?php echo $GLOBALS['cfg']['BgOne']; ?>; background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
@@ -200,7 +200,7 @@ table tr.even {
text-align: <?php echo $left; ?>; text-align: <?php echo $left; ?>;
} }
/* marked tbale rows */ /* marked table rows */
table tr.marked th, table tr.marked th,
table tr.marked { table tr.marked {
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>; background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;

View File

@@ -2,7 +2,7 @@
/** /**
* derived from theme "original" pma 2.9, HEAD * derived from theme "original" pma 2.9, HEAD
* modifications by windkiel 2006-08-19 ~ 10-31 marked with "*jw" * modifications by windkiel 2006-08-19 ~ 10-31 marked with "*jw"
* works with pma 2.8 (still experimental) * works with pma 2.8
* no '' allowed, except for Font.. ..Link.. ..Marke... * no '' allowed, except for Font.. ..Link.. ..Marke...
* 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: * comments, suggestions, bugreports are welcome:
@@ -14,13 +14,13 @@
*/ */
// navi frame width for index.php : // navi frame width for index.php :
$GLOBALS['cfg']['NaviWidth'] = 200; //only for >= 2.9 $GLOBALS['cfg']['NaviWidth'] = 200; //only for >= 2.9
$GLOBALS['cfg']['LeftWidth'] = 200; //backword compatibility 2.8 $GLOBALS['cfg']['LeftWidth'] = 200; //backward compatibility 2.8
// 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';#dee $GLOBALS['cfg']['NaviBackground'] = '#D3DCE6';#dee
// link color // link color
$GLOBALS['cfg']['NaviLinkColor'] = '#00a';/*jw*/ $GLOBALS['cfg']['NaviLinkColor'] = '#00a';/*jw*/
@@ -50,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'] = '#e7e7e7'; $GLOBALS['cfg']['MainBackground'] = '#d0d0d0';//e7
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'] .=
@@ -106,13 +106,13 @@ $GLOBALS['cfg']['FontSize'] = '90%';
$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'] = '#e7e7e8'; $GLOBALS['cfg']['MainGridColor'] = '#d0d0d1';
// table header and footer color // table header and footer color
$GLOBALS['cfg']['ThBackground'] = $GLOBALS['cfg']['NaviBackground'];#def';//'#D3DCE3'; $GLOBALS['cfg']['ThBackground'] = $GLOBALS['cfg']['NaviBackground'];#dee
// 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'; $GLOBALS['cfg']['BgOne'] = '#f8f8fa';
// table data row background, alternate // table data row background, alternate
$GLOBALS['cfg']['BgTwo'] = '#fff'; $GLOBALS['cfg']['BgTwo'] = '#fff';
// table outer border color // table outer border color
@@ -128,7 +128,7 @@ $GLOBALS['cfg']['BgcolorTwo']='#fff';
// Width of Query window // Width of Query window
$GLOBALS['cfg']['QueryWindowWidth'] = 600; $GLOBALS['cfg']['QueryWindowWidth'] = 600;
// Height of Query window // Height of Query window
$GLOBALS['cfg']['QueryWindowHeight'] = 400; $GLOBALS['cfg']['QueryWindowHeight'] = 300;
/** /**
* SQL Parser Settings * SQL Parser Settings