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 function PMA_ieFilter($start_color, $end_color)
17 return PMA_USR_BROWSER_AGENT
== 'IE' && PMA_USR_BROWSER_VER
>= 6 && PMA_USR_BROWSER_VER
<= 8
18 ?
'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' . $start_color . '", endColorstr="' . $end_color . '");'
22 /******************************************************************************/
25 font
-size
: <?php
echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ?
$GLOBALS['PMA_Config']->get('fontsize') : $_COOKIE['pma_fontsize']); ?
>;
28 input
, select
, textarea
{
33 <?php
if (! empty($GLOBALS['cfg']['FontFamily'])) { ?
>
34 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamily']; ?
>;
36 background
: url(./themes
/pmahomme
/img
/left_nav_bg
.png
) repeat
-y right
0%
#f3f3f3;
37 border
-right
: 1px solid
#aaa;
38 color
: <?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
50 text
-decoration
: none
;
69 /* buttons in some browsers (eg. Konqueror) are block elements,
78 /* leave some space between icons and text */
79 vertical
-align
: middle
;
84 background
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>iconsprites
.png
) no
-repeat top left
;
87 .ic_b_home
{ background
-position
: -357px
0; }
88 .ic_b_selboard
{ background
-position
: -754px
0; }
89 .ic_b_docs
{ background
-position
: -136px
0; }
90 .ic_b_sqlhelp
{ background
-position
: -856px
0; }
91 .ic_s_reload
{ background
-position
: -1761px
0; }
92 .ic_s_loggoff
{ background
-position
: -1698px
0; }
93 .ic_b_browse
, .ic_b_sbrowse
{ background
-position
: -34px
0; }
94 .ic_b_view
{ background
-position
: -1077px
0; }
95 .ic_b_plus
{ background
-position
: -573px
0; }
96 .ic_b_minus
{ background
-position
: -471px
0; }
98 .ic_b_views
, .ic_s_views
{ background
-position
: -1094px
0; }
99 .ic_b_snewtbl
{ background
-position
: -788px
0; }
101 /******************************************************************************/
106 color
: <?php
echo $GLOBALS['cfg']['NaviDatabaseNameColor']; ?
>;
109 /******************************************************************************/
110 /* specific elements */
113 <?php
//better echo $GLOBALS['cfg']['logoBGC']; ?>
116 div
#recentTableList {
118 margin
: 20px
10px
0px
10px
;
121 div
#recentTableList select {
129 margin
: 5px
10px
0px
10px
;
134 padding
-bottom
: 0.5em
;
135 padding
-<?php
echo $left; ?
>: 0.3em
;
139 ul
#databaseList span {
145 background
: url(./themes
/pmahomme
/img
/database
.png
) no
-repeat
0 5px transparent
;
148 padding
: 5px
5px
5px
25px
;
152 div
#navidbpageselector {
157 div
#navidbpageselector a,
158 div
#navidbpageselector select{
175 ul
#databaseList a:hover {
176 background
-color
: #e4e4e4;
179 ul
#databaseList li.selected a {
180 background
: <?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
181 color
: <?php
echo $GLOBALS['cfg']['BrowseMarkerColor']; ?
>;
184 div
#leftframelinks .icon {
189 div
#reloadlink a img,
190 div
#leftframelinks a img.icon {
196 div
#leftframelinks a:hover img {
201 #body_leftFrame #list_server {
202 list-style
-image
: url(<?php
echo $GLOBALS['cfg']['ThemePath']; ?
>/original
/img
/s_host
.png
);
203 list-style
-position
: inside
;
204 list-style
-type
: none
;
209 #body_leftFrame #list_server li {
214 div
#left_tableList {margin:10px 10px 0 10px;}
215 div
#left_tableList ul {
216 list-style
-type
: none
;
217 list-style
-position
: outside
;
222 div
#left_tableList ul ul {
226 div
#left_tableList a {
227 color
: <?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
228 text
-decoration
: none
;
231 div
#left_tableList a:hover {
232 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
233 color
: <?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
234 text
-decoration
: underline
;
237 div
#left_tableList li {
244 margin
-top
: 15px
!important
;
250 background
-image
: url(./themes
/svg_gradient
.php?from
=ffffff
&to
=cccccc
);
251 background
-size
: 100%
100%
;
252 background
: -webkit
-gradient(linear
, left top
, left bottom
, from(#ffffff), to(#cccccc));
253 background
: -moz
-linear
-gradient(top
, #ffffff, #cccccc);
254 background
: -o
-linear
-gradient(top
, #ffffff, #cccccc);
255 <?php
echo PMA_ieFilter('#ffffff', '#cccccc'); ?
>
256 border
: 1px solid
#aaa;
257 -moz
-border
-radius
: 20px
;
258 -webkit
-border
-radius
: 20px
;
263 background
: transparent
!important
;
267 background
-image
: url(./themes
/svg_gradient
.php?from
=cccccc
&to
=dddddd
);
268 background
-size
: 100%
100%
;
269 background
: -webkit
-gradient(linear
, left top
, left bottom
, from(#cccccc), to(#dddddd)) !important;
270 background
: -moz
-linear
-gradient(top
, #cccccc, #dddddd) !important;
271 background
: -o
-linear
-gradient(top
, #cccccc, #dddddd) !important;
272 <?php
echo PMA_ieFilter('#cccccc', '#dddddd'); ?
>
275 #newtable li a:hover {
276 text
-decoration
: none
;
280 -moz
-border
-radius
:2px
2px
2px
2px
;
281 -moz
-box
-shadow
:0 1px
2px
#DDDDDD;
282 border
:1px solid
#aaa;
285 background
:url(./themes
/pmahomme
/img
/input_bg
.gif
);
288 <?php
if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?
>
290 div
#left_tableList > ul li.marked > a,
291 div
#left_tableList > ul li.marked {
293 color
: <?php
echo $GLOBALS['cfg']['BrowseMarkerColor']; ?
>;
297 <?php
if ($GLOBALS['cfg']['LeftPointerEnable']) { ?
>
298 div
#left_tableList > ul li:hover > a,
299 div
#left_tableList > ul li:hover {
301 color
: <?php
echo $GLOBALS['cfg']['NaviPointerColor']; ?
>;
305 div
#left_tableList img {
307 vertical
-align
: middle
;
310 div
#left_tableList ul ul {
311 margin
-<?php
echo $left; ?
>: 0;
312 padding
-<?php
echo $left; ?
>: 0.1em
;
313 border
-<?php
echo $left; ?
>: 0.1em solid
<?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
314 padding
-bottom
: 0.1em
;
315 border
-bottom
: 0.1em solid
<?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
318 /* for the servers list in navi panel */
321 color
: <?php
echo $GLOBALS['cfg']['NaviColor']; ?
>;
323 #serverinfo a:hover {
324 background
: <?php
echo $GLOBALS['cfg']['NaviPointerBackground']; ?
>;
325 color
: <?php
echo $GLOBALS['cfg']['NaviPointerColor']; ?
>;
329 float: <?php
echo $right; ?
>;