fixed code indention

This commit is contained in:
Sebastian Mendel
2007-05-09 12:18:57 +00:00
parent 53df7154f2
commit 13814821fa
20 changed files with 989 additions and 511 deletions

View File

@@ -1,42 +1,39 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */ /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* navigation css file from theme * navigation css file from theme
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-theme * @package phpMyAdmin-theme
* @subpackage Paradice * @subpackage Paradice
*/ */
// unplanned execution path // unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) { if (!defined('PMA_MINIMUM_COMMON')) {
exit(); exit();
} }
?> ?>
/******************************************************************************/ /******************************************************************************/
/* general tags */ /* general tags */
body { body {
font-family: Verdana, Arial, Helvetica, sans-serif; <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
font-size: 12px; font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
background-color: #3674CF; <?php } ?>
color: #ffffff; font-size: 0.8em;
margin: 0; background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
padding: 2px 2px 2px 2px; color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
background-image: url(themes/paradice/img/leftBgnd.jpg); margin: 0;
background-position: left top; padding: 0.2em 0.2em 0.2em 0.2em;
background-repeat: repeat-y; background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>leftBgnd.png);
background-position:left top;
background-repeat: repeat-y;
} }
a img { a img {
border: 0; border: 0;
} }
/* gecko FIX, font size is not correctly assigned to all child elements */
body * {
font-family: inherit;
font-size: inherit;
}
form { form {
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -46,8 +43,7 @@ form {
select { select {
background-color: #ffffff; background-color: #ffffff;
color: #000000; color: #000000;
width: 150px; width: 100%;
font-size: 10px;
} }
/* buttons in some browsers (eg. Konqueror) are block elements, /* buttons in some browsers (eg. Konqueror) are block elements,
@@ -67,10 +63,6 @@ button {
margin-left: 0.3em; margin-left: 0.3em;
} }
img.lightbulb {
cursor: pointer;
}
/******************************************************************************/ /******************************************************************************/
/* specific elements */ /* specific elements */
@@ -79,36 +71,75 @@ div#pmalogo,
div#leftframelinks, div#leftframelinks,
div#databaseList { div#databaseList {
text-align: center; text-align: center;
border-bottom: 0.05em solid #ffffff; border-bottom: 0.05em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
margin-bottom: 0.5em; margin-bottom: 0.5em;
padding-bottom: 0.5em; padding-bottom: 0.5em;
} }
div#leftframelinks img { ul#databaseList {
vertical-align: middle; border-bottom: 0.05em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
margin-bottom: 0.5em;
padding-bottom: 0.5em;
padding-left: 1.5em;
}
ul#databaseList a {
display: block;
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
}
ul#databaseList a:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
}
ul#databaseList li.selected a {
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
div#leftframelinks .icon {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
div#leftframelinks a { div#leftframelinks a img.icon {
margin: 0.1em; margin: 0;
padding: 0.2em; padding: 0.2em;
border: 0; border: 0;
} }
div#leftframelinks a:hover { div#leftframelinks a:hover {
background-color: #3674CF; color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
color: #FFFFFF; }
/* serverlist */
#body_leftFrame #list_server {
list-style-image: url(../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_host.png);
list-style-position: inside;
list-style-type: none;
margin: 0;
padding: 0;
}
#body_leftFrame #list_server li {
margin: 0;
padding: 0;
font-size: 80%;
} }
/* leftdatabaselist */ /* leftdatabaselist */
div#left_tableList {
background-color: none;
}
div#left_tableList ul { div#left_tableList ul {
list-style-type: none; list-style-type: none;
list-style-position: outside; list-style-position: outside;
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 10px; font-size: 80%;
background-color: #3674CF; background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
} }
div#left_tableList ul ul { div#left_tableList ul ul {
@@ -116,13 +147,15 @@ div#left_tableList ul ul {
} }
div#left_tableList a { div#left_tableList a {
color: #ffffff; background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
text-decoration: none; text-decoration: none;
} }
div#left_tableList a:hover { div#left_tableList a:hover {
color: #ffffcc; background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
text-decoration: none; color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
text-decoration: underline;
} }
div#left_tableList li { div#left_tableList li {
@@ -131,9 +164,20 @@ div#left_tableList li {
white-space: nowrap; white-space: nowrap;
} }
<?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
/* marked items */
div#left_tableList > ul li.marked > a,
div#left_tableList > ul li.marked {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
<?php } ?>
<?php if ( $GLOBALS['cfg']['LeftPointerEnable'] ) { ?> <?php if ( $GLOBALS['cfg']['LeftPointerEnable'] ) { ?>
div#left_tableList li:hover { div#left_tableList > ul li:hover > a,
background-color: #2563BE; div#left_tableList > ul li:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
} }
<?php } ?> <?php } ?>
@@ -143,9 +187,9 @@ div#left_tableList img {
} }
div#left_tableList ul ul { div#left_tableList ul ul {
margin-left: 0em; margin-left: 0;
padding-left: 0.1em; padding-left: 0.1em;
border-left: 0.1em solid #ffffff; border-left: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
padding-bottom: 0.1em; padding-bottom: 0.1em;
border-bottom: 0.1em solid #ffffff; border-bottom: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
} }

View File

@@ -1,51 +1,38 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */ /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* print css file from theme * print css file from theme
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-theme * @package phpMyAdmin-theme
* @subpackage Paradice * @subpackage Paradice
*/ */
?>
/* For printview */ /* For printview */
body{ body, table, th, td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000; color: #000000;
background-color: #ffffff; background-color: #ffffff;
} }
h1{
font-family: Verdana, Arial, Helvetica, sans-serif; img {
font-size: 16px; border: 0;
font-weight: bold;
color: #000000;
} }
table{
border-width: 1px; table, th, td {
border-width: 0.1em;
border-color: #000000; border-color: #000000;
border-style: solid; border-style: solid;
}
table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }
th{
font-family: Verdana, Arial, Helvetica, sans-serif; th, td {
font-size: 10px; padding: 0.2em;
font-weight: bold; }
color: #000000;
background-color: #e5e5e5; th {
border-width: 1px; font-weight: bold;
border-color: #000000; background-color: #e5e5e5;
border-style: solid;
padding: 2px;
} }
td{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
background-color: #ffffff;
border-width: 1px;
border-color: #000000;
border-style: solid;
padding: 2px;
}

File diff suppressed because it is too large Load Diff

BIN
paradice/img/arrow_ltr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

BIN
paradice/img/arrow_rtl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 B

After

Width:  |  Height:  |  Size: 131 B

BIN
paradice/img/error.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
paradice/img/leftBgnd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

BIN
paradice/img/mysql_info.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

BIN
paradice/img/pma_info.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -1,18 +1,17 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */ /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* Theme information * Theme information
* *
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-theme * @package phpMyAdmin-theme
* @subpackage Paradice * @subpackage Paradice
*/ */
/** /**
* *
*/ */
$theme_name = 'Paradice'; $theme_name = 'Paradice';
$theme_version = 2; $theme_full_version = '2.10';
$theme_generation = 2;
?> ?>

View File

@@ -1,37 +1,92 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */ /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-theme * @package phpMyAdmin-theme
* @subpackage Paradice * @subpackage Paradice
*/ */
/** /**
* * navi frame
*/ */
$cfg['LeftWidth'] = 180; // left frame width // navi frame width
/* colors */ $GLOBALS['cfg']['NaviWidth'] = 164;
$cfg['LeftBgColor'] = '#3674CF'; // background color for the left frame
$cfg['RightBgColor'] = '#FFFFFF'; // background color for the right frame
$cfg['RightBgImage'] = 'themes/paradice/img/rightBgnd.jpg'; // path to a background image for the right frame
// (leave blank for no background image)
$cfg['LeftPointerColor'] = '#9999CC'; // color of the pointer in left frame
$cfg['Border'] = 0; // border width on tables
$cfg['ThBgcolor'] = '#79A2DF'; // table header row colour
$cfg['BgcolorOne'] = '#EEEEEE'; // table data row colour
$cfg['BgcolorTwo'] = '#E5E5E5'; // table data row colour, alternate
$cfg['BrowsePointerColor'] = '#CCCCFF'; // color of the pointer in browse mode
$cfg['BrowseMarkerColor'] = '#FFCC99'; // color of the marker (visually marks row
// by clicking on it) in browse mode
$cfg['QueryWindowWidth'] = 550; // Width of Query window // foreground (text) color for the navi frame
$cfg['QueryWindowHeight'] = 310; // Height of Query window $GLOBALS['cfg']['NaviColor'] = '#FFFFFF';
// background for the navi frame
$GLOBALS['cfg']['NaviBackground'] = '#3674CF';
// foreground (text) color of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerColor'] = '#000000';
// background of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerBackground'] = '#5796EF';
/**
* main frame
*/
// foreground (text) color for the main frame
$GLOBALS['cfg']['MainColor'] = '#142F56';
// background for the main frame
$GLOBALS['cfg']['MainBackground'] = '#FFFFFF';
//$GLOBALS['cfg']['MainBackground'] = '#F5F5F5 url(' . $_SESSION['PMA_Theme']->getImgPath() . 'vertical_line.png) repeat-y';
// foreground (text) color of the pointer in browse mode
$GLOBALS['cfg']['BrowsePointerColor'] = '#FFFFFF';
// background of the pointer in browse mode
$GLOBALS['cfg']['BrowsePointerBackground'] = '#5287D6';
// 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'] = '#FBAE36';
/**
* fonts
*/
/**
* the font family as a valid css font family value,
* if not set the browser default will be used
* (depending on browser, DTD and system settings)
*/
$GLOBALS['cfg']['FontFamily'] = 'Verdana, Arial, Helvetica, sans-serif';
/**
* fixed width font family, used in textarea
*/
$GLOBALS['cfg']['FontFamilyFixed'] = '"Courier New", Courier, monospace';
/**
* tables
*/
// border
$GLOBALS['cfg']['Border'] = 0;
// table header and footer color
$GLOBALS['cfg']['ThBackground'] = '#79A2DF';
// table header and footer background
$GLOBALS['cfg']['ThColor'] = '#000000';
// table data row background
$GLOBALS['cfg']['BgOne'] = '#EEEEEE';
// table data row background, alternate
$GLOBALS['cfg']['BgTwo'] = '#E5E5E5';
/**
* query window
*/
// Width of Query window
$GLOBALS['cfg']['QueryWindowWidth'] = 600;
// Height of Query window
$GLOBALS['cfg']['QueryWindowHeight'] = 400;
/** /**
* SQL Parser Settings * SQL Parser Settings
* Syntax colouring data
*/ */
$cfg['SQP']['fmtColor'] = array( // Syntax colouring data $GLOBALS['cfg']['SQP']['fmtColor'] = array(
'comment' => '#808000', 'comment' => '#808000',
'comment_mysql' => '', 'comment_mysql' => '',
'comment_ansi' => '', 'comment_ansi' => '',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -1,12 +1,12 @@
<?php <?php $pma_http_url = ''; ?>
/* vim: set expandtab sw=4 ts=4 sts=4: */ /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* navigation css file from theme * navigation css file from theme
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-theme * @package phpMyAdmin-theme
* @subpackage Very_small * @subpackage Very_small
*/ */
?> ?>
#body_leftFrame { #body_leftFrame {
@@ -32,7 +32,7 @@
} }
body { body {
background-color: #d9e4f4; background-color: #d9e4f4;
background-image: url('themes/arctic_ocean/img/wbg_left.jpg'); background-image: url('<?php echo ( (isset($pma_http_url) && !empty($pma_http_url)) ? $pma_http_url : '../' ); ?>themes/arctic_ocean/img/wbg_left.jpg');
background-repeat: repeat-y; background-repeat: repeat-y;
background-position: 0px 0px; background-position: 0px 0px;
} }
@@ -44,7 +44,7 @@ body, input, textarea, select, th, td, .item, .tblItem {
width: 100%; width: 100%;
} }
#body_queryFrame div { #body_queryFrame div {
white-space: nowrap; white-space: nowrap;
} }
input, select, textarea { input, select, textarea {
color: #000000; color: #000000;
@@ -86,7 +86,7 @@ img {
} }
td.heada, span.heada { td.heada, span.heada {
background-image: url(themes/arctic_ocean/img/b_sdb.png); background-image: url(<?php echo ( (isset($pma_http_url) && !empty($pma_http_url)) ? $pma_http_url : '../' ); ?>themes/arctic_ocean/img/b_sdb.png);
background-position: 2px center; background-position: 2px center;
background-repeat: no-repeat; background-repeat: no-repeat;
font-weight: bold; font-weight: bold;
@@ -98,7 +98,7 @@ span.heada, span.heada a:link, span.heada a:active, span.heada a:visited, span.h
td.heada, span.heada { td.heada, span.heada {
text-align: left; text-align: left;
padding-left: 12px; padding-left: 12px;
white-space: nowrap; white-space: nowrap;
} }
bdo { bdo {

View File

@@ -1,12 +1,12 @@
<?php <?php $pma_http_url = ''; ?>
/* vim: set expandtab sw=4 ts=4 sts=4: */ /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* print css file from theme * print css file from theme
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-theme * @package phpMyAdmin-theme
* @subpackage Very_small * @subpackage Very_small
*/ */
?> ?>
/* For printview */ /* For printview */
body { body {
@@ -99,9 +99,9 @@ input[type=button], input[type=submit], input[type=reset] {
} }
.serverinfo div { .serverinfo div {
background-image: url(themes/arctic_ocean/img/item_ltr.png); background-image: url(<?php echo ( (isset($pma_http_url) && !empty($pma_http_url)) ? $pma_http_url : '../' ); ?>themes/arctic_ocean/img/item_ltr.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 50% 50%; background-position: 50% 50%;
width: 20px; width: 20px;
height: 16px; height: 16px;
} }

View File

@@ -1,12 +1,12 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */ /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* main css file from theme * main css file from theme
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-theme * @package phpMyAdmin-theme
* @subpackage Very_small * @subpackage Very_small
*/ */
?> ?>
#mainFrameset, #leftFrameset, frameset, frame { #mainFrameset, #leftFrameset, frameset, frame {
@@ -37,7 +37,7 @@ body {
background-color: #ffffff; background-color: #ffffff;
margin: 0; margin: 0;
padding: 14px 0px 0px 0px; padding: 14px 0px 0px 0px;
background-image: url(themes/arctic_ocean/img/wbg_right.jpg); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>wbg_right.jpg);
background-position: 100% 100%; background-position: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-attachment: fixed; background-attachment: fixed;
@@ -106,12 +106,12 @@ img {
} }
img[class=icon]{ img[class=icon]{
margin: 0 0 0 0; margin: 0 0 0 0;
padding: 0 0 0 0; padding: 0 0 0 0;
height:13px; height:13px;
} }
/* tables */ /* tables */
table,td,th{ table,td,th{
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
} }
table { table {
@@ -133,7 +133,7 @@ th, .tblFooters {
border-top: 1px solid #cccccc; border-top: 1px solid #cccccc;
border-bottom: 1px solid #333333; border-bottom: 1px solid #333333;
white-space: nowrap; white-space: nowrap;
background-image: url(themes/arctic_ocean/img/tbg_th1.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_th1.png);
background-repeat: repeat-x; background-repeat: repeat-x;
background-position: 0 0; background-position: 0 0;
} }
@@ -146,7 +146,7 @@ th, .tblFooters {
.tblHeaders, tr.tblHeaders td, tr.tblHeaders th { .tblHeaders, tr.tblHeaders td, tr.tblHeaders th {
color: #585880; color: #585880;
background-color: #b4cae9; background-color: #b4cae9;
background-image: url(themes/arctic_ocean/img/tbg_th0.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_th0.png);
} }
.tblcomment { .tblcomment {
font-size: 10px; font-size: 10px;
@@ -172,7 +172,7 @@ th.td {
background-image: none; background-image: none;
border-top: 1px none #cccccc; border-top: 1px none #cccccc;
border-bottom: 1px solid #333333; border-bottom: 1px solid #333333;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
} }
@@ -182,7 +182,7 @@ table tr.even th,
table tr.marked th { table tr.marked th {
background-image: none; background-image: none;
border: none; border: none;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
} }
@@ -228,10 +228,10 @@ input[type=text], input[type=file], input[type=password], input.textfield {
} }
input.inpcheck { input.inpcheck {
width:10px; width:10px;
height:10px; height:10px;
} }
input[type=checkbox] { input[type=checkbox] {
width:10px; width:10px;
height:10px; height:10px;
} }
@@ -269,7 +269,7 @@ div.notice {
margin: 0.5em 0 0.5em 0; margin: 0.5em 0 0.5em 0;
border: 0.1em solid #FFD700; border: 0.1em solid #FFD700;
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(themes/arctic_ocean/img/s_notice.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png);
background-repeat: no-repeat; background-repeat: no-repeat;
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) {?> <?php if ( $GLOBALS['text_dir'] === 'ltr' ) {?>
background-position: 10px 50%; background-position: 10px 50%;
@@ -298,7 +298,7 @@ div.warning {
margin: 0.5em 0 0.5em 0; margin: 0.5em 0 0.5em 0;
border: 0.1em solid #CC0000; border: 0.1em solid #CC0000;
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(themes/arctic_ocean/img/s_warn.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
background-repeat: no-repeat; background-repeat: no-repeat;
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) {?> <?php if ( $GLOBALS['text_dir'] === 'ltr' ) {?>
background-position: 10px 50%; background-position: 10px 50%;
@@ -327,7 +327,7 @@ div.error {
margin: 0.5em 0 0.5em 0; margin: 0.5em 0 0.5em 0;
border: 0.1em solid #ff0000; border: 0.1em solid #ff0000;
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(themes/arctic_ocean/img/s_error.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png);
background-repeat: no-repeat; background-repeat: no-repeat;
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) {?> <?php if ( $GLOBALS['text_dir'] === 'ltr' ) {?>
background-position: 10px 50%; background-position: 10px 50%;
@@ -359,7 +359,7 @@ fieldset.confirmation legend {
border-right: 0.1em solid #FF0000; border-right: 0.1em solid #FF0000;
font-weight: bold; font-weight: bold;
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(themes/arctic_ocean/img/s_really.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_really.png);
background-repeat: no-repeat; background-repeat: no-repeat;
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) {?> <?php if ( $GLOBALS['text_dir'] === 'ltr' ) {?>
background-position: 5px 50%; background-position: 5px 50%;
@@ -512,7 +512,7 @@ fieldset.confirmation legend {
margin: 0px 1px 0px 1px; margin: 0px 1px 0px 1px;
} }
.serverinfo div { .serverinfo div {
background-image: url(themes/arctic_ocean/img/item_ltr.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>item_ltr.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 50% 50%; background-position: 50% 50%;
width: 16px; width: 16px;
@@ -578,7 +578,7 @@ fieldset.confirmation legend {
.nav { .nav {
color: #000000; color: #000000;
background-color: #b4cae9; background-color: #b4cae9;
background-image: url(themes/arctic_ocean/img/tbg_nav0.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_nav0.png);
background-repeat: repeat-x; background-repeat: repeat-x;
background-position: center; background-position: center;
height: 24px; height: 24px;
@@ -613,18 +613,18 @@ fieldset.confirmation legend {
} }
.navNormal { .navNormal {
background-color: #b4cae9; background-color: #b4cae9;
background-image: url(themes/arctic_ocean/img/tbg_nav0.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_nav0.png);
} }
.navActive { .navActive {
background-color: #ffffff; background-color: #ffffff;
background-image: url(themes/arctic_ocean/img/tbg_nav2.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_nav2.png);
border: none; border: none;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} }
.navDrop { .navDrop {
background-color: #e9c7b4; background-color: #e9c7b4;
background-image: url(themes/arctic_ocean/img/tbg_nav3.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_nav3.png);
} }
.navActive a:link, .navActive a:active, .navActive a:visited { .navActive a:link, .navActive a:active, .navActive a:visited {
color: #585880; color: #585880;
@@ -647,7 +647,7 @@ fieldset.confirmation legend {
.navSpacer { .navSpacer {
width: 1px; width: 1px;
background-color: #333333; background-color: #333333;
background-image: url(themes/arctic_ocean/img/tbg_nav1.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_nav1.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center top; background-position: center top;
} }
@@ -660,7 +660,7 @@ fieldset.confirmation legend {
ul#topmenu { ul#topmenu {
list-style-type: none; list-style-type: none;
background-color: #ffffff; background-color: #ffffff;
background-image: url(themes/arctic_ocean/img/tbg_nav0.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_nav0.png);
background-repeat: repeat-x; background-repeat: repeat-x;
background-position: center bottom; background-position: center bottom;
border: none; border: none;
@@ -678,7 +678,7 @@ fieldset.confirmation legend {
width: 100%; width: 100%;
_width: expression(eval(document.body.offsetWidth-18)); _width: expression(eval(document.body.offsetWidth-18));
} }
ul#topmenu li { ul#topmenu li {
float: left; float: left;
margin: 0; margin: 0;
@@ -686,7 +686,7 @@ fieldset.confirmation legend {
vertical-align: middle; vertical-align: middle;
border: none; border: none;
} }
/* default tab styles */ /* default tab styles */
span.tab, span.tab:hover, span.tab, span.tab:hover,
span.tabcaution, span.tabcaution:hover, span.tabcaution, span.tabcaution:hover,
@@ -717,18 +717,18 @@ fieldset.confirmation legend {
} }
a.tab:hover { a.tab:hover {
color: #ffffff; color: #ffffff;
background-image: url(themes/arctic_ocean/img/tbg_nav4.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_nav4.png);
background-position: center bottom; background-position: center bottom;
} }
a.tabactive:link, a.tabactive:active, a.tabactive:visited, a.tabactive:hover { a.tabactive:link, a.tabactive:active, a.tabactive:visited, a.tabactive:hover {
background-image: url(themes/arctic_ocean/img/tbg_nav2.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_nav2.png);
background-color: #ffffff; background-color: #ffffff;
border-left: 1px solid #333333; border-left: 1px solid #333333;
border-right: 1px solid #333333; border-right: 1px solid #333333;
border-bottom: 1px solid #ffffff; border-bottom: 1px solid #ffffff;
} }
a.tabcaution:hover { a.tabcaution:hover {
background-image: url(themes/arctic_ocean/img/tbg_nav3.png); background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbg_nav3.png);
background-position: center bottom; background-position: center bottom;
} }
a.tabcaution:link, a.tabcaution:active, a.tabcaution:visited, a.tabcaution:hover, span.tabcaution { a.tabcaution:link, a.tabcaution:active, a.tabcaution:visited, a.tabcaution:hover, span.tabcaution {
@@ -798,3 +798,174 @@ tr.disabled, td.disabled, .disabled td {
font-family: "Courier New", Courier, mono; font-family: "Courier New", Courier, mono;
font-size: 11px; font-size: 11px;
} }
/********************/
/* NEW in PMA 2.9 */
/********************/
<?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
/* marked items */
.marked a,
.marked {
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
color: black;
}
<?php } ?>
/* odd items 1,3,5,7,... */
.odd {
background: <?php echo $GLOBALS['cfg']['BgcolorOne']; ?>;
}
/* even items 2,4,6,8,... */
.even {
background: <?php echo $GLOBALS['cfg']['BgcolorTwo']; ?>;
}
/* hovered items */
.odd:hover,
.even:hover,
.hover {
background: <?php echo $GLOBALS['cfg']['BrowseHoverBackground']; ?>;
color: black;
}
/**
* marks table rows/cells if the db field is in a where condition
*/
tr.condition th,
tr.condition td,
td.condition,
th.condition {
border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
}
label.desc {
width: 30em;
float: <?php echo $left; ?>;
}
body.loginform {
text-align: center;
}
body.loginform div.container {
text-align: <?php echo $left; ?>;
width: 30em;
margin: 0 auto;
}
#body_leftFrame #list_server {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
list-style-position: inside;
list-style-type: none;
margin: 0;
padding: 0;
}
#body_leftFrame #list_server li {
margin: 0;
padding: 0;
font-size: 80%;
}
<?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
/* iconic view for ul items */
li#li_create_database {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
}
li#li_select_lang {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
}
li#li_select_mysql_collation,
li#li_select_mysql_charset {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
}
li#li_select_theme{
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
}
li#li_server_info,
li#li_mysql_proto{
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
}
li#li_user_info{
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
}
li#li_mysql_status{
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
}
li#li_mysql_variables{
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
}
li#li_mysql_processes,
li#li_mysql_client_version,
li#li_used_php_extension{
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
}
li#li_mysql_collations{
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
}
li#li_mysql_engines{
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
}
li#li_mysql_binlogs {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
}
li#li_mysql_databases {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
}
li#li_export {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
}
li#li_import {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
}
li#li_change_password {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
}
li#li_log_out {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
}
li#li_pma_docs {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_docs.png);
}
li#li_phpinfo {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>php_sym.png);
}
li#li_pma_homepage {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_home.png);
}
li#li_mysql_privilegs{
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
}
li#li_switch_dbstats {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
}
li#li_flush_privileges {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
}
/* END iconic view for ul items */
<?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>

View File

@@ -1,18 +1,17 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */ /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* Theme information * Theme information
* *
* * @version $Id$
* @version $Id$ * @package phpMyAdmin-theme
* @package phpMyAdmin-theme * @subpackage Very_small
* @subpackage Very_small */
*/
/** /**
* *
*/ */
$theme_name = 'Very small'; $theme_name = 'Very small';
$theme_version = 2; $theme_version = 3;
$theme_generation = 2; $theme_generation = 2;
?> ?>

View File

@@ -1,14 +1,14 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */ /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-theme * @package phpMyAdmin-theme
* @subpackage Very_small * @subpackage Very_small
*/ */
/** /**
* *
*/ */
$cfg['LeftWidth'] = 170; // left frame width $cfg['LeftWidth'] = 170; // left frame width
/* colors */ /* colors */
@@ -24,6 +24,8 @@ $cfg['BgcolorTwo'] = '#dbe7f9'; // table data row colour, alte
$cfg['BrowsePointerColor'] = '#b4cae9'; // color of the pointer in browse mode $cfg['BrowsePointerColor'] = '#b4cae9'; // color of the pointer in browse mode
$cfg['BrowseMarkerColor'] = '#e9c7b4'; // color of the marker (visually marks row $cfg['BrowseMarkerColor'] = '#e9c7b4'; // color of the marker (visually marks row
// by clicking on it) in browse mode // by clicking on it) in browse mode
$cfg['BrowseMarkerBackground'] = '#b4cae9'; // background color of a marked item
$cfg['BrowseHoverBackground'] = '#e9c7b4'; // background color of a hovered item
$cfg['QueryWindowWidth'] = 550; // Width of Query window $cfg['QueryWindowWidth'] = 550; // Width of Query window
$cfg['QueryWindowHeight'] = 310; // Height of Query window $cfg['QueryWindowHeight'] = 310; // Height of Query window

View File

@@ -3,6 +3,13 @@
---------------------------------------------------------------------- ----------------------------------------------------------------------
CHANGE LOG: CHANGE LOG:
- 2007-04-22:
> Supporting phpMyAdmin Version 2.10.1-rc1
> Fixed the text of selected (marked) and hovered lines (they weren't visible)
> Fixed the startup page icons
> Fixed the "Open new window" missing icon (it is from the "Original" theme)
> The theme does not depend on the Arctic Ocean
> Removed the $pma_http_url = ''; parameter because it is not neccessary any more
- 2005-09-12; - 2005-09-12;
> Supporting phpMyAdmin Version 2.6.4 and higher > Supporting phpMyAdmin Version 2.6.4 and higher
- 2005-09-11: - 2005-09-11:
@@ -13,23 +20,7 @@ CHANGE LOG:
1. INSTALLATION 1. INSTALLATION
---------------------------------------------------------------------- ----------------------------------------------------------------------
Simply unzip the files. Simply unzip the files.
(sample: [whatever]/phpMyAdmin/themes/) (sample: /phpMyAdmin/themes/)
One each .css you'll find in first line <?php $pma_http_url = ''; ?>.
Here you can (if required) the url to the 'artic_ocean' theme.
This may fix some problems with relative urls.
Then make sure, that all images are in the directory
- [whatever]/phpMyAdmin/themes/arctic_ocean/img/
and all *.css.php files are in the directory
- [whatever]/phpMyAdmin/themes/arctic_ocean/css/.
The two *.inc.php files must stored in the directory
- [whatever]/phpMyAdmin/themes/arctic_ocean/.
Note:
[whatever] is any path to your phpMyAdmin-Installation.
1b. OPTIONAL 1b. OPTIONAL
----------------------------------------------------------------------- -----------------------------------------------------------------------
@@ -72,12 +63,9 @@ CHANGE LOG:
- phpMyAdmin Version 2.6.2 or higher - phpMyAdmin Version 2.6.2 or higher
- full CSS2 compatible browser - full CSS2 compatible browser
(I've tested with Firefox 1.02, Microsoft(R) (I've tested with Firefox 1.02, Microsoft(R)
InternetExplorer 6.0, and Opera 7.54) InternetExplorer 6.0, and Opera 7.54 and Opera 9.20)
- Your browser should support Javascript - Your browser should support Javascript
and png-images. and png-images.
- In phpMyAdmin Version 2.6.4 there's
a new navigation behavior included.
The navigation panel has a fixed position now.
---------------------------------------------------------------------- ----------------------------------------------------------------------