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
/* 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
* @subpackage Paradice
*/
*/
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
@@ -34,12 +33,21 @@ a img {
border: 0;
}
ul {
margin:0;
}
form {
margin: 0;
padding: 0;
display: inline;
}
select#select_server,
select#lightm_db {
width: 100%;
}
select {
background-color: #ffffff;
color: #000000;
@@ -63,6 +71,10 @@ button {
margin-left: 0.3em;
}
.navi_dbName {
font-weight: bold;
color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>;
}
/******************************************************************************/
/* specific elements */
@@ -80,12 +92,26 @@ ul#databaseList {
border-bottom: 0.05em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
margin-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 {
display: block;
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
}
div#navidbpageselector a,
ul#databaseList a {
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
}
@@ -111,6 +137,7 @@ div#leftframelinks a img.icon {
}
div#leftframelinks a:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
}
@@ -133,13 +160,12 @@ div#leftframelinks a:hover {
div#left_tableList {
background-color: none;
}
div#left_tableList ul {
div#left_tableList ul {
list-style-type: none;
list-style-position: outside;
list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/paradice/img/bd_sbrowse.png);
margin: 0;
padding: 0;
font-size: 80%;
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
}
div#left_tableList ul ul {
@@ -147,13 +173,11 @@ div#left_tableList ul ul {
}
div#left_tableList a {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
text-decoration: none;
}
div#left_tableList a:hover {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
text-decoration: underline;
}
@@ -173,7 +197,7 @@ div#left_tableList > ul li.marked {
}
<?php } ?>
<?php if ( $GLOBALS['cfg']['LeftPointerEnable'] ) { ?>
<?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?>
div#left_tableList > ul li:hover > a,
div#left_tableList > ul li:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
@@ -193,3 +217,12 @@ div#left_tableList ul ul {
padding-bottom: 0.1em;
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
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* print css file from theme
* print css file from theme Original
*
* @version $Id$
* @package phpMyAdmin-theme
* @subpackage Paradice
* @subpackage Original
*/
?>
/* For printview */
body, table, th, td {
color: #000000;

View File

@@ -1,16 +1,16 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* main css file from theme
*
* @version $Id$
* @package phpMyAdmin-theme
* @subpackage Paradice
*/
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
exit();
}
* main css file from theme Paradice
*
* @package phpMyAdmin-theme
* @subpackage Paradice
*/
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
exit();
}
?>
/******************************************************************************/
/* general tags */
@@ -20,14 +20,14 @@ html {
}
body {
padding: 0;
margin: 0.5em;
<?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
<?php } ?>
padding: 0;
margin: 0.5em;
color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
font-size: 0.8em;
font-size: 1em;
}
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
@@ -210,6 +210,8 @@ button {
fieldset.tblFooters {
margin-top: 0;
margin-bottom: 0.5em;
/* avoid a thick line since this should be used under another fieldset */
border-top: 0;
text-align: <?php echo $right; ?>;
float: none;
clear: both;
@@ -427,10 +429,10 @@ h1.notice,
div.notice {
margin: 0.5em 0 0.5em 0;
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-repeat: no-repeat;
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?>
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 10px 50%;
padding: 10px 10px 10px 36px;
<?php } else { ?>
@@ -460,7 +462,7 @@ div.warning {
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
background-repeat: no-repeat;
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?>
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 10px 50%;
padding: 10px 10px 10px 36px;
<?php } else { ?>
@@ -487,10 +489,10 @@ h1.error,
div.error {
margin: 0.5em 0 0.5em 0;
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-repeat: no-repeat;
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?>
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 10px 50%;
padding: 10px 10px 10px 36px;
<?php } else { ?>
@@ -518,10 +520,10 @@ fieldset.confirmation legend {
border-left: 1px solid #FF0000;
border-right: 1px solid #FF0000;
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-repeat: no-repeat;
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?>
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
background-position: 5px 50%;
padding: 0.2em 0.2em 0.2em 25px;
<?php } else { ?>
@@ -686,7 +688,7 @@ a.tabcaution:hover {
background-color: #FF0000;
}
<?php if ( $GLOBALS['cfg']['LightTabs'] ) { ?>
<?php if ($GLOBALS['cfg']['LightTabs']) { ?>
/* active tab */
a.tabactive {
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

@@ -3,15 +3,13 @@
/**
* Theme information
*
*
* @version $Id$
* @package phpMyAdmin-theme
* @subpackage Paradice
*/
/**
*
* Theme information
*/
$theme_name = 'Paradice';
$theme_full_version = '2.10';
$theme_full_version = '2.9';
?>

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 24 KiB