Changeset 2691


Ignore:
Timestamp:
03/12/10 17:49:07 (2 years ago)
Author:
benedikt
Message:
  • [TOOLS] Updated PMA Omega Theme
Location:
branches/omega-1.0.5
Files:
27 added
17 deleted
121 edited

Legend:

Unmodified
Added
Removed
  • branches/omega-1.0.5/CHANGELOG

    r2690 r2691  
    11ispCP ω 1.0.5 Changelog 
    22~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     3 
     42010-03-12 Benedikt Heintel 
     5        - TOOLS: 
     6                * Updated PMA Omega Theme 
    37 
    482010-03-12 Sascha Bay 
  • branches/omega-1.0.5/gui/tools/pma/themes/omega/css/theme_left.css.php

    r1638 r2691  
    22/* vim: set expandtab sw=4 ts=4 sts=4: */ 
    33/** 
    4  * navigation css file from theme Original 
     4 * navigation css file from theme 
    55 * 
    6  * @version $Id: theme_left.css.php 10520 2007-07-22 19:05:42Z lem9 $ 
     6 * @version $Id$ 
    77 * @package phpMyAdmin-theme 
    8  * @subpackage Original 
     8 * @subpackage ispCP_Omega 
    99 */ 
    1010 
    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 
    1555?> 
    1656/******************************************************************************/ 
    1757/* 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  
     58html, 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} 
    2664body { 
     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']; ?>; 
    2771<?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} 
     79p, h1, h2, h3, form { 
     80    margin:              0px; 
     81    padding:             0px; 
     82} 
     83 
     84a img                          { border:     none;   } 
     85form                           { display:    inline; } 
     86select                         { width:      100%;   } 
     87select optgroup, select option { font-style: normal; } 
     88button                         { display:    inline; } 
    7089 
    7190/******************************************************************************/ 
     
    7493/* leave some space between icons and text */ 
    7594.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 
    85100 
    86101/******************************************************************************/ 
    87102/* specific elements */ 
    88103 
    89 div#pmalogo { 
    90         background-color: <?php /* better echo $GLOBALS['cfg']['logoBGC']; */ ?>; 
    91         padding:.3em; 
    92 } 
    93104div#pmalogo, 
    94105div#leftframelinks, 
    95106div#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} 
     111div#pmalogo, div#leftframelinks { text-align: center; } 
     112div#databaseList                { text-align: left;   } 
    130113 
    131114div#leftframelinks .icon { 
    132         padding:                        0; 
    133         margin:                         0; 
     115    margin:              0; 
     116    padding:             0; 
    134117} 
    135118 
    136119div#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; 
    140123} 
    141124 
    142125div#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']; ?>; 
    145128} 
    146129 
    147130/* serverlist */ 
    148131#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; 
    154137} 
    155138 
    156139#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; 
    160143} 
    161144 
    162145/* leftdatabaselist */ 
    163 div#left_tableList { 
    164         border-bottom:          0.05em solid <?php echo $GLOBALS['cfg']['NaviBorderColor']; ?>; 
    165 } 
    166  
    167146div#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; 
    174153} 
    175154 
    176155div#left_tableList ul ul { 
    177         font-size:                      100%; 
     156    font-size:           100%; 
    178157} 
    179158 
    180159div#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; 
    184163} 
    185164 
    186165div#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; 
    190169} 
    191170 
    192171div#left_tableList li { 
    193         margin:                         0; 
    194         padding:                        0; 
    195         white-space:            nowrap; 
     172    margin:              0; 
     173    padding:             0; 
     174    white-space:         nowrap; 
    196175} 
    197176 
     
    200179div#left_tableList > ul li.marked > a, 
    201180div#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} 
     184div#left_tableList ul li.marked, div#left_tableList ul li.marked a, 
     185div#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} 
     189div#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'] ) { ?> 
    208196div#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']; ?>; 
     197div#left_tableList > ul li:hover{ 
     198    background:          <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 
     199    color:               <?php echo $GLOBALS['cfg']['NaviColor']; ?>; 
     200} 
     201div#left_tableList ul li:hover, div#left_tableList ul li:hover a, div#left_tableList ul li a:hover, 
     202div#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']) { ?> 
     207div#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 } ?> 
     212div#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']; ?>; 
    212215} 
    213216<?php } ?> 
    214217 
    215218div#left_tableList img { 
    216         padding:                        0; 
    217         vertical-align:         middle; 
     219    padding:             0; 
     220    vertical-align:      middle; 
    218221} 
    219222 
    220223div#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 
     233ul#databaseList, ul#databaseList ul { 
     234    margin:                      0px 0px 0px 0px; 
     235    padding:                     0px 0px 0px 0px; 
     236} 
     237ul#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} 
     245ul#databaseList li ul li { 
     246    border-bottom:               none; 
     247    margin:                      0px 0px 0px 0px; 
     248    padding:                     0px 0px 0px 0px; 
     249} 
     250ul#databaseList { 
     251    background-color:            <?php echo $GLOBALS['cfg']['NaviBackground']; ?>; 
     252    color:                       #8ed8fd; 
     253} 
     254ul#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'] ) { ?> 
     265ul#databaseList a:hover, 
     266ul#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 } ?> 
     271ul#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?> 
     33html { 
     34    font-size:           <?php echo $fsize; ?>; 
    635} 
    7 h1 { 
    8         font:                           bold 16px Verdana, Arial, Helvetica,    sans-serif; 
    9         color:                          #000000; 
     36body, 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 
     46a:link, a:visited, a:active { 
     47    color:               #696ab5; 
     48    font-weight:         bold; 
     49    text-decoration:     none; 
     50} 
     51a:hover { 
     52    color:               #585880; 
     53    text-decoration:     none; 
     54} 
     55 
     56h1, h2, h3    { font-weight: bold;    } 
     57h1            { font-size:   130%;    } 
     58h2            { font-size:   120%;    } 
     59h3            { font-size:   110%;    } 
     60 
     61img { border: none; } 
     62 
     63table, th, td { 
     64    border-width:        1px; 
     65    border-color:        #000000; 
     66    border-style:        solid; 
    1067} 
    1168table { 
    12         border:                         1px solid #000000; 
    13         border-collapse:        collapse; 
    14         border-spacing:         0; 
     69    border-collapse:     collapse; 
     70    border-spacing:      0; 
    1571} 
     72th, td { padding: 2px; } 
    1673th { 
    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; 
    2277} 
    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; 
     78table tr.odd th, table tr.odd td, 
     79table tr.even th, table tr.even td, .even { 
     80    text-align:          <?php echo $left; ?>; 
    2981} 
     82table 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} 
     86table 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} 
     90table td table { 
     91    margin:              0px; 
     92    padding:             0px; 
     93    width:               auto; 
     94} 
     95table td table, table td table td, table td table th { 
     96    border:              1px none #999999; 
     97} 
     98table 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  
    11<?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    //               . '&amp;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() . '&amp;' 
     73    //               . 'js_frame=' . (isset($print_view) ? 'print' : 'right') 
     74    //               . ((stristr($_SERVER['PHP_SELF'], 'main.php') || stristr($_SERVER['PHP_SELF'], 'calendar.php')) ? '&amp;type=main' : '') 
     75    //               . (stristr($_SERVER['PHP_SELF'], 'querywindow.php') ? '&amp;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 
    6124?> 
    7 /******************************************************************************/ 
    8 /* general tags */ 
    9 html { 
    10         margin: 0; 
    11         padding: 0; 
    12 } 
    13  
     125/* BASICS */ 
     126html, body, td, th { 
     127    font-family:             <?php echo $font_family; ?>; 
     128    font-size:               <?php echo $fsize . $funit; ?>; 
     129} 
    14130body { 
    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} 
     150button, img, input, select { vertical-align:  middle; } 
     151textarea, tt, pre, code    { font-family:     <?php echo $font_fixed; ?>; } 
     152 
     153a:link, a:visited, a:active { 
     154    color:                   #3ebdfd; 
     155    font-weight:             bold; 
     156    text-decoration:         none; 
     157} 
    54158a: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} 
     162a img         { border:      none;    } 
     163button        { display:     inline;  } 
     164h1, h2, h3    { font-weight: bold;    } 
     165h1            { font-size:   <?php echo number_format( ($fsize * 1.50), 0 ) . $funit; ?>; } 
     166h2            { font-size:   <?php echo number_format( ($fsize * 1.35), 0 ) . $funit; ?>; } 
     167h3            { font-size:   <?php echo number_format( ($fsize * 1.20), 0 ) . $funit; ?>; } 
     168 
     169img.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} 
     173img.lightbulb  { cursor:     pointer; } 
     174dfn, dfn:hover { font-style: normal; } 
     175dfn:hover      { cursor:     url('<?php echo $ipath; ?>b_info.png'), default; } 
     176hr { 
     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 */ 
     186table 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} 
     190table tr.odd th, table tr.odd td, .odd { 
     191    background:              <?php echo $GLOBALS['cfg']['BgOne']; ?>; 
     192} 
     193table tr.even th, table tr.even td, .even { 
     194    background:              <?php echo $GLOBALS['cfg']['BgTwo']; ?>; 
     195} 
     196table tr.odd th, table tr.odd td, 
     197table tr.even th, table tr.even td, .even { 
     198    text-align:              <?php echo $left; ?>; 
     199} 
     200table 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} 
     208table 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} 
     212tr.condition th, tr.condition td, td.condition, th.condition { 
     213    border:                  1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>; 
     214} 
     215table [class=value] { 
     216    white-space:             normal; 
     217} 
     218td img.icon, th img.icon { margin: 0px 0px 0px 0px; } 
     219.odd .value, .even .value, .marked .value { 
     220    text-align:              <?php echo $right; ?>; 
     221} 
    76222th { 
    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} 
     227table caption.tblHeaders, th.tblHeaders { background-image: url('<?php echo $ipath; ?>tbg_th0.png'); } 
     228thead th                 { background-image: url('<?php echo $ipath; ?>tbg_th1.png'); } 
     229 
     230/* end TABLES */ 
     231 
     232/* FORMS */ 
    110233form { 
    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} 
    176238fieldset { 
    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} 
    182245fieldset fieldset { 
    183         margin:                         0.8em; 
    184 } 
    185  
     246    background:              transparent; 
     247    margin:                  <?php echo number_format( ($fsize * 0.5), 0 ) . $funit; ?>; 
     248} 
     249fieldset 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} 
    186257fieldset 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} 
     262fieldset 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} 
     267fieldset legend a:link, fieldset legend a:active, fieldset legend a:visited { 
     268    color:                   #585880; 
     269} 
    219270fieldset.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; 
    225285} 
    226286 
    227287fieldset .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} 
    235293fieldset div[class=formelement] { 
    236         white-space:            normal; 
    237 } 
    238  
     294    white-space:             normal; 
     295} 
     296fieldset#exportoptions { 
     297    white-space:             nowrap; 
     298    width:                   25%; 
     299} 
    239300button.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 
    283305 
    284306.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 */ 
    300316.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} 
    309324.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 */ 
    328340.syntax { 
    329         font-size:                      10px; 
    330 } 
    331  
     341    font-size:               <?php echo number_format( ($fsize * 0.85), 0 ) . $funit; ?>; 
     342} 
    332343.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} 
    365350.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} 
    385353.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 
    402359 
    403360.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 */ 
     366div.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} 
     382div.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} 
    409388.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; 
    430391} 
    431392.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} 
     398div.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} 
    438405.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; 
    462408} 
    463409.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} 
     414div.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} 
    470425.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} 
     429fieldset.confirmation { 
     430    border:                  1px solid #990000; 
     431} 
     432fieldset.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} 
    501449.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; 
    541473} 
    542474 
    543475.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; 
    566488} 
    567489 
    568490/* forbidden, no privilegs */ 
    569491.noPrivileges { 
    570         color:                          #cc0000; 
    571         font-weight:            bold; 
     492    color:                   #990000; 
     493    font-weight:             bold; 
    572494} 
    573495 
    574496/* 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} 
    582500.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 
     505tr.disabled td, td.disabled { 
     506    background-color:        #cccccc; 
     507    color:                   #666666; 
    590508} 
    591509 
     
    593511 * login form 
    594512 */ 
    595 body.loginform h1, 
    596 body.loginform a.logo { 
    597         display:                        block; 
    598         text-align:                     center; 
     513body.loginform h1, body.loginform a.logo { 
     514    display:                 block; 
     515    text-align:              center; 
    599516} 
    600517 
    601518body.loginform { 
    602         text-align:                     center; 
     519    text-align:              center; 
    603520} 
    604521 
    605522body.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; 
    609526} 
    610527 
    611528form.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; } 
     547ul#topmenu        { list-style-type: none;            } 
     548ul#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} 
     559span.tab, span.tabcaution { color: #666666; } 
     560a.tabcaution:link, a.tabcaution:active, a.tabcaution:visited { color: #990000; } 
     561a.tabcaution:hover { 
     562    color:                   #ffffff; 
     563    background-color:        #990000; 
     564} 
     565<?php if ( $GLOBALS['cfg']['LightTabs'] ) { ?> 
     566a.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} 
    634621ul#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} 
    648630.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} 
     646a.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'); 
    690655} 
    691656a.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} 
     661a.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} 
     666span.tab, span.tabcaution { cursor:  url('<?php echo $ipath; ?>s_error.png'), default; } 
     667span.tab img, span.tabcaution img { 
     668<?php if ($forIE) { ?> 
     669    filter:                  progid:DXImageTransform.Microsoft.Alpha(opacity=50); 
    702670<?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; 
    811672<?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 
     677div.tablepagenav, div.tablepagenav table tr td { 
     678    font-size:               <?php echo number_format( ($fsize * 0.80), 0 ) . $funit; ?>; 
     679    text-align:              center; 
     680} 
     681div.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} 
     687div.tablepagenav form { 
     688    margin:                  0px 0px 0px 0px; 
     689    padding:                 0px 0px 0px 0px; 
     690} 
     691div.tablepagenav table tr td { vertical-align: middle; } 
     692div.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} 
     696div.tablepagenav table tr td input.textfield { width: 25px; } 
     697div.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 */ 
     705table.calendar { width: 100%; } 
    824706table.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} 
     711table.calendar td a { display: block; } 
    831712table.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} 
    835716table.calendar th { 
    836         background-color:       #D3DCE3; 
    837 } 
    838  
     717    background-color:        <?php echo $GLOBALS['cfg']['ThBackground']; ?>; 
     718    color:                   <?php echo $GLOBALS['cfg']['ThColor']; ?>; 
     719} 
    839720table.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} 
     724img.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 */ 
    851731 
    852732 
    853733/* table stats */ 
    854734div#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} 
    860739div#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} 
     744div#tablestatistics table caption { margin-<?php echo $right; ?>: 5px; } 
     745/* END table stats */ 
    870746 
    871747 
    872748/* 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 
    899753 
    900754#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; 
    945758} 
    946759 
    947760#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; 
    960778} 
    961779 
    962780/* user privileges */ 
    963781#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; 
    967785} 
    968786 
    969787#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; 
    976794} 
    977795 
     
    979797#fieldset_add_user_login span.options #select_pred_hostname, 
    980798#fieldset_add_user_login span.options #select_pred_password { 
    981         width:                          100%; 
    982         max-width:                      100%; 
     799    width:                   100%; 
     800    max-width:               100%; 
    983801} 
    984802 
    985803#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; 
    991809} 
    992810 
    993811#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%; 
    997815} 
    998816 
    999817#fieldset_add_user_login span.options input { 
    1000         width:                          auto; 
     818    width:                   auto; 
    1001819} 
    1002820 
    1003821#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%; 
    1007825} 
    1008826 
    1009827#fieldset_user_priv div.item div.item { 
    1010         float:                          none; 
     828    float:                   none; 
    1011829} 
    1012830 
    1013831#fieldset_user_priv div.item label { 
    1014         white-space:            nowrap; 
     832    white-space:             nowrap; 
    1015833} 
    1016834 
    1017835#fieldset_user_priv div.item select { 
    1018         width:                          100%; 
     836    width:                   100%; 
    1019837} 
    1020838 
    1021839#fieldset_user_global_rights fieldset { 
    1022         float:                          left; 
    1023 } 
    1024 /* end user privileges */ 
     840    float: <?php echo $left; ?>; 
     841} 
     842/* END user privileges */ 
    1025843 
    1026844 
    1027845/* serverstatus */ 
    1028846div#serverstatus table caption a.top { 
    1029         float:                          right; 
     847    float: <?php echo $right; ?>; 
    1030848} 
    1031849 
     
    1033851div#serverstatus table#serverstatustraffic, 
    1034852div#serverstatus table#serverstatusconnections { 
    1035         float:                          left; 
     853    float: <?php echo $left; ?>; 
    1036854} 
    1037855 
    1038856#serverstatussection, 
    1039857.clearfloat { 
    1040         clear:                          both; 
     858    clear: both; 
    1041859} 
    1042860div#serverstatussection table { 
    1043         width:                          100%; 
    1044         margin-bottom:          1em; 
     861    width: 100%; 
     862    margin-bottom: 1em; 
    1045863} 
    1046864div#serverstatussection table .name { 
    1047         width:                          18em; 
     865    width: 18em; 
    1048866} 
    1049867div#serverstatussection table .value { 
    1050         width:                          6em; 
     868    width: 6em; 
    1051869} 
    1052870 
    1053871div#serverstatus table tbody td.descr a, 
    1054872div#serverstatus table .tblFooters a { 
    1055         white-space:            nowrap; 
    1056 } 
     873    white-space: nowrap; 
     874} 
     875 
    1057876div#serverstatus div#statuslinks a:before, 
    1058877div#serverstatus div#sectionlinks a:before, 
    1059878div#serverstatus table tbody td.descr a:before, 
    1060879div#serverstatus table .tblFooters a:before { 
    1061         content:                        '['; 
     880    content: ''; 
    1062881} 
    1063882div#serverstatus div#statuslinks a:after, 
     
    1065884div#serverstatus table tbody td.descr a:after, 
    1066885div#serverstatus table .tblFooters a:after { 
    1067         content:                        ']'; 
    1068 } 
     886    content: ''; 
     887} 
     888 
    1069889/* end serverstatus */ 
    1070890 
    1071891/* querywindow */ 
    1072892body#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; 
    1076897} 
    1077898 
    1078899div#querywindowcontainer { 
    1079         margin:                         0; 
    1080         padding:                        0; 
    1081         width:                          100%; 
     900    margin: 0; 
     901    padding: 0; 
     902    width: 100%; 
    1082903} 
    1083904 
    1084905div#querywindowcontainer fieldset { 
    1085         margin-top:                     0; 
    1086 } 
    1087 /* end querywindow */ 
     906    margin-top: 0; 
     907} 
     908/* END querywindow */ 
    1088909 
    1089910 
     
    1091912 
    1092913div#sqlquerycontainer { 
    1093         float:                          left; 
    1094         width:                          69%; 
    1095         /* height:                      15em; */ 
     914    float: <?php echo $left; ?>; 
     915    width: 69%; 
     916    /* height: 15em; */ 
    1096917} 
    1097918 
    1098919div#tablefieldscontainer { 
    1099         float:                          right; 
    1100         width:                          29%; 
    1101         /* height:                      15em; */ 
     920    float: <?php echo $right; ?>; 
     921    width: 29%; 
     922    /* height: 15em; */ 
    1102923} 
    1103924 
    1104925div#tablefieldscontainer select { 
    1105         width:                          100%; 
    1106         /* height:                      12em; */ 
     926    width: 100%; 
     927    /* height: 12em; */ 
    1107928} 
    1108929 
    1109930textarea#sqlquery { 
    1110         width:                          100%; 
    1111         /* height:                      100%; */ 
     931    width: 100%; 
     932    /* height: 100%; */ 
    1112933} 
    1113934 
    1114935div#queryboxcontainer div#bookmarkoptions { 
    1115         margin-top:                     0.5em; 
     936    margin-top: 0.5em; 
    1116937} 
    1117938/* 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 */ 
     968li#li_create_database        { list-style-image: url('<?php echo $ipath; ?>b_newdb.png');        } 
     969li#li_select_lang            { list-style-image: url('<?php echo $ipath; ?>s_lang.png');         } 
     970li#li_select_mysql_collation { list-style-image: url('<?php echo $ipath; ?>s_asci.png');         } 
     971li#li_select_mysql_charset   { list-style-image: url('<?php echo $ipath; ?>s_asci.png');         } 
     972li#li_select_theme           { list-style-image: url('<?php echo $ipath; ?>s_theme.png');        } 
     973li#li_server_info            { list-style-image: url('<?php echo $ipath; ?>s_host.png');         } 
     974li#li_user_info              { list-style-image: url('<?php echo $ipath; ?>b_dbusr.png');        } 
     975li#li_mysql_status           { list-style-image: url('<?php echo $ipath; ?>s_status.png');       } 
     976li#li_mysql_variables        { list-style-image: url('<?php echo $ipath; ?>s_vars.png');         } 
     977li#li_mysql_processes        { list-style-image: url('<?php echo $ipath; ?>s_process.png');      } 
     978li#li_mysql_collations       { list-style-image: url('<?php echo $ipath; ?>s_asci.png');         } 
     979li#li_mysql_engines          { list-style-image: url('<?php echo $ipath; ?>b_engine.png');       } 
     980li#li_mysql_binlogs          { list-style-image: url('<?php echo $ipath; ?>s_tbl.png');          } 
     981li#li_mysql_databases        { list-style-image: url('<?php echo $ipath; ?>s_db.png');           } 
     982li#li_export                 { list-style-image: url('<?php echo $ipath; ?>b_export.png');       } 
     983li#li_import                 { list-style-image: url('<?php echo $ipath; ?>b_import.png');       } 
     984li#li_change_password        { list-style-image: url('<?php echo $ipath; ?>s_passwd.png');       } 
     985li#li_log_out                { list-style-image: url('<?php echo $ipath; ?>s_loggoff.png');      } 
     986li#li_pma_docs               { list-style-image: url('<?php echo $ipath; ?>b_docs.png');         } 
     987li#li_phpinfo                { list-style-image: url('<?php echo $ipath; ?>php_sym.png');        } 
     988li#li_pma_homepage           { list-style-image: url('<?php echo $ipath; ?>b_home.png');         } 
     989li#li_mysql_privilegs        { list-style-image: url('<?php echo $ipath; ?>s_rights.png');       } 
     990li#li_switch_dbstats         { list-style-image: url('<?php echo $ipath; ?>b_dbstatistics.png'); } 
     991li#li_flush_privileges       { list-style-image: url('<?php echo $ipath; ?>s_reload.png');       } 
     992li#li_mysql_proto            { list-style-image: url('<?php echo $ipath; ?>b_dbsock.png');       } 
     993li#li_mysql_client_version   { list-style-image: url('<?php echo $ipath; ?>b_dbclient.png');     } 
     994li#li_select_fontsize        { list-style-image: url('<?php echo $ipath; ?>b_fontsize.png');     } 
     995li#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 
     1088label.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  
    11<?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; 
    615?> 
  • branches/omega-1.0.5/gui/tools/pma/themes/omega/layout.inc.php

    r1638 r2691  
    22/* vim: set expandtab sw=4 ts=4 sts=4: */ 
    33/** 
    4  * configures general layout 
    5  * for detailed layout configuration please refer to the css files 
    64 * 
    7  * @version $Id: layout.inc.php 10515 2007-07-22 16:22:54Z lem9 $ 
     5 * @version $Id$ 
    86 * @package phpMyAdmin-theme 
    9  * @subpackage Original 
     7 * @subpackage ispCP_Omega 
    108 */ 
    119 
    1210/** 
    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 
    2512 */ 
    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', 
    10931    'comment_mysql'      => '', 
    11032    'comment_ansi'       => '', 
     
    11436    'digit_integer'      => 'teal', 
    11537    'digit_float'        => 'aqua', 
    116     'punct'              => 'fuchsia', 
     38    'punct'              => '#cc0000', 
    11739    'alpha'              => '', 
    11840    'alpha_columnType'   => '#FF9900', 
    11941    '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', 
    120109    'alpha_reservedWord' => '#990099', 
    121110    'alpha_functionName' => '#FF0000', 
    122     'alpha_identifier'   => 'black', 
     111    'alpha_identifier'   => '#000000', 
    123112    'alpha_charset'      => '#6495ed', 
    124113    'alpha_variable'     => '#800000', 
Note: See TracChangeset for help on using the changeset viewer.