arctic_ocean update

This commit is contained in:
Marc Delisle
2007-05-12 11:46:35 +00:00
parent 900aaf2b0a
commit e887be4882
25 changed files with 1295 additions and 877 deletions

View File

@@ -12,114 +12,197 @@
if (!defined('PMA_MINIMUM_COMMON')) {
exit();
}
$forIE = false;
if (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER < 7)
$forIE = true;
$ipath = ( (isset($GLOBALS['pma_http_url']) && !empty($GLOBALS['pma_http_url'])) ? $GLOBALS['pma_http_url'] : '../' )
. $_SESSION['PMA_Theme']->getImgPath();
$pma_fsize = $_SESSION['PMA_Config']->get('fontsize');
$pma_fsize = preg_replace("/[^0-9]/", "", $pma_fsize);
$pma_fsize = @($pma_fsize / 100);
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');
?>
/************************************************************************************
* LEFT FRAME
************************************************************************************/
#body_leftFrame {
padding-top: 0px;
padding-right: 3px;
padding-bottom: 3px;
padding-left: 3px;
margin-top: 0px;
margin-right: 3px;
margin-bottom: 3px;
margin-left: 3px;
}
#body_queryFrame {
padding-top: 2px;
padding-right: 2px;
padding-bottom: 0px;
padding-left: 2px;
margin-top: 2px;
margin-right: 2px;
margin-bottom: 0px;
margin-left: 2px;
/******************************************************************************/
/* general tags */
html, td, body {
<?php if (!empty($GLOBALS['cfg']['FontFamily'])) { ?>
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
<?php } ?>
font-size: <?php echo $fsize; ?>;
}
body {
background-color: #d9e4f4;
background-image: url('themes/arctic_ocean/img/wbg_left.jpg');
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;
}
body, input, textarea, select, th, td, .item, .tblItem {
font-family: Arial, Helvetica, Verdana, Geneva, sans-serif;
font-size: 11px;
}
#body_queryFrame select, #body_queryFrame table {
width: 100%;
}
#body_queryFrame div {
white-space: nowrap;
}
input, select, textarea {
color: #000000;
p, h1, h2, h3, form {
margin: 0px;
padding: 0px;
}
a:link, a:visited, a:active {
color: #585880;
}
a img { border: none; }
form { display: inline; }
select { width: 100%; }
select optgroup, select option { font-style: normal; }
button { display: inline; }
hr {
color: #585880;
background-color: #585880;
border: 1px none #585880;
height: 1px;
}
img, input, select, button {
/******************************************************************************/
/* classes */
/* leave some space between icons and text */
.icon {
margin-left: 3px;
margin-right: 3px;
vertical-align: middle;
}
img {
margin: 0px 2px 0px 2px;
/******************************************************************************/
/* 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;
}
.parent {
text-decoration: none;
display: block;
div#leftframelinks a img.icon {
border: 1px none <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
margin: 0;
padding: 2px;
}
.child {
text-decoration: none;
/* display: none; */
div#leftframelinks a:hover {
background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
}
.item, .item:active, .tblItem, .tblItem:active {
/* 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;
}
.item:hover, .tblItem:hover {
div#left_tableList a:hover {
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
text-decoration: underline;
}
td.heada, span.heada {
background-image: url(themes/arctic_ocean/img/b_sdb.png);
background-position: 2px center;
background-repeat: no-repeat;
font-weight: bold;
}
span.heada, span.heada a:link, span.heada a:active, span.heada a:visited, span.heada a:hover {
color: #696ab5;
text-decoration: none;
}
td.heada, span.heada {
text-align: left;
padding-left: 16px;
div#left_tableList li {
margin: 0;
padding: 0;
white-space: nowrap;
}
bdo {
display: none;
<?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']; ?>;
}
#hr_third {
display: none;
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']; ?>;
}
select optgroup, select option {
font-family: Arial, Helvetica, Verdana, Geneva, sans-serif;
font-size: 11px;
font-style: normal;
font-size: 11px;
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: 0.1em none <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
border-left: 0.1em none <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
margin-left: 0;
padding-left: 15px;
padding-bottom: 1px;
}

View File

@@ -7,101 +7,104 @@
* @package phpMyAdmin-theme
* @subpackage Arctic_Ocean
*/
$pma_fsize = $_SESSION['PMA_Config']->get('fontsize');
$pma_fsize = preg_replace("/[^0-9]/", "", $pma_fsize);
$pma_fsize = @($pma_fsize / 100);
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');
?>
/* For printview */
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
html {
font-size: <?php echo $fsize; ?>;
}
body, table, th, td {
color: #000000;
background-color: #ffffff;
margin: 0px;
padding: 0px;
<?php if (!empty($GLOBALS['cfg']['FontFamily'])) { ?>
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
<?php } ?>
font-size: <?php echo $fsize; ?>;
}
h1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
a:link, a:visited, a:active {
color: #696ab5;
font-weight: bold;
color: #000000;
text-decoration: none;
}
big {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #000000;
a:hover {
color: #585880;
text-decoration: none;
}
table {
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 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
color: #000000;
background-color: #e5e5e5;
border-width: 1px;
border-color: #000000;
border-style: solid;
padding: 2px;
color: #585880;
font-weight: bold;
}
td, .print {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
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: #ffffff;
border-width: 1px;
border-color: #000000;
border-style: solid;
padding: 2px;
background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
}
a:link, a:visited, a:active {
text-decoration: none;
font-weight: bold;
color: #696ab5;
}
a:hover {
text-decoration: none;
color: #585880;
}
input[type=button], input[type=submit], input[type=reset] {
color: #585880;
font-size: 11px;
font-weight: bold;
padding: 2px;
border: 1px solid #585880;
background-color: #e5e5e5;
}
/* -- SERVER & DB INFO -- */
.serverinfo {
font-family: Arial, Helvetica, Verdana, Geneva, sans-serif;
font-size: 12px;
font-weight: bold;
padding: 0px 0px 10px 0px;
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;
}
.serverinfo a:link, .serverinfo a:active, .serverinfo a:visited {
font-family: Arial, Helvetica, Verdana, Geneva, sans-serif;
font-size: 12px;
font-weight: bold;
}
.serverinfo a img {
vertical-align: middle;
margin: 0px 1px 0px 1px;
}
.serverinfo div {
background-image: url(themes/arctic_ocean/img/item_ltr.png);
background-repeat: no-repeat;
background-position: 50% 50%;
width: 20px;
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: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 669 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: 948 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

View File

@@ -9,9 +9,6 @@
* @subpackage Arctic_Ocean
*/
/**
*
*/
$theme_name = 'Arctic Ocean';
$theme_version = 2;
$theme_generation = 2;

View File

@@ -8,10 +8,10 @@
*/
/**
*
* for older versions
*/
$cfg['LeftPointerEnable'] = false;
$cfg['LeftWidth'] = 170; // left frame width
/* colors */
$cfg['LeftBgColor'] = '#d9e4f4'; // background color for the left frame
$cfg['RightBgColor'] = '#ffffff'; // background color for the right frame
$cfg['RightBgImage'] = ''; // path to a background image for the right frame
@@ -24,13 +24,8 @@ $cfg['BgcolorTwo'] = '#dbe7f9'; // table data row colour, alte
$cfg['BrowsePointerColor'] = '#b4cae9'; // color of the pointer in browse mode
$cfg['BrowseMarkerColor'] = '#e9c7b4'; // color of the marker (visually marks row
// by clicking on it) in browse mode
$cfg['QueryWindowWidth'] = 550; // Width of Query window
$cfg['QueryWindowHeight'] = 310; // Height of Query window
/**
* SQL Parser Settings
*/
$cfg['SQP']['fmtColor'] = array( // Syntax colouring data
'comment' => '#999999',
'comment_mysql' => '',
@@ -54,4 +49,71 @@ $cfg['SQP']['fmtColor'] = array( // Syntax colouring data
'quote_single' => '#000000',
'quote_backtick' => ''
);
/**
* for current version
*/
// NAVI FRAME
$GLOBALS['cfg']['LeftPointerEnable'] = false;
$GLOBALS['cfg']['NaviWidth'] = 170; // width
$GLOBALS['cfg']['NaviColor'] = '#000000'; // foreground (text) color
$GLOBALS['cfg']['NaviBackground'] = '#d9e4f4'; // background
$GLOBALS['cfg']['NaviPointerColor'] = '#000000'; // foreground (text) color of the pointer
$GLOBALS['cfg']['NaviPointerBackground'] = '#b4cae9'; // background of the pointer
// MAIN FRAME
$GLOBALS['cfg']['MainColor'] = '#333333'; // foreground (text) color for the main frame
$GLOBALS['cfg']['MainBackground'] = '#ffffff'; // background for the main frame
// for a solid vertical line, uncomment this:
//$GLOBALS['cfg']['MainBackground'] = '#ffffff url(../' . $_SESSION['PMA_Theme']->getImgPath() . 'vertical_line.png) repeat-y';
$GLOBALS['cfg']['BrowsePointerColor'] = '#000000'; // foreground (text) color of the pointer in browse mode
$GLOBALS['cfg']['BrowsePointerBackground'] = '#b4cae9'; // background of the pointer in browse mode
$GLOBALS['cfg']['BrowseMarkerColor'] = '#000000'; // foreground (text) color of the marker (visually marks row by clicking on it) in browse mode
$GLOBALS['cfg']['BrowseMarkerBackground'] = '#e9c7b4'; // background of the marker (visually marks row by clicking on it) in browse mode
// FONTS
// the font family as a valid css font family value,
// if not set the browser default will be used
// (depending on browser, DTD and system settings)
$GLOBALS['cfg']['FontFamily'] = 'Arial, Helvetica, sans-serif';
$GLOBALS['cfg']['FontFamilyFixed'] = '\'Courier New\', Courier, monospace'; // fixed width font family, used in textarea
$GLOBALS['cfg']['FontSize'] = '11'; // default width of the font
$GLOBALS['cfg']['FontSizePrefix'] = 'px'; // pt (Points) | px (Pixel), default is 'pt'
// TABLES
$GLOBALS['cfg']['Border'] = 0; // border
$GLOBALS['cfg']['ThBackground'] = '#e5e5e5'; // table header and footer color
$GLOBALS['cfg']['ThColor'] = '#000000'; // table header and footer background
$GLOBALS['cfg']['BgOne'] = '#e6f0ff'; // table data row background
$GLOBALS['cfg']['BgTwo'] = '#dbe7f9'; // table data row background, alternate
// QUERY WINDOW
$GLOBALS['cfg']['QueryWindowWidth'] = 550; // width of Query window
$GLOBALS['cfg']['QueryWindowHeight'] = 310; // height of Query window
// SQL PARSER SETTINGS
// Syntax colouring data
$GLOBALS['cfg']['SQP']['fmtColor'] = array(
'comment' => '#808000',
'comment_mysql' => '#999999',
'comment_ansi' => '#999999',
'comment_c' => '#999999',
'digit' => '#999999',
'digit_hex' => 'teal',
'digit_integer' => 'teal',
'digit_float' => 'aqua',
'punct' => 'fuchsia',
'alpha' => '#cc0000',
'alpha_columnType' => '#ff9900',
'alpha_columnAttrib' => '#0000ff',
'alpha_reservedWord' => '#990099',
'alpha_functionName' => '#FF0000',
'alpha_identifier' => '#000000',
'alpha_charset' => '#6495ed',
'alpha_variable' => '#800000',
'quote' => '#008000',
'quote_double' => '',
'quote_single' => '',
'quote_backtick' => ''
);
?>

View File

@@ -7,7 +7,13 @@ TITLE: Database Icon-Set
AUTHOR: Michael Keck
me[at]michaelkeck[dot]de
Copyright (c) 2005 Michael Keck.
Copyright (c) 2007 Michael Keck.
The icons b_dbsock.png and db_client.png are from the nuvola icons
and made by David Vignoni
http://www.icon-king.com
http://mail.icon-king.com/mailman/listinfo/nuvola_icon-king.com
Copyright (c) 2003-2004 David Vignoni.
--------------------------------------------------------------------------------

View File

@@ -3,13 +3,37 @@
----------------------------------------------------------------------
CHANGE LOG:
- 2005-09-12;
- 2007-05-11:
> fixed bugs #1688536
- fixed: resizing on each reload the width of left frame
- fixed: centered table columns in print view
- fixed: hover colors and background colors in print view
> changes
- hover colors and backcolors in print css
- id #selflink is hidden in print css
- font-sizes in print css are same as in right css
- inline tables (for comment column) in print view
without frames and smaller font
- 2007-05-10:
> Supporting phpMyAdmin Version 2.9.x and higher
> New Icons for some list elements
> Some specials for main.php and querywindow.php
(please see source of theme_right.css.php)
> Static nav-panel and static server-info
> reversed server-info / nav-panel
- 2005-09-12:
> Supporting phpMyAdmin Version 2.6.4 and higher
- 2005-09-11:
> $pma_http_url = '';
set here your absolute url to the 'artic_ocean' theme
directory (if required)
----------------------------------------------------------------------
1. INSTALLATION
----------------------------------------------------------------------
Simply unzip the files.
@@ -33,27 +57,33 @@ CHANGE LOG:
----------------------------------------------------------------------
2. REQUIREMENTS / INFORMATIONS
----------------------------------------------------------------------
- phpMyAdmin Version 2.6.2 or higher
- phpMyAdmin Version 2.9.x or higher
- full CSS2 compatible browser
(I've tested with Firefox 1.02, Microsoft(R)
InternetExplorer 6.0, and Opera 7.54)
I've tested with
- Firefox 2.0.0.3
- Microsoft(R) InternetExplorer 6.0 (some bad png's)
- Microsoft(R) InternetExplorer 7.0
- Your browser should support Javascript
and png-images.
- In phpMyAdmin Version 2.6.4 there's
a new navigation behavior included.
The navigation panel has a fixed position now.
----------------------------------------------------------------------
3. INFORMATION ABOUT THE ARCTIC-OCEAN THEME:
----------------------------------------------------------------------
a) ICONS:
Database Icon-Set made 2005 by Michael Keck.
Database Icon-Set made 2005-2007 by Michael Keck.
Updated 2007-05-10 by Michael Keck
The icons b_dbsock.png and db_client.png are from the nuvola icons
and made by David Vignoni
http://www.icon-king.com
http://mail.icon-king.com/mailman/listinfo/nuvola_icon-king.com
Copyright (c) 2003-2004 David Vignoni.
Please see license.txt file for more informations.
b) THEME:
The theme is based on the 'darkblue_orange' theme made by the
members of the phpMyAdmin Team.