286 lines
6.6 KiB
PHP
286 lines
6.6 KiB
PHP
<?php
|
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
|
/**
|
|
* Navigation styles for the pmahomme theme
|
|
*
|
|
* @package PhpMyAdmin-theme
|
|
* @subpackage PMAHomme
|
|
*/
|
|
|
|
// unplanned execution path
|
|
if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
|
|
exit();
|
|
}
|
|
?>
|
|
|
|
/******************************************************************************/
|
|
/* Navigation */
|
|
|
|
#pma_navigation {
|
|
width: <?php echo $GLOBALS['cfg']['NaviWidth']; ?>px;
|
|
overflow: hidden;
|
|
position: fixed;
|
|
top: 0;
|
|
<?php echo $left; ?>: 0;
|
|
height: 100%;
|
|
background: url(./themes/pmahomme/img/left_nav_bg.png) repeat-y right 0% <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
|
|
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
|
z-index: 800;
|
|
}
|
|
|
|
#pma_navigation_content {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
<?php echo $left; ?>: 0;
|
|
z-index: 0;
|
|
}
|
|
|
|
#pma_navigation ul {
|
|
margin: 0;
|
|
}
|
|
|
|
#pma_navigation form {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: inline;
|
|
}
|
|
|
|
#pma_navigation select#select_server,
|
|
#pma_navigation select#lightm_db {
|
|
width: 100%;
|
|
}
|
|
|
|
/******************************************************************************/
|
|
/* specific elements */
|
|
|
|
#pma_navigation div.pageselector {
|
|
text-align: center;
|
|
margin: 0;
|
|
margin-<?php echo $left; ?>: 0.75em;
|
|
border-<?php echo $left; ?>: 1px solid #666;
|
|
}
|
|
|
|
#pma_navigation div#pmalogo {
|
|
<?php //better echo $GLOBALS['cfg']['logoBGC']; ?>
|
|
}
|
|
|
|
#pma_navigation #pmalogo,
|
|
#pma_navigation #serverChoice,
|
|
#pma_navigation #leftframelinks,
|
|
#pma_navigation #recentTableList,
|
|
#pma_navigation #databaseList,
|
|
#pma_navigation div.pageselector.dbselector {
|
|
text-align: center;
|
|
padding: 5px 10px 0px;
|
|
border: 0;
|
|
}
|
|
|
|
#pma_navigation #recentTableList select,
|
|
#pma_navigation #serverChoice select
|
|
{
|
|
width: 80%;
|
|
}
|
|
|
|
#pma_navigation_content > img.throbber {
|
|
display: none;
|
|
margin: .3em auto 0;
|
|
}
|
|
|
|
/* Navigation tree*/
|
|
#pma_navigation_tree {
|
|
margin: 0;
|
|
margin-<?php echo $left; ?>: 10px;
|
|
color: #444;
|
|
height: 74%;
|
|
position: relative;
|
|
}
|
|
#pma_navigation_tree_content {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
overflow-y: auto;
|
|
position: absolute;
|
|
height: 100%;
|
|
}
|
|
#pma_navigation_tree a {
|
|
color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
|
|
}
|
|
#pma_navigation_tree a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
#pma_navigation_tree li.activePointer {
|
|
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
|
|
background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
|
|
}
|
|
#pma_navigation_tree li.selected {
|
|
color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
|
|
background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
|
|
}
|
|
#pma_navigation_tree li .dbItemControls {
|
|
padding-left: 4px;
|
|
}
|
|
#pma_navigation_tree li .navItemControls {
|
|
display: none;
|
|
padding-left: 4px;
|
|
}
|
|
#pma_navigation_tree li.activePointer .navItemControls {
|
|
display: inline;
|
|
opacity: 0.5;
|
|
}
|
|
#pma_navigation_tree li.activePointer .navItemControls:hover {
|
|
display: inline;
|
|
opacity: 1.0;
|
|
}
|
|
#pma_navigation_tree ul {
|
|
clear: both;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
margin: 0;
|
|
}
|
|
#pma_navigation_tree ul ul {
|
|
position: relative;
|
|
}
|
|
#pma_navigation_tree li {
|
|
white-space: nowrap;
|
|
clear: both;
|
|
min-height: 16px;
|
|
}
|
|
#pma_navigation_tree img {
|
|
margin: 0;
|
|
}
|
|
#pma_navigation_tree div.block {
|
|
position: relative;
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
min-width: 16px;
|
|
min-height: 16px;
|
|
float: <?php echo $left; ?>;
|
|
}
|
|
#pma_navigation_tree div.block i,
|
|
#pma_navigation_tree div.block b {
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
min-width: 16px;
|
|
min-height: 8px;
|
|
position: absolute;
|
|
bottom: 0.7em;
|
|
<?php echo $left; ?>: 0.75em;
|
|
z-index: 0;
|
|
}
|
|
#pma_navigation_tree div.block i { /* Top and right segments for the tree element connections */
|
|
display: block;
|
|
border-<?php echo $left; ?>: 1px solid #666;
|
|
border-bottom: 1px solid #666;
|
|
}
|
|
#pma_navigation_tree div.block i.first { /* Removes top segment */
|
|
border-<?php echo $left; ?>: 0;
|
|
}
|
|
#pma_navigation_tree div.block b { /* Bottom segment for the tree element connections */
|
|
display: block;
|
|
height: 0.75em;
|
|
bottom: 0;
|
|
<?php echo $left; ?>: 0.75em;
|
|
border-<?php echo $left; ?>: 1px solid #666;
|
|
}
|
|
#pma_navigation_tree div.block a,
|
|
#pma_navigation_tree div.block u {
|
|
position: absolute;
|
|
<?php echo $left; ?>: 50%;
|
|
top: 50%;
|
|
z-index: 10;
|
|
}
|
|
#pma_navigation_tree div.block img {
|
|
position: relative;
|
|
top: -0.6em;
|
|
<?php echo $left; ?>: 0;
|
|
margin-<?php echo $left; ?>: -7px;
|
|
}
|
|
#pma_navigation_tree div.throbber img {
|
|
top: 2px;
|
|
<?php echo $left; ?>: 2px;
|
|
}
|
|
#pma_navigation_tree li.last > ul {
|
|
background: none;
|
|
}
|
|
#pma_navigation_tree li > a, #pma_navigation_tree li > i {
|
|
line-height: 1.5em;
|
|
height: 1.5em;
|
|
padding-<?php echo $left; ?>: 0.3em;
|
|
}
|
|
#pma_navigation_tree .list_container {
|
|
border-<?php echo $left; ?>: 1px solid #666;
|
|
margin-<?php echo $left; ?>: 0.75em;
|
|
padding-<?php echo $left; ?>: 0.75em;
|
|
}
|
|
#pma_navigation_tree .last > .list_container {
|
|
border-<?php echo $left; ?>: 0 solid #666;
|
|
}
|
|
|
|
/* Fast filter */
|
|
li.fast_filter {
|
|
padding-<?php echo $left; ?>: 0.75em;
|
|
margin-<?php echo $left; ?>: 0.75em;
|
|
padding-<?php echo $right; ?>: 35px;
|
|
border-<?php echo $left; ?>: 1px solid #666;
|
|
}
|
|
li.fast_filter input {
|
|
padding-<?php echo $right; ?>: 1.7em;
|
|
width: 100%;
|
|
}
|
|
li.fast_filter span {
|
|
position: relative;
|
|
<?php echo $right; ?>: 1.5em;
|
|
padding: 0.2em;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
color: #800;
|
|
}
|
|
/* IE10+ has its own reset X */
|
|
html.ie li.fast_filter span {
|
|
display: none;
|
|
}
|
|
html.ie.ie9 li.fast_filter span,
|
|
html.ie.ie8 li.fast_filter span {
|
|
display: auto;
|
|
}
|
|
html.ie li.fast_filter input {
|
|
padding-<?php echo $right; ?>: .2em;
|
|
}
|
|
html.ie.ie9 li.fast_filter input,
|
|
html.ie.ie8 li.fast_filter input {
|
|
padding-<?php echo $right; ?>: 1.7em;
|
|
}
|
|
li.fast_filter.db_fast_filter {
|
|
border: 0;
|
|
}
|
|
|
|
/* Resize handler */
|
|
#pma_navigation_resizer {
|
|
width: 3px;
|
|
height: 100%;
|
|
background-color: #aaa;
|
|
cursor: col-resize;
|
|
position: fixed;
|
|
top: 0;
|
|
<?php echo $left; ?>: 240px;
|
|
z-index: 801;
|
|
}
|
|
#pma_navigation_collapser {
|
|
width: 20px;
|
|
height: 22px;
|
|
line-height: 22px;
|
|
background: #eee;
|
|
color: #555;
|
|
font-weight: bold;
|
|
position: fixed;
|
|
top: 0;
|
|
<?php echo $left; ?>: <?php echo $GLOBALS['cfg']['NaviWidth']; ?>px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
z-index: 800;
|
|
text-shadow: 0px 1px 0px #fff;
|
|
filter: dropshadow(color=#fff, offx=0, offy=1);
|
|
border: 1px solid #888;
|
|
}
|