1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
|
<?php /* $Id: phpmyadmin.css.php,v 2.32 2004/09/23 14:36:54 nijel Exp $ */ // vim: expandtab sw=4 ts=4 sts=4:
chdir('..'); $is_minimum_common = TRUE; require_once('./libraries/grab_globals.lib.php'); require_once('./libraries/common.lib.php'); require_once('./libraries/sqlparser.lib.php');
// Gets the default font sizes // garvin: TODO: Should be optimized to not include the whole common.lib.php bunch // but only functions used to determine browser heritage. PMA_setFontSizes();
$ctype = 'css'; require_once('./libraries/header_http.inc.php');
if (!isset($js_frame)) { $js_frame = 'left'; }
// 2004-05-30: Michael Keck (mail@mnichaelkeck.de) // check, if select_theme.lib.php exists // and include it $tmp_file_lib = './libraries/select_theme.lib.php'; if (@file_exists($tmp_file_lib) && isset($GLOBALS['cfg']['ThemePath']) && !empty($GLOBALS['cfg']['ThemePath'])){ require_once($tmp_file_lib); }else{ $pmaTheme = 'original'; }
if ($js_frame == 'left') { /************************************************************************************ * LEFT FRAME ************************************************************************************/ // 2004-05-30: Michael Keck (mail@michaelkeck.de) // Check, if theme_left.css.php exists and include $tmp_file = $GLOBALS['cfg']['ThemePath'] . '/' . $pmaTheme . '/css/theme_left.css.php'; if (@file_exists($tmp_file)) { include($tmp_file); } // end of include theme_left.css.php } elseif ($js_frame == 'print') { /************************************************************************************ * PRINT VIEW ************************************************************************************/ // 2004-05-30: Michael Keck (mail@michaelkeck.de) // Check, if theme_print.css.php exists and include $tmp_file = $GLOBALS['cfg']['ThemePath'] . '/' . $pmaTheme . '/css/theme_print.css.php'; if (@file_exists($tmp_file)) { include($tmp_file); } // end of include theme_print.css.php } else { /************************************************************************************ * RIGHT FRAME ************************************************************************************/ // 2004-05-30: Michael Keck (mail@michaelkeck.de) // Check, if theme_right.css.php exists and include $tmp_file = $GLOBALS['cfg']['ThemePath'] . '/' . $pmaTheme . '/css/theme_right.css.php'; if (@file_exists($tmp_file)) { include($tmp_file); } // end of include theme_right.css.php echo PMA_SQP_buildCssData(); }
?>
/* Calendar */ table.calendar { width: 100%; }
table.calendar td { text-align: center; }
table.calendar td a { display: block; }
table.calendar td a:hover { background-color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>; }
table.calendar th { background-color: <?php echo $GLOBALS['cfg']['ThBgcolor']; ?>; }
table.calendar td.selected { background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>; }
img.calendar { border: none; }
form.clock { text-align: center; }
.nowrap { white-space: nowrap; }
div.nowrap { margin: 0px; padding: 0px; }
li { padding-bottom: 1em; }
li form { display: inline; }
ul.main { margin: 0px; padding-left:2em; padding-right:2em; }
/* no longer needed ul.main li { list-style-image: url(../images/dot_violet.png); padding-bottom: 0.1em; } */
button { /* buttons in some browsers (eg. Konqueror) are block elements, this breaks design */ display: inline; }
/* Tabs */
/* For both light and non light */ .tab { white-space: nowrap; font-weight: bolder; }
/* For non light */ td.tab { width: 64px; text-align: center; background-color: #dfdfdf; }
td.tab a { display: block; }
/* For light */ div.tab { }
/* Highlight active tab */ td.activetab { background-color: silver; }
/* Textarea */
textarea { overflow: auto; }
.nospace { margin: 0px; padding: 0px; }
|