2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * navigation css file from theme Original
6 * @package phpMyAdmin-theme
10 // unplanned execution path
11 if (!defined('PMA_MINIMUM_COMMON')) {
15 /******************************************************************************/
18 font
-size
: <?php
echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ?
$GLOBALS['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?
>;
21 input
, select
, textarea
{
26 <?php
if (! empty($GLOBALS['cfg']['FontFamily'])) { ?
>
27 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamily']; ?
>;
29 background
: url(./themes
/pmahomme
/img
/left_nav_bg
.png
) repeat
-y right
0%
#f3f3f3;
30 border
-right
: 1px solid
#aaa;
31 color
: <?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
43 text
-decoration
: none
;
62 /* buttons in some browsers (eg. Konqueror) are block elements,
71 /* leave some space between icons and text */
72 vertical
-align
: middle
;
77 background
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>iconsprites
.png
) no
-repeat top left
;
80 .ic_b_home
{ background
-position
: -357px
0; }
81 .ic_b_selboard
{ background
-position
: -754px
0; }
82 .ic_b_docs
{ background
-position
: -136px
0; }
83 .ic_b_sqlhelp
{ background
-position
: -856px
0; }
84 .ic_s_reload
{ background
-position
: -1761px
0; }
85 .ic_s_loggoff
{ background
-position
: -1698px
0; }
86 .ic_b_browse
, .ic_b_sbrowse
{ background
-position
: -34px
0; }
87 .ic_b_view
{ background
-position
: -1077px
0; }
88 .ic_b_plus
{ background
-position
: -573px
0; }
89 .ic_b_minus
{ background
-position
: -471px
0; }
91 .ic_b_views
, .ic_s_views
{ background
-position
: -1094px
0; }
92 .ic_b_snewtbl
{ background
-position
: -788px
0; }
94 /******************************************************************************/
99 color
: <?php
echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?
>;
102 /******************************************************************************/
103 /* specific elements */
106 <?php
//better echo $GLOBALS['cfg']['logoBGC']; ?>
109 div
#recentTableList {
111 margin
: 20px
10px
0px
10px
;
114 div
#recentTableList select {
122 margin
: 5px
10px
0px
10px
;
127 padding
-bottom
: 0.5em
;
128 padding
-<?php
echo $left; ?
>: 0.3em
;
132 ul
#databaseList span {
138 background
: url(./themes
/pmahomme
/img
/database
.png
) no
-repeat
0 5px transparent
;
141 padding
: 5px
5px
5px
25px
;
145 div
#navidbpageselector {
150 div
#navidbpageselector a,
151 div
#navidbpageselector select{
168 ul
#databaseList a:hover {
169 background
-color
: #e4e4e4;
172 ul
#databaseList li.selected a {
173 background
: <?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
174 color
: <?php
echo $GLOBALS['cfg']['BrowseMarkerColor']; ?
>;
177 div
#leftframelinks .icon {
182 div
#reloadlink a img,
183 div
#leftframelinks a img.icon {
189 div
#leftframelinks a:hover img {
194 #body_leftFrame #list_server {
195 list-style
-image
: url(<?php
echo $GLOBALS['cfg']['ThemePath']; ?
>/original
/img
/s_host
.png
);
196 list-style
-position
: inside
;
197 list-style
-type
: none
;
202 #body_leftFrame #list_server li {
207 div
#left_tableList {margin:10px 10px 0 10px;}
208 div
#left_tableList ul {
209 list-style
-type
: none
;
210 list-style
-position
: outside
;
215 div
#left_tableList ul ul {
219 div
#left_tableList a {
220 color
: <?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
221 text
-decoration
: none
;
224 div
#left_tableList a:hover {
225 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
226 color
: <?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
227 text
-decoration
: underline
;
230 div
#left_tableList li {
237 margin
-top
: 15px
!important
;
243 <?php
echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?
>
244 border
: 1px solid
#aaa;
245 -moz
-border
-radius
: 20px
;
246 -webkit
-border
-radius
: 20px
;
251 background
: transparent
!important
;
255 <?php
echo $_SESSION['PMA_Theme']->getCssGradient('cccccc', 'dddddd'); ?
>
258 #newtable li a:hover {
259 text
-decoration
: none
;
263 -moz
-border
-radius
:2px
2px
2px
2px
;
264 -moz
-box
-shadow
:0 1px
2px
#DDDDDD;
265 border
:1px solid
#aaa;
268 background
:url(./themes
/pmahomme
/img
/input_bg
.gif
);
271 <?php
if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?
>
273 div
#left_tableList > ul li.marked > a,
274 div
#left_tableList > ul li.marked {
276 color
: <?php
echo $GLOBALS['cfg']['BrowseMarkerColor']; ?
>;
280 <?php
if ($GLOBALS['cfg']['LeftPointerEnable']) { ?
>
281 div
#left_tableList > ul li:hover > a,
282 div
#left_tableList > ul li:hover {
284 color
: <?php
echo $GLOBALS['cfg']['NaviPointerColor']; ?
>;
288 div
#left_tableList img {
290 vertical
-align
: middle
;
293 div
#left_tableList ul ul {
294 margin
-<?php
echo $left; ?
>: 0;
295 padding
-<?php
echo $left; ?
>: 0.1em
;
296 border
-<?php
echo $left; ?
>: 0.1em solid
<?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
297 padding
-bottom
: 0.1em
;
298 border
-bottom
: 0.1em solid
<?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
301 /* for the servers list in navi panel */
304 color
: <?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
306 #serverinfo a:hover {
307 background
: <?php
echo $GLOBALS['cfg']['NaviPointerBackground']; ?
>;
308 color
: <?php
echo $GLOBALS['cfg']['NaviPointerColor']; ?
>;
312 float: <?php
echo $right; ?
>;