update for 2.11

This commit is contained in:
Marc Delisle
2007-10-09 11:50:23 +00:00
parent c1604b73d4
commit 37e9d4219d
6 changed files with 68 additions and 23 deletions

View File

@@ -29,13 +29,18 @@ 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#select_server,
select#lightm_db {
width: 100%; width: 100%;
} }
@@ -56,10 +61,18 @@ button {
margin-left: 0.3em; margin-left: 0.3em;
} }
.navi_dbName {
font-weight: bold;
color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>;
}
/******************************************************************************/ /******************************************************************************/
/* specific elements */ /* specific elements */
div#pmalogo {
background-color: #D0DCE0<?php //better echo $GLOBALS['cfg']['logoBGC']; ?>;
padding:.3em;
}
div#pmalogo, div#pmalogo,
div#leftframelinks, div#leftframelinks,
div#databaseList { div#databaseList {
@@ -73,11 +86,15 @@ 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-<?php echo $left; ?>: 1.5em;
} }
ul#databaseList a { ul#databaseList a {
display: block; display: block;
}
div#navidbpageselector a,
ul#databaseList a {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
} }
@@ -124,6 +141,10 @@ div#leftframelinks a:hover {
} }
/* leftdatabaselist */ /* leftdatabaselist */
div#left_tableList {
border-bottom: 0.05em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
}
div#left_tableList ul { div#left_tableList ul {
list-style-type: none; list-style-type: none;
list-style-position: outside; list-style-position: outside;
@@ -178,9 +199,19 @@ div#left_tableList img {
} }
div#left_tableList ul ul { div#left_tableList ul ul {
margin-left: 0; margin-<?php echo $left; ?>: 0;
padding-left: 0.1em; padding-<?php echo $left; ?>: 0.1em;
border-left: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>; border-<?php echo $left; ?>: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
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

@@ -7,6 +7,7 @@
* @package phpMyAdmin-theme * @package phpMyAdmin-theme
* @subpackage Crimson-Gray * @subpackage Crimson-Gray
*/ */
// unplanned execution path // unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) { if (!defined('PMA_MINIMUM_COMMON')) {
exit(); exit();
@@ -105,6 +106,8 @@ fieldset fieldset {
fieldset legend { fieldset legend {
background-color: transparent; background-color: transparent;
font-weight: bold;
color: #444444;
} }
/* buttons in some browsers (eg. Konqueror) are block elements, /* buttons in some browsers (eg. Konqueror) are block elements,
@@ -135,6 +138,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;
@@ -535,7 +540,7 @@ body.loginform div.container {
form.login label { form.login label {
float: <?php echo $left; ?>; float: <?php echo $left; ?>;
width: 10em; width: 11.5em;
font-weight: bolder; font-weight: bolder;
} }
@@ -626,7 +631,12 @@ a.tabcaution:hover,
a.tab:hover, a.tab:hover,
.tabactive { .tabactive {
background-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>; background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
}
/* to be able to cancel the bottom border, use <li class="active"> */
ul#topmenu li.active {
border-bottom: 1pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
} }
/* disabled drop/empty tabs */ /* disabled drop/empty tabs */
@@ -943,7 +953,8 @@ li#li_select_theme{
list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png); list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
} }
li#li_server_info{ li#li_server_info,
li#li_server_version{
list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png); list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
} }
@@ -995,7 +1006,8 @@ li#li_log_out {
list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png); list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
} }
li#li_pma_docs { li#li_pma_docs,
li#li_pma_wiki {
list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_docs.png); list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_docs.png);
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 B

After

Width:  |  Height:  |  Size: 897 B

View File

@@ -25,6 +25,8 @@ $GLOBALS['cfg']['NaviBackground'] = '#8B8F94';
$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'] = '#C0C0C0'; $GLOBALS['cfg']['NaviPointerBackground'] = '#C0C0C0';
// text color of the selected database name (when showing the table list)
$GLOBALS['cfg']['NaviDatabaseNameColor'] = '#AA0000';
/** /**
* main frame * main frame

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 23 KiB