updated themes to 2.9 and some minor fixes

This commit is contained in:
Sebastian Mendel
2006-08-11 09:22:10 +00:00
parent 0efa7e828e
commit 997bd4c5c9
9 changed files with 135 additions and 62 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - ChangeLog
$Id$ $Id$
$Source$ $Source$
2006-08-11 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* css\phpmyadmin.css.php, themes\*:
updated themes to 2.9 and some minor fixes
thanks to Juergen Wind - windkiel for hinting this (patch #1535169)
2006-08-10 Marc Delisle <lem9@users.sourceforge.net> 2006-08-10 Marc Delisle <lem9@users.sourceforge.net>
* lang/danish: Updated, thanks to AlleyKat - dk_alleykat * lang/danish: Updated, thanks to AlleyKat - dk_alleykat
* lang/catalan update, thanks to Xavier Navarro (xavin) * lang/catalan update, thanks to Xavier Navarro (xavin)

View File

@@ -343,10 +343,8 @@ ul#topmenu li {
background-color: <?php echo $GLOBALS['cfg']['BgcolorOne']; ?>; background-color: <?php echo $GLOBALS['cfg']['BgcolorOne']; ?>;
border: 1pt solid <?php echo $GLOBALS['cfg']['BgcolorTwo']; ?>; border: 1pt solid <?php echo $GLOBALS['cfg']['BgcolorTwo']; ?>;
border-bottom: 0; border-bottom: 0;
border-radius-topleft: 0.4em; border-top-left-radius: 0.4em;
border-radius-topright: 0.4em; border-top-right-radius: 0.4em;
-moz-border-radius-topleft: 0.4em;
-moz-border-radius-topright: 0.4em;
} }
/* enabled hover/active tabs */ /* enabled hover/active tabs */
@@ -710,6 +708,7 @@ if ($_SESSION['PMA_Theme']->checkVersion('2.9')) {
<?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?> <?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
/* marked items */ /* marked items */
.marked a,
.marked { .marked {
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>; background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>; color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;

View File

@@ -46,7 +46,6 @@ a:visited,
a:active { a:active {
text-decoration: none; text-decoration: none;
color: #333399; color: #333399;
} }
a:hover { a:hover {
@@ -170,6 +169,16 @@ button.mult_submit {
background-color: transparent; background-color: transparent;
} }
/* odd items 1,3,5,7,... */
.odd {
background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
}
/* even items 2,4,6,8,... */
.even {
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
}
/* odd table rows 1,3,5,7,... */ /* odd table rows 1,3,5,7,... */
table tr.odd th, table tr.odd th,
table tr.odd { table tr.odd {
@@ -193,17 +202,32 @@ table tr.marked {
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>; color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
} }
/* hovered items */
.odd:hover,
.even:hover,
.hover {
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
/* hovered table rows */ /* hovered table rows */
table tr.odd:hover,
table tr.even:hover,
table tr.odd:hover th, table tr.odd:hover th,
table tr.even:hover th, table tr.even:hover th,
table tr.hover th, table tr.hover th {
table tr.hover {
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>; background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>; color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
} }
/**
* 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']; ?>;
}
table .value { table .value {
text-align: <?php echo $right; ?>; text-align: <?php echo $right; ?>;
white-space: normal; white-space: normal;
@@ -516,6 +540,16 @@ body.loginform a.logo {
text-align: center; text-align: center;
} }
body.loginform {
text-align: center;
}
body.loginform div.container {
text-align: <?php echo $left; ?>;
width: 30em;
margin: 0 auto;
}
form.login label { form.login label {
float: <?php echo $left; ?>; float: <?php echo $left; ?>;
width: 10em; width: 10em;
@@ -593,10 +627,8 @@ ul#topmenu li {
background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>; background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
border: 1pt solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>; border: 1pt solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
border-bottom: 0; border-bottom: 0;
border-radius-topleft: 0.4em; border-top-left-radius: 0.4em;
border-radius-topright: 0.4em; border-top-right-radius: 0.4em;
-moz-border-radius-topleft: 0.4em;
-moz-border-radius-topright: 0.4em;
} }
/* enabled hover/active tabs */ /* enabled hover/active tabs */
@@ -929,12 +961,12 @@ div#queryboxcontainer div#bookmarkoptions {
} }
#maincontainer li { #maincontainer li {
margin-bottom: 0.3em; margin-bottom: 0.3em;
} }
/* END main page */ /* END main page */
<?php if ( $GLOBALS['cfg']['MainPageIconic'] ) { ?> <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
/* iconic view for ul items */ /* iconic view for ul items */
li#li_create_database { li#li_create_database {
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png); list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
@@ -1111,13 +1143,3 @@ label.desc {
width: 30em; width: 30em;
float: <?php echo $left; ?>; float: <?php echo $left; ?>;
} }
body.loginform {
text-align: center;
}
body.loginform div.container {
text-align: <?php echo $left; ?>;
width: 30em;
margin: 0 auto;
}

View File

@@ -2,5 +2,5 @@
/* $Id$ */ /* $Id$ */
/* Theme information */ /* Theme information */
$theme_name = 'Darkblue/orange'; $theme_name = 'Darkblue/orange';
$theme_full_version = '2.8'; $theme_full_version = '2.9';
?> ?>

View File

@@ -17,7 +17,7 @@ $GLOBALS['cfg']['NaviColor'] = '#ffffff';
$GLOBALS['cfg']['NaviBackground'] = '#666699'; $GLOBALS['cfg']['NaviBackground'] = '#666699';
// foreground (text) color of the pointer in navi frame // foreground (text) color of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerColor'] = '#ffffff'; $GLOBALS['cfg']['NaviPointerColor'] = '#000000';
// background of the pointer in navi frame // background of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerBackground'] = '#9999cc'; $GLOBALS['cfg']['NaviPointerBackground'] = '#9999cc';

View File

@@ -77,6 +77,21 @@ div#leftframelinks a:hover {
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>; color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
} }
/* 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 ul { div#left_tableList ul {
list-style-type: none; list-style-type: none;
@@ -92,12 +107,14 @@ div#left_tableList ul ul {
} }
div#left_tableList a { div#left_tableList a {
color: inherit; 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: inherit; background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
text-decoration: underline; text-decoration: underline;
} }
@@ -107,8 +124,18 @@ 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']['BrowseMarkerBackground']; ?>;
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,
div#left_tableList > ul li:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>; background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>; color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
} }

View File

@@ -37,7 +37,8 @@ h3 {
} }
a:link, a:link,
a:visited { a:visited,
a:active {
text-decoration: none; text-decoration: none;
color: #0000FF; color: #0000FF;
} }
@@ -149,17 +150,23 @@ button.mult_submit {
background-color: transparent; background-color: transparent;
} }
/* odd table rows 1,3,5,7,... */ /* odd items 1,3,5,7,... */
table tr.odd th, table tr.odd th,
table tr.odd { .odd {
background: <?php echo $GLOBALS['cfg']['BgOne']; ?>; background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
text-align: <?php echo $left; ?>;
} }
/* even table rows 2,4,6,8,... */ /* even items 2,4,6,8,... */
table tr.even th,
.even {
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
}
/* odd table rows 1,3,5,7,... */
table tr.odd th,
table tr.odd,
table tr.even th, table tr.even th,
table tr.even { table tr.even {
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
text-align: <?php echo $left; ?>; text-align: <?php echo $left; ?>;
} }
@@ -170,17 +177,32 @@ table tr.marked {
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>; color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
} }
/* hovered items */
.odd:hover,
.even:hover,
.hover {
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
/* hovered table rows */ /* hovered table rows */
table tr.odd:hover,
table tr.even:hover,
table tr.odd:hover th, table tr.odd:hover th,
table tr.even:hover th, table tr.even:hover th,
table tr.hover th, table tr.hover th {
table tr.hover {
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>; background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>; color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
} }
/**
* 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']; ?>;
}
table .value { table .value {
text-align: <?php echo $right; ?>; text-align: <?php echo $right; ?>;
white-space: normal; white-space: normal;
@@ -490,6 +512,16 @@ body.loginform a.logo {
text-align: center; text-align: center;
} }
body.loginform {
text-align: center;
}
body.loginform div.container {
text-align: <?php echo $left; ?>;
width: 30em;
margin: 0 auto;
}
form.login label { form.login label {
float: <?php echo $left; ?>; float: <?php echo $left; ?>;
width: 10em; width: 10em;
@@ -567,10 +599,8 @@ ul#topmenu li {
background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>; background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
border: 1pt solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>; border: 1pt solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
border-bottom: 0; border-bottom: 0;
border-radius-topleft: 0.4em; border-top-left-radius: 0.4em;
border-radius-topright: 0.4em; border-top-right-radius: 0.4em;
-moz-border-radius-topleft: 0.4em;
-moz-border-radius-topright: 0.4em;
} }
/* enabled hover/active tabs */ /* enabled hover/active tabs */
@@ -877,7 +907,7 @@ div#queryboxcontainer div#bookmarkoptions {
} }
#maincontainer li { #maincontainer li {
margin-bottom: 0.3em; margin-bottom: 0.3em;
} }
/* END main page */ /* END main page */
@@ -1059,13 +1089,3 @@ label.desc {
width: 30em; width: 30em;
float: <?php echo $left; ?>; float: <?php echo $left; ?>;
} }
body.loginform {
text-align: center;
}
body.loginform div.container {
text-align: <?php echo $left; ?>;
width: 30em;
margin: 0 auto;
}

View File

@@ -2,5 +2,5 @@
/* $Id$ */ /* $Id$ */
/* Theme information */ /* Theme information */
$theme_name = 'Original'; $theme_name = 'Original';
$theme_full_version = '2.8'; $theme_full_version = '2.9';
?> ?>

View File

@@ -17,7 +17,7 @@ $GLOBALS['cfg']['NaviColor'] = '#000000';
$GLOBALS['cfg']['NaviBackground'] = '#D0DCE0'; $GLOBALS['cfg']['NaviBackground'] = '#D0DCE0';
// foreground (text) color of the pointer in navi frame // foreground (text) color of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerColor'] = '#CCFFCC'; $GLOBALS['cfg']['NaviPointerColor'] = '#000000';
// background of the pointer in navi frame // background of the pointer in navi frame
$GLOBALS['cfg']['NaviPointerBackground'] = '#9999CC'; $GLOBALS['cfg']['NaviPointerBackground'] = '#9999CC';