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 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');
16 if (isset($_COOKIE['pma_fontsize'])) {
17 $pma_fsize = $_COOKIE['pma_fontsize'];
20 $pma_fsize = preg_replace("/[^0-9]/", "", $pma_fsize);
21 if (!empty($pma_fsize)) {
22 $pma_fsize = ($pma_fsize * 0.01);
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' );
31 $fsize = $_SESSION['PMA_Config']->get('fontsize');
34 font
-size
: <?php
echo $fsize; ?
>;
38 background
-color
: #ffffff;
39 <?php
if (!empty($GLOBALS['cfg']['FontFamily'])) { ?
>
40 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamily']; ?
>;
42 font
-size
: <?php
echo $fsize; ?
>;
46 a
:link
, a
:visited
, a
:active
{
49 text
-decoration
: none
;
53 text
-decoration
: none
;
56 h1
, h2
, h3
{ font
-weight
: bold
; }
57 h1
{ font
-size
: 130%
; }
58 h2
{ font
-size
: 120%
; }
59 h3
{ font
-size
: 110%
; }
65 border
-color
: #000000;
69 border
-collapse
: collapse
;
72 th
, td
{ padding
: 2px
; }
74 background
-color
: #e5e5e5;
78 table tr
.odd th
, table tr
.odd td
,
79 table tr
.even th
, table tr
.even td
, .even
{
80 text
-align
: <?php
echo $left; ?
>;
82 table tr
.hover th
, table tr
.odd
:hover th
, table tr
.even
:hover th
{
83 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
84 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
86 table tr
.hover td
, table tr
.odd
:hover td
, table tr
.even
:hover td
{
88 background
-color
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
95 table td table
, table td table td
, table td table th
{
96 border
: 1px none
#999999;
98 table td table td
, table td table th
{
104 background
-color
: #ffffff;
106 padding
: 5px
5px
5px
5px
;
109 vertical
-align
: middle
;
110 border
-bottom
: 1px solid
#585880;
113 #serverinfo .item { white-space: nowrap; }
114 #serverinfo img { margin: 0px 1px 0px 1px; }
115 #serverinfo .separator img {
118 margin
: 0px
2px
0px
2px
;
119 vertical
-align
: middle
;
122 #selflink { display: none; }