This commit is contained in:
Marc Delisle
2007-08-27 16:59:43 +00:00
parent cfe51fdbaa
commit 9cdb764624
10 changed files with 104 additions and 67 deletions

View File

@@ -1,12 +1,11 @@
<?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 Paradice
* *
* @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')) {
@@ -34,12 +33,21 @@ a img {
border: 0; border: 0;
} }
ul {
margin:0;
}
form { form {
margin: 0; margin: 0;
padding: 0; padding: 0;
display: inline; display: inline;
} }
select#select_server,
select#lightm_db {
width: 100%;
}
select { select {
background-color: #ffffff; background-color: #ffffff;
color: #000000; color: #000000;
@@ -63,6 +71,10 @@ button {
margin-left: 0.3em; margin-left: 0.3em;
} }
.navi_dbName {
font-weight: bold;
color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>;
}
/******************************************************************************/ /******************************************************************************/
/* specific elements */ /* specific elements */
@@ -80,12 +92,26 @@ ul#databaseList {
border-bottom: 0.05em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 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;
padding-left: 1.5em; padding-left: 1.5em;
list-style-type: none;
list-style-position:outside;
list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/paradice/img/dbitem_ltr.png);
}
ul#databaseList ul {
list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/paradice/img/dbitem_ltr2.png);
}
ul#databaseList lia {
padding-bottom: 0.5em;
} }
ul#databaseList a { ul#databaseList a {
display: block; display: block;
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; }
div#navidbpageselector a,
ul#databaseList a {
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
} }
@@ -111,6 +137,7 @@ div#leftframelinks a img.icon {
} }
div#leftframelinks a:hover { div#leftframelinks a:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>; color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
} }
@@ -131,15 +158,14 @@ div#leftframelinks a:hover {
/* leftdatabaselist */ /* leftdatabaselist */
div#left_tableList { div#left_tableList {
background-color: none; 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;
list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/paradice/img/bd_sbrowse.png);
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 80%;
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
} }
div#left_tableList ul ul { div#left_tableList ul ul {
@@ -147,13 +173,11 @@ div#left_tableList ul ul {
} }
div#left_tableList a { div#left_tableList a {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
text-decoration: none; text-decoration: none;
} }
div#left_tableList a:hover { div#left_tableList a:hover {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
text-decoration: underline; text-decoration: underline;
} }
@@ -173,7 +197,7 @@ div#left_tableList > ul li.marked {
} }
<?php } ?> <?php } ?>
<?php if ( $GLOBALS['cfg']['LeftPointerEnable'] ) { ?> <?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?>
div#left_tableList > ul li:hover > a, div#left_tableList > ul li:hover > a,
div#left_tableList > ul li:hover { div#left_tableList > ul li:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>; background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
@@ -193,3 +217,12 @@ div#left_tableList ul ul {
padding-bottom: 0.1em; padding-bottom: 0.1em;
border-bottom: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>; border-bottom: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
} }
/* for the servers list in navi panel */
#serverinfo .item {
white-space: nowrap;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
}
#serverinfo a:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
}

View File

@@ -1,12 +1,13 @@
<?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 Original
* *
* @version $Id$ * @version $Id$
* @package phpMyAdmin-theme * @package phpMyAdmin-theme
* @subpackage Paradice * @subpackage Original
*/ */
?>
/* For printview */ /* For printview */
body, table, th, td { body, table, th, td {
color: #000000; color: #000000;

View File

@@ -1,16 +1,16 @@
<?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 Paradice
* *
* @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 */
@@ -19,15 +19,15 @@ html {
padding: 0; padding: 0;
} }
body { body {
padding: 0;
margin: 0.5em;
<?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']; ?>;
<?php } ?> <?php } ?>
padding: 0;
margin: 0.5em;
color: <?php echo $GLOBALS['cfg']['MainColor']; ?>; color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
font-size: 0.8em; font-size: 1em;
} }
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?> <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
@@ -210,6 +210,8 @@ button {
fieldset.tblFooters { fieldset.tblFooters {
margin-top: 0; margin-top: 0;
margin-bottom: 0.5em; margin-bottom: 0.5em;
/* avoid a thick line since this should be used under another fieldset */
border-top: 0;
text-align: <?php echo $right; ?>; text-align: <?php echo $right; ?>;
float: none; float: none;
clear: both; clear: both;
@@ -427,10 +429,10 @@ h1.notice,
div.notice { div.notice {
margin: 0.5em 0 0.5em 0; margin: 0.5em 0 0.5em 0;
border: 1px solid #FFD700; border: 1px solid #FFD700;
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>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%;
padding: 10px 10px 10px 36px; padding: 10px 10px 10px 36px;
<?php } else { ?> <?php } else { ?>
@@ -460,7 +462,7 @@ div.warning {
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>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%;
padding: 10px 10px 10px 36px; padding: 10px 10px 10px 36px;
<?php } else { ?> <?php } else { ?>
@@ -487,10 +489,10 @@ h1.error,
div.error { div.error {
margin: 0.5em 0 0.5em 0; margin: 0.5em 0 0.5em 0;
border: 1px solid #ff0000; border: 1px solid #ff0000;
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>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%;
padding: 10px 10px 10px 36px; padding: 10px 10px 10px 36px;
<?php } else { ?> <?php } else { ?>
@@ -518,10 +520,10 @@ fieldset.confirmation legend {
border-left: 1px solid #FF0000; border-left: 1px solid #FF0000;
border-right: 1px solid #FF0000; border-right: 1px solid #FF0000;
font-weight: bold; font-weight: bold;
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>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%;
padding: 0.2em 0.2em 0.2em 25px; padding: 0.2em 0.2em 0.2em 25px;
<?php } else { ?> <?php } else { ?>
@@ -686,7 +688,7 @@ a.tabcaution:hover {
background-color: #FF0000; background-color: #FF0000;
} }
<?php if ( $GLOBALS['cfg']['LightTabs'] ) { ?> <?php if ($GLOBALS['cfg']['LightTabs']) { ?>
/* active tab */ /* active tab */
a.tabactive { a.tabactive {
color: black; color: black;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
paradice/img/dbitem_ltr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

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

View File

@@ -1,10 +1,11 @@
<?php <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */ /* vim: set expandtab sw=4 ts=4 sts=4: */
/** /**
* * configures general layout
* @version $Id$ * for detailed layout configuration please refer to the css files
* @package phpMyAdmin-theme *
* @subpackage Paradice * @package phpMyAdmin-theme
* @subpackage Paradice
*/ */
/** /**
@@ -23,6 +24,8 @@ $GLOBALS['cfg']['NaviBackground'] = '#3674CF';
$GLOBALS['cfg']['NaviPointerColor'] = '#000000'; $GLOBALS['cfg']['NaviPointerColor'] = '#000000';
// background of the pointer in navi frame // background of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerBackground'] = '#5796EF'; $GLOBALS['cfg']['NaviPointerBackground'] = '#5796EF';
// text color of the selected database name (when showing the table list)
$GLOBALS['cfg']['NaviDatabaseNameColor'] = '#FFFFFF';
/** /**
* main frame * main frame

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 24 KiB