Show 'More' link in top menu
[phpmyadmin-themes.git] / xampp / css / theme_right.css.php
blob4c9b9373019a0431c744313a5246d8d71aed3c9c
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * main css file from theme
6 * @version $Id$
7 * @package phpMyAdmin-theme
8 * @subpackage Arctic_Ocean
9 */
10 // unplanned execution path
11 if (!defined('PMA_MINIMUM_COMMON')) {
12 exit();
15 // 2007-05-10 (mkkeck)
16 // Added some special fixes
17 // for better behaviors on old IE
18 $forIE = false;
19 if (defined('PMA_USR_BROWSER_AGENT') && PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER < 7) {
20 $forIE = true;
23 // 2007-08-24 (mkkeck)
24 // Get the whole http_url for the images
25 $ipath = $_SESSION['PMA_Theme']->getImgPath();
27 // 2007-08-24 (mkkeck)
28 // Get font-sizes
29 $pma_fsize = $GLOBALS['PMA_Config']->get('fontsize');
30 $pma_fsize = preg_replace("/[^0-9]/", "", $pma_fsize);
31 if (!empty($pma_fsize)) {
32 $pma_fsize = ($pma_fsize * 0.01);
33 } else {
34 $pma_fsize = 1;
36 if ( isset($GLOBALS['cfg']['FontSize']) && !empty($GLOBALS['cfg']['FontSize']) ) {
37 $usr_fsize = preg_replace("/[^0-9]/", "", $GLOBALS['cfg']['FontSize']);
39 if (!isset($usr_fsize)) {
40 $usr_fsize = 11;
42 if ( isset($GLOBALS['cfg']['FontSizePrefix']) && !empty($GLOBALS['cfg']['FontSizePrefix']) ) {
43 $funit = strtolower($GLOBALS['cfg']['FontSizePrefix']);
45 if (!isset($funit) || ($funit!='px' && $funit != 'pt')) {
46 $funit = 'pt';
48 $fsize = $usr_fsize;
49 if ($pma_fsize) {
50 $fsize = number_format( (intval($usr_fsize) * $pma_fsize), 0 );
53 // 2007-05-10 (mkkeck)
54 // Get the file name for the css-style
55 // TODO:
56 // replace on /libraries/header_meta_style.inc.php
57 // echo '<link rel="stylesheet" type="text/css" href="'
58 // . (defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './')
59 // . 'css/phpmyadmin.css.php?' . PMA_generate_common_url()
60 // . '&amp;js_frame=' . ( isset($print_view) ? 'print' : 'right')
61 // . '" />';
62 // with the folow lines
63 // echo '<link rel="stylesheet" type="text/css" href="' . (defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './')
64 // . 'css/phpmyadmin.css.php?' . PMA_generate_common_url() . '&amp;'
65 // . 'js_frame=' . (isset($print_view) ? 'print' : 'right')
66 // . ((stristr($_SERVER['PHP_SELF'], 'main.php') || stristr($_SERVER['PHP_SELF'], 'calendar.php')) ? '&amp;type=main' : '')
67 // . (stristr($_SERVER['PHP_SELF'], 'querywindow.php') ? '&amp;type=querywin' : '')
68 // . '" />';
70 // default file
71 $tmp_css_type = 'browse';
72 if (isset($_GET['type'])) {
73 if (stristr($_GET['type'], 'main')) {
74 // main window
75 $tmp_css_type = 'main';
76 } else if (stristr($_GET['type'], 'querywin')) {
77 // query window
78 $tmp_css_type = 'popup';
79 } else if (stristr($_GET['type'], 'inline')) {
80 // inline popups
81 $tmp_css_type = 'inline';
84 if ($GLOBALS['cfg']['LightTabs']) {
85 $tmp_css_type = '';
88 /* BASICS */
89 html, body, td, th {
90 <?php if (!empty($GLOBALS['cfg']['FontFamily'])) { ?>
91 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
92 <?php } else { ?>
93 font-family: sans-serif;
94 <?php } ?>
95 font-size: <?php echo $fsize . $funit; ?>;
97 body {
98 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
99 <?php if ($tmp_css_type != 'inline') { ?>
100 background-attachment: fixed;
101 background-image: url('<?php echo $ipath; ?>logo_right.png');
102 background-position: 100% 100%;
103 background-repeat: no-repeat;
104 <?php } ?>
105 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
106 <?php if ($tmp_css_type == 'browse') { ?>
107 margin: 55px 5px 5px 5px;
108 <?php } else if ($tmp_css_type == 'popup') { ?>
109 margin: 25px 5px 5px 5px;
110 <?php } else if ($tmp_css_type == 'inline') { ?>
111 margin: 0px 0px 0px 0px;
112 <?php } else { ?>
113 margin: 5px 5px 5px 5px;
114 <?php } ?>
115 padding: 0px 0px 0px 0px;
117 button, img, input, select { vertical-align: middle; }
118 <?php if (!empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
119 textarea, tt, pre, code { font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>; }
120 <?php } ?>
122 a:link, a:visited, a:active {
123 color: #bb3902;
124 font-weight: bold;
125 text-decoration: none;
127 a:hover {
128 text-decoration: underline;
129 color: #cc0000;
131 a img { border: none; }
132 button { display: inline; }
133 h1, h2, h3 { color: #fb7922; font-weight: bold; }
134 h1 { font-size: <?php echo number_format( ($fsize * 1.75), 0 ) . $funit; ?>; }
135 h2 { font-size: <?php echo number_format( ($fsize * 1.50), 0 ) . $funit; ?>; }
136 h3 { font-size: <?php echo number_format( ($fsize * 1.25), 0 ) . $funit; ?>; }
138 img.icon {
139 margin-left: 2px;
140 margin-right: 2px;
142 img.lightbulb { cursor: pointer; }
143 dfn, dfn:hover { font-style: normal; }
144 dfn:hover { cursor: url('<?php echo $ipath; ?>b_info.png'), default; }
145 hr {
146 color: #bb3902;
147 background: #bb3902;
148 border: 1px none #bb3902;
149 height: 1px;
150 margin-bottom: 5px;
151 margin-top: 5px;
154 /* TABLES */
155 table caption, table th, table td {
156 padding: 2px 2px 2px 2px;
157 vertical-align: top;
159 table tr.odd th, table tr.odd td, .odd {
160 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
162 table tr.even th, table tr.even td, .even {
163 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
165 table tr.odd th, table tr.odd td,
166 table tr.even th, table tr.even td, .even {
167 text-align: <?php echo $left; ?>;
169 table tr.marked th, table tr.marked td, .marked {
170 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
171 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
173 .odd:hover, .even:hover, .hover {
174 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
175 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
177 table tr.hover th, table tr.hover td, table tr.odd:hover th, table tr.even:hover th, table tr.odd:hover td, table tr.even:hover td {
178 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
179 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
181 tr.condition th, tr.condition td, td.condition, th.condition {
182 border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
184 table [class=value] {
185 white-space: normal;
187 td img.icon, th img.icon { margin: 0px 0px 0px 0px; }
188 .odd .value, .even .value, .marked .value {
189 text-align: <?php echo $right; ?>;
191 th {
192 font-weight: bold;
193 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
194 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
196 table caption.tblHeaders, th.tblHeaders { background-image: url('<?php echo $ipath; ?>tbl_header.png'); }
197 thead th { background-image: url('<?php echo $ipath; ?>tbl_th.png'); }
199 /* end TABLES */
201 /* FORMS */
202 form {
203 display: inline;
204 margin: 0px 0px 0px 0px;
205 padding: 0px 0px 0px 0px;
207 fieldset {
208 background: transparent;
209 border: 1px solid #bb3902;
210 margin-top: 5px;
211 padding: 5px;
214 fieldset fieldset {
215 background: transparent;
216 margin: 5px;
218 fieldset legend, fieldset fieldset legend {
219 background-position: left top;
220 background-repeat: repeat-x;
221 border: 1px solid #bb3902;
222 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
223 margin-bottom: 5px;
224 padding: 3px 5px 3px 5px;
226 fieldset legend {
227 background-color: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
228 background-image: url('<?php echo $ipath; ?>tbl_header.png');
229 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
231 fieldset fieldset legend {
232 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
233 background-image: url('<?php echo $ipath; ?>tbl_th.png');
234 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
236 fieldset legend a:link, fieldset legend a:active, fieldset legend a:visited {
237 color: #bb3902;
239 fieldset.tblFooters {
240 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
241 background-image: url('<?php echo $ipath; ?>tbl_header.png');
242 background-position: left bottom;
243 background-repeat: repeat-x;
244 border-bottom: 1px solid #bb3902;
245 border-left: 1px solid #bb3902;
246 border-right: 1px solid #bb3902;
247 border-top: none;
248 clear: both;
249 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
250 float: none;
251 margin-top: 0px;
252 margin-bottom: 5px;
253 text-align: center;
256 fieldset .formelement {
257 float: <?php echo $left; ?>;
258 margin-<?php echo $right; ?>: 15px;
259 /* IE */
260 white-space: nowrap;
262 fieldset div[class=formelement] {
263 white-space: normal;
265 fieldset#exportoptions {
266 white-space: nowrap;
267 width: 25%;
269 button.mult_submit {
270 background-color: transparent;
271 border: none;
275 .value {
276 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
277 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
278 white-space: normal;
279 <?php } ?>
281 .value .attention { color: #990000; }
282 .value .allfine { color: #006600; }
286 /* PDF */
287 .pdflayout {
288 background-color: #ffffff;
289 border: 1px solid #000000;
290 clip: inherit;
291 display: none;
292 overflow: hidden;
293 position: relative;
295 .pdflayout_table {
296 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
297 border: 1px dashed #bb3902;
298 clip: inherit;
299 color: #000000;
300 cursor: move;
301 display: inline;
302 font-size: <?php echo number_format( ($fsize * 0.7), 0 ) . $funit; ?>;
303 overflow: hidden;
304 position: absolute;
305 visibility: inherit;
306 z-index: 2;
308 /* end PDF */
310 /* PARSER */
311 .syntax {
312 font-size: <?php echo number_format( ($fsize * 0.7), 0 ) . $funit; ?>;
314 .syntax_comment {
315 padding-left: 5px;
316 padding-right: 5px;
318 .syntax_alpha_columnType, .syntax_alpha_columnAttrib, .syntax_alpha_functionName, .syntax_alpha_reservedWord {
319 text-transform: uppercase;
321 .syntax_alpha_reservedWord {
322 font-weight: bold;
324 .syntax_quote {
325 white-space: pre;
327 /* end PARSER */
331 .selectallarrow {
332 margin-<?php echo $right; ?>: 0.3em;
333 margin-<?php echo $left; ?>: 0.6em;
336 /* MESSAGE BOXES: warning, error, confirmation */
337 div.error, div.notice, div.warning, h1.error, h1.notice, h1.warning, p.error, p.notice, p.warning {
338 margin: 5px 0px 5px 0px;
339 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
340 background-repeat: no-repeat;
341 <?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?>
342 background-position: 5px 5px;
343 padding: 5px 5px 5px 25px;
344 <?php } else { ?>
345 background-position: 99% 5px;
346 padding: 5px 25px 5px 5px;
347 <?php } ?>
348 <?php } else { ?>
349 padding: 5px 5px 5px 5px;
350 <?php } ?>
351 text-align: <?php echo $left; ?>;
353 div.notice, h1.notice {
354 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
355 background-image: url('<?php echo $ipath; ?>s_notice.png');
356 <?php } ?>
357 border: 1px solid #ffd700;
359 .notice {
360 background-color: #ffffdd;
361 color: #000000;
363 .notice h1 {
364 border-bottom: 1px solid #ffd700;
365 font-weight: bold;
366 margin: 0px 0px 0px 0px;
367 text-align: <?php echo $left; ?>;
369 div.warning, h1.warning, p.warning {
370 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
371 background-image: url('<?php echo $ipath; ?>s_warn.png');
372 <?php } ?>
373 border: 1px solid #990000;
374 text-align: <?php echo $left; ?>;
376 .warning {
377 background-color: #fff0f0;
378 color: #990000;
380 .warning h1 {
381 border-bottom: 1px solid #990000;
382 font-weight: bold;
383 margin: 0px 0px 0px 0px;
385 div.error, h1.error {
386 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
387 background-image: url('<?php echo $ipath; ?>s_error.png');
388 <?php } ?>
389 border: 1px solid #990000;
391 .error h1 {
392 border-bottom: 1px solid #990000;
393 font-weight: bold;
394 margin: 0px 0px 0px 0px;
396 .error {
397 background-color: #fff0f0;
398 color: #990000;
400 fieldset.confirmation {
401 border: 1px solid #990000;
403 fieldset.confirmation legend {
404 background-color: #990000;
405 border: 1px solid #990000;
406 color: #ffffff;
407 font-weight: bold;
408 <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
409 background-image: url('<?php echo $ipath; ?>s_really.png');
410 background-repeat: no-repeat;
411 <?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?>
412 background-position: 5px 50%;
413 padding: 2px 2px 2px 25px;
414 <?php } else { ?>
415 background-position: 97% 50%;
416 padding: 2px 25px 2px 2px;
417 <?php } ?>
418 <?php } ?>
420 .confirmation {
421 background-color: #fff0f0;
423 .confirmation hr {
424 background: #990000;
425 border: 1px none #990000;
426 color: #990000;
427 height: 1px;
428 margin-bottom: 5px;
429 margin-top: 5px;
431 /* end MESSAGE BOXES */
434 .tblcomment {
435 color: #000099;
436 font-size: 70%;
437 font-weight: normal;
440 .tblHeaders, th, caption {
441 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
442 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
443 font-weight: bold;
446 .tblFooters {
447 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
448 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
449 font-weight: normal;
452 .tblHeaders a:link, .tblHeaders a:active, .tblHeaders a:visited,
453 .tblFooters a:link, .tblFooters a:active, .tblFooters a:visited {
454 color: #000000;
457 .tblHeaders a:hover, .tblFooters a:hover {
458 color: #cc0000;
461 /* forbidden, no privilegs */
462 .noPrivileges {
463 color: #990000;
464 font-weight: bold;
467 /* disabled text */
468 .disabled, .disabled a:link, .disabled a:active, .disabled a:visited {
469 color: #666666;
471 .disabled a:hover {
472 color: #666666;
473 text-decoration: none;
476 tr.disabled td, td.disabled {
477 background-color: #cccccc;
478 color: #666666;
482 * login form
484 body.loginform h1, body.loginform a.logo {
485 display: block;
486 text-align: center;
489 body.loginform {
490 text-align: center;
493 body.loginform div.container {
494 margin: 0px auto;
495 text-align: <?php echo $left; ?>;
496 width: 30em;
499 form.login label {
500 float: <?php echo $left; ?>;
501 font-weight: bolder;
502 width: 10em;
505 /* -- Top-Navi -- */
506 #serverinfo {
507 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
508 border-bottom: 1px solid #bb3902;
509 font-weight: bold;
510 height: 16px;
511 margin-top: 0px;
512 padding: 5px 5px 5px 5px;
513 white-space: nowrap;
514 vertical-align: middle;
516 #serverinfo .item { white-space: nowrap; }
517 #serverinfo img { margin: 0px 1px 0px 1px; }
518 ul#topmenu { list-style-type: none; }
519 ul#topmenu li { vertical-align: middle; }
520 #topmenu img {
521 margin-<?php echo $right; ?>: 2px;
522 vertical-align: middle;
524 .tab, .tabcaution, .tabactive {
525 display: block;
526 margin: 0px 0px 0px 0px;
527 padding: 4px 2px 4px 2px;
528 white-space: nowrap;
530 span.tab, span.tabcaution { color: #666666; }
531 a.tabcaution:link, a.tabcaution:active, a.tabcaution:visited { color: #ffffff; }
532 a.tabcaution:hover {
533 color: #ffffff;
534 background-color: #cc0000;
536 <?php if ( $GLOBALS['cfg']['LightTabs'] ) { ?>
537 a.tabactive:link, a.tabactive:active, a.tabactive:visited { color: #bb3902; }
538 <?php } else { ?>
539 #serverinfo, #topmenucontainer {
540 <?php if ($forIE) { ?>
541 position: absolute;
542 <?php } else { ?>
543 position: fixed;
544 width: 100%;
545 <?php } ?>
547 #serverinfo {
548 <?php if ($forIE) { ?>
549 left: 0px;
550 top: expression(eval(document.documentElement.scrollTop));
551 width: 100%;
552 <?php } else { ?>
553 top: 0px;
554 left: 0px;
555 <?php } ?>
557 #serverinfo .separator img {
558 width: 9px;
559 height: 11px;
560 margin: 0px 2px 0px 2px;
561 vertical-align: middle;
563 #topmenucontainer {
564 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
565 background-image: url('<?php echo $ipath; ?>tbl_header.png');
566 background-repeat: repeat-x;
567 background-position: center top;
568 border-top: <?php echo (stristr($_GET['type'], 'querywin') ? '1px' : '5px'); ?> solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
569 border-right: none;
570 border-bottom: 5px solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
571 border-left: none;
572 color: #000000;
573 font-weight: bold;
574 margin: 0px 0px 0px 0px;
575 padding: 0px 0px 0px 0px;
576 white-space: nowrap;
577 <?php if ($forIE) { ?>
578 left: 0px;
579 top: expression(eval(document.documentElement.scrollTop<?php echo (stristr($_GET['type'], 'querywin') ? '' : '+27'); ?>));
580 width: expression(eval(document.documentElement.clientWidth));
581 <?php } else { ?>
582 top: <?php echo (stristr($_GET['type'], 'querywin') ? '0px' : '27px'); ?>;
583 left: 0px;
584 <?php } ?>
586 #topmenu {
587 border: none;
588 float: <?php echo $left; ?>;
589 margin: 0px 0px 0px 0px;
590 padding: 0px 0px 0px 0px;
592 ul#topmenu li {
593 background-color: #333333;
594 background-image: url('<?php echo $ipath; ?>tbl_header.png');
595 background-repeat: repeat-x;
596 background-position: center top;
597 border-bottom: none;
598 border-right: 1px solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
599 margin: 0px 0px 0px 0px;
600 padding-right: 0px;
602 .tab, .tabcaution, .tabactive {
603 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
604 background-repeat: repeat-x;
605 background-position: center top;
606 border: none;
608 .tab, .tabactive, .tabcaution, a.tab:hover, a.tabactive:hover, a.tabcaution:hover {
609 border-top: 1px solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
610 margin: 0px 0px 0px 0px;
611 padding: 4px 2px 4px 2px;
612 text-decoration: none;
614 .tab, a.tab:link, a.tab:active, a.tab:visited {
615 color: #000000;
616 background-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
617 background-image: url('<?php echo $ipath; ?>tbl_header.png');
619 a.tab:hover {
620 border-top: 1px solid #fb7922;
621 border-right: 1px solid #fb7922;
622 border-left: 1px solid #fb7922;
623 color: #000000;
624 background-color: #ffff99;
625 background-image: url('<?php echo $ipath; ?>tbl_th.png');
627 .tabcaution, a.tabcaution:link, a.tabcaution:active, a.tabcaution:visited {
628 color: #ffffff;
629 background-color: #cc0000;
630 background-image: url('<?php echo $ipath; ?>tbl_error.png');
632 a.tabcaution:hover {
633 border-top: 1px solid #fb7922;
634 border-right: 1px solid #fb7922;
635 border-left: 1px solid #fb7922;
636 color: #ffff99;
637 background-color: #cc0000;
638 background-image: url('<?php echo $ipath; ?>tbl_error.png');
640 a.tabactive:link, a.tabactive:active, a.tabactive:visited, a.tabactive:hover {
641 color: #000000;
642 border-top: 1px solid #fb7922;
643 border-right: 1px solid #fb7922;
644 border-left: 1px solid #fb7922;
645 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
646 /*background-image: url('<?php echo $ipath; ?>tbl_th.png');*/
648 span.tab, span.tabcaution { cursor: url('<?php echo $ipath; ?>s_error.png'), default; }
649 span.tab img, span.tabcaution img {
650 <?php if ($forIE) { ?>
651 filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
652 <?php } else { ?>
653 -moz-opacity: 0.5;
654 <?php } ?>
655 opacity: 0.5;
657 <?php } ?>
658 /* -- Top-Navi -- */
661 /* CALENDAR */
662 table.calendar {
663 width: 100%;
665 table.calendar td {
666 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
667 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
668 text-align: center;
670 table.calendar td a {
671 display: block;
674 table.calendar td a:hover {
675 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
676 background-color: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
679 table.calendar th {
680 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
681 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
684 table.calendar td.selected {
685 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
686 background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
688 img.calendar {
689 border: none;
691 #clock_data, form.clock {
692 text-align: center;
694 #clock_data input, form.clock input {
695 text-align: center;
696 width: 50px;
698 /* end CALENDAR */
701 /* table stats */
702 div#tablestatistics {
703 border-bottom: 0.1em solid #669999;
704 margin-bottom: 0.5em;
705 padding-bottom: 0.5em;
708 div#tablestatistics table {
709 float: <?php echo $left; ?>;
710 margin-bottom: 0.5em;
711 margin-<?php echo $right; ?>: 0.5em;
714 div#tablestatistics table caption {
715 margin-<?php echo $right; ?>: 0.5em;
717 /* END table stats */
720 /* server privileges */
721 #tableuserrights td,
722 #tablespecificuserrights td,
723 #tabledatabases td {
724 vertical-align: middle;
726 /* END server privileges */
730 #span_table_comment {
731 font-weight: normal;
732 font-style: italic;
733 white-space: nowrap;
736 #TooltipContainer {
737 font-size: inherit;
738 color: #ffffff;
739 background-color: #bb3902;
740 position: absolute;
741 z-index: 99;
742 width: <?php echo number_format( ($fsize * 25), 0 ) . $funit; ?>;
743 height: auto;
744 overflow: auto;
745 visibility: hidden;
746 border: 1px solid #333333;
747 padding: 0.5em;
748 <?php if ($forIE) { ?>
749 filter: progid:DXImageTransform.Microsoft.Alpha(opacity=95);
750 <?php } else { ?>
751 -moz-opacity: 0.95;
752 <?php } ?>
753 opacity: 0.95;
756 /* user privileges */
757 #fieldset_add_user_login div.item {
758 border-bottom: 1px solid #bb3902;
759 padding-bottom: 0.3em;
760 margin-bottom: 0.3em;
763 #fieldset_add_user_login label {
764 float: <?php echo $left; ?>;
765 display: block;
766 width: 10em;
767 max-width: 100%;
768 text-align: <?php echo $right; ?>;
769 padding-<?php echo $right; ?>: 0.5em;
772 #fieldset_add_user_login span.options #select_pred_username,
773 #fieldset_add_user_login span.options #select_pred_hostname,
774 #fieldset_add_user_login span.options #select_pred_password {
775 width: 100%;
776 max-width: 100%;
779 #fieldset_add_user_login span.options {
780 float: <?php echo $left; ?>;
781 display: block;
782 width: 12em;
783 max-width: 100%;
784 padding-<?php echo $right; ?>: 0.5em;
787 #fieldset_add_user_login input {
788 width: 12em;
789 clear: <?php echo $right; ?>;
790 max-width: 100%;
793 #fieldset_add_user_login span.options input {
794 width: auto;
797 #fieldset_user_priv div.item {
798 float: <?php echo $left; ?>;
799 width: 9em;
800 max-width: 100%;
803 #fieldset_user_priv div.item div.item {
804 float: none;
807 #fieldset_user_priv div.item label {
808 white-space: nowrap;
811 #fieldset_user_priv div.item select {
812 width: 100%;
815 #fieldset_user_global_rights fieldset {
816 float: <?php echo $left; ?>;
818 /* END user privileges */
821 /* serverstatus */
822 div#serverstatus table caption a.top {
823 float: <?php echo $right; ?>;
826 div#serverstatus div#serverstatusqueriesdetails table,
827 div#serverstatus table#serverstatustraffic,
828 div#serverstatus table#serverstatusconnections {
829 float: <?php echo $left; ?>;
832 #serverstatussection,
833 .clearfloat {
834 clear: both;
836 div#serverstatussection table {
837 width: 100%;
838 margin-bottom: 1em;
840 div#serverstatussection table .name {
841 width: 18em;
843 div#serverstatussection table .value {
844 width: 6em;
847 div#serverstatus table tbody td.descr a,
848 div#serverstatus table .tblFooters a {
849 white-space: nowrap;
852 div#serverstatus div#statuslinks a:before,
853 div#serverstatus div#sectionlinks a:before,
854 div#serverstatus table tbody td.descr a:before,
855 div#serverstatus table .tblFooters a:before {
856 content: '';
858 div#serverstatus div#statuslinks a:after,
859 div#serverstatus div#sectionlinks a:after,
860 div#serverstatus table tbody td.descr a:after,
861 div#serverstatus table .tblFooters a:after {
862 content: '';
865 /* end serverstatus */
867 /* querywindow */
868 body#bodyquerywindow {
869 margin: 30px 2px 2px 2px;
870 padding: 0;
871 background-image: none;
872 background-color: transparent;
875 div#querywindowcontainer {
876 margin: 0;
877 padding: 0;
878 width: 100%;
881 div#querywindowcontainer fieldset {
882 margin-top: 0;
884 /* END querywindow */
887 /* querybox */
889 div#sqlquerycontainer {
890 float: <?php echo $left; ?>;
891 width: 69%;
892 /* height: 15em; */
895 div#tablefieldscontainer {
896 float: <?php echo $right; ?>;
897 width: 29%;
898 /* height: 15em; */
901 div#tablefieldscontainer select {
902 width: 100%;
903 /* height: 12em; */
906 textarea#sqlquery {
907 width: 100%;
908 /* height: 100%; */
911 div#queryboxcontainer div#bookmarkoptions {
912 margin-top: 0.5em;
914 /* end querybox */
916 /* main page */
917 #maincontainer {
918 background-image: none;
919 background-position: <?php echo $right; ?> bottom;
920 background-repeat: no-repeat;
921 border-bottom: none;
924 #mysqlmaininformation,
925 #pmamaininformation {
926 float: <?php echo $left; ?>;
927 width: 49%;
930 #maincontainer ul {
931 list-style-image: url('<?php echo $ipath; ?>item_<?php echo $GLOBALS['text_dir']; ?>.png');
932 vertical-align: middle;
935 #maincontainer li {
936 margin-bottom: 3px;
937 padding-left: 5px;
939 /* END main page */
942 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
943 /* iconic view for ul items */
944 li#li_create_database { list-style-image: url('<?php echo $ipath; ?>b_newdb.png'); }
945 li#li_select_lang { list-style-image: url('<?php echo $ipath; ?>s_lang.png'); }
946 li#li_select_mysql_collation { list-style-image: url('<?php echo $ipath; ?>s_asci.png'); }
947 li#li_select_mysql_charset { list-style-image: url('<?php echo $ipath; ?>s_asci.png'); }
948 li#li_select_theme { list-style-image: url('<?php echo $ipath; ?>s_theme.png'); }
949 li#li_server_info { list-style-image: url('<?php echo $ipath; ?>s_host.png'); }
950 li#li_user_info { list-style-image: url('<?php echo $ipath; ?>b_dbusr.png'); }
951 li#li_mysql_status { list-style-image: url('<?php echo $ipath; ?>s_status.png'); }
952 li#li_mysql_variables { list-style-image: url('<?php echo $ipath; ?>s_vars.png'); }
953 li#li_mysql_processes { list-style-image: url('<?php echo $ipath; ?>s_process.png'); }
954 li#li_mysql_collations { list-style-image: url('<?php echo $ipath; ?>s_asci.png'); }
955 li#li_mysql_engines { list-style-image: url('<?php echo $ipath; ?>b_engine.png'); }
956 li#li_mysql_binlogs { list-style-image: url('<?php echo $ipath; ?>s_tbl.png'); }
957 li#li_mysql_databases { list-style-image: url('<?php echo $ipath; ?>s_db.png'); }
958 li#li_export { list-style-image: url('<?php echo $ipath; ?>b_export.png'); }
959 li#li_import { list-style-image: url('<?php echo $ipath; ?>b_import.png'); }
960 li#li_change_password { list-style-image: url('<?php echo $ipath; ?>s_passwd.png'); }
961 li#li_log_out { list-style-image: url('<?php echo $ipath; ?>s_loggoff.png'); }
962 li#li_pma_docs { list-style-image: url('<?php echo $ipath; ?>b_docs.png'); }
963 li#li_phpinfo { list-style-image: url('<?php echo $ipath; ?>php_sym.png'); }
964 li#li_pma_homepage { list-style-image: url('<?php echo $ipath; ?>b_home.png'); }
965 li#li_mysql_privilegs { list-style-image: url('<?php echo $ipath; ?>s_rights.png'); }
966 li#li_switch_dbstats { list-style-image: url('<?php echo $ipath; ?>b_dbstatistics.png'); }
967 li#li_flush_privileges { list-style-image: url('<?php echo $ipath; ?>s_reload.png'); }
968 li#li_mysql_proto { list-style-image: url('<?php echo $ipath; ?>b_dbsock.png'); }
969 li#li_mysql_client_version { list-style-image: url('<?php echo $ipath; ?>b_dbclient.png'); }
970 li#li_select_fontsize { list-style-image: url('<?php echo $ipath; ?>b_fontsize.png'); }
971 li#li_used_php_extension { list-style-image: url('<?php echo $ipath; ?>b_dbphpext.png'); }
972 /* END iconic view for ul items */
973 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
976 #body_browse_foreigners {
977 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
978 margin: <?php echo (($tmp_css_type == 'inline') ? 6 : 4); ?>em 0.5em 0 0.5em;
979 text-align: center;
981 #body_browse_foreigners form {
982 left: 0px;
983 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
984 margin: 0 0 0 0;
985 padding: 0 0 0 0;
986 <?php if ($forIE) { ?>
987 position: absolute;
988 top: expression(eval(document.documentElement.scrollTop));
989 <?php } else { ?>
990 position: fixed;
991 top: 0px;
992 <?php } ?>
993 width: 100%;
995 #body_browse_foreigners, #body_browse_foreigners th, #body_browse_foreigners td {
996 font-size: <?php echo number_format($fsize * 0.9) . $funit; ?>;
997 text-align: <?php echo $left; ?>;
999 #body_browse_foreigners td a {
1000 display: block; width: 100%;
1002 #body_browse_foreigners tfoot th {
1003 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1004 background-image: url('<?php echo $ipath; ?>tbl_th.png');
1005 background-position: left bottom;
1007 #body_browse_foreigners .formelement {
1008 float: none; clear: both;
1010 #body_browse_foreigners fieldset { text-align: center; padding: 0.1em 0.1em 0.1em 0.1em; margin: 0.1em 0.1em 0.1em 0.1em; }
1012 #bodyquerywindow {
1013 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
1016 #bodythemes {
1017 width: 500px;
1018 margin: auto;
1019 text-align: center;
1022 #bodythemes img {
1023 border: 0.1em solid #bb3902;
1026 #bodythemes a:hover img {
1027 border: 0.1em solid #bb3902;
1030 #fieldset_select_fields {
1031 float: <?php echo $left; ?>;
1034 #selflink {
1035 clear: both;
1036 display: block;
1037 margin-top: 1em;
1038 margin-bottom: 1em;
1039 width: 100%;
1040 border-top: 0.1em none #bb3902;
1041 text-align: <?php echo $left; ?>;
1044 #table_innodb_bufferpool_usage,
1045 #table_innodb_bufferpool_activity {
1046 float: <?php echo $left; ?>;
1049 #div_mysql_charset_collations table {
1050 float: <?php echo $left; ?>;
1053 #div_table_order, #div_table_rename, #div_table_copy, #div_table_options {
1054 clear: both;
1055 float: none;
1056 min-width: 48%;
1059 #qbe_div_table_list {
1060 float: <?php echo $left; ?>;
1063 #qbe_div_sql_query {
1064 float: <?php echo $left; ?>;
1067 label.desc {
1068 width: 30em;
1069 float: <?php echo $left; ?>;
1072 #buttonGo, #buttonNo, #buttonYes, #cancel, #submit { font-weight: bold; }
1073 #buttonGo { color: #bb3902; }
1074 #buttonNo, #cancel { color: #cc0000; }
1075 #buttonYes, #submit { color: #006600; }
1076 #listTable { width: 260px;}
1077 #textSqlquery { width: 450px; }
1078 #textSQLDUMP {
1079 background-color: transparent;
1080 border: 1px solid #bb3902;
1081 color: #000000;
1082 <?php if (!empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
1083 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
1084 <?php } ?>
1085 font-size: 110%;
1086 width: 99%;
1087 height: 99%;