get('fontsize')) { echo $GLOBALS['PMA_Config']->get('fontsize'); } elseif (!empty($_COOKIE['pma_fontsize'])) { echo $_COOKIE['pma_fontsize']; } else echo '82%'; echo _E, 'input', _K, 'select', _K, 'textarea', _S, 'font-size:', _2, '1em', _E; } if (version_compare(PMA_VERSION, '2.9', 'lt') && !empty($GLOBALS['cfg']['FontSize'])) { echo 'html', _S, 'font-size:', _2, $GLOBALS['cfg']['FontSize'], _E; } echo 'body', _S; if (!empty($GLOBALS['cfg']['FontFamily'])) { echo 'font-family:', _2, $GLOBALS['cfg']['FontFamily'], _M; } echo 'background:', _2, $GLOBALS['cfg']['NaviBGC'], _M, 'color:', _3, $GLOBALS['cfg']['NaviColor'], _E, 'hr', _S, 'border:', _3, 0, _M, 'color:', _3, $GLOBALS['cfg']['NaviColor'], _M, 'background:', _2, $GLOBALS['cfg']['NaviColor'], _M, 'height:', _3, '1px', //mimic border 1px solid _M, 'margin-top:', _2, '.5em', _E, // Links: 'a', _S, 'text-decoration:', _1, 'none', _M, 'padding:', _2, '0 2px 1px 2px', //top l? bot r? _M, 'color:', _3, $GLOBALS['cfg']['NaviLinkColor'], _E, 'a:hover', _S, 'text-decoration:', _1, 'underline'; if ($GLOBALS['cfg']['LeftPointerEnable']) { echo _M, 'background:', _2, $GLOBALS['cfg']['NaviPointerBGC'], _M, 'color:', _3, $GLOBALS['cfg']['NaviPointerColor']; //doesn'work on dbname } echo _E, 'a:active', _S, 'background:', _2, $GLOBALS['cfg']['NaviActiveBGC'], _E, 'a:focus', _S, 'text-decoration:', _1, 'none', _E, 'a img', _S, 'border:', _3, 0, //avoid thick link border _E, // end Links 'form', _S, 'display:', _2, 'inline', _E, 'select', _S, 'margin-top:', _2, '2px', _E; echo version_compare(PMA_VERSION, '2.11', 'lt') ? 'select' : '#navidbpageselector' . // here only concat! _S . 'padding-', $left, ':' . _2 . '2px' . _M . 'text-align:' . _2 . 'center' . _E . 'select#select_server' . _K . 'select#lightm_db'; echo _S, 'width:', _3, '100%', _E, 'option', // for db paging _S, 'padding-', $left, ':', _2, '5px', _E, // buttons in some browsers (e.g., Konqueror) are block elements, this breaks design: 'button', _S, 'display:', _2, 'inline', _E, // classes 'ul#databaseList', _K, '#databaseList ul', _S, 'list-style-type:', _1, 'none', // Gecko _E; if (!$GLOBALS['cfg']['LeftMarkerEnable']) { echo 'ul#databaseList li.selected a', _S, 'background:', _2, $GLOBALS['cfg']['NaviMarkedBGC'], _M, 'color:', _3, $GLOBALS['cfg']['NaviMarkedColor'], _E; } echo '#databaseList li', _S, 'padding-', $left, ':', _2, '4px', _M, 'background:', _2, $GLOBALS['cfg']['NaviDblBGC'], _E, // 2.11+ : '.navi_dbName', _S, 'font-weight:', _2, 'bold'; if (!empty($GLOBALS['cfg']['NaviDbNameColor'])) { echo _M, 'color:', _3, $GLOBALS['cfg']['NaviDbNameColor']; } if (!empty($GLOBALS['cfg']['NaviDbNameBGC'])) { echo _M, 'background:', _2, $GLOBALS['cfg']['NaviDbNameBGC']; } echo _E, '.navi_dbName:hover', _S, 'text-decoration:', _1, 'underline', _E, // specific elements '#pmalogo', _K, '#leftframelinks', _S, 'text-align:', _2, 'center', _E, '#pmalogo', _S, 'background-color:', _1, $GLOBALS['cfg']['NaviLogoBGC'], _E, '#leftframelinks', _K, '#navidbpageselector', _S, 'padding-bottom:', _2, '3px', _E, '#leftframelinks', _S, 'padding-top:', _2, '3px', _E; // serverlist if ($GLOBALS['cfg']['LeftDisplayServers']) { echo '#serverinfo', _S, 'margin:', _3, '2px', _E; if ($GLOBALS['cfg']['DisplayServersList']) { echo '#list_server', _S, 'list-style-type:', _1, 'decimal', _M, 'padding-', $left, ':', _2, '1.8em', // .2 if "inside" _E; } } echo '.icon a', _K, 'div#databaseList', _S, 'padding:', _2, '3px', _E, // left_tableList '#left_tableList', _S, 'margin:', _3, '0 2px', _M, 'padding:', _2, '0 2px', _M, 'background:', _2, $GLOBALS['cfg']['Navi2ndBGC'], _E, '#left_tableList li', _S, 'padding-bottom:', _2, '1px', //for "__" spacing _M, 'white-space:', _2, 'nowrap'; if ('IE' != PMA_USR_BROWSER_AGENT) { echo _M, 'margin:', _3, '1px 0 0 0'; } echo _E; if ($GLOBALS['cfg']['LeftMarkerEnable']) { // orig:NaviMarkedColor??? // marked items if (!$GLOBALS['cfg']['LeftFrameLight']) { echo '#left_tableList > ul li.marked > a', _K; //4 overiding Link(Color) } echo '#left_tableList > ul li.marked', _S, 'background:', _2, $GLOBALS['cfg']['NaviMarkedBGC'], _M, 'color:', _3, $GLOBALS['cfg']['NaviMarkedColor'], _E; } echo '#imgpmalogo', _K, '.icon', _K, '#left_tableList img', _S, 'vertical-align:', _2, 'middle', //make a:hover covering the whole img _E, '#left_tableList ul', _S, 'list-style-type:', _1, 'none', _M, 'background:', _2, $GLOBALS['cfg']['Navi2ndBGC'], //for marking selected db&table only _E, '#left_tableList ul ul', _S, 'padding-', $left, ':', _2, '2px', _M, 'border-', $left, ':', _2, '1px solid ', $GLOBALS['cfg']['NaviColor'], _M, 'border-bottom:', _2, '1px solid ', $GLOBALS['cfg']['NaviColor'], _M, 'background:', _2, $GLOBALS['cfg']['NaviTblBGC'], _E;