Changeset 2691
- Timestamp:
- 03/12/10 17:49:07 (2 years ago)
- Location:
- branches/omega-1.0.5
- Files:
-
- 27 added
- 17 deleted
- 121 edited
-
CHANGELOG (modified) (1 diff)
-
gui/tools/pma/themes/omega/css/theme_left.css.php (modified) (3 diffs)
-
gui/tools/pma/themes/omega/css/theme_print.css.php (modified) (1 diff)
-
gui/tools/pma/themes/omega/css/theme_right.css.php (modified) (6 diffs)
-
gui/tools/pma/themes/omega/img/arrow_ltr.gif (added)
-
gui/tools/pma/themes/omega/img/arrow_ltr.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/arrow_rtl.gif (added)
-
gui/tools/pma/themes/omega/img/arrow_rtl.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/asc_order.png (deleted)
-
gui/tools/pma/themes/omega/img/b_bookmark.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_browse.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_calendar.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_comment.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_dbclient.png (added)
-
gui/tools/pma/themes/omega/img/b_dbphpext.png (added)
-
gui/tools/pma/themes/omega/img/b_dbsock.png (added)
-
gui/tools/pma/themes/omega/img/b_dbstatistics.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_dbusr.png (added)
-
gui/tools/pma/themes/omega/img/b_deltbl.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_docs.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_docsql.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_drop.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_edit.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_empty.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_engine.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_export.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_firstpage.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_fontsize.png (added)
-
gui/tools/pma/themes/omega/img/b_ftext.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_help.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_home.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_import.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_index.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_info.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_insrow.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_lastpage.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_minus.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_newdb.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_newtbl.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_nextpage.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_pdfdoc.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_plus.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_prevpage.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_primary.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_print.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_props.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_relations.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_save.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_sbrowse.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_sdb.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_search.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_selboard.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_select.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_sql.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_sqldoc.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_sqlhelp.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_tblanalyse.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_tblexport.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_tblimport.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_tblops.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_tbloptimize.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_terminal.png (added)
-
gui/tools/pma/themes/omega/img/b_tipp.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_unique.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_usradd.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_usrcheck.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_usrdrop.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_usredit.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_usrlist.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_view.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/b_views.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_browse.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_deltbl.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_drop.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_empty.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_firstpage.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_ftext.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_index.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_insrow.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_lastpage.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_nextpage.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_prevpage.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_primary.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_sbrowse.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_select.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_unique.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/bd_views.png (added)
-
gui/tools/pma/themes/omega/img/dot_black.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/dot_blue.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/dot_green.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/dot_red.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/dot_violet.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/dot_yellow.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/error.ico (deleted)
-
gui/tools/pma/themes/omega/img/eye.png (added)
-
gui/tools/pma/themes/omega/img/eye_grey.png (added)
-
gui/tools/pma/themes/omega/img/find.png (deleted)
-
gui/tools/pma/themes/omega/img/frm_linevrlt.png (deleted)
-
gui/tools/pma/themes/omega/img/item.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/item_ltr.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/item_rtl.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/leftBgnd.jpg (deleted)
-
gui/tools/pma/themes/omega/img/logo_left.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/logo_right.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/openterm.png (deleted)
-
gui/tools/pma/themes/omega/img/php_sym.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/pma_logo2.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/rightBgnd.jpg (deleted)
-
gui/tools/pma/themes/omega/img/s_asc.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_asci.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_attention.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_cancel.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_cancel2.png (deleted)
-
gui/tools/pma/themes/omega/img/s_db.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_desc.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_error.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_error2.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_fulltext.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_host.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_info.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_lang.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_loggoff.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_notice.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_okay.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_partialtext.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_passwd.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_process.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_really.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_reload.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_replication.png (added)
-
gui/tools/pma/themes/omega/img/s_rights.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_status.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_success.png (deleted)
-
gui/tools/pma/themes/omega/img/s_sync.png (added)
-
gui/tools/pma/themes/omega/img/s_tbl.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_theme.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_vars.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_views.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/s_warn.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/sd_views.png (added)
-
gui/tools/pma/themes/omega/img/tbg_nav0.png (added)
-
gui/tools/pma/themes/omega/img/tbg_nav1.png (added)
-
gui/tools/pma/themes/omega/img/tbg_nav2.png (added)
-
gui/tools/pma/themes/omega/img/tbg_nav3.png (added)
-
gui/tools/pma/themes/omega/img/tbg_nav4.png (added)
-
gui/tools/pma/themes/omega/img/tbg_th0.png (added)
-
gui/tools/pma/themes/omega/img/tbg_th1.png (added)
-
gui/tools/pma/themes/omega/img/tbg_th2.png (added)
-
gui/tools/pma/themes/omega/img/tbg_th2a.png (added)
-
gui/tools/pma/themes/omega/img/tbg_th3.png (added)
-
gui/tools/pma/themes/omega/img/tbl_error.png (deleted)
-
gui/tools/pma/themes/omega/img/tbl_error2.png (deleted)
-
gui/tools/pma/themes/omega/img/tbl_header.png (deleted)
-
gui/tools/pma/themes/omega/img/tbl_header2.png (deleted)
-
gui/tools/pma/themes/omega/img/tbl_headerActive.png (deleted)
-
gui/tools/pma/themes/omega/img/tbl_header_disabled.png (deleted)
-
gui/tools/pma/themes/omega/img/tbl_th.png (deleted)
-
gui/tools/pma/themes/omega/img/view_left_right.png (deleted)
-
gui/tools/pma/themes/omega/img/wbg_left.jpg (added)
-
gui/tools/pma/themes/omega/img/wbg_right.jpg (added)
-
gui/tools/pma/themes/omega/img/window-new.png (modified) (previous)
-
gui/tools/pma/themes/omega/img/wysiwyg.png (added)
-
gui/tools/pma/themes/omega/info.inc.php (modified) (1 diff)
-
gui/tools/pma/themes/omega/layout.inc.php (modified) (2 diffs)
-
gui/tools/pma/themes/omega/screen.png (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
branches/omega-1.0.5/CHANGELOG
r2690 r2691 1 1 ispCP ω 1.0.5 Changelog 2 2 ~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 4 2010-03-12 Benedikt Heintel 5 - TOOLS: 6 * Updated PMA Omega Theme 3 7 4 8 2010-03-12 Sascha Bay -
branches/omega-1.0.5/gui/tools/pma/themes/omega/css/theme_left.css.php
r1638 r2691 2 2 /* vim: set expandtab sw=4 ts=4 sts=4: */ 3 3 /** 4 * navigation css file from theme Original4 * navigation css file from theme 5 5 * 6 * @version $Id : theme_left.css.php 10520 2007-07-22 19:05:42Z lem9$6 * @version $Id$ 7 7 * @package phpMyAdmin-theme 8 * @subpackage Original8 * @subpackage ispCP_Omega 9 9 */ 10 10 11 // unplanned execution path 12 if (!defined('PMA_MINIMUM_COMMON')) { 13 exit(); 14 } 11 // unplanned execution path 12 if (!defined('PMA_MINIMUM_COMMON')) { 13 exit(); 14 } 15 16 $forIE = false; 17 if (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER < 7) 18 $forIE = true; 19 20 // 2007-08-24 (mkkeck) 21 // Get the whole http_url for the images 22 $ipath = $_SESSION['PMA_Theme']->getImgPath(); 23 24 // 2007-08-24 (mkkeck) 25 // Get font-sizes 26 if (isset($GLOBALS['PMA_Config']) && $GLOBALS['PMA_Config']->get('fontsize') !== null) { 27 $pma_fsize = $GLOBALS['PMA_Config']->get('fontsize'); 28 } else if (isset($_SESSION['PMA_Config']) && $_SESSION['PMA_Config']->get('fontsize')) { 29 $pma_fsize = $_SESSION['PMA_Config']->get('fontsize'); 30 } else { 31 if (isset($_COOKIE['pma_fontsize'])) { 32 $pma_fsize = $_COOKIE['pma_fontsize']; 33 } 34 } 35 $pma_fsize = preg_replace("/[^0-9]/", "", $pma_fsize); 36 if (!empty($pma_fsize)) { 37 $pma_fsize = ($pma_fsize * 0.01); 38 } else { 39 $pma_fsize = 1; 40 } 41 if (!isset($usr_fsize)) { 42 $usr_fsize = 11; 43 } 44 if ( isset($GLOBALS['cfg']['FontSizePrefix']) && !empty($GLOBALS['cfg']['FontSizePrefix']) ) { 45 $funit = strtolower($GLOBALS['cfg']['FontSizePrefix']); 46 } 47 if (!isset($funit) || ($funit!='px' && $funit != 'pt')) { 48 $funit = 'px'; 49 } 50 $fsize = ($usr_fsize - 2); 51 if ($pma_fsize) { 52 $fsize = number_format( (intval($usr_fsize) * $pma_fsize), 0 ); 53 } 54 15 55 ?> 16 56 /******************************************************************************/ 17 57 /* general tags */ 18 html { 19 font-size: <?php echo (null !== $_SESSION['PMA_Config']->get('fontsize') ? $_SESSION['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?>; 20 } 21 22 input, select, textarea { 23 font-size: 1em; 24 } 25 58 html, td, body { 59 <?php if (!empty($GLOBALS['cfg']['FontFamily'])) { ?> 60 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>; 61 <?php } ?> 62 font-size: <?php echo $fsize . $funit; ?>; 63 } 26 64 body { 65 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 66 background-image: url('<?php echo $ipath; ?>wbg_left.jpg'); 67 background-color: #878585; 68 background-repeat: repeat-y; 69 background-position: 0px 0px; 70 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 27 71 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?> 28 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>; 29 <?php } ?> 30 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>leftBgnd.jpg); 31 background-position:left top; 32 background-repeat: repeat-y; 33 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 34 margin: 0; 35 padding: 0.2em; 36 } 37 38 a img { 39 border: 0; 40 } 41 42 a:link, 43 a:visited, 44 a:active { 45 text-decoration: none; 46 color: #0000FF; 47 } 48 49 ul { 50 margin:0; 51 } 52 53 form { 54 margin: 0; 55 padding: 0; 56 display: inline; 57 } 58 59 select#select_server, 60 select#lightm_db { 61 width: 100%; 62 } 63 64 /* buttons in some browsers (eg. Konqueror) are block elements, 65 this breaks design */ 66 button { 67 display: inline; 68 } 69 72 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>; 73 <?php } ?> 74 margin-left: 0px; 75 margin-right: 0px; 76 padding-left: 15px; 77 padding-right: 10px; 78 } 79 p, h1, h2, h3, form { 80 margin: 0px; 81 padding: 0px; 82 } 83 84 a img { border: none; } 85 form { display: inline; } 86 select { width: 100%; } 87 select optgroup, select option { font-style: normal; } 88 button { display: inline; } 70 89 71 90 /******************************************************************************/ … … 74 93 /* leave some space between icons and text */ 75 94 .icon { 76 vertical-align: middle; 77 margin-right: 0.3em; 78 margin-left: 0.3em; 79 } 80 81 .navi_dbName { 82 font-weight: bold; 83 color: <?php echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?>; 84 } 95 margin-left: 1px; 96 margin-right: 1px; 97 vertical-align: middle; 98 } 99 85 100 86 101 /******************************************************************************/ 87 102 /* specific elements */ 88 103 89 div#pmalogo {90 background-color: <?php /* better echo $GLOBALS['cfg']['logoBGC']; */ ?>;91 padding:.3em;92 }93 104 div#pmalogo, 94 105 div#leftframelinks, 95 106 div#databaseList { 96 text-align: center; 97 border-bottom: 0.05em solid <?php echo $GLOBALS['cfg']['NaviBorderColor']; ?>; 98 margin-bottom: 0.5em; 99 padding-bottom: 0.5em; 100 } 101 102 ul#databaseList { 103 border-bottom: 0.05em solid <?php echo $GLOBALS['cfg']['NaviBorderColor']; ?>; 104 margin-bottom: 0.5em; 105 padding-bottom: 0.5em; 106 padding-<?php echo $left; ?>: 1.5em; 107 font-size: 90%; 108 } 109 110 ul#databaseList a { 111 display: block; 112 text-decoration: none; 113 } 114 115 div#navidbpageselector a, 116 ul#databaseList a { 117 background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 118 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 119 } 120 121 ul#databaseList a:hover { 122 background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>; 123 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>; 124 } 125 126 ul#databaseList li.selected a { 127 background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>; 128 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>; 129 } 107 border-bottom: 1px solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 108 margin-bottom: 1px; 109 padding-bottom: 1px; 110 } 111 div#pmalogo, div#leftframelinks { text-align: center; } 112 div#databaseList { text-align: left; } 130 113 131 114 div#leftframelinks .icon { 132 padding:0;133 margin:0;115 margin: 0; 116 padding: 0; 134 117 } 135 118 136 119 div#leftframelinks a img.icon { 137 margin: 0;138 padding: 0.2em;139 border: none;120 border: 1px none <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 121 margin: 0; 122 padding: 2px; 140 123 } 141 124 142 125 div#leftframelinks a:hover { 143 background-color:<?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;144 color:<?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;126 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>; 127 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>; 145 128 } 146 129 147 130 /* serverlist */ 148 131 #body_leftFrame #list_server { 149 list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_host.png);150 list-style-position: inside;151 list-style-type:none;152 margin:0;153 padding:0;132 list-style-image: url(<?php echo $ipath; ?>s_host.png); 133 list-style-position: inside; 134 list-style-type: none; 135 margin: 0; 136 padding: 0; 154 137 } 155 138 156 139 #body_leftFrame #list_server li { 157 margin: 0;158 padding:0;159 font-size: 80%;140 font-size: 95%; 141 margin: 0; 142 padding: 0; 160 143 } 161 144 162 145 /* leftdatabaselist */ 163 div#left_tableList {164 border-bottom: 0.05em solid <?php echo $GLOBALS['cfg']['NaviBorderColor']; ?>;165 }166 167 146 div#left_tableList ul { 168 list-style-type: none;169 list-style-position:outside;170 margin: 0;171 padding: 0;172 font-size: 80%;173 background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;147 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 148 font-size: 95%; 149 list-style-type: none; 150 list-style-position: outside; 151 margin: 0; 152 padding: 0; 174 153 } 175 154 176 155 div#left_tableList ul ul { 177 font-size:100%;156 font-size: 100%; 178 157 } 179 158 180 159 div#left_tableList a { 181 background-color:<?php echo $GLOBALS['cfg']['NaviBackground']; ?>;182 color:<?php echo $GLOBALS['cfg']['NaviColor']; ?>;183 text-decoration:none;160 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 161 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 162 text-decoration: none; 184 163 } 185 164 186 165 div#left_tableList a:hover { 187 background-color:<?php echo $GLOBALS['cfg']['NaviBackground']; ?>;188 color:<?php echo $GLOBALS['cfg']['NaviColor']; ?>;189 text-decoration:underline;166 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 167 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 168 text-decoration: underline; 190 169 } 191 170 192 171 div#left_tableList li { 193 margin:0;194 padding:0;195 white-space:nowrap;172 margin: 0; 173 padding: 0; 174 white-space: nowrap; 196 175 } 197 176 … … 200 179 div#left_tableList > ul li.marked > a, 201 180 div#left_tableList > ul li.marked { 202 background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>; 203 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>; 204 } 205 <?php } ?> 206 207 <?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?> 181 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 182 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 183 } 184 div#left_tableList ul li.marked, div#left_tableList ul li.marked a, 185 div#left_tableList ul li.marked ul li.marked, div#left_tableList ul li.marked ul li.marked a { 186 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>; 187 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>; 188 } 189 div#left_tableList ul li.marked ul, div#left_tableList ul li.marked ul li, div#left_tableList ul li.marked ul a { 190 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 191 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 192 } 193 <?php } ?> 194 195 <?php if ( $GLOBALS['cfg']['LeftPointerEnable'] ) { ?> 208 196 div#left_tableList > ul li:hover > a, 209 div#left_tableList > ul li:hover { 210 background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>; 211 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>; 197 div#left_tableList > ul li:hover{ 198 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 199 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 200 } 201 div#left_tableList ul li:hover, div#left_tableList ul li:hover a, div#left_tableList ul li a:hover, 202 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 { 203 background: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>; 204 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>; 205 } 206 <?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?> 207 div#left_tableList ul li.marked a:hover, div#left_tableList ul li.marked ul li.marked a:hover { 208 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>; 209 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>; 210 } 211 <?php } ?> 212 div#left_tableList ul li:hover ul, div#left_tableList ul li:hover ul li,div#left_tableList ul li:hover ul a { 213 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 214 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 212 215 } 213 216 <?php } ?> 214 217 215 218 div#left_tableList img { 216 padding:0;217 vertical-align:middle;219 padding: 0; 220 vertical-align: middle; 218 221 } 219 222 220 223 div#left_tableList ul ul { 221 margin-<?php echo $left; ?>: 0; 222 padding-<?php echo $left; ?>: 0.1em; 223 border-<?php echo $left; ?>: 0.1em solid <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 224 padding-bottom: 0.1em; 225 border-bottom: 0.1em solid <?php echo $GLOBALS['cfg']['NaviBorderColor']; ?>; 226 } 227 /* for the servers list in navi panel */ 228 #serverinfo .item { 229 white-space: nowrap; 230 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 231 } 232 #serverinfo a:hover { 233 background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>; 234 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>; 235 } 224 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 225 border-bottom: 1px none <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 226 border-left: 1px none <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 227 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 228 margin-left: 0; 229 padding-left: 15px; 230 padding-bottom: 1px; 231 } 232 233 ul#databaseList, ul#databaseList ul { 234 margin: 0px 0px 0px 0px; 235 padding: 0px 0px 0px 0px; 236 } 237 ul#databaseList li { 238 border-bottom: none; 239 font-weight: bold; 240 list-style: none; 241 margin: 2px 0px 2px 0px; 242 padding: 0px 0px 2px 0px; 243 white-space: nowrap; 244 } 245 ul#databaseList li ul li { 246 border-bottom: none; 247 margin: 0px 0px 0px 0px; 248 padding: 0px 0px 0px 0px; 249 } 250 ul#databaseList { 251 background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 252 color: #8ed8fd; 253 } 254 ul#databaseList a:link, ul#databaseList a:active, ul#databaseList a:visited { 255 background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 256 background-image: url('<?php echo $ipath; ?>b_sdb.png'); 257 background-position: <?php echo $left; ?>; 258 background-repeat: no-repeat; 259 color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 260 font-weight: normal; 261 padding-<?php echo $left; ?>: 12px; 262 text-decoration: none; 263 } 264 <?php if ( $GLOBALS['cfg']['LeftPointerEnable'] ) { ?> 265 ul#databaseList a:hover, 266 ul#databaseList > li:hover > a, ul#databaseList > ul li:hover > a { 267 background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>; 268 color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>; 269 } 270 <?php } ?> 271 ul#databaseList a:hover { text-decoration: underline; } 272 273 -
branches/omega-1.0.5/gui/tools/pma/themes/omega/css/theme_print.css.php
r1638 r2691 1 /* for printview */ 2 body { 3 font: 10px Verdana, Arial, Helvetica, sans-serif; 4 color: #000000; 5 background-color: #ffffff; 1 <?php 2 /* vim: set expandtab sw=4 ts=4 sts=4: */ 3 /** 4 * print css file from theme 5 * 6 * @version $Id$ 7 * @package phpMyAdmin-theme 8 * @subpackage ispCP_Omega 9 */ 10 11 if (isset($GLOBALS['PMA_Config']) && $GLOBALS['PMA_Config']->get('fontsize') !== null) { 12 $pma_fsize = $GLOBALS['PMA_Config']->get('fontsize'); 13 } else if (isset($_SESSION['PMA_Config']) && $_SESSION['PMA_Config']->get('fontsize')) { 14 $pma_fsize = $_SESSION['PMA_Config']->get('fontsize'); 15 } else { 16 if (isset($_COOKIE['pma_fontsize'])) { 17 $pma_fsize = $_COOKIE['pma_fontsize']; 18 } 19 } 20 $pma_fsize = preg_replace("/[^0-9]/", "", $pma_fsize); 21 if (!empty($pma_fsize)) { 22 $pma_fsize = ($pma_fsize * 0.01); 23 } else { 24 $pma_fsize = 1; 25 } 26 if ( isset($GLOBALS['cfg']['FontSize']) && !empty($GLOBALS['cfg']['FontSize']) ) { 27 $usr_fsize = preg_replace("/[^0-9]/", "", $GLOBALS['cfg']['FontSize']); 28 $fsize = ceil($usr_fsize * $pma_fsize) 29 . ( (isset($GLOBALS['cfg']['FontSizePrefix']) && !empty($GLOBALS['cfg']['FontSizePrefix'])) ? $GLOBALS['cfg']['FontSizePrefix'] : 'pt' ); 30 } else 31 $fsize = $_SESSION['PMA_Config']->get('fontsize'); 32 ?> 33 html { 34 font-size: <?php echo $fsize; ?>; 6 35 } 7 h1 { 8 font: bold 16px Verdana, Arial, Helvetica, sans-serif; 9 color: #000000; 36 body, table, th, td { 37 color: #000000; 38 background-color: #ffffff; 39 <?php if (!empty($GLOBALS['cfg']['FontFamily'])) { ?> 40 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>; 41 <?php } ?> 42 font-size: <?php echo $fsize; ?>; 43 } 44 45 46 a:link, a:visited, a:active { 47 color: #696ab5; 48 font-weight: bold; 49 text-decoration: none; 50 } 51 a:hover { 52 color: #585880; 53 text-decoration: none; 54 } 55 56 h1, h2, h3 { font-weight: bold; } 57 h1 { font-size: 130%; } 58 h2 { font-size: 120%; } 59 h3 { font-size: 110%; } 60 61 img { border: none; } 62 63 table, th, td { 64 border-width: 1px; 65 border-color: #000000; 66 border-style: solid; 10 67 } 11 68 table { 12 border: 1px solid #000000; 13 border-collapse: collapse; 14 border-spacing: 0; 69 border-collapse: collapse; 70 border-spacing: 0; 15 71 } 72 th, td { padding: 2px; } 16 73 th { 17 font: bold 10px Verdana, Arial, Helvetica, sans-serif; 18 color: #000000; 19 background-color: #e5e5e5; 20 border: 1px solid #000000; 21 padding: 2px; 74 background-color: #e5e5e5; 75 color: #585880; 76 font-weight: bold; 22 77 } 23 td { 24 font: 10px Verdana, Arial, Helvetica, sans-serif; 25 color: #000000; 26 background-color: #ffffff; 27 border: 1px solid #000000; 28 padding: 2px; 78 table tr.odd th, table tr.odd td, 79 table tr.even th, table tr.even td, .even { 80 text-align: <?php echo $left; ?>; 29 81 } 82 table tr.hover th, table tr.odd:hover th, table tr.even:hover th { 83 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>; 84 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>; 85 } 86 table tr.hover td, table tr.odd:hover td, table tr.even:hover td { 87 color: #000000; 88 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>; 89 } 90 table td table { 91 margin: 0px; 92 padding: 0px; 93 width: auto; 94 } 95 table td table, table td table td, table td table th { 96 border: 1px none #999999; 97 } 98 table td table td, table td table th { 99 font-size: 95%; 100 white-space: nowrap; 101 } 102 103 #serverinfo { 104 background-color: #ffffff; 105 font-weight: bold; 106 padding: 5px 5px 5px 5px; 107 margin-top: 0px; 108 white-space: nowrap; 109 vertical-align: middle; 110 border-bottom: 1px solid #585880; 111 height: 16px; 112 } 113 #serverinfo .item { white-space: nowrap; } 114 #serverinfo img { margin: 0px 1px 0px 1px; } 115 #serverinfo .separator img { 116 width: 9px; 117 height: 11px; 118 margin: 0px 2px 0px 2px; 119 vertical-align: middle; 120 } 121 122 #selflink { display: none; } -
branches/omega-1.0.5/gui/tools/pma/themes/omega/css/theme_right.css.php
r1638 r2691 1 1 <?php 2 // unplanned execution path 3 if (!defined('PMA_MINIMUM_COMMON')) { 4 exit(); 5 } 2 /* vim: set expandtab sw=4 ts=4 sts=4: */ 3 /** 4 * main css file from theme 5 * 6 * @version $Id$ 7 * @package phpMyAdmin-theme 8 * @subpackage ispCP_Omega 9 */ 10 // unplanned execution path 11 if (!defined('PMA_MINIMUM_COMMON')) { 12 exit(); 13 } 14 15 // mkkeck: 2007-05-10 16 // Added some special fixes 17 // for better behaviors on old IE 18 $forIE = false; 19 if (defined('PMA_USR_BROWSER_AGENT') && PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER < 7) { 20 $forIE = true; 21 } 22 23 // mkkeck: 2007-08-24 24 // Get the whole http_url for the images 25 $ipath = $_SESSION['PMA_Theme']->getImgPath(); 26 27 // 2007-08-24 (mkkeck) 28 // Get font-sizes 29 if (isset($GLOBALS['PMA_Config']) && $GLOBALS['PMA_Config']->get('fontsize') !== null) { 30 $pma_fsize = $GLOBALS['PMA_Config']->get('fontsize'); 31 } else if (isset($_SESSION['PMA_Config']) && $_SESSION['PMA_Config']->get('fontsize')) { 32 $pma_fsize = $_SESSION['PMA_Config']->get('fontsize'); 33 } else { 34 if (isset($_COOKIE['pma_fontsize'])) { 35 $pma_fsize = $_COOKIE['pma_fontsize']; 36 } 37 } 38 $pma_fsize = preg_replace("/[^0-9]/", "", $pma_fsize); 39 if (!empty($pma_fsize)) { 40 $pma_fsize = ($pma_fsize * 0.01); 41 } else { 42 $pma_fsize = 1; 43 } 44 if ( isset($GLOBALS['cfg']['FontSize']) && !empty($GLOBALS['cfg']['FontSize']) ) { 45 $usr_fsize = preg_replace("/[^0-9]/", "", $GLOBALS['cfg']['FontSize']); 46 } 47 if (!isset($usr_fsize)) { 48 $usr_fsize = 11; 49 } 50 if ( isset($GLOBALS['cfg']['FontSizePrefix']) && !empty($GLOBALS['cfg']['FontSizePrefix']) ) { 51 $funit = strtolower($GLOBALS['cfg']['FontSizePrefix']); 52 } 53 if (!isset($funit) || ($funit!='px' && $funit != 'pt')) { 54 $funit = 'pt'; 55 } 56 $fsize = $usr_fsize; 57 if ($pma_fsize) { 58 $fsize = number_format( (intval($usr_fsize) * $pma_fsize), 0 ); 59 } 60 61 // mkkeck: 2007-05-10 62 // Get the file name for the css-style 63 // TODO: 64 // replace on /libraries/header_meta_style.inc.php 65 // echo '<link rel="stylesheet" type="text/css" href="' 66 // . (defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './') 67 // . 'css/phpmyadmin.css.php?' . PMA_generate_common_url() 68 // . '&js_frame=' . ( isset($print_view) ? 'print' : 'right') 69 // . '" />'; 70 // with the folow lines 71 // echo '<link rel="stylesheet" type="text/css" href="' . (defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './') 72 // . 'css/phpmyadmin.css.php?' . PMA_generate_common_url() . '&' 73 // . 'js_frame=' . (isset($print_view) ? 'print' : 'right') 74 // . ((stristr($_SERVER['PHP_SELF'], 'main.php') || stristr($_SERVER['PHP_SELF'], 'calendar.php')) ? '&type=main' : '') 75 // . (stristr($_SERVER['PHP_SELF'], 'querywindow.php') ? '&type=querywin' : '') 76 // . '" />'; 77 78 // default file 79 $tmp_css_type = ''; 80 if (isset($_REQUEST['type'])) { 81 if (stristr($_REQUEST['type'], 'main')) { 82 // main window 83 $tmp_css_type = 'main'; 84 } else if (stristr($_REQUEST['type'], 'querywin')) { 85 // query window 86 $tmp_css_type = 'popup'; 87 } else if (stristr($_REQUEST['type'], 'inline')) { 88 // inline popup 89 $tmp_css_type = 'inline'; 90 } 91 } 92 if (empty($tmp_css_type)) { 93 if (isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER'])) { 94 if (stristr($_SERVER['HTTP_REFERER'], 'querywindow.php')) { 95 // query window 96 $tmp_css_type = 'popup'; 97 } else if (stristr($_SERVER['HTTP_REFERER'], 'tinymce.php') || stristr($_SERVER['HTTP_REFERER'], 'timestamp.php') || stristr($_SERVER['HTTP_REFERER'], 'calendar.php')) { 98 // inline popup 99 $tmp_css_type = 'inline'; 100 } else if (stristr($_SERVER['HTTP_REFERER'], 'main.php')) { 101 // query window 102 $tmp_css_type = 'main'; 103 } 104 } 105 } 106 if (empty($tmp_css_type)) { 107 $tmp_css_type = 'browse'; 108 } 109 if (isset($GLOBALS['cfg']['LightTabs']) && $GLOBALS['cfg']['LightTabs']) { 110 $tmp_css_type = ''; 111 } 112 113 // Check Fonts 114 $font_family = 'sans-serif'; 115 $font_fixed = 'mono-space'; 116 if (isset($GLOBALS['cfg']['FontFamily']) && !empty($GLOBALS['cfg']['FontFamily'])) { 117 $font_family = $GLOBALS['cfg']['FontFamily']; 118 $font_fixed = $GLOBALS['cfg']['FontFamily']; 119 } 120 if (isset($GLOBALS['cfg']['FontFamilyFixed']) && !empty($GLOBALS['cfg']['FontFamilyFixed'])) { 121 $font_fixed = $GLOBALS['cfg']['FontFamilyFixed']; 122 } 123 6 124 ?> 7 /******************************************************************************/ 8 /* general tags */ 9 html { 10 margin: 0; 11 padding: 0; 12 } 13 125 /* BASICS */ 126 html, body, td, th { 127 font-family: <?php echo $font_family; ?>; 128 font-size: <?php echo $fsize . $funit; ?>; 129 } 14 130 body { 15 font: 10px Verdana, Arial, Helvetica, sans-serif; 16 color: #000000; 17 background-color: #ffffff; 18 margin: 5px; 19 padding: 0; 20 } 21 22 /* gecko FIX, font size is not correctly assigned to all child elements */ 23 body * { 24 font: inherit; 25 } 26 27 h1 { 28 font-size: 18px; 29 font-weight: bold; 30 } 31 32 h2 { 33 font-size: 13px; 34 font-weight: bold; 35 } 36 37 h3 { 38 font-size: 12px; 39 font-weight: bold; 40 } 41 42 pre, tt, code{ 43 font-size: 11px; 44 } 45 46 a:link, 47 a:visited, 48 a:active { 49 font-size: 11px; 50 text-decoration: none; 51 color: #333333; 52 } 53 131 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; 132 <?php if ($tmp_css_type != 'inline') { ?> 133 background-attachment: fixed; 134 background-image: url('<?php echo $ipath; ?>wbg_right.jpg'); 135 background-position: 100% 100%; 136 background-repeat: no-repeat; 137 <?php } ?> 138 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>; 139 <?php if ($tmp_css_type == 'browse') { ?> 140 margin: 65px 5px 5px 5px; 141 <?php } else if ($tmp_css_type == 'popup') { ?> 142 margin: 25px 5px 5px 5px; 143 <?php } else if ($tmp_css_type == 'inline') { ?> 144 margin: 0px 0px 0px 0px; 145 <?php } else { ?> 146 margin: 65px 5px 5px 5px; 147 <?php } ?> 148 padding: 0px 0px 0px 0px; 149 } 150 button, img, input, select { vertical-align: middle; } 151 textarea, tt, pre, code { font-family: <?php echo $font_fixed; ?>; } 152 153 a:link, a:visited, a:active { 154 color: #3ebdfd; 155 font-weight: bold; 156 text-decoration: none; 157 } 54 158 a:hover { 55 font-size: 11px; 56 text-decoration: underline; 57 color: #8897AE; 58 } 59 60 dfn { 61 font-style: normal; 62 } 63 64 dfn:hover { 65 font-style: normal; 66 cursor: help; 67 } 68 69 #maincontainer { 70 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png); 71 background-position: <?php echo $right; ?> bottom; 72 background-repeat: no-repeat; 73 border-bottom: 1px solid silver; 74 } 75 159 color: #000000; 160 text-decoration: none; 161 } 162 a img { border: none; } 163 button { display: inline; } 164 h1, h2, h3 { font-weight: bold; } 165 h1 { font-size: <?php echo number_format( ($fsize * 1.50), 0 ) . $funit; ?>; } 166 h2 { font-size: <?php echo number_format( ($fsize * 1.35), 0 ) . $funit; ?>; } 167 h3 { font-size: <?php echo number_format( ($fsize * 1.20), 0 ) . $funit; ?>; } 168 169 img.icon { 170 margin-left: <?php echo number_format( ($fsize * 0.1), 0 ) . $funit; ?>; 171 margin-right: <?php echo number_format( ($fsize * 0.1), 0 ) . $funit; ?>; 172 } 173 img.lightbulb { cursor: pointer; } 174 dfn, dfn:hover { font-style: normal; } 175 dfn:hover { cursor: url('<?php echo $ipath; ?>b_info.png'), default; } 176 hr { 177 color: #585880; 178 background: #585880; 179 border: 1px none #585880; 180 height: 1px; 181 margin-bottom: <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?>; 182 margin-top: <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?>; 183 } 184 185 /* TABLES */ 186 table caption, table th, table td { 187 padding: <?php echo number_format( ($fsize * 0.2), 0 ) . $funit; ?> <?php echo number_format( ($fsize * 0.2), 0 ) . $funit; ?> <?php echo number_format( ($fsize * 0.2), 0 ) . $funit; ?> <?php echo number_format( ($fsize * 0.2), 0 ) . $funit; ?>; 188 vertical-align: top; 189 } 190 table tr.odd th, table tr.odd td, .odd { 191 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>; 192 } 193 table tr.even th, table tr.even td, .even { 194 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>; 195 } 196 table tr.odd th, table tr.odd td, 197 table tr.even th, table tr.even td, .even { 198 text-align: <?php echo $left; ?>; 199 } 200 table tr.marked th, table tr.marked td, .marked { 201 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>; 202 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>; 203 } 204 .odd:hover, .even:hover, .hover { 205 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>; 206 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>; 207 } 208 table tr.hover th, table tr.hover td, table tr.odd:hover th, table tr.even:hover th, table tr.odd:hover td, table tr.even:hover td { 209 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>; 210 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>; 211 } 212 tr.condition th, tr.condition td, td.condition, th.condition { 213 border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>; 214 } 215 table [class=value] { 216 white-space: normal; 217 } 218 td img.icon, th img.icon { margin: 0px 0px 0px 0px; } 219 .odd .value, .even .value, .marked .value { 220 text-align: <?php echo $right; ?>; 221 } 76 222 th { 77 font-size: 11px; 78 font-weight: bold; 79 color: #000000; 80 background-color: #ff9900; 81 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_th.png); 82 background-repeat: repeat-x; 83 background-position: top; 84 height: 18px; 85 } 86 87 th a:link, 88 th a:active, 89 th a:visited { 90 color: #000000; 91 text-decoration: underline; 92 } 93 94 th a:hover { 95 color: #666666; 96 text-decoration: none; 97 } 98 99 a img { 100 border: 0; 101 } 102 103 hr { 104 color: #333333; 105 background-color: #6666cc; 106 border: 0; 107 height: 1px; 108 } 109 223 font-weight: bold; 224 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>; 225 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>; 226 } 227 table caption.tblHeaders, th.tblHeaders { background-image: url('<?php echo $ipath; ?>tbg_th0.png'); } 228 thead th { background-image: url('<?php echo $ipath; ?>tbg_th1.png'); } 229 230 /* end TABLES */ 231 232 /* FORMS */ 110 233 form { 111 font-size: 10px; 112 padding: 0; 113 margin: 0; 114 } 115 116 th.td { 117 font-weight: normal; 118 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_th.png); 119 120 } 121 122 td{ 123 font-size: 10px; 124 } 125 126 select, textarea, input { 127 font-size: 10px; 128 border: 1px solid #666666; 129 } 130 131 select, textarea{ 132 color: #000000; 133 background-color: #FFFFFF; 134 } 135 136 input.textfield{ 137 font-size: 10px; 138 color: #000000; 139 background-color: #FFFFFF; 140 } 141 142 a.h1:link, a.h1:active, a.h1:visited{ 143 font-size: 18px; 144 font-weight: bold; 145 color: #000000; 146 } 147 148 a.h1:hover{ 149 font-size: 18px; 150 font-weight: bold; 151 color: #666666; 152 } 153 154 a.h2:link, a.h2:active, a.h2:visited{ 155 font-size: 13px; 156 font-weight: bold; 157 color: #000000; 158 } 159 160 a.h2:hover{ 161 font-size: 13px; 162 font-weight: bold; 163 color: #666666; 164 } 165 166 a.drop:link, a.drop:visited, a.drop:active{ 167 color: #666666; 168 } 169 170 a.drop:hover{ 171 color: #ffffff; 172 background-color: #666666; 173 text-decoration: none; 174 } 175 234 display: inline; 235 margin: 0px 0px 0px 0px; 236 padding: 0px 0px 0px 0px; 237 } 176 238 fieldset { 177 margin-top: 1em; 178 border: #cccccc solid 1px; 179 padding: 0.5em; 180 } 181 239 background: transparent; 240 border: 1px solid #585880; 241 margin-top: <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?>; 242 padding: <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?>; 243 244 } 182 245 fieldset fieldset { 183 margin: 0.8em; 184 } 185 246 background: transparent; 247 margin: <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?>; 248 } 249 fieldset legend, fieldset fieldset legend { 250 background-position: left top; 251 background-repeat: repeat-x; 252 border: 1px solid #585880; 253 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>; 254 margin-bottom: <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?>; 255 padding: <?php echo number_format( ($fsize * 0.3), 0 ) . $funit; ?> <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?> <?php echo number_format( ($fsize * 0.3), 0 ) . $funit; ?> <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?>; 256 } 186 257 fieldset legend { 187 color: #333333; 188 font-weight: bold; 189 background-color: #ffffff; 190 padding: 2px; 191 font-size: 11px; 192 } 193 194 /* buttons in some browsers (eg. Konqueror) are block elements, 195 this breaks design */ 196 button { 197 display: inline; 198 } 199 200 table caption, 201 table th, 202 table td { 203 padding: 0.1em 0.5em; 204 margin: 0.1em; 205 vertical-align: top; 206 } 207 208 img, 209 input, 210 select, 211 button { 212 vertical-align: middle; 213 } 214 215 216 /******************************************************************************/ 217 /* classes */ 218 258 background-color: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>; 259 background-image: url('<?php echo $ipath; ?>tbg_th0.png'); 260 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>; 261 } 262 fieldset fieldset legend { 263 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>; 264 background-image: url('<?php echo $ipath; ?>tbg_th1.png'); 265 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>; 266 } 267 fieldset legend a:link, fieldset legend a:active, fieldset legend a:visited { 268 color: #585880; 269 } 219 270 fieldset.tblFooters { 220 margin-top: 0; 221 margin-bottom: 0.5em; 222 text-align: right; 223 float: none; 224 clear: both; 271 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>; 272 background-image: url('<?php echo $ipath; ?>tbg_th3.png'); 273 background-position: left bottom; 274 background-repeat: repeat-x; 275 border-bottom: 1px solid #585880; 276 border-left: 1px solid #585880; 277 border-right: 1px solid #585880; 278 border-top: none; 279 clear: both; 280 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>; 281 float: none; 282 margin-top: 0px; 283 margin-bottom: <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?>; 284 text-align: center; 225 285 } 226 286 227 287 fieldset .formelement { 228 float: left; 229 margin-right: 0.5em; 230 /* IE */ 231 white-space: nowrap; 232 } 233 234 /* revert for Gecko */ 288 float: <?php echo $left; ?>; 289 margin-<?php echo $right; ?>: 15px; 290 /* IE */ 291 white-space: nowrap; 292 } 235 293 fieldset div[class=formelement] { 236 white-space: normal; 237 } 238 294 white-space: normal; 295 } 296 fieldset#exportoptions { 297 white-space: nowrap; 298 width: 25%; 299 } 239 300 button.mult_submit { 240 border: none; 241 background-color: transparent; 242 } 243 244 /* odd table rows 1,3,5,7,... */ 245 table tr.odd th, 246 table tr.odd { 247 background-color: #E5E5E5; 248 text-align: left; 249 } 250 251 /* even table rows 2,4,6,8,... */ 252 table tr.even th, 253 table tr.even { 254 background-color: #D5D5D5; 255 text-align: left; 256 } 257 258 /* marked tbale rows */ 259 table tr.marked th, 260 table tr.marked { 261 background-color: #FFCC99; 262 color : #000000; 263 } 264 265 /* hovered table rows */ 266 table tr.odd:hover, 267 table tr.even:hover, 268 table tr.odd:hover th, 269 table tr.even:hover th, 270 table tr.hover th, 271 table tr.hover { 272 background-color: #CCFFCC; 273 } 274 275 table .value { 276 text-align: right; 277 white-space: nowrap; 278 } 279 /* IE doesn't handles 'pre' right */ 280 table [class=value] { 281 white-space: pre; 282 } 301 background-color: transparent; 302 border: none; 303 } 304 283 305 284 306 .value { 285 font-family: "Courier New", Courier, monospace; 286 } 287 .value .attention { 288 color: red; 289 font-weight: bold; 290 } 291 .value .allfine { 292 color: green; 293 } 294 295 296 img.lightbulb { 297 cursor: pointer; 298 } 299 307 font-family: <?php echo $font_family; ?>; 308 white-space: normal; 309 } 310 .value .attention { color: #990000; } 311 .value .allfine { color: #006600; } 312 313 314 315 /* PDF */ 300 316 .pdflayout { 301 overflow: hidden; 302 clip: inherit; 303 background-color: #FFFFFF; 304 display: none; 305 border: 1px solid #000000; 306 position: relative; 307 } 308 317 background-color: #ffffff; 318 border: 1px solid #585880; 319 clip: inherit; 320 display: none; 321 overflow: hidden; 322 position: relative; 323 } 309 324 .pdflayout_table { 310 background-color: #ff9900; 311 color: #000000; 312 overflow: hidden; 313 clip: inherit; 314 z-index: 2; 315 display: inline; 316 visibility: inherit; 317 cursor: move; 318 position: absolute; 319 font-size: 110%; 320 border: 1px dashed #000000; 321 } 322 323 .print { 324 font-size: 8pt; 325 } 326 327 /* MySQL Parser */ 325 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>; 326 border: 1px dashed #585880; 327 clip: inherit; 328 color: #000000; 329 cursor: move; 330 display: inline; 331 font-size: <?php echo number_format( ($fsize * 0.85), 0 ) . $funit; ?>; 332 overflow: hidden; 333 position: absolute; 334 visibility: inherit; 335 z-index: 2; 336 } 337 /* end PDF */ 338 339 /* PARSER */ 328 340 .syntax { 329 font-size: 10px; 330 } 331 341 font-size: <?php echo number_format( ($fsize * 0.85), 0 ) . $funit; ?>; 342 } 332 343 .syntax_comment { 333 padding-left: 4pt; 334 padding-right: 4pt; 335 } 336 <?php 337 /* 338 .syntax_digit { 339 } 340 341 .syntax_digit_hex { 342 } 343 344 .syntax_digit_integer { 345 } 346 347 .syntax_digit_float { 348 } 349 350 .syntax_punct { 351 } 352 353 .syntax_alpha { 354 } 355 */ 356 ?> 357 .syntax_alpha_columnType { 358 text-transform: uppercase; 359 } 360 361 .syntax_alpha_columnAttrib { 362 text-transform: uppercase; 363 } 364 344 padding-left: 5px; 345 padding-right: 5px; 346 } 347 .syntax_alpha_columnType, .syntax_alpha_columnAttrib, .syntax_alpha_functionName, .syntax_alpha_reservedWord { 348 text-transform: uppercase; 349 } 365 350 .syntax_alpha_reservedWord { 366 text-transform: uppercase; 367 font-weight: bold; 368 } 369 370 .syntax_alpha_functionName { 371 text-transform: uppercase; 372 } 373 <?php 374 /* 375 .syntax_alpha_identifier { 376 } 377 378 .syntax_alpha_charset { 379 } 380 381 .syntax_alpha_variable { 382 } 383 */ 384 ?> 351 font-weight: bold; 352 } 385 353 .syntax_quote { 386 white-space: pre; 387 } 388 389 .syntax_quote_backtick { 390 } 391 392 /* leave some space between icons and text */ 393 .icon { 394 vertical-align: middle; 395 margin-right: 0.3em; 396 margin-left: 0.3em; 397 } 398 /* no extra space in table cells */ 399 td .icon { 400 margin: 0; 401 } 354 white-space: pre; 355 } 356 /* end PARSER */ 357 358 402 359 403 360 .selectallarrow { 404 margin-<?php echo $right; ?>: 0.3em; 405 margin-<?php echo $left; ?>: 0.6em; 406 } 407 408 /* message boxes: warning, error, confirmation */ 361 margin-<?php echo $right; ?>: 0.3em; 362 margin-<?php echo $left; ?>: 0.6em; 363 } 364 365 /* MESSAGE BOXES: warning, error, confirmation */ 366 div.error, div.notice, div.warning, h1.error, h1.notice, h1.warning, p.error, p.notice, p.warning { 367 margin: 5px 0px 5px 0px; 368 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> 369 background-repeat: no-repeat; 370 <?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?> 371 background-position: 5px 5px; 372 padding: 5px 5px 5px 25px; 373 <?php } else { ?> 374 background-position: 99% 5px; 375 padding: 5px 25px 5px 5px; 376 <?php } ?> 377 <?php } else { ?> 378 padding: 5px 5px 5px 5px; 379 <?php } ?> 380 text-align: <?php echo $left; ?>; 381 } 382 div.notice, h1.notice { 383 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> 384 background-image: url('<?php echo $ipath; ?>s_notice.png'); 385 <?php } ?> 386 border: 1px solid #ffd700; 387 } 409 388 .notice { 410 color: #000000; 411 background-color: #FFFFDD; 412 } 413 h1.notice, 414 div.notice { 415 margin: 0.5em 0; 416 border: 0.1em solid #FFD700; 417 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> 418 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png); 419 background-repeat: no-repeat; 420 <?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?> 421 background-position: 10px 50%; 422 padding: 10px 10px 10px 36px; 423 <?php } else { ?> 424 background-position: 99% 50%; 425 padding: 10px 5% 10px 10px; 426 <?php } ?> 427 <?php } else { ?> 428 padding: 0.5em; 429 <?php } ?> 389 background-color: #ffffdd; 390 color: #000000; 430 391 } 431 392 .notice h1 { 432 border-bottom: 0.1em solid #FFD700; 433 font-weight: bold; 434 text-align: <?php echo $left; ?>; 435 margin: 0 0 0.2em; 436 } 437 393 border-bottom: 1px solid #ffd700; 394 font-weight: bold; 395 margin: 0px 0px 0px 0px; 396 text-align: <?php echo $left; ?>; 397 } 398 div.warning, h1.warning, p.warning { 399 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> 400 background-image: url('<?php echo $ipath; ?>s_warn.png'); 401 <?php } ?> 402 border: 1px solid #990000; 403 text-align: <?php echo $left; ?>; 404 } 438 405 .warning { 439 color: #CC0000; 440 background-color: #FFFFCC; 441 } 442 p.warning, 443 h1.warning, 444 div.warning { 445 margin: 0.5em 0; 446 border: 0.1em solid #CC0000; 447 width: 90%; 448 449 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> 450 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png); 451 background-repeat: no-repeat; 452 <?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?> 453 background-position: 10px 50%; 454 padding: 10px 10px 10px 36px; 455 <?php } else { ?> 456 background-position: 99% 50%; 457 padding: 10px 5% 10px 10px; 458 <?php } ?> 459 <?php } else { ?> 460 padding: 0.5em; 461 <?php } ?> 406 background-color: #fff0f0; 407 color: #990000; 462 408 } 463 409 .warning h1 { 464 border-bottom: 0.1em solid #cc0000; 465 font-weight: bold; 466 text-align: <?php echo $left; ?>; 467 margin: 0 0 0.2em; 468 } 469 410 border-bottom: 1px solid #990000; 411 font-weight: bold; 412 margin: 0px 0px 0px 0px; 413 } 414 div.error, h1.error { 415 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> 416 background-image: url('<?php echo $ipath; ?>s_error.png'); 417 <?php } ?> 418 border: 1px solid #990000; 419 } 420 .error h1 { 421 border-bottom: 1px solid #990000; 422 font-weight: bold; 423 margin: 0px 0px 0px 0px; 424 } 470 425 .error { 471 background-color: #FFFFCC; 472 color: #ff0000; 473 } 474 475 h1.error, 476 div.error { 477 margin: 0.5em 0; 478 border: 0.1em solid #ff0000; 479 width: 90%; 480 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> 481 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png); 482 background-repeat: no-repeat; 483 <?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?> 484 background-position: 10px 50%; 485 padding: 10px 10px 10px 36px; 486 <?php } else { ?> 487 background-position: 99% 50%; 488 padding: 10px 5% 10px 10px; 489 <?php } ?> 490 <?php } else { ?> 491 padding: 0.5em; 492 <?php } ?> 493 } 494 div.error h1 { 495 border-bottom: 0.1em solid #ff0000; 496 font-weight: bold; 497 text-align: <?php echo $left; ?>; 498 margin: 0 0 0.2em; 499 } 500 426 background-color: #fff0f0; 427 color: #990000; 428 } 429 fieldset.confirmation { 430 border: 1px solid #990000; 431 } 432 fieldset.confirmation legend { 433 background-color: #990000; 434 border: 1px solid #990000; 435 color: #ffffff; 436 font-weight: bold; 437 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> 438 background-image: url('<?php echo $ipath; ?>s_really.png'); 439 background-repeat: no-repeat; 440 <?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?> 441 background-position: 1px 50%; 442 padding: 2px 2px 2px 25px; 443 <?php } else { ?> 444 background-position: 97% 50%; 445 padding: 2px 25px 2px 2px; 446 <?php } ?> 447 <?php } ?> 448 } 501 449 .confirmation { 502 background-color: #FFFFCC; 503 } 504 fieldset.confirmation { 505 border: 0.1em solid #FF0000; 506 } 507 fieldset.confirmation legend { 508 border-left: 0.1em solid #FF0000; 509 border-right: 0.1em solid #FF0000; 510 font-weight: bold; 511 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?> 512 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png); 513 background-repeat: no-repeat; 514 <?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?> 515 background-position: 5px 50%; 516 padding: 0.2em 0.2em 0.2em 25px; 517 <?php } else { ?> 518 background-position: 97% 50%; 519 padding: 0.2em 25px 0.2em 0.2em; 520 <?php } ?> 521 <?php } ?> 522 } 523 /* end messageboxes */ 524 525 526 .tblcomment{ 527 font-family: Verdana, Arial, Helvetica, sans-serif; 528 font-size: 10px; 529 font-weight: normal; 530 color: #000099; 531 } 532 533 .tblHeaders { 534 font-weight: bold; 535 color: #ffffff; 536 background-color: #cccccc; 537 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_header.png); 538 background-repeat: repeat-x; 539 background-position: top; 540 height: 18px; 450 background-color: #fff0f0; 451 } 452 .confirmation hr { 453 background: #990000; 454 border: 1px none #990000; 455 color: #990000; 456 height: 1px; 457 margin-bottom: 5px; 458 margin-top: 5px; 459 } 460 /* end MESSAGE BOXES */ 461 462 463 .tblcomment { 464 color: #000099; 465 font-size: <?php echo number_format( ($fsize * 0.70), 0 ) . $funit; ?>; 466 font-weight: normal; 467 } 468 469 .tblHeaders, th, caption { 470 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>; 471 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>; 472 font-weight: bold; 541 473 } 542 474 543 475 .tblFooters { 544 font-weight: normal; 545 color: #ffffff; 546 background-color: #cccccc; 547 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_header.png); 548 background-repeat: repeat-x; 549 background-position: top; 550 } 551 552 .tblHeaders a:link, 553 .tblHeaders a:active, 554 .tblHeaders a:visited, 555 .tblFooters a:link, 556 .tblFooters a:active, 557 .tblFooters a:visited { 558 color: #ffffcc; 559 text-decoration: underline; 560 } 561 562 .tblHeaders a:hover, 563 .tblFooters a:hover { 564 text-decoration: none; 565 color: #ffffff; 476 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>; 477 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>; 478 font-weight: normal; 479 } 480 481 .tblHeaders a:link, .tblHeaders a:active, .tblHeaders a:visited, 482 .tblFooters a:link, .tblFooters a:active, .tblFooters a:visited { 483 color: #3ebdfd; 484 } 485 486 .tblHeaders a:hover, .tblFooters a:hover { 487 color: #8ed8fd; 566 488 } 567 489 568 490 /* forbidden, no privilegs */ 569 491 .noPrivileges { 570 color: #cc0000;571 font-weight:bold;492 color: #990000; 493 font-weight: bold; 572 494 } 573 495 574 496 /* disabled text */ 575 .disabled, 576 .disabled a:link, 577 .disabled a:active, 578 .disabled a:visited { 579 color: #666666; 580 } 581 497 .disabled, .disabled a:link, .disabled a:active, .disabled a:visited { 498 color: #666666; 499 } 582 500 .disabled a:hover { 583 color:#666666;584 text-decoration:none;585 } 586 587 tr.disabled td, 588 td.disabled { 589 background-color: #cccccc;501 color: #666666; 502 text-decoration: none; 503 } 504 505 tr.disabled td, td.disabled { 506 background-color: #cccccc; 507 color: #666666; 590 508 } 591 509 … … 593 511 * login form 594 512 */ 595 body.loginform h1, 596 body.loginform a.logo { 597 display: block; 598 text-align: center; 513 body.loginform h1, body.loginform a.logo { 514 display: block; 515 text-align: center; 599 516 } 600 517 601 518 body.loginform { 602 text-align:center;519 text-align: center; 603 520 } 604 521 605 522 body.loginform div.container { 606 text-align: <?php echo $left; ?>;607 width: 30em;608 margin: 0 auto;523 margin: 0px auto; 524 text-align: <?php echo $left; ?>; 525 width: 30em; 609 526 } 610 527 611 528 form.login label { 612 float: <?php echo $left; ?>; 613 width: 10em; 614 font-weight: bolder; 615 } 616 617 618 /******************************************************************************/ 619 /* specific elements */ 620 621 /* topmenu */ 622 ul#topmenu { 623 font-weight: bold; 624 list-style-type: none; 625 margin: 0 0 0 5px; 626 padding: 1px 0 0; 627 background-color: #cccccc; 628 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_header.png); 629 background-repeat: repeat-x; 630 background-position: top; 631 height: 24px; 632 } 633 529 float: <?php echo $left; ?>; 530 font-weight: bolder; 531 width: 10em; 532 } 533 534 /* -- Top-Navi -- */ 535 #serverinfo { 536 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; 537 border-bottom: 1px solid #585880; 538 font-weight: bold; 539 height: 16px; 540 margin-top: 0px; 541 padding: 5px 5px 5px 5px; 542 white-space: nowrap; 543 vertical-align: middle; 544 } 545 #serverinfo .item { white-space: nowrap; } 546 #serverinfo img { margin: 0px 1px 0px 1px; } 547 ul#topmenu { list-style-type: none; } 548 ul#topmenu li { vertical-align: middle; float: left; } 549 #topmenu img { 550 margin-<?php echo $right; ?>: 2px; 551 vertical-align: middle; 552 } 553 .tab, .tabcaution, .tabactive { 554 display: block; 555 margin: 0px 0px 0px 0px; 556 padding: 4px 2px 4px 2px; 557 white-space: nowrap; 558 } 559 span.tab, span.tabcaution { color: #666666; } 560 a.tabcaution:link, a.tabcaution:active, a.tabcaution:visited { color: #990000; } 561 a.tabcaution:hover { 562 color: #ffffff; 563 background-color: #990000; 564 } 565 <?php if ( $GLOBALS['cfg']['LightTabs'] ) { ?> 566 a.tabactive:link, a.tabactive:active, a.tabactive:visited { color: #585880; } 567 <?php } else { ?> 568 #serverinfo, #topmenucontainer { 569 <?php if ($forIE) { ?> 570 position: absolute; 571 <?php } else { ?> 572 position: fixed; 573 width: 100%; 574 <?php } ?> 575 } 576 #serverinfo { 577 <?php if ($forIE) { ?> 578 left: 0px; 579 top: expression(eval(document.documentElement.scrollTop)); 580 width: 100%; 581 <?php } else { ?> 582 top: 0px; 583 left: 0px; 584 <?php } ?> 585 } 586 #serverinfo .separator img { 587 width: 9px; 588 height: 11px; 589 margin: 0px <?php echo number_format( ($fsize * 0.2), 0 ) . $funit; ?> 0px <?php echo number_format( ($fsize * 0.2), 0 ) . $funit; ?>; 590 vertical-align: middle; 591 } 592 #topmenucontainer { 593 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; 594 background-image: url('<?php echo $ipath; ?>tbg_nav0.png'); 595 background-repeat: repeat-x; 596 background-position: center bottom; 597 border-top: <?php echo ( (isset($_GET['type']) && stristr($_GET['type'], 'querywin')) ? '1px' : '5px' ); ?> solid #ffffff; 598 border-right: none; 599 border-bottom: 5px solid #ffffff; 600 border-left: none; 601 color: #FFFFFF; 602 font-weight: bold; 603 margin: 0px 0px 0px 0px; 604 padding: 0px 0px 0px 0px; 605 white-space: nowrap; 606 <?php if ($forIE) { ?> 607 left: 0px; 608 top: expression(eval(document.documentElement.scrollTop<?php echo ( (isset($_GET['type']) && stristr($_GET['type'], 'querywin')) ? '' : '+27' ); ?>)); 609 width: expression(eval(document.documentElement.clientWidth)); 610 <?php } else { ?> 611 top: <?php echo ( (isset($_GET['type']) && stristr($_GET['type'], 'querywin')) ? '0px' : '27px' ); ?>; 612 left: 0px; 613 <?php } ?> 614 } 615 #topmenu { 616 border: none; 617 float: <?php echo $left; ?>; 618 margin: 0px 0px 0px 0px; 619 padding: 0px 0px 0px 0px; 620 } 634 621 ul#topmenu li { 635 float: left; 636 margin: 0; 637 padding: 0; 638 vertical-align: middle; 639 height: 24px; 640 } 641 642 #topmenu img { 643 vertical-align: middle; 644 margin-right: 0.1em; 645 } 646 647 /* default tab styles */ 622 background-color: #333333; 623 background-image: url('<?php echo $ipath; ?>tbg_nav1.png'); 624 background-repeat: repeat-x; 625 background-position: center top; 626 border-bottom: none; 627 margin: 0px 0px 0px 0px; 628 padding-right: 1px; 629 } 648 630 .tab, .tabcaution, .tabactive { 649 color: #f4dc6b; 650 font-family: Verdana, Arial, Helvetica, sans-serif; 651 padding: 0em; 652 white-space: nowrap; 653 } 654 655 /* disabled tabs */ 656 span.tab { 657 font-family: Verdana, Arial, Helvetica, sans-serif; 658 font-size: 11px; 659 font-weight: bold; 660 color: #FFFFFF; 661 padding: 4px 8px 8px; 662 margin: -1px 0px 0px -1px; 663 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_header_disabled.png); 664 background-repeat: repeat-x; 665 background-position: top; 666 } 667 668 span.tab:hover { 669 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_header_disabled.png); 670 font-family: Verdana, Arial, Helvetica, sans-serif; 671 font-size: 11px; 672 font-weight: bold; 673 color: #FFFFFF; 674 padding: 4px 8px 8px; 675 margin: -1px 0px 0px -1px; 676 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_header2.png); 677 background-repeat: repeat-x; 678 background-position: top; 679 text-decoration: none; 680 } 681 682 /* disabled drop/empty tabs */ 683 span.tabcaution { 684 color: #ff6666; 685 } 686 687 /* enabled drop/empty tabs */ 688 a.tabcaution { 689 color: #FF0000; 631 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>; 632 background-repeat: repeat-x; 633 background-position: center top; 634 border: none; 635 } 636 .tab, .tabactive, .tabcaution, a.tab:hover, a.tabactive:hover, a.tabcaution:hover { 637 margin: 0px 0px 0px 0px; 638 padding: 4px 2px 4px 2px; 639 text-decoration: none; 640 } 641 .tab, a.tab:link, a.tab:active, a.tab:visited { 642 color: #FFFFFF; 643 background-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>; 644 background-image: url('<?php echo $ipath; ?>tbg_nav0.png'); 645 } 646 a.tab:hover { 647 color: #000000; 648 background-color: #666666; 649 background-image: url('<?php echo $ipath; ?>tbg_nav4.png'); 650 } 651 .tabcaution, a.tabcaution:link, a.tabcaution:active, a.tabcaution:visited { 652 color: #FFFFFF; 653 background-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>; 654 background-image: url('<?php echo $ipath; ?>tbg_nav0.png'); 690 655 } 691 656 a.tabcaution:hover { 692 color: #FFFFFF; 693 background-color: #FF0000; 694 } 695 696 <?php if ( $GLOBALS['cfg']['LightTabs'] ) { ?> 697 /* active tab */ 698 ul#topmenu li a.tabactive { 699 color: black; 700 padding: 4px 8px 8px; 701 } 657 color: #990000; 658 background-color: #cc9999; 659 background-image: url('<?php echo $ipath; ?>tbg_nav3.png'); 660 } 661 a.tabactive:link, a.tabactive:active, a.tabactive:visited, a.tabactive:hover { 662 color: #3ebdfd; 663 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; 664 background-image: url('<?php echo $ipath; ?>tbg_nav2.png'); 665 } 666 span.tab, span.tabcaution { cursor: url('<?php echo $ipath; ?>s_error.png'), default; } 667 span.tab img, span.tabcaution img { 668 <?php if ($forIE) { ?> 669 filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50); 702 670 <?php } else { ?> 703 #topmenu { 704 padding: 4px 0 0; 705 } 706 707 ul#topmenu li { 708 border-bottom: 0; 709 } 710 711 /* default tab styles */ 712 .tab, .tabcaution, .tabactive { 713 background-color: #E5E5E5; 714 border-width: 0 1px 0 0; 715 border-style: solid; 716 border-color: #FFFFFF; 717 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_header2.png); 718 background-repeat: repeat-x; 719 background-position: top; 720 /* overwrite default button look */ 721 border-radius-topleft: 0; 722 border-radius-topright: 0; 723 -moz-border-radius-topleft: 0; 724 -moz-border-radius-topright: 0; 725 } 726 727 ul#topmenu li a.tab { 728 font-family: Verdana, Arial, Helvetica, sans-serif; 729 font-size: 11px; 730 font-weight: bold; 731 color: #FFFFFF; 732 } 733 734 ul#topmenu li a.tab:hover { 735 font-family: Verdana, Arial, Helvetica, sans-serif; 736 font-size: 11px; 737 font-weight: bold; 738 color: #FFFFFF; 739 } 740 741 ul#topmenu li:hover { 742 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_header2.png); 743 text-decoration: underline; 744 font-family: Verdana, Arial, Helvetica, sans-serif; 745 font-size: 11px; 746 font-weight: bold; 747 color: #f4dc6b; 748 } 749 750 /* enabled drop/empty tabs */ 751 ul#topmenu li a.tabcaution { 752 font-family: Verdana, Arial, Helvetica, sans-serif; 753 font-size: 11px; 754 font-weight: bold; 755 color: #FFFFFF; 756 background-color: #cc0000; 757 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_error.png); 758 background-repeat: repeat-x; 759 background-position: top; 760 padding: 4px 8px 8px; 761 border: 0; 762 border-right: 1px solid #FFFFFF; 763 margin: 0; 764 } 765 ul#topmenu li a.tabcaution:hover { 766 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_error2.png); 767 padding: 4px 8px 8px; 768 } 769 770 /* enabled hover/active tabs */ 771 a.tabactive { 772 font-family: Verdana, Arial, Helvetica, sans-serif; 773 font-weight: bold; 774 color: #f4dc6b; 775 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_headerActive.png); 776 background-repeat: repeat-x; 777 background-position: top; 778 background-color: #ffffff; 779 padding: 4px 8px 8px; 780 border: 0; 781 border-right: 1px solid #FFFFFF; 782 border-left: 1px solid #FFFFFF; 783 margin-left: -3px; 784 } 785 786 a.tabactive:hover { 787 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_header.png); 788 padding: 4px 8px 8px; 789 margin-left: -3px; 790 color: #FFFFFF; 791 } 792 793 a.tab:link, a.tab:active,a.tab:hover, a.tab:visited { 794 padding: 4px 8px 8px; 795 border: 0; 796 border-right: 1px solid #FFFFFF; 797 margin: 0; 798 margin-left: 0; 799 color: #FFFFFF; 800 } 801 802 a.tab:hover, 803 .tabactive { 804 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>tbl_header.png); 805 } 806 807 /* disabled drop/empty tabs */ 808 span.tab, span.tabcaution { 809 cursor: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>error.ico), default; 810 } 671 -moz-opacity: 0.5; 811 672 <?php } ?> 812 /* end topmenu */ 813 814 815 #fieldsetexport #exportoptions { 816 float: left; 817 } 818 819 820 /* Calendar */ 821 table.calendar { 822 width: 100%; 823 } 673 opacity: 0.5; 674 } 675 <?php } ?> 676 677 div.tablepagenav, div.tablepagenav table tr td { 678 font-size: <?php echo number_format( ($fsize * 0.80), 0 ) . $funit; ?>; 679 text-align: center; 680 } 681 div.tablepagenav { 682 border-bottom: 1px solid #585880; 683 border-top: 1px solid #585880; 684 margin-bottom: <?php echo number_format( ($fsize * 0.1), 0 ) . $funit; ?>; 685 margin-top: <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?>; 686 } 687 div.tablepagenav form { 688 margin: 0px 0px 0px 0px; 689 padding: 0px 0px 0px 0px; 690 } 691 div.tablepagenav table tr td { vertical-align: middle; } 692 div.tablepagenav table tr td input, div.tablepagenav table tr td input.textfield { 693 font-size: <?php echo number_format( ($fsize * 0.80), 0 ) . $funit; ?>; 694 text-align: center; 695 } 696 div.tablepagenav table tr td input.textfield { width: 25px; } 697 div.tablepagenav table tr td select { 698 font-size: <?php echo number_format( ($fsize * 0.80), 0 ) . $funit; ?>; 699 } 700 701 /* -- Top-Navi -- */ 702 703 704 /* CALENDAR */ 705 table.calendar { width: 100%; } 824 706 table.calendar td { 825 text-align: center; 826 } 827 table.calendar td a { 828 display: block; 829 } 830 707 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>; 708 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>; 709 text-align: center; 710 } 711 table.calendar td a { display: block; } 831 712 table.calendar td a:hover { 832 background-color: #CCFFCC;833 } 834 713 background-color: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>; 714 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>; 715 } 835 716 table.calendar th { 836 background-color: #D3DCE3;837 } 838 717 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>; 718 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>; 719 } 839 720 table.calendar td.selected { 840 background-color: #FFCC99; 841 color: #000000; 842 } 843 844 img.calendar { 845 border: none; 846 } 847 form.clock { 848 text-align: center; 849 } 850 /* end Calendar */ 721 background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>; 722 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>; 723 } 724 img.calendar { border: none; } 725 #clock_data, form.clock { text-align: center; } 726 #clock_data input, form.clock input { 727 text-align: center; 728 width: 50px; 729 } 730 /* end CALENDAR */ 851 731 852 732 853 733 /* table stats */ 854 734 div#tablestatistics { 855 border-bottom: 0.1em solid #669999; 856 margin-bottom: 0.5em; 857 padding-bottom: 0.5em; 858 } 859 735 border-bottom: 1px solid #669999; 736 margin-bottom: 5px; 737 padding-bottom: 5px; 738 } 860 739 div#tablestatistics table { 861 float: left; 862 margin-bottom: 0.5em; 863 margin-right: 0.5em; 864 } 865 866 div#tablestatistics table caption { 867 margin-right: 0.5em; 868 } 869 /* end table stats */ 740 float: <?php echo $left; ?>; 741 margin-bottom: 5px; 742 margin-<?php echo $right; ?>: 5px; 743 } 744 div#tablestatistics table caption { margin-<?php echo $right; ?>: 5px; } 745 /* END table stats */ 870 746 871 747 872 748 /* server privileges */ 873 #tableuserrights td, 874 #tablespecificuserrights td, 875 #tabledatabases td { 876 vertical-align: middle; 877 } 878 /* end server privileges */ 879 880 881 882 /* Heading */ 883 #serverinfo { 884 font-family: Verdana, Arial, Helvetica, sans-serif; 885 font-size: 12px; 886 font-weight: normal; 887 padding: 0 0 10px; 888 margin: 0; 889 white-space: nowrap; 890 vertical-align: middle; 891 } 892 893 #serverinfo .item { 894 white-space: nowrap; 895 font-size: 12px; 896 font-weight: bolder; 897 color: #000000; 898 } 749 #tableuserrights td, #tablespecificuserrights td, #tabledatabases td { vertical-align: middle; } 750 /* END server privileges */ 751 752 899 753 900 754 #span_table_comment { 901 font-weight: normal; 902 font-style: italic; 903 white-space: nowrap; 904 } 905 906 #serverinfo img { 907 margin: 0 0.1em; 908 } 909 910 /* some styles for IDs: */ 911 #buttonNo { 912 color: #CC0000; 913 font-weight: bold; 914 padding: 0 10px; 915 font-size: 10px; 916 } 917 918 #buttonYes { 919 color: #006600; 920 font-weight: bold; 921 padding: 0 10px; 922 font-size: 10px; 923 } 924 925 #buttonGo { 926 color: #006600; 927 font-weight: bold; 928 padding: 0 10px; 929 font-size: 10px; 930 } 931 932 #listTable { 933 width: 260px; 934 } 935 936 #textSqlquery { 937 width: 450px; 938 } 939 940 #textSQLDUMP { 941 width: 95%; 942 height: 95%; 943 font-family: "Courier New", Courier, mono; 944 font-size: 11px; 755 font-weight: normal; 756 font-style: italic; 757 white-space: nowrap; 945 758 } 946 759 947 760 #TooltipContainer { 948 position: absolute; 949 z-index: 99; 950 width: 250px; 951 height: 50px; 952 overflow: auto; 953 visibility: hidden; 954 background-color: #ffffcc; 955 color: #006600; 956 border: 1px solid #000000; 957 padding: 5px; 958 font-family: Verdana, Arial, Helvetica, sans-serif; 959 font-size: 10px; 761 font-size: <?php echo number_format( ($fsize * 0.85), 0, '', '' ) . $funit; ?>; 762 color: #ffffff; 763 background-color: #9eb1cc; 764 position: absolute; 765 z-index: 99; 766 width: <?php echo number_format( ($fsize * 0.85 * 25), 0, '', '' ) . $funit; ?>; 767 height: auto; 768 overflow: auto; 769 visibility: hidden; 770 border: 1px solid #333333; 771 padding: <?php echo number_format( ($fsize * 0.85 * 0.5), 0, '', '' ) . $funit; ?>; 772 <?php if ($forIE) { ?> 773 filter: progid:DXImageTransform.Microsoft.Alpha(opacity=95); 774 <?php } else { ?> 775 -moz-opacity: 0.95; 776 <?php } ?> 777 opacity: 0.95; 960 778 } 961 779 962 780 /* user privileges */ 963 781 #fieldset_add_user_login div.item { 964 border-bottom: 1px solid #cccccc;965 padding-bottom:0.3em;966 margin-bottom:0.3em;782 border-bottom: 1px solid silver; 783 padding-bottom: 0.3em; 784 margin-bottom: 0.3em; 967 785 } 968 786 969 787 #fieldset_add_user_login label { 970 float: left;971 display:block;972 width:10em;973 max-width:100%;974 text-align: right;975 padding-right:0.5em;788 float: <?php echo $left; ?>; 789 display: block; 790 width: 10em; 791 max-width: 100%; 792 text-align: <?php echo $right; ?>; 793 padding-<?php echo $right; ?>: 0.5em; 976 794 } 977 795 … … 979 797 #fieldset_add_user_login span.options #select_pred_hostname, 980 798 #fieldset_add_user_login span.options #select_pred_password { 981 width:100%;982 max-width:100%;799 width: 100%; 800 max-width: 100%; 983 801 } 984 802 985 803 #fieldset_add_user_login span.options { 986 float: left;987 display:block;988 width:12em;989 max-width:100%;990 padding-right:0.5em;804 float: <?php echo $left; ?>; 805 display: block; 806 width: 12em; 807 max-width: 100%; 808 padding-<?php echo $right; ?>: 0.5em; 991 809 } 992 810 993 811 #fieldset_add_user_login input { 994 width:12em;995 clear: right;996 max-width:100%;812 width: 12em; 813 clear: <?php echo $right; ?>; 814 max-width: 100%; 997 815 } 998 816 999 817 #fieldset_add_user_login span.options input { 1000 width:auto;818 width: auto; 1001 819 } 1002 820 1003 821 #fieldset_user_priv div.item { 1004 float: left;1005 width: 8em;1006 max-width:100%;822 float: <?php echo $left; ?>; 823 width: 9em; 824 max-width: 100%; 1007 825 } 1008 826 1009 827 #fieldset_user_priv div.item div.item { 1010 float:none;828 float: none; 1011 829 } 1012 830 1013 831 #fieldset_user_priv div.item label { 1014 white-space:nowrap;832 white-space: nowrap; 1015 833 } 1016 834 1017 835 #fieldset_user_priv div.item select { 1018 width:100%;836 width: 100%; 1019 837 } 1020 838 1021 839 #fieldset_user_global_rights fieldset { 1022 float: left;1023 } 1024 /* enduser privileges */840 float: <?php echo $left; ?>; 841 } 842 /* END user privileges */ 1025 843 1026 844 1027 845 /* serverstatus */ 1028 846 div#serverstatus table caption a.top { 1029 float: right;847 float: <?php echo $right; ?>; 1030 848 } 1031 849 … … 1033 851 div#serverstatus table#serverstatustraffic, 1034 852 div#serverstatus table#serverstatusconnections { 1035 float: left;853 float: <?php echo $left; ?>; 1036 854 } 1037 855 1038 856 #serverstatussection, 1039 857 .clearfloat { 1040 clear:both;858 clear: both; 1041 859 } 1042 860 div#serverstatussection table { 1043 width:100%;1044 margin-bottom:1em;861 width: 100%; 862 margin-bottom: 1em; 1045 863 } 1046 864 div#serverstatussection table .name { 1047 width:18em;865 width: 18em; 1048 866 } 1049 867 div#serverstatussection table .value { 1050 width:6em;868 width: 6em; 1051 869 } 1052 870 1053 871 div#serverstatus table tbody td.descr a, 1054 872 div#serverstatus table .tblFooters a { 1055 white-space: nowrap; 1056 } 873 white-space: nowrap; 874 } 875 1057 876 div#serverstatus div#statuslinks a:before, 1058 877 div#serverstatus div#sectionlinks a:before, 1059 878 div#serverstatus table tbody td.descr a:before, 1060 879 div#serverstatus table .tblFooters a:before { 1061 content: '[';880 content: ''; 1062 881 } 1063 882 div#serverstatus div#statuslinks a:after, … … 1065 884 div#serverstatus table tbody td.descr a:after, 1066 885 div#serverstatus table .tblFooters a:after { 1067 content: ']'; 1068 } 886 content: ''; 887 } 888 1069 889 /* end serverstatus */ 1070 890 1071 891 /* querywindow */ 1072 892 body#bodyquerywindow { 1073 margin: 0; 1074 padding: 0; 1075 background-color: #F5F5F5; 893 margin: 30px 2px 2px 2px; 894 padding: 0; 895 background-image: none; 896 background-color: transparent; 1076 897 } 1077 898 1078 899 div#querywindowcontainer { 1079 margin:0;1080 padding:0;1081 width:100%;900 margin: 0; 901 padding: 0; 902 width: 100%; 1082 903 } 1083 904 1084 905 div#querywindowcontainer fieldset { 1085 margin-top:0;1086 } 1087 /* endquerywindow */906 margin-top: 0; 907 } 908 /* END querywindow */ 1088 909 1089 910 … … 1091 912 1092 913 div#sqlquerycontainer { 1093 float: left;1094 width:69%;1095 /* height:15em; */914 float: <?php echo $left; ?>; 915 width: 69%; 916 /* height: 15em; */ 1096 917 } 1097 918 1098 919 div#tablefieldscontainer { 1099 float: right;1100 width:29%;1101 /* height:15em; */920 float: <?php echo $right; ?>; 921 width: 29%; 922 /* height: 15em; */ 1102 923 } 1103 924 1104 925 div#tablefieldscontainer select { 1105 width:100%;1106 /* height:12em; */926 width: 100%; 927 /* height: 12em; */ 1107 928 } 1108 929 1109 930 textarea#sqlquery { 1110 width:100%;1111 /* height:100%; */931 width: 100%; 932 /* height: 100%; */ 1112 933 } 1113 934 1114 935 div#queryboxcontainer div#bookmarkoptions { 1115 margin-top:0.5em;936 margin-top: 0.5em; 1116 937 } 1117 938 /* end querybox */ 939 940 /* main page */ 941 #maincontainer { 942 background-image: none; 943 background-position: <?php echo $right; ?> bottom; 944 background-repeat: no-repeat; 945 border-bottom: none; 946 } 947 948 #mysqlmaininformation, 949 #pmamaininformation { 950 float: <?php echo $left; ?>; 951 width: 49%; 952 } 953 954 #maincontainer ul { 955 list-style-image: url('<?php echo $ipath; ?>item_<?php echo $GLOBALS['text_dir']; ?>.png'); 956 vertical-align: middle; 957 } 958 959 #maincontainer li { 960 margin-bottom: 3px; 961 padding-left: 5px; 962 } 963 /* END main page */ 964 965 966 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?> 967 /* iconic view for ul items */ 968 li#li_create_database { list-style-image: url('<?php echo $ipath; ?>b_newdb.png'); } 969 li#li_select_lang { list-style-image: url('<?php echo $ipath; ?>s_lang.png'); } 970 li#li_select_mysql_collation { list-style-image: url('<?php echo $ipath; ?>s_asci.png'); } 971 li#li_select_mysql_charset { list-style-image: url('<?php echo $ipath; ?>s_asci.png'); } 972 li#li_select_theme { list-style-image: url('<?php echo $ipath; ?>s_theme.png'); } 973 li#li_server_info { list-style-image: url('<?php echo $ipath; ?>s_host.png'); } 974 li#li_user_info { list-style-image: url('<?php echo $ipath; ?>b_dbusr.png'); } 975 li#li_mysql_status { list-style-image: url('<?php echo $ipath; ?>s_status.png'); } 976 li#li_mysql_variables { list-style-image: url('<?php echo $ipath; ?>s_vars.png'); } 977 li#li_mysql_processes { list-style-image: url('<?php echo $ipath; ?>s_process.png'); } 978 li#li_mysql_collations { list-style-image: url('<?php echo $ipath; ?>s_asci.png'); } 979 li#li_mysql_engines { list-style-image: url('<?php echo $ipath; ?>b_engine.png'); } 980 li#li_mysql_binlogs { list-style-image: url('<?php echo $ipath; ?>s_tbl.png'); } 981 li#li_mysql_databases { list-style-image: url('<?php echo $ipath; ?>s_db.png'); } 982 li#li_export { list-style-image: url('<?php echo $ipath; ?>b_export.png'); } 983 li#li_import { list-style-image: url('<?php echo $ipath; ?>b_import.png'); } 984 li#li_change_password { list-style-image: url('<?php echo $ipath; ?>s_passwd.png'); } 985 li#li_log_out { list-style-image: url('<?php echo $ipath; ?>s_loggoff.png'); } 986 li#li_pma_docs { list-style-image: url('<?php echo $ipath; ?>b_docs.png'); } 987 li#li_phpinfo { list-style-image: url('<?php echo $ipath; ?>php_sym.png'); } 988 li#li_pma_homepage { list-style-image: url('<?php echo $ipath; ?>b_home.png'); } 989 li#li_mysql_privilegs { list-style-image: url('<?php echo $ipath; ?>s_rights.png'); } 990 li#li_switch_dbstats { list-style-image: url('<?php echo $ipath; ?>b_dbstatistics.png'); } 991 li#li_flush_privileges { list-style-image: url('<?php echo $ipath; ?>s_reload.png'); } 992 li#li_mysql_proto { list-style-image: url('<?php echo $ipath; ?>b_dbsock.png'); } 993 li#li_mysql_client_version { list-style-image: url('<?php echo $ipath; ?>b_dbclient.png'); } 994 li#li_select_fontsize { list-style-image: url('<?php echo $ipath; ?>b_fontsize.png'); } 995 li#li_used_php_extension { list-style-image: url('<?php echo $ipath; ?>b_dbphpext.png'); } 996 /* END iconic view for ul items */ 997 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?> 998 999 1000 #body_browse_foreigners { 1001 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; 1002 margin: <?php echo (($tmp_css_type == 'inline') ? 6 : 4); ?>em 0.5em 0 0.5em; 1003 text-align: center; 1004 } 1005 #body_browse_foreigners form { 1006 left: 0px; 1007 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; 1008 margin: 0 0 0 0; 1009 padding: 0 0 0 0; 1010 <?php if ($forIE) { ?> 1011 position: absolute; 1012 top: expression(eval(document.documentElement.scrollTop)); 1013 <?php } else { ?> 1014 position: fixed; 1015 top: 0px; 1016 <?php } ?> 1017 width: 100%; 1018 } 1019 #body_browse_foreigners, #body_browse_foreigners th, #body_browse_foreigners td { 1020 font-size: <?php echo number_format($fsize * 0.9) . $funit; ?>; 1021 text-align: <?php echo $left; ?>; 1022 } 1023 #body_browse_foreigners tfoot th { 1024 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>; 1025 background-image: url('<?php echo $ipath; ?>tbg_th3.png'); 1026 background-position: left bottom; 1027 } 1028 #body_browse_foreigners .formelement { 1029 float: none; clear: both; 1030 } 1031 #body_browse_foreigners fieldset { text-align: center; padding: 0.1em 0.1em 0.1em 0.1em; margin: 0.1em 0.1em 0.1em 0.1em; } 1032 1033 #bodyquerywindow { 1034 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; 1035 } 1036 1037 #bodythemes { 1038 width: 500px; 1039 margin: auto; 1040 text-align: center; 1041 } 1042 1043 #bodythemes img { 1044 border: 0.1em solid black; 1045 } 1046 1047 #bodythemes a:hover img { 1048 border: 0.1em solid red; 1049 } 1050 1051 #fieldset_select_fields { 1052 float: <?php echo $left; ?>; 1053 } 1054 1055 #selflink { 1056 clear: both; 1057 display: block; 1058 margin-top: 1em; 1059 margin-bottom: 1em; 1060 width: 100%; 1061 border-top: 0.1em none silver; 1062 text-align: <?php echo $left; ?>; 1063 } 1064 1065 #table_innodb_bufferpool_usage, 1066 #table_innodb_bufferpool_activity { 1067 float: <?php echo $left; ?>; 1068 } 1069 1070 #div_mysql_charset_collations table { 1071 float: <?php echo $left; ?>; 1072 } 1073 1074 #div_table_order, #div_table_rename, #div_table_copy, #div_table_options { 1075 clear: both; 1076 float: none; 1077 min-width: 48%; 1078 } 1079 1080 #qbe_div_table_list { 1081 float: <?php echo $left; ?>; 1082 } 1083 1084 #qbe_div_sql_query { 1085 float: <?php echo $left; ?>; 1086 } 1087 1088 label.desc { 1089 width: 30em; 1090 float: <?php echo $left; ?>; 1091 } 1092 1093 #buttonGo, #buttonNo, #buttonYes, #submit, #cancel { font-weight: bold; } 1094 #buttonGo { color: #585880; } 1095 #buttonNo, #cancel { color: #aa0000; } 1096 #buttonYes, #submit { color: #006600; } 1097 #listTable { width: 260px;} 1098 #textSqlquery { width: 450px; } 1099 #textSQLDUMP { 1100 background-color: transparent; 1101 border: 1px solid #585880; 1102 color: #333333; 1103 <?php if (!empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?> 1104 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>; 1105 <?php } ?> 1106 font-size: 110%; 1107 width: 99%; 1108 height: 99%; 1109 } -
branches/omega-1.0.5/gui/tools/pma/themes/omega/info.inc.php
r1638 r2691 1 1 <?php 2 /* Theme information */ 3 $theme_name = 'omega'; 4 $theme_version = 2; 5 $theme_generation = 2; 2 /* vim: set expandtab sw=4 ts=4 sts=4: */ 3 /** 4 * Theme information 5 * 6 * 7 * @version $Id$ 8 * @package phpMyAdmin-theme 9 * @subpackage ispCP_Omega 10 */ 11 12 $theme_name = 'ispCP'; 13 $theme_version = 3; 14 $theme_generation = 3; 6 15 ?> -
branches/omega-1.0.5/gui/tools/pma/themes/omega/layout.inc.php
r1638 r2691 2 2 /* vim: set expandtab sw=4 ts=4 sts=4: */ 3 3 /** 4 * configures general layout5 * for detailed layout configuration please refer to the css files6 4 * 7 * @version $Id : layout.inc.php 10515 2007-07-22 16:22:54Z lem9$5 * @version $Id$ 8 6 * @package phpMyAdmin-theme 9 * @subpackage Original7 * @subpackage ispCP_Omega 10 8 */ 11 9 12 10 /** 13 * We don't need these values, but let's define them, 14 * so PHP doesn't complain... 15 */ 16 $GLOBALS['cfg']['BgcolorOne'] = ''; 17 $GLOBALS['cfg']['BgcolorTwo'] = ''; 18 $GLOBALS['cfg']['LeftBgColor'] = ''; 19 $GLOBALS['cfg']['LeftPointerColor'] = ''; 20 $GLOBALS['cfg']['RightBgColor'] = ''; 21 $GLOBALS['cfg']['ThBgcolor'] = ''; 22 23 /** 24 * navi frame 11 * for older versions 25 12 */ 26 // navi frame width 27 $GLOBALS['cfg']['NaviWidth'] = 250; 28 29 // foreground (text) color for the navi frame 30 $GLOBALS['cfg']['NaviColor'] = '#FFFFFF'; 31 32 // foreground (text) color for the navi frame 33 $GLOBALS['cfg']['NaviBorderColor'] = '#535353'; 34 35 // background for the navi frame 36 $GLOBALS['cfg']['NaviBackground'] = ''; 37 38 // foreground (text) color of the pointer in navi frame 39 $GLOBALS['cfg']['NaviPointerColor'] = '#f4dc6b'; 40 // background of the pointer in navi frame 41 $GLOBALS['cfg']['NaviPointerBackground'] = ''; 42 // text color of the selected database name (when showing the table list) 43 $GLOBALS['cfg']['NaviDatabaseNameColor'] = '#f4dc6b'; 44 45 /** 46 * main frame 47 */ 48 // foreground (text) color for the main frame 49 $GLOBALS['cfg']['MainColor'] = '#000000'; 50 51 // background for the main frame 52 $GLOBALS['cfg']['MainBackground'] = '#F5F5F5'; 53 //$GLOBALS['cfg']['MainBackground'] = '#F5F5F5 url(' . $_SESSION['PMA_Theme']->getImgPath() . 'vertical_line.png) repeat-y'; 54 55 // foreground (text) color of the pointer in browse mode 56 $GLOBALS['cfg']['BrowsePointerColor'] = '#000000'; 57 58 // background of the pointer in browse mode 59 $GLOBALS['cfg']['BrowsePointerBackground'] = '#CCFFCC'; 60 61 // foreground (text) color of the marker (visually marks row by clicking on it) in browse mode 62 $GLOBALS['cfg']['BrowseMarkerColor'] = '#000000'; 63 64 // background of the marker (visually marks row by clicking on it) in browse mode 65 $GLOBALS['cfg']['BrowseMarkerBackground'] = '#FFCC99'; 66 67 /** 68 * fonts 69 */ 70 /** 71 * the font family as a valid css font family value, 72 * if not set the browser default will be used 73 * (depending on browser, DTD and system settings) 74 */ 75 $GLOBALS['cfg']['FontFamily'] = 'sans-serif'; 76 /** 77 * fixed width font family, used in textarea 78 */ 79 $GLOBALS['cfg']['FontFamilyFixed'] = 'monospace'; 80 81 /** 82 * tables 83 */ 84 // border 85 $GLOBALS['cfg']['Border'] = 0; 86 // table header and footer color 87 $GLOBALS['cfg']['ThBackground'] = '#444444'; 88 // table header and footer background 89 $GLOBALS['cfg']['ThColor'] = '#000000'; 90 // table data row background 91 $GLOBALS['cfg']['BgOne'] = ''; 92 // table data row background, alternate 93 $GLOBALS['cfg']['BgTwo'] = ''; 94 95 /** 96 * query window 97 */ 98 // Width of Query window 99 $GLOBALS['cfg']['QueryWindowWidth'] = 600; 100 // Height of Query window 101 $GLOBALS['cfg']['QueryWindowHeight'] = 400; 102 103 /** 104 * SQL Parser Settings 105 * Syntax colouring data 106 */ 107 $GLOBALS['cfg']['SQP']['fmtColor'] = array( 108 'comment' => '#808000', 13 $cfg['LeftPointerEnable'] = false; 14 $cfg['LeftWidth'] = 250; // left frame width 15 $cfg['LeftBgColor'] = ''; // background color for the left frame 16 $cfg['RightBgColor'] = '#ffffff'; // background color for the right frame 17 $cfg['RightBgImage'] = ''; // path to a background image for the right frame 18 // (leave blank for no background image) 19 $cfg['LeftPointerColor'] = '#b4cae9'; // color of the pointer in left frame 20 $cfg['Border'] = 0; // border width on tables 21 $cfg['ThBgcolor'] = '#e5e5e5'; // table header row colour 22 $cfg['BgcolorOne'] = '#e6f0ff'; // table data row colour 23 $cfg['BgcolorTwo'] = '#dbe7f9'; // table data row colour, alternate 24 $cfg['BrowsePointerColor'] = '#b4cae9'; // color of the pointer in browse mode 25 $cfg['BrowseMarkerColor'] = '#e9c7b4'; // color of the marker (visually marks row 26 // by clicking on it) in browse mode 27 $cfg['QueryWindowWidth'] = 600; // Width of Query window 28 $cfg['QueryWindowHeight'] = 400; // Height of Query window 29 $cfg['SQP']['fmtColor'] = array( // Syntax colouring data 30 'comment' => '#999999', 109 31 'comment_mysql' => '', 110 32 'comment_ansi' => '', … … 114 36 'digit_integer' => 'teal', 115 37 'digit_float' => 'aqua', 116 'punct' => ' fuchsia',38 'punct' => '#cc0000', 117 39 'alpha' => '', 118 40 'alpha_columnType' => '#FF9900', 119 41 'alpha_columnAttrib' => '#0000FF', 42 'alpha_reservedWord' => '#cc0000', 43 'alpha_functionName' => '#000099', 44 'alpha_identifier' => 'black', 45 'alpha_charset' => '#6495ed', 46 'alpha_variable' => '#800000', 47 'quote' => '#008000', 48 'quote_double' => '#000000', 49 'quote_single' => '#000000', 50 'quote_backtick' => '' 51 ); 52 53 /** 54 * for current version 55 */ 56 // NAVI FRAME 57 $GLOBALS['cfg']['LeftPointerEnable'] = false; 58 $GLOBALS['cfg']['NaviWidth'] = 250; // width 59 $GLOBALS['cfg']['NaviColor'] = '#FFFFFF'; // foreground (text) color 60 $GLOBALS['cfg']['NaviBackground'] = ''; // background 61 $GLOBALS['cfg']['NaviPointerColor'] = '#000000'; // foreground (text) color of the pointer 62 $GLOBALS['cfg']['NaviPointerBackground'] = '#b4cae9'; // background of the pointer 63 64 // MAIN FRAME 65 $GLOBALS['cfg']['MainColor'] = '#333333'; // foreground (text) color for the main frame 66 $GLOBALS['cfg']['MainBackground'] = '#ffffff'; // background for the main frame 67 // for a solid vertical line, uncomment this: 68 //$GLOBALS['cfg']['MainBackground'] = '#ffffff url(../' . $_SESSION['PMA_Theme']->getImgPath() . 'vertical_line.png) repeat-y'; 69 $GLOBALS['cfg']['BrowsePointerColor'] = '#000000'; // foreground (text) color of the pointer in browse mode 70 $GLOBALS['cfg']['BrowsePointerBackground'] = '#b4cae9'; // background of the pointer in browse mode 71 $GLOBALS['cfg']['BrowseMarkerColor'] = '#000000'; // foreground (text) color of the marker (visually marks row by clicking on it) in browse mode 72 $GLOBALS['cfg']['BrowseMarkerBackground'] = '#e9c7b4'; // background of the marker (visually marks row by clicking on it) in browse mode 73 74 // FONTS 75 // the font family as a valid css font family value, 76 // if not set the browser default will be used 77 // (depending on browser, DTD and system settings) 78 $GLOBALS['cfg']['FontFamily'] = 'Tahoma, Arial, Helvetica, sans-serif'; 79 $GLOBALS['cfg']['FontFamilyFixed'] = '\'Courier New\', Courier, monospace'; // fixed width font family, used in textarea 80 $GLOBALS['cfg']['FontSize'] = '10'; // default width of the font 81 $GLOBALS['cfg']['FontSizePrefix'] = 'pt'; // pt (Points) | px (Pixel), default is 'pt' 82 83 // TABLES 84 $GLOBALS['cfg']['Border'] = 0; // border 85 $GLOBALS['cfg']['ThBackground'] = '#e5e5e5'; // table header and footer color 86 $GLOBALS['cfg']['ThColor'] = '#000000'; // table header and footer background 87 $GLOBALS['cfg']['BgOne'] = '#e6f0ff'; // table data row background 88 $GLOBALS['cfg']['BgTwo'] = '#dbe7f9'; // table data row background, alternate 89 90 // QUERY WINDOW 91 $GLOBALS['cfg']['QueryWindowWidth'] = 600; // width of Query window 92 $GLOBALS['cfg']['QueryWindowHeight'] = 400; // height of Query window 93 94 // SQL PARSER SETTINGS 95 // Syntax colouring data 96 $GLOBALS['cfg']['SQP']['fmtColor'] = array( 97 'comment' => '#808000', 98 'comment_mysql' => '#999999', 99 'comment_ansi' => '#999999', 100 'comment_c' => '#999999', 101 'digit' => '#999999', 102 'digit_hex' => 'teal', 103 'digit_integer' => 'teal', 104 'digit_float' => 'aqua', 105 'punct' => 'fuchsia', 106 'alpha' => '#cc0000', 107 'alpha_columnType' => '#ff9900', 108 'alpha_columnAttrib' => '#0000ff', 120 109 'alpha_reservedWord' => '#990099', 121 110 'alpha_functionName' => '#FF0000', 122 'alpha_identifier' => ' black',111 'alpha_identifier' => '#000000', 123 112 'alpha_charset' => '#6495ed', 124 113 'alpha_variable' => '#800000',
Note: See TracChangeset
for help on using the changeset viewer.
