📄 phpmyadmin.css.php
字号:
<?php/* $Id: phpmyadmin.css.php 9784 2006-12-10 13:30:40Z lem9 $ */// 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';// MSIE 6 (at least some unpatched versions) has problems loading CSS // when zlib_compression is onif (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER == '6' && (ini_get('zlib.output_compression')) ) { ini_set('zlib.output_compression', 'Off');}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');// Cache output in client - the nocache query parameter makes sure that this// file is reloaded when config changesheader('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');?>html { font-size: <?php echo $_SESSION['PMA_Config']->get('fontsize'); ?>;}input, select, textarea { font-size: 1em;}/* @deprecated */.nowrap { white-space: nowrap;}div.nowrap { margin: 0; padding: 0;}<?phpif ($_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: <?php echo $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: inline; }/* Textarea */textarea { overflow: auto; }/* topmenu *//* Gecko 1.7 bug (FF 1.0) */#topmenucontainer { border: 1px solid <?php echo $GLOBALS['cfg']['RightBgColor']; ?>;}ul#topmenu { font-weight: bold; list-style-type: none; margin: 0; padding: 0;}ul#topmenu li { float: left; margin: 0; padding: 0; vertical-align: middle;}#topmenu img { vertical-align: middle; margin-right: 0.1em;}/* default tab styles */.tab, .tabcaution, .tabactive { display: block; margin: 0.2em 0.2em 0 0.2em; padding: 0.2em 0.2em 0 0.2em; white-space: nowrap;}/* disabled tabs */span.tab { color: #666666;}/* disabled drop/empty tabs */span.tabcaution { color: #ff6666;}/* enabled drop/empty tabs */a.tabcaution { color: #FF0000;}a.tabcaution:hover { color: #FFFFFF; background-color: #FF0000;}<?php if ($GLOBALS['cfg']['LightTabs']) { ?>/* active tab */a.tabactive { color: black;}<?php } else { ?>#topmenu { margin-top: 0.5em; padding: 0.1em 0.3em 0.1em 0.3em;}ul#topmenu li { border-bottom: 1pt solid black;}/* default tab styles */.tab, .tabcaution, .tabactive { background-color: <?php echo $GLOBALS['cfg']['BgcolorOne']; ?>; border: 1pt solid <?php echo $GLOBALS['cfg']['BgcolorTwo']; ?>; border-bottom: 0; border-top-left-radius: 0.4em; border-top-right-radius: 0.4em;}/* enabled hover/active tabs */a.tab:hover, a.tabcaution:hover, .tabactive, .tabactive:hover { margin: 0; padding: 0.2em 0.4em 0.2em 0.4em; text-decoration: none;}a.tab:hover, .tabactive { background-color: <?php echo $GLOBALS['cfg']['BgcolorTwo']; ?>;}/* disabled drop/empty tabs */span.tab, span.tabcaution { cursor: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/error.ico), url(../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/error.ico), default;}<?php } ?>/* end topmenu *//* data tables */table caption,table th,table td { padding: 0.1em 0.5em 0.1em 0.5em; margin: 0; margin: 0.1em; vertical-align: top;}/* odd table rows 1,3,5,7,... */table tr.odd th,table tr.odd { background-color: <?php echo $GLOBALS['cfg']['BgcolorOne']; ?>;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -