2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * print css file from theme
7 * @package phpMyAdmin-theme
8 * @subpackage Arctic_Ocean
11 $pma_fsize = $GLOBALS['PMA_Config']->get('fontsize');
12 $pma_fsize = preg_replace("/[^0-9]/", "", $pma_fsize);
13 $pma_fsize = @($pma_fsize / 100);
14 if ( isset($GLOBALS['cfg']['FontSize']) && !empty($GLOBALS['cfg']['FontSize']) ) {
15 $usr_fsize = preg_replace("/[^0-9]/", "", $GLOBALS['cfg']['FontSize']);
16 $fsize = ceil($usr_fsize * $pma_fsize)
17 . ( (isset($GLOBALS['cfg']['FontSizePrefix']) && !empty($GLOBALS['cfg']['FontSizePrefix'])) ?
$GLOBALS['cfg']['FontSizePrefix'] : 'pt' );
19 $fsize = $GLOBALS['PMA_Config']->get('fontsize');
22 font
-size
: <?php
echo $fsize; ?
>;
26 background
-color
: #ffffff;
27 <?php
if (!empty($GLOBALS['cfg']['FontFamily'])) { ?
>
28 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamily']; ?
>;
30 font
-size
: <?php
echo $fsize; ?
>;
34 a
:link
, a
:visited
, a
:active
{
37 text
-decoration
: none
;
41 text
-decoration
: none
;
44 h1
, h2
, h3
{ font
-weight
: bold
; }
45 h1
{ font
-size
: 130%
; }
46 h2
{ font
-size
: 120%
; }
47 h3
{ font
-size
: 110%
; }
53 border
-color
: #000000;
57 border
-collapse
: collapse
;
60 th
, td
{ padding
: 2px
; }
62 background
-color
: #e5e5e5;
66 table tr
.odd th
, table tr
.odd td
,
67 table tr
.even th
, table tr
.even td
, .even
{
68 text
-align
: <?php
echo $left; ?
>;
70 table tr
.hover th
, table tr
.odd
:hover th
, table tr
.even
:hover th
{
71 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
72 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
74 table tr
.hover td
, table tr
.odd
:hover td
, table tr
.even
:hover td
{
76 background
-color
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
83 table td table
, table td table td
, table td table th
{
84 border
: 1px none
#999999;
86 table td table td
, table td table th
{
92 background
-color
: #ffffff;
94 padding
: 5px
5px
5px
5px
;
97 vertical
-align
: middle
;
98 border
-bottom
: 1px solid
#585880;
101 #serverinfo .item { white-space: nowrap; }
102 #serverinfo img { margin: 0px 1px 0px 1px; }
103 #serverinfo .separator img {
106 margin
: 0px
2px
0px
2px
;
107 vertical
-align
: middle
;
110 #selflink { display: none; }