new theme

This commit is contained in:
Marc Delisle
2010-03-07 12:38:50 +00:00
parent 510276adbd
commit 1711f1b029
150 changed files with 2082 additions and 0 deletions

View File

@@ -0,0 +1,275 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* navigation css file from theme
*
* @version $Id$
* @package phpMyAdmin-theme
* @subpackage Arctic_Ocean
*/
// unplanned execution path
if (!defined('PMA_MINIMUM_COMMON')) {
exit();
}
$forIE = false;
if (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER < 7)
$forIE = true;
// 2007-08-24 (mkkeck)
// Get the whole http_url for the images
$ipath = $_SESSION['PMA_Theme']->getImgPath();
// 2007-08-24 (mkkeck)
// Get font-sizes
if (isset($GLOBALS['PMA_Config']) && $GLOBALS['PMA_Config']->get('fontsize') !== null) {
$pma_fsize = $GLOBALS['PMA_Config']->get('fontsize');
} else if (isset($_SESSION['PMA_Config']) && $_SESSION['PMA_Config']->get('fontsize')) {
$pma_fsize = $_SESSION['PMA_Config']->get('fontsize');
} else {
if (isset($_COOKIE['pma_fontsize'])) {
$pma_fsize = $_COOKIE['pma_fontsize'];
}
}
$pma_fsize = preg_replace("/[^0-9]/", "", $pma_fsize);
if (!empty($pma_fsize)) {
$pma_fsize = ($pma_fsize * 0.01);
} else {
$pma_fsize = 1;
}
if ( isset($GLOBALS['cfg']['FontSize']) && !empty($GLOBALS['cfg']['FontSize']) ) {
$usr_fsize = preg_replace("/[^0-9]/", "", $GLOBALS['cfg']['FontSize']);
}
if (!isset($usr_fsize)) {
$usr_fsize = 11;
}
if ( isset($GLOBALS['cfg']['FontSizePrefix']) && !empty($GLOBALS['cfg']['FontSizePrefix']) ) {
$funit = strtolower($GLOBALS['cfg']['FontSizePrefix']);
}
if (!isset($funit) || ($funit!='px' && $funit != 'pt')) {
$funit = 'px';
}
$fsize = ($usr_fsize - 2);
if ($pma_fsize) {
$fsize = number_format( (intval($usr_fsize) * $pma_fsize), 0 );
}
?>
/******************************************************************************/
/* general tags */
html, td, body {
<?php if (!empty($GLOBALS['cfg']['FontFamily'])) { ?>
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
<?php } ?>
font-size: <?php echo $fsize . $funit; ?>;
}
body {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
background-image: url('<?php echo $ipath; ?>wbg_left.jpg');
background-repeat: repeat-y;
background-position: 0px 0px;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
<?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
<?php } ?>
margin-left: 0px;
margin-right: 0px;
padding-left: 15px;
padding-right: 10px;
}
p, h1, h2, h3, form {
margin: 0px;
padding: 0px;
}
a img { border: none; }
form { display: inline; }
select { width: 100%; }
select optgroup, select option { font-style: normal; }
button { display: inline; }
/******************************************************************************/
/* classes */
/* leave some space between icons and text */
.icon {
margin-left: 1px;
margin-right: 1px;
vertical-align: middle;
}
/******************************************************************************/
/* specific elements */
div#pmalogo,
div#leftframelinks,
div#databaseList {
border-bottom: 1px solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
margin-bottom: 1px;
padding-bottom: 1px;
}
div#pmalogo, div#leftframelinks { text-align: center; }
div#databaseList { text-align: left; }
div#leftframelinks .icon {
margin: 0;
padding: 0;
}
div#leftframelinks a img.icon {
border: 1px none <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
margin: 0;
padding: 2px;
}
div#leftframelinks a:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
}
/* serverlist */
#body_leftFrame #list_server {
list-style-image: url(<?php echo $ipath; ?>s_host.png);
list-style-position: inside;
list-style-type: none;
margin: 0;
padding: 0;
}
#body_leftFrame #list_server li {
font-size: 95%;
margin: 0;
padding: 0;
}
/* leftdatabaselist */
div#left_tableList ul {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
font-size: 95%;
list-style-type: none;
list-style-position: outside;
margin: 0;
padding: 0;
}
div#left_tableList ul ul {
font-size: 100%;
}
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;
}
div#left_tableList li {
margin: 0;
padding: 0;
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']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
}
div#left_tableList ul li.marked, div#left_tableList ul li.marked a,
div#left_tableList ul li.marked ul li.marked, div#left_tableList ul li.marked ul li.marked a {
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
div#left_tableList ul li.marked ul, div#left_tableList ul li.marked ul li, div#left_tableList ul li.marked ul a {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
}
<?php } ?>
<?php if ( $GLOBALS['cfg']['LeftPointerEnable'] ) { ?>
div#left_tableList > ul li:hover > a,
div#left_tableList > ul li:hover{
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
}
div#left_tableList ul li:hover, div#left_tableList ul li:hover a, div#left_tableList ul li a:hover,
div#left_tableList ul li:hover ul li:hover, div#left_tableList ul li:hover ul li:hover a, div#left_tableList ul li ul li a:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
}
<?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
div#left_tableList ul li.marked a:hover, div#left_tableList ul li.marked ul li.marked a:hover {
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
<?php } ?>
div#left_tableList ul li:hover ul, div#left_tableList ul li:hover ul li,div#left_tableList ul li:hover ul a {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
}
<?php } ?>
div#left_tableList img {
padding: 0;
vertical-align: middle;
}
div#left_tableList ul ul {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
border-bottom: 1px none <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
border-left: 1px none <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
margin-left: 0;
padding-left: 15px;
padding-bottom: 1px;
}
ul#databaseList, ul#databaseList ul {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}
ul#databaseList li {
border-bottom: 1px solid #4a2e00;
font-weight: bold;
list-style: none;
margin: 2px 0px 2px 0px;
padding: 0px 0px 2px 0px;
white-space: nowrap;
}
ul#databaseList li ul li {
border-bottom: none;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}
ul#databaseList {
background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: #4a2e00;
}
ul#databaseList a:link, ul#databaseList a:active, ul#databaseList a:visited {
background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
background-image: url('<?php echo $ipath; ?>b_sdb.png');
background-position: <?php echo $left; ?>;
background-repeat: no-repeat;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
font-weight: normal;
padding-<?php echo $left; ?>: 12px;
text-decoration: none;
}
<?php if ( $GLOBALS['cfg']['LeftPointerEnable'] ) { ?>
ul#databaseList a:hover,
ul#databaseList > li:hover > a, ul#databaseList > ul li:hover > a {
background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
}
<?php } ?>
ul#databaseList a:hover { text-decoration: underline; }

View File

@@ -0,0 +1,122 @@
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* print css file from theme
*
* @version $Id$
* @package phpMyAdmin-theme
* @subpackage Arctic_Ocean
*/
if (isset($GLOBALS['PMA_Config']) && $GLOBALS['PMA_Config']->get('fontsize') !== null) {
$pma_fsize = $GLOBALS['PMA_Config']->get('fontsize');
} else if (isset($_SESSION['PMA_Config']) && $_SESSION['PMA_Config']->get('fontsize')) {
$pma_fsize = $_SESSION['PMA_Config']->get('fontsize');
} else {
if (isset($_COOKIE['pma_fontsize'])) {
$pma_fsize = $_COOKIE['pma_fontsize'];
}
}
$pma_fsize = preg_replace("/[^0-9]/", "", $pma_fsize);
if (!empty($pma_fsize)) {
$pma_fsize = ($pma_fsize * 0.01);
} else {
$pma_fsize = 1;
}
if ( isset($GLOBALS['cfg']['FontSize']) && !empty($GLOBALS['cfg']['FontSize']) ) {
$usr_fsize = preg_replace("/[^0-9]/", "", $GLOBALS['cfg']['FontSize']);
$fsize = ceil($usr_fsize * $pma_fsize)
. ( (isset($GLOBALS['cfg']['FontSizePrefix']) && !empty($GLOBALS['cfg']['FontSizePrefix'])) ? $GLOBALS['cfg']['FontSizePrefix'] : 'pt' );
} else
$fsize = $_SESSION['PMA_Config']->get('fontsize');
?>
html {
font-size: <?php echo $fsize; ?>;
}
body, table, th, td {
color: #000000;
background-color: #ffffff;
<?php if (!empty($GLOBALS['cfg']['FontFamily'])) { ?>
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
<?php } ?>
font-size: <?php echo $fsize; ?>;
}
a:link, a:visited, a:active {
color: #696ab5;
font-weight: bold;
text-decoration: none;
}
a:hover {
color: #585880;
text-decoration: none;
}
h1, h2, h3 { font-weight: bold; }
h1 { font-size: 130%; }
h2 { font-size: 120%; }
h3 { font-size: 110%; }
img { border: none; }
table, th, td {
border-width: 1px;
border-color: #000000;
border-style: solid;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
th, td { padding: 2px; }
th {
background-color: #e5e5e5;
color: #585880;
font-weight: bold;
}
table tr.odd th, table tr.odd td,
table tr.even th, table tr.even td, .even {
text-align: <?php echo $left; ?>;
}
table tr.hover th, table tr.odd:hover th, table tr.even:hover th {
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
table tr.hover td, table tr.odd:hover td, table tr.even:hover td {
color: #000000;
background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
}
table td table {
margin: 0px;
padding: 0px;
width: auto;
}
table td table, table td table td, table td table th {
border: 1px none #999999;
}
table td table td, table td table th {
font-size: 95%;
white-space: nowrap;
}
#serverinfo {
background-color: #ffffff;
font-weight: bold;
padding: 5px 5px 5px 5px;
margin-top: 0px;
white-space: nowrap;
vertical-align: middle;
border-bottom: 1px solid #585880;
height: 16px;
}
#serverinfo .item { white-space: nowrap; }
#serverinfo img { margin: 0px 1px 0px 1px; }
#serverinfo .separator img {
width: 9px;
height: 11px;
margin: 0px 2px 0px 2px;
vertical-align: middle;
}
#selflink { display: none; }

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 993 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 989 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 948 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1007 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

BIN
smooth_yellow/img/b_sdb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
smooth_yellow/img/b_sql.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 828 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 928 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 837 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 678 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 690 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 821 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 688 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 827 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 795 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

BIN
smooth_yellow/img/eye.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

BIN
smooth_yellow/img/item.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Some files were not shown because too many files have changed in this diff Show More