2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * main css file from theme Grid
8 * @package phpMyAdmin-theme
11 define('_MainGridVersion', 'Grid 080808 MAIN (pma2.8+)' );
13 if (!defined('PMA_MINIMUM_COMMON')) {
14 die('/* ' . _MainGridVersion
. ' unplanned execution path */');
17 if ('IE' == PMA_USR_BROWSER_AGENT
&& !empty($GLOBALS['cfg']['NiceCss'])) {
18 define('_NL', chr(13) . chr(10)); //win clients
20 define('_NL', chr(10));
23 if (empty($GLOBALS['cfg']['NiceCss'])) {
24 define('_K', ','); //komma
25 define('_S', '{'); //start
26 define('_M', ';'); //mid
27 define('_1', '' ); //tab #8
30 define('_E', ';}' . _NL
); //end (older safari need ; !)
32 define('_K', ',' . _NL
);
33 define('_S', ' {' . _NL
. "\t");
34 define('_M', ';' . _NL
. "\t");
35 define('_E', ';' . _NL
. '}' . _NL
. _NL
);
38 define('_3', "\t\t\t");
42 if (version_compare(PMA_VERSION
, '2.9', 'lt')) {
43 //needed for pma2.8 only (if E_KOTICE=1 , but no effect) :
44 $GLOBALS['cfg']['BgcolorOne'] = '#f7f7f7';
45 $GLOBALS['cfg']['BgcolorTwo'] = '#fff';
49 _S
, 'font-size:', _2
, $GLOBALS['cfg']['FontSize'],
54 _S
, 'color:', _3
, $GLOBALS['cfg']['MainColor'],
59 version_compare(PMA_VERSION
,'2.11','lt')
60 ?
'../' . $_SESSION['PMA_Theme']->getImgPath()
61 : $_SESSION['PMA_Theme']->getImgPath()
63 define('_listImgUrl', 'list-style-image:' . _1
. 'url("' . _imgPath
); //.....xxx.png")
65 // colors of several borders:
66 define('_red', '#e00');
67 define('_silver', '#eee');
69 echo _NL
, '/* ', _MainGridVersion
, ' */', _NL
;
71 if (version_compare(PMA_VERSION
,'3.0','ge')) {
75 if (null !== $GLOBALS['PMA_Config']->get('fontsize')) {
76 echo $GLOBALS['PMA_Config']->get('fontsize');
77 } elseif (!empty($_COOKIE['pma_fontsize'])) {
78 echo $_COOKIE['pma_fontsize'];
86 _S
, 'font-size:', _2
, '1em',
104 _S
, 'margin:', _3
, 0,
105 _M
, 'padding:', _2
, 0,
109 _S
, 'margin:', _3
, '4px',
110 _M
, 'color:', _3
, $GLOBALS['cfg']['MainColor'],
111 _M
, 'background:', _2
, $GLOBALS['cfg']['MainBGC'];
112 if ('MOZILLA' != PMA_USR_BROWSER_AGENT
) {
114 echo ' url("', _imgPath
, 'vertical_line.png") repeat-y';
115 // http://www.w3.org/TR/CSS21/syndata.html (double) quotes around url ok
116 // (just incase someone has spaces in his path)
119 if (!empty($GLOBALS['cfg']['FontFamily'])) {
121 _M
, 'font-family:', _2
, $GLOBALS['cfg']['FontFamily'];
125 if (!empty($GLOBALS['cfg']['FontFamilyFixed'])) {
130 _S
, 'font-family:', _2
, $GLOBALS['cfg']['FontFamilyFixed'],
136 _S
, 'padding:', _2
, '0 2px',
137 _M
, 'margin-bottom:', _2
, '1px', //if sql window is narrow
141 _S
, 'font-size:', _2
, '140%', // on main only
142 _M
, 'padding:', _2
, '0 22px',
143 //_M, 'border:', _3, '1px solid red',
147 _S
, 'font-size:', _2
, '120%',
150 'a', // top/bot left/right
151 _S
, 'padding:', _2
, '0 2px',
156 _S
, 'text-decoration:', _1
, 'none',
157 _M
, 'color:', _3
, $GLOBALS['cfg']['MainLinkColor'],
158 _M
, 'padding:', _2
, '0 2px 1px 2px', //top l? bot r?
163 _S
, 'text-decoration:', _1
, 'underline',
164 _M
, 'color:', _3
, $GLOBALS['cfg']['MainLinkHoverColor'],
165 _M
, 'background:', _2
, $GLOBALS['cfg']['MainLinkHoverBGC'],
169 _S
, 'background:', _2
, $GLOBALS['cfg']['MainActiveBGC'],
173 _S
, 'background:', _2
, $GLOBALS['cfg']['BrowsePointerBGC'],
178 _S
, 'font-style:', _2
, 'normal',
182 _S
, 'font-style:', _2
, 'normal',
183 _M
, 'cursor:', _3
, 'help',
187 _S
, 'font-weight:', _2
, 'bold',
188 _M
, 'color:', _3
, $GLOBALS['cfg']['ThColor'],
189 _M
, 'background:', _2
, $GLOBALS['cfg']['ThBGC'],
193 _S
, 'border:', _3
, 0,
197 _S
, 'color:', _3
, $GLOBALS['cfg']['MainColor'],
198 _M
, 'background:', _2
, $GLOBALS['cfg']['MainColor'], //sic!
199 _M
, 'border:', _3
, 0,
200 _M
, 'height:', _3
, '1px',
204 _S
, 'margin:', _3
, '1px',
205 _M
, 'display:', _2
, 'inline',
209 _S
, 'overflow:', _2
, 'visible',
210 _M
, 'height:', _3
, ceil($GLOBALS['cfg']['TextareaRows']*1.2), 'em',
211 //thx Mario Rohkrämer (ligh1l) Gag_H
215 _S
, 'margin-top:', _2
, '.7em', //for sql window
216 _M
, 'padding:', _2
, '5px',
217 _M
, 'background:', _2
, $GLOBALS['cfg']['FieldsetBGC'],
218 _M
, 'border:', _3
, '1px solid ', $GLOBALS['cfg']['BorderColor'],
222 _S
, 'margin:', _3
, '.8em',
226 _S
, 'padding:', _2
, '1px 3px'; //.1 .3
227 if ($GLOBALS['cfg']['LegendBorder']) {
229 _M
, 'border:', _3
, '1px solid ', $GLOBALS['cfg']['BorderColor'],
230 _M
, 'border-bottom:', _2
, 0;
233 _M
, 'background:', _2
, $GLOBALS['cfg']['LegendBGC'],
234 _M
, 'color:', _3
, $GLOBALS['cfg']['LegendColor'],
235 _M
, 'margin-top:', _2
, '3px',
236 _M
, 'font-weight:', _2
, 'bold',
239 // buttons in some browsers (eg. Konqueror) are block elements, this breaks design:'
242 _S
, 'display:', _2
, 'inline',
246 _S
, 'margin:', _3
, '3px 1px 1px 1px',
247 _M
, 'border-collapse:', _1
, 'collapse',
253 _S
, 'padding:', _2
, '0 2px';
255 if ($GLOBALS['cfg']['Border']) {
256 echo _M
, 'border:', _3
, $GLOBALS['cfg']['Border'], ' solid ', $GLOBALS['cfg']['MainGridColor'];
262 _S
, 'vertical-align:', _2
, 'top',
266 _S
, 'vertical-align:', _2
, 'bottom',
273 _S
, 'vertical-align:', _2
, 'middle',
280 _S
, 'border:', _3
, '1px solid ', $GLOBALS['cfg']['BorderColor'],
281 _M
, 'padding:', _2
, '2px',
285 'fieldset.tblFooters',
286 _S
, 'border-top:', _2
, 0,
287 _M
, 'margin-top:', _2
, 0,
288 _M
, 'margin-bottom:', _2
, '5px',
289 _M
, 'text-align:', _2
, $right,
290 _M
, 'background:', _2
, $GLOBALS['cfg']['FieldsetFooterBGC'],
291 _M
, 'float:', _3
, 'none',
292 _M
, 'clear:', _3
, 'both',
295 'fieldset .formelement',
296 _S
, 'margin-', $right, ':', _2
, '5px',
297 _M
, 'white-space:', _2
, 'nowrap', //IE
300 'fieldset div[class=formelement]',
301 _S
, 'white-space:', _2
, 'normal',
304 'button.mult_submit',
305 _S
, 'border:', _3
, 0,
306 //_M, 'border-bottom:', _3, '1px solid blue',
307 _M
, 'margin:', _3
, '0 2px',
308 _M
, 'background:', _2
, 'transparent',
311 'button.mult_submit:hover',
312 _S
, 'background:', _2
, $GLOBALS['cfg']['MainLinkHoverBGC'], //not IE6
313 _M
, 'cursor:', _3
, 'pointer',
314 //IE4 _M, 'cursor:',_3, 'hand',
317 // odd items 1,3,5,7,...
318 'table tr.odd th', _K
,
320 _S
, 'background:', _2
, $GLOBALS['cfg']['BgOne'],
323 // even items 2,4,6,8,...
324 'table tr.even th', _K
,
326 _S
, 'background:', _2
, $GLOBALS['cfg']['BgTwo'],
329 // odd table rows 1,3,5,7,...
330 'table tr.odd th', _K
,
332 'table tr.even th', _K
,
334 _S
, 'text-align:', _2
, $left,
337 if ($GLOBALS['cfg']['BrowseMarkerEnable']) {
340 'table tr.marked th', _K
,
342 _S
, 'background:', _2
, $GLOBALS['cfg']['BrowseMarkerBGC'],
343 _M
, 'color:', _3
, $GLOBALS['cfg']['BrowseMarkerColor'],
347 if ($GLOBALS['cfg']['BrowsePointerEnable']) {
353 _S
, 'background:', _2
, $GLOBALS['cfg']['BrowsePointerBGC'],
354 _M
, 'color:', _3
, $GLOBALS['cfg']['BrowsePointerColor'],
357 // hovered table rows
358 'table tr.odd:hover th', _K
,
359 'table tr.even:hover th', _K
,
361 _S
, 'background:', _2
, $GLOBALS['cfg']['BrowsePointerBGC'],
362 _M
, 'color:', _3
, $GLOBALS['cfg']['BrowsePointerColor'],
364 } // endif BrowsePointerEnabled
367 // marks table rows/cells if the db field is in a where condition
368 'tr.condition th', _K
,
369 'tr.condition td', _K
,
372 _S
, 'border:', _3
, '1px solid ', $GLOBALS['cfg']['BrowseMarkerBGC'],
376 _S
, 'text-align:', _2
, $right,
377 _M
, 'white-space:', _2
, 'normal',
380 // IE(?) doesn't handle 'pre' right:
381 'table [class=value]',
382 _S
, 'white-space:', _2
, 'normal',
385 if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) {
388 _S
, 'font-family:', _2
, $GLOBALS['cfg']['FontFamilyFixed'],
394 _S
, 'color:', _3
, _red
,
395 _M
, 'font-weight:', _2
, 'bold',
399 _S
, 'color:', _3
, 'green',
403 _S
, 'cursor:', _3
, 'pointer',
407 _S
, 'overflow:', _2
, 'hidden',
408 _M
, 'clip:', _3
, 'inherit',
409 _M
, 'background:', _2
, '#fff',
410 _M
, 'display:', _2
, 'none',
411 _M
, 'border:', _3
, '1px solid #000',
412 _M
, 'position:', _2
, 'relative',
416 _S
, 'background:', _2
, '#D3DCE3',
417 _M
, 'color:', _3
, '#000',
418 _M
, 'overflow:', _2
, 'hidden',
419 _M
, 'clip:', _3
, 'inherit',
420 _M
, 'z-index:', _2
, '2',
421 _M
, 'display:', _2
, 'inline',
422 _M
, 'visibility:', _2
, 'inherit',
423 _M
, 'cursor:', _3
, 'move',
424 _M
, 'position:', _2
, 'absolute',
425 _M
, 'font-size:', _2
, '80%',
426 _M
, 'border:', _3
, '1px dashed #000',
431 _S
, 'font-size:', _2
, '80%',
432 _M
, 'line-height:', _2
, 1.3, // "line-spacing"
436 _S
, 'padding-left:', _2
, '4pt',
437 _M
, 'padding-right:', _2
, '4pt',
440 '.syntax_alpha_columnType', _K
,
441 '.syntax_alpha_columnAttrib', _K
,
442 '.syntax_alpha_functionName', _K
,
443 '.syntax_alpha_reservedWord',
444 _S
, 'text-transform:', _2
, 'uppercase',
447 '.syntax_alpha_reservedWord',
448 _S
, 'font-weight:', _2
, 'bold',
452 _S
, 'white-space:', _2
, 'pre',
456 //leave some space between icons and text
458 _S
, 'vertical-align:', _2
, 'middle',
459 _M
, 'margin:', _3
, '0 3px',
463 _S
, 'margin-', $right, ':', _2
, '3px',
464 _M
, 'margin-', $left, ':', _2
, '.6em',
468 // message boxes: warning, error, confirmation
470 _S
, 'color:', _3
, '#c00',
471 _M
, 'background:', _2
, '#ffc',
475 _S
, 'background:', _2
, '#ffc',
476 _M
, 'color:', _3
, '#f00',
479 echo version_compare(PMA_VERSION
, '3', 'lt') //r10741
482 _S
. 'color:' . _3
. '#000' .
483 _M
. 'background:' . _2
. '#ffd' .
488 _S
. 'margin:' . _3
. '5px 0' .
489 _M
. 'border:' . _3
. '1px solid #FFD700'
495 _S
. 'border-bottom:' . _2
. '2px solid' . //??
496 _M
. 'font-weight:' . _2
. 'bold' .
497 _M
. 'text-align:' . _2
. $left .
498 _M
. 'margin:' . _3
. '0 0 2px 0' .
505 _S
. 'margin:' . _3
. '2px 0 0 0' .
506 _M
. 'border:' . _3
. '1px solid';
507 if ($GLOBALS['cfg']['ErrorIconic']) {
508 if (version_compare(PMA_VERSION
, '3', 'lt')) {
509 echo _M
, 'background-image:', _1
, 'url("', _imgPath
, 's_notice.png")';
511 echo _M
, 'background-repeat:', _1
, 'no-repeat';
512 if ($GLOBALS['text_dir'] === 'ltr') {
514 _M
, 'background-position:', _1
, '1em 50%',
515 _M
, 'padding:', _2
, '4px 1em 4px 36px';
518 _M
, 'background-position:', _1
, '99% 50%',
519 _M
, 'padding:', _2
, '4px 5% 4px 1em';
523 'padding:', _2
, '5px';
529 if (version_compare(PMA_VERSION
,'3', 'lt')) { //r10741
532 _S
, 'border-bottom:', _2
, '1px solid #FFD700',
533 _M
, 'font-weight:', _2
, 'bold',
534 _M
, 'text-align:', _2
, $left,
535 _M
, 'margin:', _3
, '0 0 2px 0',
542 _S
, 'margin:', _2
, '3px 0 0 0',
543 _M
, 'border:', _2
, '1px solid #c00';
545 if ($GLOBALS['cfg']['ErrorIconic']) {
547 _M
, 'background-image:', _1
, 'url("', _imgPath
, 's_warn.png")',
548 _M
, 'background-repeat:', _1
, 'no-repeat';
549 if ($GLOBALS['text_dir'] === 'ltr') {
551 _M
, 'background-position:', _1
, '1em 50%',
552 _M
, 'padding:', _2
, '4px 1em 4px 36px';
555 _M
, 'background-position:', _1
, '99% 50%',
556 _M
, 'padding:', _2
, '4px 5% 4px 1em';
559 echo _M
, 'padding:', _2
, '4px';
566 _S
, 'border-bottom:', _2
, '1px solid #c00',
567 _M
, 'font-weight:', _2
, 'bold',
568 _M
, 'text-align:', _2
, $left,
569 _M
, 'margin:', _2
, '0 0 2px 0',
573 _S
, 'background:', _2
, '#ffc',
574 _M
, 'color:', _3
, '#f00',
579 _S
, 'margin:', _3
, '5px 0',
580 _M
, 'border:', _3
, '1px solid #f00';
582 if ($GLOBALS['cfg']['ErrorIconic']) {
584 _M
, 'background-image:', _1
, 'url("', _imgPath
, 's_error.png")',
585 _M
, 'background-repeat:', _1
, 'no-repeat';
586 if ($GLOBALS['text_dir'] === 'ltr') {
588 _M
, 'background-position:', _1
, '1em 50%',
589 _M
, 'padding:', _2
, '5px 1em 5px 36px';
592 _M
, 'background-position:', _1
, '99% 50%',
593 _M
, 'padding:', _2
, '5px 5% 5px 1em';
597 _M
, 'padding:', _2
, '5px';
604 _S
, 'border-bottom:', _2
, '1px solid #f00',
605 _M
, 'font-weight:', _2
, 'bold',
606 _M
, 'text-align:', _2
, $left,
607 _M
, 'margin:', _3
, '0 0 2px 0',
614 _S
, 'color:', _3
, '#000',
615 _M
, 'background:', _2
, '#f0fff0',
620 _S
, 'border-color:', _2
, $GLOBALS['cfg']['SuccessBorderColor'];
621 if ($GLOBALS['cfg']['ErrorIconic']) {
622 echo _M
, 'background-image:', _1
, 'url("', _imgPath
, 's_success.png")';
628 _S
, 'border-color:', _2
, '#0d0',
632 _S
, 'color:', _3
, '#000',
633 _M
, 'background:', _2
, '#ffd',
638 _S
, 'border-color:', _2
, '#FFD700';
639 if ($GLOBALS['cfg']['ErrorIconic']) {
640 echo _M
, 'background-image:', _1
, 'url("', _imgPath
, 's_notice.png")';
646 _S
, 'border-color:', _2
, '#FFD700',
652 _S
, 'border-color:', _2
, '#ffd700';
653 if ($GLOBALS['cfg']['ErrorIconic']) {
654 echo _M
, 'background-image:', _1
, 'url("', _imgPath
, 's_warn.png")';
660 _S
, 'border-color:', _2
, '#c00',
665 _S
, 'border-color:', _2
, '#f00';
666 if ($GLOBALS['cfg']['ErrorIconic']) {
667 echo _M
, 'background-image:', _1
, 'url("', _imgPath
, 's_error.png")';
673 _S
, 'border-color:', _2
, '#f00',
679 _S
, 'background:', _2
, '#ffc',
682 'fieldset.confirmation',
683 _S
, 'border:', _3
, '1px solid #f00',
686 'fieldset.confirmation legend',
687 _S
, 'border-left:', _2
, '1px solid #f00',
688 _M
, 'border-right:', _2
, '1px solid #f00',
689 _M
, 'font-weight:', _2
, 'bold';
690 if ($GLOBALS['cfg']['ErrorIconic']) {
692 _M
, 'background-image:', _1
, 'url("', _imgPath
, 's_really.png")',
693 _M
, 'background-repeat:', _1
, 'no-repeat';
694 if ($GLOBALS['text_dir'] === 'ltr') {
696 _M
, 'background-position:', _1
, '5px 50%',
697 _M
, 'padding:', _2
, '2px 2px 2px 25px';
700 _M
, 'background-position:', _1
, '97% 50%',
701 _M
, 'padding:', _2
, '2px 25px 2px 2px';
706 _E
, // end messageboxes
709 _S
, 'font-size:', _2
, '90%',
710 _M
, 'font-weight:', _2
, 'normal',
711 _M
, 'color:', _3
, '#009',
715 _S
, 'font-weight:', _2
, 'bold',
716 _M
, 'color:', _3
, $GLOBALS['cfg']['ThColor'],
717 _M
, 'background:', _2
, $GLOBALS['cfg']['ThBGC'],
722 _S
, 'font-weight:', _2
, 'normal',
723 _M
, 'color:', _3
, $GLOBALS['cfg']['ThColor'],
724 _M
, 'background:', _2
, $GLOBALS['cfg']['ThBGC'],
727 'div.tools a:link', _K
,
728 'div.tools a:active', _K
,
729 'div.tools a:visited', _K
,
730 '.tblHeaders a:link', _K
,
731 '.tblHeaders a:active', _K
,
732 '.tblHeaders a:visited', _K
,
733 '.tblFooters a:link', _K
,
734 '.tblFooters a:active', _K
,
735 '.tblFooters a:visited',
736 _S
, 'color:', _3
, '#00f',
739 'div.tools a:hover', _K
,
740 '.tblHeaders a:hover', _K
,
741 '.tblFooters a:hover',
742 _S
, 'color:', _3
, '#f00',
746 _S
, 'color:', _3
, '#f00',
747 _M
, 'font-weight:', _2
, 'bold',
751 '.disabled a:link', _K
,
752 '.disabled a:active', _K
,
753 '.disabled a:visited',
754 _S
, 'color:', _3
, '#666',
758 _S
, 'color:', _3
, '#666',
759 _M
, 'text-decoration:', _1
, 'none',
762 'tr.disabled td', _K
,
764 _S
, 'background:', _2
, '#ccc',
767 'body.loginform h1', _K
,
768 'body.loginform a.logo',
769 _S
, 'display:', _2
, 'block',
770 _M
, 'text-align:', _2
, 'center',
774 _S
, 'text-align:', _2
, 'center',
777 'body.loginform div.container',
778 _S
, 'text-align:', _2
, $left,
779 _M
, 'width:', _3
, '30em',
780 _M
, 'margin:', _3
, '0 auto',
784 _S
, 'width:', _3
, '10em',
785 _M
, 'font-weight:', _2
, 'bolder',
790 _S
, 'font-weight:', _2
, 'bold',
791 _M
, 'list-style-type:', _2
, 'none',
795 _S
, 'list-style-type:', _2
, 'none',
796 _M
, 'vertical-align:', _2
, 'middle',
799 'ul#topmenu li.active',
800 _S
, 'border-bottom:', _2
, '2px solid ', $GLOBALS['cfg']['MainBGC'],
805 _S
, 'vertical-align:', _2
, 'middle',
806 _M
, 'margin-', $right, ':', _2
, '1px',
812 _S
, 'display:', _2
, 'block',
813 _M
, 'margin:', _3
, '2px 2px 0 2px',
814 _M
, 'padding:', _2
, '2px 2px 0 2px',
815 _M
, 'white-space:', _2
, 'nowrap',
819 _S
, 'color:', _3
, '#666',
823 _S
, 'color:', _3
, '#f66',
827 _S
, 'color:', _3
, '#f00',
830 'a.tabcaution:hover',
831 _S
, 'color:', _3
, '#fff',
832 _M
, 'background:', _2
, '#f00',
835 if ($GLOBALS['cfg']['LightTabs']) {
838 _S
, 'color:', _3
, $GLOBALS['cfg']['MainColor'];
842 _S
, 'margin-top:', _2
, '5px',
843 _M
, 'padding:', _2
, '1px 3px',
847 _S
, 'border-bottom:', _2
, '2px solid ', $GLOBALS['cfg']['TabUnderlineColor'],
853 _S
, 'background:', _2
, $GLOBALS['cfg']['TabBGC'];
854 if ('SAFARI' == PMA_USR_BROWSER_AGENT
) {
856 _M
, '-webkit-border-radius-topleft:', _1
, '5px',
859 Mibbit (Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/4A93 Safari/419.3)
861 _M
, '-webkit-border-radius-topright:', _1
, '5px';
862 } elseif ('MOZILLA' == PMA_USR_BROWSER_AGENT
) {
865 _M
, '-moz-border-radius-topleft:', _1
, '5px',
866 _M
, '-moz-border-radius-topright:', _1
, '5px';
869 _M
, 'border-top:', _3
, '1px solid ', _2
, $GLOBALS['cfg']['TabBorderColor'],
870 _M
, 'border-left:', _3
, '1px solid ', _2
, $GLOBALS['cfg']['TabBorderColor'],
871 _M
, 'border-right:', _3
, '1px solid ', _2
, $GLOBALS['cfg']['TabBorderColor'];
873 // MSIE 6: http://blogs.msdn.com/ie/archive/2005/06/23/431980.aspx
878 'a.tabcaution:hover', _K
,
881 _S
, 'margin:', _3
, ('MOZILLA' == PMA_USR_BROWSER_AGENT
) ?
0 : '0 1px' ,
882 _M
, 'padding:', _2
, '2px 4px',
883 _M
, 'text-decoration:', _1
, 'none',
887 _S
, 'background:', _2
, $GLOBALS['cfg']['TabHoverBGC'],
888 _M
, 'color:', _3
, $GLOBALS['cfg']['TabHoverColor'],
892 _S
, 'background:', _2
, $GLOBALS['cfg']['TabActiveBGC'],
893 _M
, 'color:', _3
, $GLOBALS['cfg']['TabActiveColor'],
896 if ('OPERA' != PMA_USR_BROWSER_AGENT
) {
901 _S
, 'cursor:', _3
, 'url("', _imgPath
, 'error.ico"), auto',
908 _S
, 'width:', _3
, '100%',
912 _S
, 'text-align:', _2
, 'center',
915 'table.calendar td a',
916 _S
, 'display:', _2
, 'block',
919 'table.calendar td a:hover',
920 _S
, 'background:', _2
, '#cfc',
924 _S
, 'background:', _2
, '#D3DCE3',
927 'table.calendar td.selected',
928 _S
, 'background:', _2
, '#fc9',
932 _S
, 'border:', _3
, 'none',
936 _S
, 'text-align:', _2
, 'center',
939 'div#tablestatistics',
940 _S
, 'border-bottom:', _2
, '1px solid #699',
941 _M
, 'margin-bottom:', _2
, '5px',
942 _M
, 'padding-bottom:', _2
, '5px',
945 'div#tablestatistics table',
946 _S
, 'margin-bottom:', _2
, '5px',
947 _M
, 'margin-', $right, ':', _2
, '5px',
950 'div#tablestatistics table caption',
951 _S
, 'margin-', $right, ':', _2
, '5px',
953 //END server privileges
955 '#tableuserrights td', _K
,
956 '#tablespecificuserrights td', _K
,
957 '#tabledatabases td',
958 _S
, 'vertical-align:', _2
, 'middle',
963 _S
, 'font-weight:', _2
, 'bold',
964 _M
, 'margin-bottom:', _2
, '5px',
968 _S
, 'white-space:', _2
, 'nowrap',
971 '#span_table_comment',
972 _S
, 'font-weight:', _2
, 'normal',
973 _M
, 'font-style:', _2
, 'italic',
974 _M
, 'white-space:', _2
, 'nowrap',
978 _S
, 'margin:', _3
, '0 1px 0 2px',
982 _S
, 'width:', _3
, '95%',
983 _M
, 'height:', _3
, '95%',
984 _M
, 'font-family:', _2
, '"Courier New", Courier, mono',
985 _M
, 'font-size:', _2
, '110%',
989 _S
, 'position:', _2
, 'absolute',
990 _M
, 'z-index:', _2
, '99',
991 _M
, 'width:', _3
, '20em',
992 _M
, 'height:', _3
, 'auto',
993 _M
, 'overflow:', _2
, 'visible',
994 _M
, 'visibility:', _2
, 'hidden',
995 _M
, 'background:', _2
, '#ffc',
996 _M
, 'color:', _3
, '#060',
997 _M
, 'border:', _3
, '1px solid #000',
998 _M
, 'padding:', _2
, '5px',
1002 '#fieldset_add_user_login div.item',
1003 _S
, 'border-bottom:', _2
, '1px solid ', _silver
,
1004 _M
, 'padding-bottom:', _2
, '3px',
1005 _M
, 'margin-bottom:', _2
, '3px',
1008 '#fieldset_add_user_login label',
1009 _S
, 'display:', _2
, 'block',
1010 _M
, 'width:', _3
, '10em',
1011 _M
, 'max-width:', _2
, '100%',
1012 _M
, 'text-align:', _2
, $right,
1013 _M
, 'padding-', $right, ':', _2
, '5px',
1016 '#fieldset_add_user_login span.options #select_pred_username', _K
,
1017 '#fieldset_add_user_login span.options #select_pred_hostname', _K
,
1018 '#fieldset_add_user_login span.options #select_pred_password',
1019 _S
, 'width:', _3
, '100%',
1020 _M
, 'max-width:', _2
, '100%',
1023 '#fieldset_add_user_login span.options',
1024 _S
, 'display:', _2
, 'block',
1025 _M
, 'width:', _3
, '12em',
1026 _M
, 'max-width:', _2
, '100%',
1027 _M
, 'padding-', $right, ':', _2
, '5px',
1030 '#fieldset_add_user_login input',
1031 _S
, 'width:', _3
, '12em',
1032 _M
, 'clear:', _2
, $right,
1033 _M
, 'max-width:', _2
, '100%',
1036 '#fieldset_add_user_login span.options input',
1037 _S
, 'width:', _3
, 'auto',
1040 '#fieldset_user_priv div.item',
1041 _S
, 'width:', _3
, '9em',
1042 _M
, 'max-width:', _2
, '100%',
1045 '#fieldset_user_priv div.item div.item',
1046 _S
, 'float:', _3
, 'none',
1049 '#fieldset_user_priv div.item label',
1050 _S
, 'white-space:', _2
, 'nowrap',
1053 '#fieldset_user_priv div.item select',
1054 _S
, 'width:', _3
, '100%',
1057 // END user privileges
1061 'div#serverstatus table caption a.top',
1062 _S
, 'float:', _3
, $right,
1065 '#serverstatussection', _K
,
1067 _S
, 'clear:', _3
, 'both',
1070 'div#serverstatussection table',
1071 _S
, 'width:', _3
, '100%',
1072 _M
, 'margin-bottom:', _2
, '1em',
1075 'div#serverstatussection table .name',
1076 _S
, 'width:', _3
, '18em',
1079 'div#serverstatussection table .value',
1080 _S
, 'width:', _3
, '6em',
1083 'div#serverstatus table tbody td.descr a', _K
,
1084 'div#serverstatus table .tblFooters a',
1085 _S
, 'white-space:', _2
, 'nowrap',
1088 'div#serverstatus div#statuslinks a:before', _K
,
1089 'div#serverstatus div#sectionlinks a:before', _K
,
1090 'div#serverstatus table tbody td.descr a:before', _K
,
1091 'div#serverstatus table .tblFooters a:before',
1092 _S
, 'content:', _2
, "'['",
1095 'div#serverstatus div#statuslinks a:after', _K
,
1096 'div#serverstatus div#sectionlinks a:after', _K
,
1097 'div#serverstatus table tbody td.descr a:after', _K
,
1098 'div#serverstatus table .tblFooters a:after',
1099 _S
, 'content:', _2
, "']'",
1103 'body#bodyquerywindow',
1104 _S
, 'background:', _2
, $GLOBALS['cfg']['MainBGC'],
1107 'div#querywindowcontainer',
1108 _S
, 'width:', _3
, '100%',
1111 'div#querywindowcontainer fieldset',
1112 _S
, 'margin-top:', _2
, 0,
1118 'div#sqlquerycontainer',
1119 _S
, 'width:', _3
, '69%',
1122 'div#tablefieldscontainer',
1123 _S
, 'float:', _3
, $right,
1124 _M
, 'width:', _3
, '29%',
1127 'div#tablefieldscontainer select',
1128 _S
, 'width:', _3
, '100%',
1131 'textarea#sqlquery',
1132 _S
, 'width:', _3
, '100%',
1135 'div#queryboxcontainer div#bookmarkoptions',
1136 _S
, 'margin-top:', _2
, '2px',
1143 _S
, 'background-image:', _1
, 'url("', _imgPath
, 'logo_right.png")',
1144 _M
, 'background-position:', _1
, $right, ' bottom',
1145 _M
, 'background-repeat:', _1
, 'no-repeat',
1148 '#mysqlmaininformation', _K
,
1149 '#pmamaininformation',
1150 _S
, 'width:', _3
, '49%',
1153 '#maincontainer ul',
1154 _S
, 'list-style-image:', _1
, 'url("', _imgPath
, 'item_', $GLOBALS['text_dir'], '.png")',
1155 _M
, 'vertical-align:', _2
, 'middle',
1158 '#maincontainer li',
1159 _S
, 'margin:', _2
, '3px 22px',
1160 _M
, 'padding:', _2
, '0 3px',
1164 if ($GLOBALS['cfg']['MainPageIconic']) {
1165 // iconic view for ul items
1167 'li#li_create_database',
1168 _S
, _listImgUrl
,'b_newdb.png")',
1171 'li#li_select_lang',
1172 _S
, _listImgUrl
,'s_lang.png")',
1175 'li#li_select_mysql_collation', _K
,
1176 'li#li_select_mysql_charset',
1177 _S
, _listImgUrl
,'s_asci.png")',
1180 'li#li_select_theme',
1181 _S
, _listImgUrl
,'s_theme.png")',
1184 'li#li_server_info',_K
,
1185 'li#li_server_version',
1186 _S
, _listImgUrl
,'s_host.png")',
1189 'li#li_mysql_status',
1190 _S
, _listImgUrl
,'s_status.png")',
1193 'li#li_mysql_variables',
1194 _S
, _listImgUrl
,'s_vars.png")',
1197 'li#li_mysql_processes',
1198 _S
, _listImgUrl
,'s_process.png")',
1201 'li#li_mysql_collations',
1202 _S
, _listImgUrl
,'s_asci.png")',
1205 'li#li_mysql_engines',
1206 _S
, _listImgUrl
,'b_engine.png")',
1209 'li#li_mysql_binlogs',
1210 _S
, _listImgUrl
,'s_tbl.png")',
1213 'li#li_mysql_databases',
1214 _S
, _listImgUrl
,'s_db.png")',
1218 _S
, _listImgUrl
,'b_export.png")',
1222 _S
, _listImgUrl
,'b_import.png")',
1225 'li#li_change_password',
1226 _S
, _listImgUrl
,'s_passwd.png")',
1230 _S
, _listImgUrl
,'s_loggoff.png")',
1233 'li#li_pma_docs', _K
,
1235 _S
, _listImgUrl
,'b_docs.png")',
1239 _S
, _listImgUrl
,'php_sym.png")',
1242 'li#li_pma_homepage',
1243 _S
, _listImgUrl
,'b_home.png")',
1246 'li#li_mysql_privilegs',
1247 _S
, _listImgUrl
,'s_rights.png")',
1250 'li#li_switch_dbstats',
1251 _S
, _listImgUrl
,'b_dbstatistics.png")',
1254 'li#li_flush_privileges',
1255 _S
, _listImgUrl
,'s_reload.png")',
1259 _S
, _listImgUrl
, 's_rights.png")',
1261 } //END iconic view for ul items
1264 '#body_browse_foreigners',
1265 _S
, 'background:', _2
, $GLOBALS['cfg']['MainBGC'], //2do??
1266 _M
, 'margin:', _3
, '5px 5px 0 5px',
1270 _S
, 'background:', _2
, $GLOBALS['cfg']['MainBGC'], //2do??
1274 _S
, 'width:', _3
, '50em',
1275 _M
, 'margin:', _3
, 'auto',
1276 _M
, 'text-align:', _2
, 'center',
1280 _S
, 'border:', _3
, '1px solid #000',
1283 '#bodythemes a:hover img',
1284 _S
, 'border:', _3
, '1px solid ', _red
,
1288 _S
, 'clear:', _3
, 'both', //No floating elements allowed on either side
1289 _M
, 'margin:', _3
, '2px',
1290 _M
, 'padding:', _2
, '2px',
1291 _M
, 'background:', _2
, $GLOBALS['cfg']['FieldsetFooterBGC'],
1292 _M
, 'text-align:', _2
, $right,
1295 '#div_table_options',
1296 _S
, 'clear:', _3
, 'both',
1299 '#div_partition_maintenance', _K
,
1300 '#div_table_options', _K
,
1301 '#div_table_order', _K
,
1302 '#div_table_rename', _K
,
1304 _S
, 'min-width:', _2
, '48%',
1307 '#div_partition_maintenance', _K
,
1308 '#div_table_options', _K
,
1309 '#div_table_order', _K
,
1310 '#div_table_rename', _K
,
1311 '#div_table_copy', _K
,
1312 'fieldset .formelement', _K
,
1313 'form.login label', _K
,
1314 'ul#topmenu li', _K
,
1315 'div#tablestatistics table', _K
,
1316 '#fieldset_add_user_login label', _K
,
1317 '#fieldset_add_user_login span.options', _K
,
1318 '#fieldset_user_priv div.item', _K
,
1319 '#fieldset_user_global_rights fieldset', _K
,
1320 'div#serverstatus div#serverstatusqueriesdetails table', _K
,
1321 'div#serverstatus table#serverstatustraffic', _K
,
1322 'div#serverstatus table#serverstatusconnections', _K
,
1323 'div#sqlquerycontainer', _K
,
1324 '#mysqlmaininformation', _K
,
1325 '#pmamaininformation', _K
,
1326 '#fieldset_select_fields', _K
,
1327 '#div_table_options', _K
,
1328 '#table_innodb_bufferpool_usage', _K
, //table_innodb_bufferpool_activity', _K,
1329 '#div_mysql_charset_collations table', _K
,
1330 '#qbe_div_table_list', _K
,
1331 '#qbe_div_sql_query', _K
,
1333 _S
, 'float:', _3
, $left,
1337 _S
, 'width:', _3
, '30em',
1340 '#querywindowcontainer',
1341 _S
, 'background:', _2
, $GLOBALS['cfg']['queryWindowContainerBGC'],
1344 if (version_compare(PMA_VERSION
, '3.0', 'ge')) {
1346 _S
, 'font-size:', _2
, '110%',
1347 _M
, 'display:', _2
, 'block',
1348 _M
, 'padding:', _2
, '3px',
1349 _M
, 'border:', _3
, '1px solid ', $GLOBALS['cfg']['BorderColor'],
1350 _M
, 'border-top:', _2
, 0,
1351 _M
, 'border-bottom:', _2
, 0,
1352 _M
, 'max-height:', _2
, '10em',
1353 _M
, 'overflow:', _2
, 'auto',
1354 _M
, 'background:', _2
, $GLOBALS['cfg']['BgOne'],
1358 _S
, 'width:', _3
, '60%',
1359 _M
, 'float:', _3
, 'left',
1360 _M
, 'padding-top:', _2
, '6px',
1364 _S
, 'margin-left:', _2
, '60%',
1365 _M
, 'padding-top:', _2
, '6px',
1366 _M
, 'padding-left:', _2
, '6px',
1370 _S
, 'border:', _3
, '1px solid ', $GLOBALS['cfg']['BorderColor'], //#999
1371 _M
, 'margin-bottom:', _2
, '6px',
1372 _M
, 'background:', _2
, $GLOBALS['cfg']['MainGroup'], //'#f6f6f6',
1376 _S
, 'background:', _2
, $GLOBALS['cfg']['MainGroupHeader'], //#ddd
1377 _M
, 'padding:', _2
, '2px 4px',
1378 _M
, 'margin:', _3
, '0',
1382 _S
, 'padding:', _2
, '.5em',
1386 if (! $GLOBALS['cfg']['LeftDisplayServers']) {
1388 '#li_select_server',
1389 _S, 'padding-bottom:', _2, '6px', //no effect!
1390 _M, 'border-bottom:', _2, '2px solid ', $GLOBALS['cfg']['MainGroupHeader'], //#ddd
1391 _M, 'margin-bottom:', _2, '4px',