Update for 3.4.
[phpmyadmin-themes.git] / emphasis / css / theme_right.css.php
blob9590d6695896ca741606e7c8ffdd2a352ccea707
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * main css file from theme Emphasis
6 * @version $Id$
7 * @package phpMyAdmin-theme
8 * @subpackage Emphasis
9 */
11 // unplanned execution path
12 if (!defined('PMA_MINIMUM_COMMON')) {
13 exit();
16 /*****************************************************************************/
17 /* general tags */
18 html {
19 font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : (
20 isset($_COOKIE['pma_fontsize']) ? $_COOKIE['pma_fontsize'] : '82%'));?>;
23 body {
24 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
25 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
26 <?php } ?>
27 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?> url('<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>background.png') 0% 0% repeat-x;
28 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
29 margin: 0.5em;
30 padding: 0;
33 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
34 textarea, tt, pre, code {
35 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
37 <?php } ?>
39 textarea {
40 overflow: visible;
41 height: <?php echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?>em;
44 select,
45 option,
46 input,
47 textarea {
48 font-size: 1em;
49 border: 1px solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
50 border-radius: 0.3em;
51 -moz-border-radius: 0.3em;
52 color: #082E58;
53 background-color: #FFF;
56 img,
57 input,
58 select,
59 button {
60 vertical-align: middle;
63 label {
64 color: #FFF;
67 h1 {
68 font-size: 140%;
69 font-weight: bold;
72 h2 {
73 font-size: 120%;
74 font-weight: bold;
77 h3 {
78 font-weight: bold;
81 a:link,
82 a:visited,
83 a:active {
84 text-decoration: none;
85 color: #909090;
86 cursor: pointer;
89 a:hover {
90 text-decoration: none;
91 color: #FFFFFF;
94 a img {
95 border: 0;
98 dfn {
99 font-style: normal;
102 dfn:hover {
103 font-style: normal;
104 cursor: help;
107 hr {
108 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
109 background-color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
110 border: 0;
111 height: 1px;
114 form {
115 padding: 0;
116 margin: 0;
117 display: inline;
120 fieldset {
121 margin-top: 1em;
122 border: 1px solid <?php echo $GLOBALS['cfg']['ThBackground'] ?>;
123 padding: 0.5em;
124 background: <?php /*echo $GLOBALS['cfg']['BgOne']; */?>#183E68;
127 fieldset fieldset {
128 margin: 0.8em;
131 fieldset legend {
132 font-weight: bold;
133 color: #FFFFFF;
136 /* buttons in some browsers (eg. Konqueror) are block elements, this breaks design */
137 button {
138 display: inline;
141 table {
142 border-collapse: collapse;
143 margin: 2px;
146 th {
147 font-weight: bold;
148 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
149 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
152 table.data a {
153 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
156 table caption,
157 table th,
158 table td {
159 padding: 0.1em 0.5em 0.1em 0.5em;
160 margin: 0.1em 0;
161 vertical-align: top;
162 border: 1px solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
165 table.data thead a:hover {
166 color: #FFF;
169 table.data tbody a:hover {
170 color: #000;
173 table#tableprocesslist,
174 table#tablestructure,
175 table#tablespecificuserrights {
176 margin-top: 10px;
179 table.formlayout {
180 color: #FFF;
183 /******************************************************************************/
184 /* classes */
185 div.tools {
186 border: 1px solid #000000;
187 padding: 0.2em;
190 div.tools,
191 fieldset.tblFooters {
192 margin-top: 0;
193 margin-bottom: 0.5em;
194 /* avoid a thick line since this should be used under another fieldset */
195 border: 1px solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
196 text-align: <?php echo $right; ?>;
197 float: none;
198 clear: both;
199 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
200 color: #082E58;
203 fieldset.tblFooters input,
204 th.tblFooters input {
205 border: 1px solid #082E58;
208 fieldset .formelement {
209 float: <?php echo $left; ?>;
210 margin-right: 0.5em;
211 /* IE */
212 white-space: nowrap;
215 /* revert for Gecko */
216 fieldset div[class=formelement] {
217 white-space: normal;
220 button.mult_submit {
221 border: none;
222 background-color: transparent;
223 color: #909090;
224 cursor: pointer;
227 button.mult_submit:hover {
228 color: #FFF;
231 /* odd items 1,3,5,7,... */
232 table tr.odd th,
233 .odd {
234 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
235 color: #082e58;
238 /* even items 2,4,6,8,... */
239 table tr.even th,
240 .even {
241 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
242 color: #082e58;
245 /* odd table rows 1,3,5,7,... */
246 table tr.odd th,
247 table tr.odd,
248 table tr.even th,
249 table tr.even {
250 text-align: <?php echo $left; ?>;
253 .odd label,
254 .odd a,
255 .even label,
256 .even a {
257 color: #082E58;
260 .odd a:hover,
261 .even a:hover {
262 color: #486E98;
266 <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
267 /* marked table rows */
268 td.marked,
269 table tr.marked th,
270 table tr.marked {
271 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
272 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
274 <?php } ?>
276 <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
277 /* hovered items */
278 .odd:hover,
279 .even:hover,
280 .hover,
281 .structure_actions_dropdown {
282 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
283 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
286 /* hovered table rows */
287 table tr.odd:hover th,
288 table tr.even:hover th,
289 table tr.hover th {
290 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
291 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
293 <?php } ?>
296 * marks table rows/cells if the db field is in a where condition
298 tr.condition th,
299 tr.condition td,
300 td.condition,
301 th.condition {
302 border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
305 table .value {
306 text-align: <?php echo $right; ?>;
307 white-space: normal;
309 /* IE doesnt handles 'pre' right */
310 table [class=value] {
311 white-space: normal;
315 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
316 .value {
317 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
319 <?php } ?>
320 .value .attention {
321 color: red;
322 font-weight: bold;
324 .value .allfine {
325 color: green;
328 img.lightbulb {
329 cursor: pointer;
332 .pdflayout {
333 overflow: hidden;
334 clip: inherit;
335 background-color: #FFFFFF;
336 display: none;
337 border: 1px solid #000000;
338 position: relative;
341 .pdflayout_table {
342 background: #D3DCE3;
343 color: #000000;
344 overflow: hidden;
345 clip: inherit;
346 z-index: 2;
347 display: inline;
348 visibility: inherit;
349 cursor: move;
350 position: absolute;
351 font-size: 80%;
352 border: 1px dashed #000000;
355 /* MySQL Parser */
356 .syntax {
357 font-size: 95%;
360 .syntax a {
361 text-decoration: none;
362 border-bottom: px dotted black;
365 .syntax_comment {
366 padding-left: 4pt;
367 padding-right: 4pt;
370 .syntax_alpha_columnType,
371 .syntax_alpha_columnAttrib,
372 .syntax_alpha_functionName {
373 text-transform: uppercase;
376 .syntax_alpha_reservedWord {
377 text-transform: uppercase;
378 font-weight: bold;
381 .syntax_quote {
382 white-space: pre;
385 /* leave some space between icons and text */
386 .icon, img.footnotemarker {
387 vertical-align: middle;
388 margin-right: 0.3em;
389 margin-left: 0.3em;
392 img.footnotemarker {
393 display: none;
396 /* no extra space in table cells */
397 td .icon {
398 margin: 0;
401 .selectallarrow {
402 margin-<?php echo $right; ?>: 0.3em;
403 margin-<?php echo $left; ?>: 0.6em;
406 /* message boxes: warning, error, confirmation */
407 .success h1,
408 .notice h1,
409 .warning h1,
410 div.error h1 {
411 border-bottom: 2px solid;
412 font-weight: bold;
413 text-align: <?php echo $left; ?>;
414 margin: 0 0 0.2em 0;
417 div.success,
418 div.notice,
419 div.warning,
420 div.error,
421 div.footnotes {
422 margin: 0.3em 0 0 0;
423 border: 2px solid;
424 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
425 background-repeat: no-repeat;
426 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
427 background-position: 10px 50%;
428 padding: 0.1em 0.1em 0.1em 36px;
429 <?php } else { ?>
430 background-position: 99% 50%;
431 padding: 10px 5% 10px 10px;
432 <?php } ?>
433 <?php } else { ?>
434 padding: 0.3em;
435 <?php } ?>
438 div.notice a:hover {
439 color: #082E58;
442 .success {
443 color: #000000;
444 background-color: #f0fff0;
446 h1.success,
447 div.success {
448 border-color: #409064;
449 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
450 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_success.png);
451 background-repeat: no-repeat;
452 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
453 background-position: 5px 50%;
454 padding: 0.2em 0.2em 0.2em 25px;
455 <?php } else { ?>
456 background-position: 97% 50%;
457 padding: 0.2em 25px 0.2em 0.2em;
458 <?php } ?>
459 <?php } ?>
461 .success h1 {
462 border-color: #00FF00;
465 .notice, .footnotes {
466 color: #000000;
467 background-color: #FFFFDD;
469 h1.notice,
470 div.notice,
471 div.footnotes {
472 border-color: #FFD700;
473 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
474 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png);
475 background-repeat: no-repeat;
476 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
477 background-position: 5px 50%;
478 padding: 0.2em 0.2em 0.2em 25px;
479 <?php } else { ?>
480 background-position: 97% 50%;
481 padding: 0.2em 25px 0.2em 0.2em;
482 <?php } ?>
483 <?php } ?>
485 .notice h1 {
486 border-color: #FFD700;
489 .warning {
490 color: #903050;
491 background-color: #FFE0F0;
493 p.warning,
494 h1.warning,
495 div.warning {
496 border-color: #903050;
497 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
498 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
499 background-repeat: no-repeat;
500 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
501 background-position: 5px 50%;
502 padding: 0.2em 0.2em 0.2em 25px;
503 <?php } else { ?>
504 background-position: 97% 50%;
505 padding: 0.2em 25px 0.2em 0.2em;
506 <?php } ?>
507 <?php } ?>
509 .warning h1 {
510 border-color: #cc0000;
513 .error {
514 background-color: /#903050;
515 color: #FFE0F0;
518 h1.error,
519 div.error {
520 border-color: #904064;
521 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
522 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png);
523 background-repeat: no-repeat;
524 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
525 background-position: 5px 50%;
526 padding: 0.2em 0.2em 0.2em 25px;
527 <?php } else { ?>
528 background-position: 97% 50%;
529 padding: 0.2em 25px 0.2em 0.2em;
530 <?php } ?>
531 <?php } ?>
533 div.error h1 {
534 border-color: #904064;
537 .confirmation {
538 background-color: #FFFFCC;
540 fieldset.confirmation {
541 border: 0.1em solid #904064;
543 fieldset.confirmation legend {
544 border-left: 0.1em solid #904064;
545 border-right: 0.1em solid #904064;
546 font-weight: bold;
547 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
548 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_really.png);
549 background-repeat: no-repeat;
550 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
551 background-position: 5px 50%;
552 padding: 0.2em 0.2em 0.2em 25px;
553 <?php } else { ?>
554 background-position: 97% 50%;
555 padding: 0.2em 25px 0.2em 0.2em;
556 <?php } ?>
557 <?php } ?>
559 /* end messageboxes */
561 .tblcomment {
562 font-size: 70%;
563 font-weight: normal;
564 color: #000099;
567 .tblHeaders {
568 font-weight: bold;
569 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
570 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
573 div.tools,
574 .tblFooters {
575 font-weight: normal;
576 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
577 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
580 .tblHeaders a:link,
581 .tblHeaders a:active,
582 .tblHeaders a:visited,
583 div.tools a:link,
584 div.tools a:visited,
585 div.tools a:active,
586 .tblFooters a:link,
587 .tblFooters a:active,
588 .tblFooters a:visited {
589 color: #082E58;
592 .tblHeaders a:hover,
593 div.tools a:hover,
594 .tblFooters a:hover {
595 color: #903050;
598 /* forbidden, no privilegs */
599 .noPrivileges {
600 color: #903050;
601 font-weight: bold;
604 /* disabled text */
605 .disabled,
606 .disabled a:link,
607 .disabled a:active,
608 .disabled a:visited {
609 color: #666666;
612 .disabled a:hover {
613 color: #666666;
614 text-decoration: none;
617 tr.disabled td,
618 td.disabled {
619 background-color: #cccccc;
622 .nowrap {
623 white-space: nowrap;
627 * login form
629 body.loginform h1,
630 body.loginform a.logo {
631 display: block;
632 text-align: center;
635 body.loginform {
636 text-align: center;
639 body.loginform div.container {
640 text-align: <?php echo $left; ?>;
641 width: 30em;
642 margin: 0 auto;
645 form.login label {
646 float: <?php echo $left; ?>;
647 width: 10em;
648 font-weight: bolder;
651 .commented_column {
652 border-bottom: 1px dashed black;
655 .column_attribute {
656 font-size: 70%;
659 /******************************************************************************/
660 /* specific elements */
662 /* topmenu */
663 ul#topmenu,
664 ul.tabs {
665 font-weight: bold;
666 list-style-type: none;
667 margin: 0;
668 padding: 0;
671 ul#topmenu2 {
672 font-weight: bold;
673 list-style-type: none;
674 padding: 0;
675 margin: 0.25em 0 0;
676 height: 2em;
677 clear: both;
680 ul#topmenu li,
681 ul#topmenu2 li {
682 float: <?php echo $left; ?>;
683 margin: 0;
684 padding: 0;
685 vertical-align: middle;
688 #topmenu img,
689 #topmenu2 img {
690 vertical-align: middle;
691 margin-right: 0.1em;
694 /* default tab styles */
695 ul#topmenu a,
696 ul#topmenu span {
697 display: block;
698 margin: 2px 2px 0;
699 padding: 2px;
700 white-space: nowrap;
701 color: #204670;
704 ul#topmenu ul a {
705 margin: 2px;
706 padding-bottom: 2px;
709 ul#topmenu .submenu {
710 position: relative;
711 display: none;
713 ul#topmenu .shown {
714 display: block;
717 ul#topmenu ul {
718 margin: 0;
719 padding: 0;
720 position: absolute;
721 right: 0;
722 list-style-type: none;
723 display: none;
726 ul#topmenu li:hover ul,
727 ul#topmenu .submenuhover ul {
728 display: block;
731 ul#topmenu ul li {
732 width: 100%;
735 ul#topmenu2 a {
736 display: block;
737 margin: 0.1em;
738 padding: 0.2em;
739 white-space: nowrap;
740 border-width: 1pt 1pt 0 1pt;
741 -moz-border-radius: 0.4em;
742 border-radius: 0.4em;*/
745 /* disabled tabs */
746 ul#topmenu span.tab {
747 color: #666666;
750 /* disabled drop/empty tabs */
751 ul#topmenu span.tabcaution {
752 color: #ff6666;
755 /* enabled drop/empty tabs */
756 ul#topmenu a.tabcaution {
757 color: #903050;
759 ul#topmenu a.tabcaution:hover {
760 color: #FFFFFF;
761 background-color: #904064;
764 fieldset.caution li {
765 list-style-type: none;
768 fieldset.caution a {
769 color: #903050;
771 fieldset.caution a:hover {
772 color: #ffffff;
773 background-color: #903050;
776 <?php if ($GLOBALS['cfg']['LightTabs']) { ?>
777 /* active tab */
778 ul#topmenu a.tabactive,
779 ul#topmenu2 a.tabactive {
780 color: #905070;
783 ul#topmenu a {
784 color: #909090;
787 ul#topmenu a:hover,
788 ul#topmenu2 a:hover {
789 color: #FFF;
792 ul#topmenu ul {
793 background: #183e68;
795 <?php } else { ?>
796 #topmenu {
797 margin-top: 0.5em;
798 padding: 0.1em 0.3em 0.1em 0.3em;
801 /* default tab styles */
802 ul#topmenu a,
803 ul#topmenu span {
804 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
805 border-width: 1pt 1pt 0 1pt;
806 -moz-border-radius: 0.4em 0.4em 0 0;
807 border-radius: 0.4em 0.4em 0 0;
810 ul#topmenu ul a {
811 border: 1px solid #082E58;
812 -moz-border-radius: 0.4em;
813 border-radius: 0.4em;
816 /* enabled hover/active tabs */
817 ul#topmenu a.tab:hover {
818 color: #FFFFFF;
821 ul#topmenu .tabactive {
822 color: #903050;
825 /*vkk*/
826 ul#topmenu2 a {
827 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
828 border-width: 1pt 1pt 0 1pt;
829 -moz-border-radius: 0.4em;
830 border-radius: 0.4em;
833 ul#topmenu2 a.tabactive {
834 color: #905070;
835 -moz-border-radius: 0.3em;
836 border-radius: 0.3em;
837 text-decoration: none;
840 ul#topmenu2 a.tab:hover,
841 ul#topmenu2 a.tabactive:hover {
842 color: #FFF;
845 /* disabled drop/empty tabs */
846 ul#topmenu span.tab,
847 a.warning,
848 ul#topmenu span.tabcaution {
849 cursor: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>error.ico), default;
851 <?php } ?>
852 /* end topmenu */
854 /* Calendar */
855 table.calendar {
856 width: 100%;
858 table.calendar td {
859 text-align: center;
861 table.calendar td a {
862 display: block;
865 table.calendar td a:hover {
866 background-color: #CCFFCC;
869 table.calendar th {
870 background-color: #D3DCE3;
873 table.calendar td.selected {
874 background-color: #FFCC99;
877 img.calendar {
878 border: none;
880 form.clock {
881 text-align: center;
883 /* end Calendar */
885 /* table stats */
886 div#tablestatistics {
887 border-bottom: 0.1em solid #669999;
888 margin-bottom: 0.5em;
889 padding-bottom: 0.5em;
892 div#tablestatistics table {
893 float: <?php echo $left; ?>;
894 margin-bottom: 0.5em;
895 margin-left: 0.5em;
898 div#tablestatistics table caption {
899 margin-left: 0.5em;
901 /* END table stats */
903 /* server privileges */
904 table#tableuserrights {
905 margin-top: 10px;
908 #tableuserrights td,
909 #tablespecificuserrights td,
910 #tabledatabases td {
911 vertical-align: middle;
914 #tabledatabases thead tr th a {
915 color: #204670;
918 #tabledatabases thead a:hover {
919 color: #FFFFFF;
922 #tabledatabases tbody a {
923 color: #000000;
926 /* END server privileges */
928 /* Heading */
929 #serverinfo {
930 font-weight: bold;
931 margin-bottom: 0.5em;
934 #serverinfo .item {
935 white-space: nowrap;
936 color: #909090;
939 #serverinfo .item:hover {
940 color: #FFFFFF;
943 #span_table_comment {
944 font-weight: normal;
945 font-style: italic;
946 white-space: nowrap;
949 #serverinfo img {
950 margin: 0 0.1em 0 0.2em;
953 #textSQLDUMP {
954 width: 95%;
955 height: 95%;
956 font-family: "Courier New", Courier, mono;
957 font-size: 110%;
960 #TooltipContainer {
961 position: absolute;
962 z-index: 99;
963 width: 20em;
964 height: auto;
965 overflow: visible;
966 visibility: hidden;
967 background-color: #ffffcc;
968 color: #006600;
969 border: 0.1em solid #000000;
970 padding: 0.5em;
973 /* user privileges */
974 #fieldset_add_user_login div.item {
975 padding-bottom: 0.3em;
976 margin-bottom: 0.3em;
979 #fieldset_add_user_login label {
980 float: <?php echo $left; ?>;
981 display: block;
982 width: 10em;
983 max-width: 100%;
984 text-align: <?php echo $right; ?>;
985 padding-right: 0.5em;
988 #fieldset_add_user_login span.options #select_pred_username,
989 #fieldset_add_user_login span.options #select_pred_hostname,
990 #fieldset_add_user_login span.options #select_pred_password {
991 width: 100%;
992 max-width: 100%;
995 #fieldset_add_user_login span.options {
996 float: <?php echo $left; ?>;
997 display: block;
998 width: 12em;
999 max-width: 100%;
1000 padding-right: 0.5em;
1003 #fieldset_add_user_login input {
1004 width: 12em;
1005 clear: <?php echo $right; ?>;
1006 max-width: 100%;
1009 #fieldset_add_user_login span.options input {
1010 width: auto;
1013 #fieldset_user_priv div.item {
1014 float: <?php echo $left; ?>;
1015 width: 9em;
1016 max-width: 100%;
1019 #fieldset_user_priv div.item div.item {
1020 float: none;
1023 #fieldset_user_priv div.item label {
1024 white-space: nowrap;
1027 #fieldset_user_priv div.item select {
1028 width: 100%;
1031 #fieldset_user_global_rights fieldset {
1032 float: <?php echo $left; ?>;
1035 /* END user privileges */
1037 /* serverstatus */
1038 div#serverstatus table caption a.top {
1039 float: <?php echo $right; ?>;
1042 div#serverstatus div#serverstatusqueriesdetails table,
1043 div#serverstatus table#serverstatustraffic,
1044 div#serverstatus table#serverstatusconnections {
1045 float: <?php echo $left; ?>;
1046 margin-bottom: 5px;
1049 #serverstatussection,
1050 .clearfloat {
1051 clear: both;
1054 div#serverstatussection table {
1055 width: 100%;
1056 margin-bottom: 1em;
1058 div#serverstatussection table .name {
1059 width: 18em;
1061 div#serverstatussection table .value {
1062 width: 6em;
1065 div#serverstatus table tbody td.descr a,
1066 div#serverstatus table .tblFooters a {
1067 white-space: nowrap;
1069 div#serverstatus div#statuslinks a:before,
1070 div#serverstatus div#sectionlinks a:before,
1071 div#serverstatus table tbody td.descr a:before,
1072 div#serverstatus table .tblFooters a:before {
1073 content: '[';
1075 div#serverstatus div#statuslinks a:after,
1076 div#serverstatus div#sectionlinks a:after,
1077 div#serverstatus table tbody td.descr a:after,
1078 div#serverstatus table .tblFooters a:after {
1079 content: ']';
1081 /* end serverstatus */
1083 /* querywindow */
1084 body#bodyquerywindow {
1085 margin: 0;
1086 padding: 0;
1087 background-image: none;
1088 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
1091 div#querywindowcontainer {
1092 margin: 0;
1093 padding: 0;
1094 width: 100%;
1097 div#querywindowcontainer fieldset {
1098 margin-top: 0;
1100 /* END querywindow */
1102 /* querybox */
1104 div#sqlquerycontainer {
1105 float: <?php echo $left; ?>;
1108 div#tablefieldscontainer {
1109 float: <?php echo $right; ?>;
1110 width: 29%;
1113 div#tablefieldscontainer select {
1114 width: 100%;
1117 textarea#sqlquery {
1118 width: 100%;
1120 textarea#sql_query_edit{
1121 height: 7em;
1122 width: 95%;
1123 display: block;
1126 div#queryboxcontainer div#bookmarkoptions {
1127 margin-top: 0.5em;
1130 /* end querybox */
1132 /* main page */
1133 #maincontainer {
1134 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
1135 background-position: <?php echo $right; ?> bottom;
1136 background-repeat: no-repeat;
1137 padding: 8px 2px;
1140 #maincontainer h2 {
1141 color: #204670;
1144 #maincontainer a {
1145 color: #909090;
1148 #maincontainer a:hover {
1149 color: #FFFFFF;
1152 #mysqlmaininformation,
1153 #pmamaininformation {
1154 float: <?php echo $left; ?>;
1155 width: 49%;
1158 #maincontainer ul {
1159 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>item_<?php echo $GLOBALS['text_dir']; ?>.png);
1160 vertical-align: middle;
1163 #maincontainer li {
1164 margin-bottom: 0.3em;
1167 /* END main page */
1169 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
1170 /* iconic view for ul items */
1171 li#li_create_database {
1172 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
1175 li#li_select_lang {
1176 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
1179 li#li_select_mysql_collation,
1180 li#li_select_mysql_charset {
1181 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1184 li#li_select_theme{
1185 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
1188 li#li_server_info,
1189 li#li_server_version{
1190 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1193 li#li_mysql_privilegs,
1194 li#li_user_info{
1195 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
1198 li#li_mysql_status{
1199 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
1202 li#li_mysql_variables{
1203 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
1206 li#li_mysql_processes{
1207 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
1210 li#li_mysql_collations{
1211 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1214 li#li_mysql_engines{
1215 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
1218 li#li_mysql_binlogs {
1219 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
1222 li#li_mysql_databases {
1223 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
1226 li#li_export {
1227 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
1230 li#li_import {
1231 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
1234 li#li_change_password {
1235 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
1238 li#li_log_out {
1239 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
1242 li#li_pma_docs,
1243 li#li_pma_wiki {
1244 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_docs.png);
1247 li#li_phpinfo {
1248 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>php_sym.png);
1251 li#li_pma_homepage {
1252 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_home.png);
1255 li#li_switch_dbstats {
1256 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
1259 li#li_flush_privileges {
1260 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
1263 li#li_user_preferences {
1264 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_tblops.png);
1267 /* END iconic view for ul items */
1268 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
1271 #body_browse_foreigners {
1272 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1273 margin: 0.5em 0.5em 0 0.5em;
1276 #bodyquerywindow {
1277 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1280 #bodythemes {
1281 width: 500px;
1282 margin: auto;
1283 text-align: center;
1286 #bodythemes img {
1287 border: 0.1em solid black;
1290 #bodythemes a:hover img {
1291 border: 0.1em solid red;
1294 #fieldset_select_fields {
1295 float: <?php echo $left; ?>;
1298 #selflink {
1299 clear: both;
1300 display: block;
1301 margin-top: 1em;
1302 margin-bottom: 1em;
1303 padding-top: 5px;
1304 width: 100%;
1305 border-top: 0.1em solid silver;
1306 text-align: <?php echo $right; ?>;
1309 #selflink a{
1310 color: #909090;
1313 #selflink a:hover {
1314 color: #FFFFFF;
1317 #table_innodb_bufferpool_usage,
1318 #table_innodb_bufferpool_activity,
1319 #div_mysql_charset_collations table,
1320 #qbe_div_table_list,
1321 #qbe_div_sql_query {
1322 float: <?php echo $left; ?>;
1325 #div_table_order,
1326 #div_table_rename,
1327 #div_table_copy,
1328 #div_partition_maintenance,
1329 #div_referential_integrity,
1330 #div_table_removal,
1331 #div_table_maintenance {
1332 min-width: 48%;
1333 float: <?php echo $left; ?>;
1336 #div_table_options {
1337 clear: both;
1338 min-width: 48%;
1339 float: <?php echo $left; ?>;
1342 label.desc {
1343 width: 30em;
1344 float: <?php echo $left; ?>;
1347 label.desc sup {
1348 position: absolute;
1351 code.sql,
1352 div.sqlvalidate {
1353 display: block;
1354 padding: 0.3em;
1355 margin-top: 0;
1356 margin-bottom: 0;
1357 border-width: 0;
1358 max-height: 10em;
1359 overflow: auto;
1360 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1363 #main_pane_left {
1364 width: 50%;
1365 float: <?php echo $left; ?>;
1368 #main_pane_right {
1369 margin-left: 50%;
1370 margin-right: 1px;
1371 margin-bottom: 4px;
1372 padding: 0;
1373 padding-left: 1em;
1376 .group {
1377 border-left: 1px solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1378 border-top: 1px solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1379 border-top-left-radius: 0.4em;
1380 -moz-border-radius-topleft: 0.4em;
1381 margin: 0 0 10px 0;
1384 .group h2 {
1385 background-color: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1386 padding: 0.1em 0.3em;
1387 margin-top: 0;
1390 .group-cnt {
1391 padding: 0 0 0 0.5em;
1392 display: inline-block;
1393 width: 98%;
1396 textarea#partitiondefinition {
1397 height: 3em;
1400 /* for elements that should be revealed only via js */
1401 .hide {
1402 display: none;
1405 #li_select_server {
1406 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1407 padding-bottom: 0.3em;
1408 border-bottom: 0.3em solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1409 margin-bottom: 0.3em;
1412 #list_server {
1413 list-style-image: none;
1417 * Progress bar styles
1419 div.upload_progress_bar_outer {
1420 border: 1px solid black;
1421 width: 202px;
1424 div.upload_progress_bar_inner {
1425 background-color: <?php echo (isset($_SESSION['userconf']['custom_color']) ? $_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
1426 width: 0px;
1427 height: 12px;
1428 margin: 1px;
1431 table#serverconnection_src_remote,
1432 table#serverconnection_trg_remote,
1433 table#serverconnection_src_local,
1434 table#serverconnection_trg_local {
1435 float: left;
1438 * Validation error message styles
1440 .invalid_value {
1441 background: #F00;
1445 * Ajax notification styling
1447 .ajax_notification {
1448 top: 0px; /** The notification needs to be shown on the top of the page */
1449 position: fixed;
1450 margin-top: 0;
1451 margin-right: auto;
1452 margin-bottom: 0;
1453 margin-left: auto;
1454 padding: 3px 5px; /** Keep a little space on the sides of the text */
1455 min-width: 70px;
1456 max-width: 350px; /** This value might have to be changed */
1457 background-color: #FFFFDD;
1458 border: 1px solid #FFD700;
1459 color: #000;
1460 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1461 text-align: center;
1462 display: block;
1463 left: 0;
1464 right: 0;
1465 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif);
1466 background-repeat: no-repeat;
1467 background-position: 2%;
1470 #loading_parent {
1471 /** Need this parent to properly center the notification division */
1472 position: relative;
1473 width: 100%;
1477 * Export and Import styles
1480 .exportoptions h3,
1481 .importoptions h3 {
1482 border-bottom: 1px #999999 solid;
1483 font-size: 110%;
1486 .exportoptions ul,
1487 .importoptions ul,
1488 .format_specific_options ul {
1489 list-style-type: none;
1490 margin-bottom: 15px;
1493 .exportoptions li,
1494 .importoptions li {
1495 margin: 7px;
1498 .exportoptions label,
1499 .importoptions label,
1500 .exportoptions p,
1501 .importoptions p {
1502 margin: 5px;
1503 float: none;
1506 #csv_options label.desc,
1507 #ldi_options label.desc,
1508 #latex_options label.desc,
1509 #output label.desc{
1510 float: left;
1511 width: 15em;
1514 .exportoptions,
1515 .importoptions {
1516 margin: 20px 30px 30px 10px
1519 .exportoptions #buttonGo,
1520 .importoptions #buttonGo {
1521 padding: 5px 30px;
1522 -moz-border-radius: 11px;
1523 -webkit-border-radius: 11px;
1524 border-radius: 11px;
1525 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
1526 background: -moz-linear-gradient(top, #ffffff, #cccccc);
1527 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
1528 border: 1px solid #444444;
1529 cursor: pointer;
1532 .format_specific_options h3 {
1533 margin: 10px 0px 0px 10px;
1534 border: 0px;
1537 .format_specific_options {
1538 border: 1px solid #999999;
1539 margin: 7px 0px;
1540 padding: 3px;
1543 p.desc {
1544 margin: 5px;
1548 * Export styles only
1551 select#db_select,
1552 select#table_select {
1553 width: 400px;
1556 .export_sub_options {
1557 margin: 20px 0px 0px 30px;
1560 .export_sub_options h4 {
1561 border-bottom: 1px #999999 solid;
1564 .export_sub_options li.subgroup {
1565 display: inline-block;
1566 margin-top: 0;
1569 .export_sub_options li {
1570 margin-bottom: 0;
1573 #quick_or_custom,
1574 #output_quick_export {
1575 display: none;
1579 * Import styles only
1582 .importoptions #import_notification {
1583 margin: 10px 0px;
1584 font-style: italic;
1587 input#input_import_file {
1588 margin: 5px;
1591 .formelementrow {
1592 margin: 5px 0px 5px 0px;
1596 * ENUM/SET editor styles
1598 p.enum_notice {
1599 margin: 5px 2px;
1600 font-size: 80%;
1603 #enum_editor {
1604 display: none;
1605 position: fixed;
1606 _position: absolute; /* hack for IE */
1607 z-index: 101;
1608 overflow-y: auto;
1609 overflow-x: hidden;
1612 #enum_editor_no_js {
1613 margin: auto auto;
1616 #enum_editor,
1617 #enum_editor_no_js {
1618 background: #D0DCE0;
1619 padding: 15px;
1622 #popup_background {
1623 display: none;
1624 position: fixed;
1625 _position: absolute; /* hack for IE6 */
1626 width: 100%;
1627 height: 100%;
1628 top: 0;
1629 left: 0;
1630 background: #000;
1631 z-index: 100;
1632 verflow: hidden;
1635 a.close_enum_editor {
1636 float: right;
1639 #enum_editor #values,
1640 #enum_editor_no_js #values {
1641 margin: 15px 0px;
1642 width: 100%;
1645 #enum_editor #values input,
1646 #enum_editor_no_js #values input {
1647 margin: 5px 0px;
1648 float: top;
1649 width: 100%;
1652 #enum_editor_output {
1653 margin-top: 50px;
1657 * Table structure styles
1659 .structure_actions_dropdown {
1660 position: absolute;
1661 padding: 3px;
1662 display: none;
1663 z-index: 100;
1666 .structure_actions_dropdown a {
1667 display: block;
1670 td.more_opts {
1671 display: none;
1672 white-space: nowrap;
1675 iframe.IE_hack {
1676 z-index: 1;
1677 position: absolute;
1678 display: none;
1679 border: 0;
1680 filter: alpha(opacity=0);
1683 /* config forms */
1684 .config-form ul.tabs {
1685 margin: 1.1em 0.2em 0;
1686 padding: 0 0 0.3em 0;
1687 list-style: none;
1688 font-weight: bold;
1691 .config-form ul.tabs li {
1692 float: <?php echo $left; ?>;
1695 .config-form ul.tabs li a {
1696 display: block;
1697 margin: 0.1em 0.2em 0;
1698 padding: 0.1em 0.4em;
1699 white-space: nowrap;
1700 text-decoration: none;
1701 border: 1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1702 border-bottom: none;
1703 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
1704 -moz-border-radius: 0.4em 0.4em 0 0;
1705 border-radius: 0.4em 0.4em 0 0;
1708 .config-form ul.tabs li a:hover,
1709 .config-form ul.tabs li a.active {
1710 color: #905070;
1713 .config-form ul.tabs li a:hover {
1714 color: #FFF;
1717 .config-form fieldset {
1718 margin-top: 0;
1719 padding: 0;
1720 clear: both;
1723 .config-form legend {
1724 display: none;
1727 .config-form fieldset p {
1728 margin: 0;
1729 padding: 0.5em;
1732 .config-form fieldset .errors {
1733 /* form error list */
1734 margin: 0 -2px 1em -2px;
1735 padding: 0.5em 1.5em;
1736 background: #FBEAD9;
1737 border: 0 #C83838 solid;
1738 border-width: 1px 0;
1739 list-style: none;
1740 font-family: sans-serif;
1741 font-size: small;
1744 .config-form fieldset .inline_errors {
1745 /* field error list */
1746 margin: 0.3em 0.3em 0.3em 0;
1747 padding: 0;
1748 list-style: none;
1749 color: #9A0000;
1750 font-size: small;
1753 .config-form fieldset th {
1754 padding: 0.3em 0.3em 0.3em 0.5em;
1755 text-align: left;
1756 vertical-align: top;
1757 width: 40%;
1758 background: transparent;
1761 .config-form fieldset .doc,
1762 .config-form fieldset .disabled-notice {
1763 margin-left: 1em;
1766 .config-form fieldset .disabled-notice {
1767 font-size: 80%;
1768 text-transform: uppercase;
1769 color: #E00;
1770 cursor: help;
1773 .config-form fieldset td {
1774 padding-top: 0.3em;
1775 padding-bottom: 0.3em;
1776 vertical-align: top;
1779 .config-form fieldset th small {
1780 display: block;
1781 font-weight: normal;
1782 font-family: sans-serif;
1783 font-size: x-small;
1784 color: #909090;
1787 .config-form fieldset th,
1788 .config-form fieldset td {
1789 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1792 fieldset .group-header th {
1793 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1796 fieldset .group-header + tr th {
1797 padding-top: 0.6em;
1800 fieldset .group-field-1 th,
1801 fieldset .group-header-2 th {
1802 padding-left: 1.5em;
1805 fieldset .group-field-2 th,
1806 fieldset .group-header-3 th {
1807 padding-left: 3em;
1810 fieldset .group-field-3 th {
1811 padding-left: 4.5em;
1814 fieldset .disabled-field th,
1815 fieldset .disabled-field th small,
1816 fieldset .disabled-field td {
1817 color: #666;
1818 background-color: #ddd;
1821 .config-form .lastrow {
1822 border-top: 1px #000 solid;
1825 .config-form .lastrow {
1826 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
1827 padding: 0.5em;
1828 text-align: center;
1831 .config-form .lastrow input {
1832 font-weight: bold;
1835 /* form elements */
1837 .config-form span.checkbox {
1838 padding: 2px;
1839 display: inline-block;
1842 .config-form span.checkbox.custom {
1843 padding: 1px;
1846 .config-form .field-error {
1847 border-color: #A11 !important;
1850 .config-form input[type="text"],
1851 .config-form select,
1852 .config-form textarea {
1853 border: 1px #A7A6AA solid;
1854 height: auto;
1857 .config-form input[type="text"]:focus,
1858 .config-form select:focus,
1859 .config-form textarea:focus {
1860 border: 1px #6676FF solid;
1861 background: #F7FBFF;
1864 .config-form .field-comment-mark {
1865 font-family: serif;
1866 color: #007;
1867 cursor: help;
1868 padding: 0 0.2em;
1869 font-weight: bold;
1870 font-style: italic;
1873 .config-form .field-comment-warning {
1874 color: #A00;
1877 /* error list */
1878 .config-form dd {
1879 margin-left: 0.5em;
1882 .config-form dd:before {
1883 content: "\25B8 ";
1886 .click-hide-message {
1887 cursor: pointer;
1890 .prefsmanage_opts {
1891 margin-left: 2em;
1894 #prefs_autoload {
1895 margin-bottom: 0.5em;
1898 #togglequerybox {
1899 font-weight: bold;
1900 color: #909090;
1901 cursor: pointer;
1904 #togglequerybox:hover,
1905 div.formelement
1907 color: #FFF;
1910 #initials_table {
1911 color: #082E58;