【php开源代码栏目提醒】:网学会员php开源代码为您提供phpmyadmin.css.php参考,解决您在phpmyadmin.css.php学习中工作中的难题,参考学习。
<?php
/* $Id: phpmyadmin.css.php,v 2.83.2.2 2006/04/12 16:57:27 cybot_tm Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
chdir('..');
define( 'PMA_MINIMUM_COMMON', TRUE );
require_once('./libraries/common.lib.php');
require_once('./libraries/sqlparser.lib.php');
if ( $GLOBALS['text_dir'] === 'ltr' ) {
$right = 'right';
$left = 'left';
} else {
$right = 'left';
$left = 'right';
}
// Send correct type:
header('Content-Type: text/css; charset=ISO-8859-1');
?>
/* @deprecated */
.nowrap {
white-space: nowrap;
}
div.nowrap {
margin: 0;
padding: 0;
}
<?php
if ( $_SESSION['PMA_Theme']->checkVersion( '2.7.0' ) ) {
?>
form {
margin: 0;
padding: 0;
display: inline;
}
a img {
border: 0;
}
/* server privileges */
#tableuserrights td,
#tablespecificuserrights td,
#tabledatabases td {
vertical-align: middle;
}
/* END server privileges */
/* leave some space between icons and text */
.icon {
vertical-align: middle;
margin-right: 0.3em;
margin-left: 0.3em;
}
/* no extra space in table cells */
td .icon {
margin: 0;
}
.selectallarrow {
margin-<?php echo $right; ?>: 0.3em;
margin-<?php echo $left; ?>: 0.6em;
}
div#tablestatistics {
border-bottom: 0.1em solid #669999;
margin-bottom: 0.5em;
padding-bottom: 0.5em;
}
div#tablestatistics table {
float: left;
margin-bottom: 0.5em;
margin-right: 0.5em;
}
div#tablestatistics table caption {
margin-right: 0.5em;
}
/* left frame content */
body#body_leftFrame {
background-color: <?php echo $GLOBALS['cfg']['LeftBgColor']; ?>;
}
div#pmalogo,
div#leftframelinks,
div#databaseList {
text-align: center;
border-bottom: 0.1em solid #669999;
margin-bottom: 0.5em;
padding-bottom: 0.5em;
}
div#leftframelinks .icon {
vertical-align: middle;
padding: 0;
margin: 0;
}
div#leftframelinks a:hover {
background-color: #669999;
}
/* leftdatabaselist */
div#left_tableList ul {
list-style-type: none;
list-style-position: outside;
margin: 0;
padding: 0;
background-color: <?php echo $GLOBALS['cfg']['LeftBgColor']; ?>;
}
div#left_tableList li {
margin: 0;
padding: 0;
white-space: nowrap;
}
<?php if ( $GLOBALS['cfg']['LeftPointerEnable'] ) { ?>
div#left_tableList li:hover {
background-color: <?php echo $GLOBALS['cfg']['LeftPointerColor']; ?>;
}
<?php } ?>
div#left_tableList img {
padding: 0;
vertical-align: middle;
}
div#left_tableList ul ul {
margin-left: 0em;
padding-left: 0.1em;
border-left: 0.1em solid #669999;
padding-bottom: 0.1em;
border-bottom: 0.1em solid #669999;
}
/* END left frame content */
/* querywindow */
body#bodyquerywindow {
margin: 0;
padding: 0;
}
div#querywindowcontainer {
margin: 0;
padding: 0;
width: 100%;
}
div#querywindowcontainer fieldset {
margin-top: 0;
}
/* END querywindow */
/* querybox */
/* Gecko bug */
div[class=formelementrow],
div[id=queryfieldscontainer] {
border: 1px solid transparent;
}
div#
sqlquerycontainer {
float: left;
width: 69%;
/* height: 15em; */
}
div#tablefieldscontainer {
float: right;
width: 29%;
/* height: 15em; */
}
div#tablefieldscontainer select {
width: 100%;
/* height: 12em; */
}
textarea#sqlquery {
width: 100%;
/* height: 100%; */
}
div#queryboxcontainer div#bookmarkoptions {
margin-top: 0.5em;
}
/* end querybox */
fieldset .formelement {
line-height: 2.4em;
float: left;
margin-right: 0.5em;
/* IE */
white-space: nowrap;
}
/* revert for Gecko */
fieldset div[class=formelement] {
white-space: normal;
}
/* IE */
fieldset .formelement input,
fieldset .formelement select {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
/* revert for Gecko */
fieldset div[class=formelement] input,
fieldset div[class=formelement] select {
margin-top: auto;
margin-bottom: auto;
height: auto;
}
/* Calendar */
table.calendar { width: 100%; }
table.calendar td { text-align: center; }
table.calendar td a { display: block; }
table.calendar td a:hover {
background-color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
}
table.calendar th {
background-color: <?php echo $GLOBALS['cfg']['ThBgcolor']; ?>;
}
table.calendar td.selected {
background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
}
img.calendar { border: none; }
form.clock { text-align: center; }
/* end Calendar */
/* Options, eg. on import page */
fieldset {
background-color: <?php echo $GLOBALS['cfg']['BgcolorOne']; ?>;
}
fieldset legend {
background-color: transparent;
}
/* buttons in some browsers (eg. Konqueror) are block elements, this breaks design */
button { display: i