Make fieldsets look like other boxes.
[phpmyadmin-themes.git] / css / theme_right.css.php
blobf3b13bc512e17728e6dcbaee81361cfe984b9b9c
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * main css file from theme Original
6 * @package phpMyAdmin-theme
7 * @subpackage Original
8 */
10 // unplanned execution path
11 if (!defined('PMA_MINIMUM_COMMON')) {
12 exit();
15 /******************************************************************************/
16 /* general tags */
17 html {
18 font-size: <?php echo $GLOBALS['PMA_Config']->get('fontsize'); ?>;
21 input, select, textarea {
22 font-size: 1em;
25 body {
26 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
27 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
28 <?php } ?>
29 padding: 0;
30 margin: 0.5em;
31 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
32 background: <?php echo (isset($_SESSION['tmp_user_values']['custom_color']) ? $_SESSION['tmp_user_values']['custom_color'] : $GLOBALS['cfg']['MainBackground']); ?>;
35 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
36 textarea, tt, pre, code {
37 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
39 <?php } ?>
40 h1 {
41 font-size: 140%;
42 font-weight: bold;
45 h2 {
46 font-size: 120%;
47 font-weight: bold;
50 h3 {
51 font-weight: bold;
54 a, a:link,
55 a:visited,
56 a:active {
57 text-decoration: none;
58 color: #008;
59 cursor: pointer;
62 a:hover {
63 text-decoration: underline;
64 color: #008;
67 dfn {
68 font-style: normal;
71 dfn:hover {
72 font-style: normal;
73 cursor: help;
76 th {
77 font-weight: bold;
78 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
79 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
81 th a {
82 color: <?php echo $GLOBALS['cfg']['ThColor']; ?> !important;
85 a img {
86 border: 0;
89 hr {
90 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
91 background-color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
92 border: 0;
93 height: 1px;
96 form {
97 padding: 0;
98 margin: 0;
99 display: inline;
102 textarea {
103 overflow: visible;
104 height: <?php echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?>em;
107 fieldset {
108 margin-top: 1em;
109 border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 2px;
110 padding: 0.5em;
111 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
112 -moz-border-radius: 0.5em;
113 border-radius: 0.5em;
116 fieldset fieldset {
117 margin: 0.8em;
120 fieldset legend {
121 font-weight: bold;
122 color: #444444;
123 background-color: <?php echo 'OPERA' != PMA_USR_BROWSER_AGENT ? 'transparent' : $GLOBALS['cfg']['BgOne']; ?>;
126 /* buttons in some browsers (eg. Konqueror) are block elements,
127 this breaks design */
128 button {
129 display: inline;
132 table {
133 border-collapse:collapse;
134 margin: 0.2em;
137 table caption {
138 padding: 0.1em 0.5em 0.1em 0.5em;
141 table th,
142 table td {
143 padding: 0.1em 0.5em 0.1em 0.5em;
144 margin: 0.1em;
145 vertical-align: top;
146 border: 1px solid black;
149 table.navigation td, #actions_panel table td {
150 border: none;
153 img,
154 input,
155 select,
156 button {
157 vertical-align: middle;
161 /******************************************************************************/
162 /* classes */
163 div.tools,
164 fieldset.tblFooters {
165 margin: 0 1em 0 1em;
166 border: 2px solid #000;
167 border-top: none;
168 width: auto;
169 padding: 0.2em;
170 float: <?php echo $left; ?>;
171 clear: both;
172 -moz-border-radius: 0 0 0.5em 0.5em;
173 border-radius: 0 0 0.5em 0.5em;
176 fieldset .formelement {
177 float: <?php echo $left; ?>;
178 margin-<?php echo $right; ?>: 0.5em;
179 /* IE */
180 white-space: nowrap;
183 /* revert for Gecko */
184 fieldset div[class=formelement] {
185 white-space: normal;
188 button.mult_submit {
189 border: none;
190 background-color: transparent;
193 /* odd items 1,3,5,7,... */
194 table tr.odd th,
195 .odd {
196 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
199 /* even items 2,4,6,8,... */
200 table tr.even th,
201 .even {
202 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
204 tr.even th, tr.odd th, fieldset th {
205 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
208 /* odd table rows 1,3,5,7,... */
209 table tr.odd th,
210 table tr.odd,
211 table tr.even th,
212 table tr.even {
213 text-align: <?php echo $left; ?>;
216 <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
217 /* marked table rows */
218 td.marked,
219 table tr.marked th,
220 table tr.marked {
221 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
222 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
224 <?php } ?>
226 <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
227 /* hovered items */
228 .odd:hover,
229 .even:hover,
230 .hover,
231 .structure_actions_dropdown {
232 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
233 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
236 /* hovered table rows */
237 table tr.odd:hover th,
238 table tr.even:hover th,
239 table tr.hover th {
240 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
241 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
243 <?php } ?>
246 * marks table rows/cells if the db field is in a where condition
248 tr.condition th,
249 tr.condition td,
250 td.condition,
251 th.condition {
252 border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
255 table .value {
256 text-align: <?php echo $right; ?>;
257 white-space: normal;
259 /* IE doesnt handles 'pre' right */
260 table [class=value] {
261 white-space: normal;
265 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
266 .value {
267 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
269 <?php } ?>
270 .value .attention {
271 color: red;
272 font-weight: bold;
274 .value .allfine {
275 color: green;
279 img.lightbulb {
280 cursor: pointer;
283 .pdflayout {
284 overflow: hidden;
285 clip: inherit;
286 background-color: #FFFFFF;
287 display: none;
288 border: 1px solid #000000;
289 position: relative;
292 .pdflayout_table {
293 background: #D3DCE3;
294 color: #000000;
295 overflow: hidden;
296 clip: inherit;
297 z-index: 2;
298 display: inline;
299 visibility: inherit;
300 cursor: move;
301 position: absolute;
302 font-size: 80%;
303 border: 1px dashed #000000;
306 /* MySQL Parser */
307 .syntax {
308 font-size: 80%;
311 .syntax a {
312 text-decoration: none;
313 border-bottom:1px dotted black;
316 .syntax_comment {
317 padding-left: 4pt;
318 padding-right: 4pt;
321 .syntax_digit {
324 .syntax_digit_hex {
327 .syntax_digit_integer {
330 .syntax_digit_float {
333 .syntax_punct {
336 .syntax_alpha {
339 .syntax_alpha_columnType {
340 text-transform: uppercase;
343 .syntax_alpha_columnAttrib {
344 text-transform: uppercase;
347 .syntax_alpha_reservedWord {
348 text-transform: uppercase;
349 font-weight: bold;
352 .syntax_alpha_functionName {
353 text-transform: uppercase;
356 .syntax_alpha_identifier {
359 .syntax_alpha_charset {
362 .syntax_alpha_variable {
365 .syntax_quote {
366 white-space: pre;
369 .syntax_quote_backtick {
372 /* leave some space between icons and text */
373 .icon, img.footnotemarker {
374 vertical-align: middle;
375 margin-right: 0.3em;
376 margin-left: 0.3em;
379 img.footnotemarker {
380 display: none;
383 /* no extra space in table cells */
384 td .icon {
385 margin: 0;
388 .selectallarrow {
389 margin-<?php echo $right; ?>: 0.3em;
390 margin-<?php echo $left; ?>: 0.6em;
393 /* message boxes: warning, error, confirmation */
394 .success h1,
395 .notice h1,
396 .warning h1,
397 div.error h1 {
398 border-bottom: 2px solid;
399 font-weight: bold;
400 text-align: <?php echo $left; ?>;
401 margin: 0 0 0.2em 0;
404 div.success,
405 div.notice,
406 div.warning,
407 div.error,
408 div.footnotes {
409 margin: 0.3em 0 0 0;
410 border: 2px solid;
411 padding: 0.5em;
412 -moz-border-radius: 0.5em;
413 border-radius: 0.5em;
414 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
415 background-repeat: no-repeat;
416 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
417 background-position: 10px 50%;
418 padding-left: 36px;
419 <?php } else { ?>
420 background-position: 99% 50%;
421 padding-right: 36px;
422 <?php } ?>
423 <?php } ?>
426 .success {
427 color: #000000;
428 background-color: #f0fff0;
430 h1.success,
431 div.success {
432 border-color: #00FF00;
433 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
434 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_success.png);
435 <?php } ?>
437 .success h1 {
438 border-color: #00FF00;
441 .notice, .footnotes {
442 color: #000000;
443 background-color: #FFFFDD;
445 h1.notice,
446 div.notice,
447 div.footnotes {
448 border-color: #FFD700;
449 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
450 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png);
451 <?php } ?>
453 .notice h1 {
454 border-color: #FFD700;
457 .warning {
458 color: #CC0000;
459 background-color: #FFFFCC;
461 p.warning,
462 h1.warning,
463 div.warning {
464 border-color: #CC0000;
465 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
466 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
467 <?php } ?>
469 .warning h1 {
470 border-color: #cc0000;
473 .error {
474 background-color: #FFFFCC;
475 color: #ff0000;
478 h1.error,
479 div.error {
480 border-color: #ff0000;
481 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
482 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png);
483 <?php } ?>
485 div.error h1 {
486 border-color: #ff0000;
489 .confirmation {
490 background-color: #FFFFCC;
492 fieldset.confirmation {
493 border: 0.1em solid #FF0000;
495 fieldset.confirmation legend {
496 border-left: 0.1em solid #FF0000;
497 border-right: 0.1em solid #FF0000;
498 font-weight: bold;
499 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
500 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_really.png);
501 background-repeat: no-repeat;
502 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
503 background-position: 5px 50%;
504 padding: 0.2em 0.2em 0.2em 25px;
505 <?php } else { ?>
506 background-position: 97% 50%;
507 padding: 0.2em 25px 0.2em 0.2em;
508 <?php } ?>
509 <?php } ?>
511 /* end messageboxes */
514 .tblcomment {
515 font-size: 70%;
516 font-weight: normal;
517 color: #000099;
520 .tblHeaders {
521 font-weight: bold;
522 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
523 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
526 div.tools,
527 .tblFooters {
528 font-weight: normal;
529 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
530 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
532 div.tools a {
533 display: inline-block;
534 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
537 /* forbidden, no privilegs */
538 .noPrivileges {
539 color: #FF0000;
540 font-weight: bold;
543 /* disabled text */
544 .disabled,
545 .disabled a:link,
546 .disabled a:active,
547 .disabled a:visited {
548 color: #666666;
551 .disabled a:hover {
552 color: #666666;
553 text-decoration: none;
556 tr.disabled td,
557 td.disabled {
558 background-color: #cccccc;
561 .nowrap {
562 white-space: nowrap;
566 * login form
568 body.loginform h1,
569 body.loginform a.logo {
570 display: block;
571 text-align: center;
574 body.loginform {
575 text-align: center;
578 body.loginform div.container {
579 text-align: <?php echo $left; ?>;
580 width: 30em;
581 margin: 0 auto;
584 form.login label {
585 float: <?php echo $left; ?>;
586 width: 10em;
587 font-weight: bolder;
590 .commented_column {
591 border-bottom: 1px dashed black;
594 .column_attribute {
595 font-size: 70%;
598 /******************************************************************************/
599 /* specific elements */
601 /* topmenu */
602 ul#topmenu, ul#topmenu2, ul.tabs {
603 font-weight: bold;
604 list-style-type: none;
605 margin: 0;
606 padding: 0;
609 ul#topmenu2 {
610 margin: 0.25em 0.5em 0;
611 height: 2em;
612 clear: both;
615 ul#topmenu li, ul#topmenu2 li {
616 display: inline-block;
617 margin: 0;
618 padding: 0;
619 vertical-align: middle;
622 #topmenu img, #topmenu2 img {
623 vertical-align: middle;
624 margin-<?php echo $right; ?>: 0.1em;
627 /* default tab styles */
628 ul#topmenu a, ul#topmenu span {
629 display: inline-block;
630 margin: 0.2em 0.2em 0 0.2em;
631 padding: 0.2em 0.2em 0 0.2em;
632 white-space: nowrap;
635 ul#topmenu ul a {
636 margin: 0;
637 padding-bottom: 0.2em;
640 ul#topmenu .submenu {
641 position: relative;
644 ul#topmenu ul {
645 margin: 0;
646 padding: 0;
647 position: absolute;
648 right: 0;
649 list-style-type: none;
650 display: inline-block;
651 border: 1px #666 solid;
654 ul#topmenu li:hover ul, ul#topmenu .submenuhover ul {
655 display: inline-block;
658 ul#topmenu ul li {
659 width: 100%;
662 ul#topmenu2 a {
663 display: block;
664 margin: 0.1em;
665 padding: 0.2em;
666 white-space: nowrap;
669 /* disabled tabs */
670 ul#topmenu span.tab {
671 color: #666666;
674 /* disabled drop/empty tabs */
675 ul#topmenu span.tabcaution {
676 color: #ff6666;
679 /* enabled drop/empty tabs */
680 ul#topmenu a.tabcaution {
681 color: #FF0000;
683 ul#topmenu a.tabcaution:hover {
684 color: #FFFFFF;
685 background-color: #FF0000;
687 fieldset.caution a {
688 color: #FF0000;
690 fieldset.caution a:hover {
691 color: #ffffff;
692 background-color: #FF0000;
695 <?php if ($GLOBALS['cfg']['LightTabs']) { ?>
696 /* active tab */
697 ul#topmenu a.tabactive, ul#topmenu2 a.tabactive {
698 color: black;
701 ul#topmenu {
702 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
704 <?php } else { ?>
705 ul#topmenu {
706 margin-top: 0.5em;
707 padding: 0;
708 border-bottom: 1pt solid black;
711 /* default tab styles */
712 ul#topmenu a, ul#topmenu span {
713 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
714 border: 0 solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
715 border-width: 1pt 1pt 0 1pt;
716 -moz-border-radius: 0.4em 0.4em 0 0;
717 border-radius: 0.4em 0.4em 0 0;
720 ul#topmenu ul a {
721 border-width: 1pt 0 0 0;
722 -moz-border-radius: 0;
723 border-radius: 0;
726 ul#topmenu ul li:first-child a {
727 border-width: 0;
730 /* enabled hover/active tabs */
731 ul#topmenu > li > a:hover,
732 ul#topmenu > li > .tabactive {
733 margin: 0;
734 padding: 0.2em 0.4em 0.2em 0.4em;
735 text-decoration: none;
738 ul#topmenu ul a:hover,
739 ul#topmenu ul .tabactive {
740 text-decoration: none;
743 ul#topmenu a.tab:hover,
744 ul#topmenu .tabactive {
745 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
748 ul#topmenu2 a.tab:hover,
749 ul#topmenu2 a.tabactive {
750 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
751 -moz-border-radius: 0.3em;
752 border-radius: 0.3em;
753 text-decoration: none;
756 /* to be able to cancel the bottom border, use <li class="active"> */
757 ul#topmenu > li.active {
758 border-bottom: 1pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
761 /* disabled drop/empty tabs */
762 ul#topmenu span.tab,
763 a.warning,
764 ul#topmenu span.tabcaution {
765 cursor: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>error.ico), default;
767 <?php } ?>
768 /* end topmenu */
771 /* Calendar */
772 table.calendar {
773 width: 100%;
775 table.calendar td {
776 text-align: center;
778 table.calendar td a {
779 display: block;
782 table.calendar td a:hover {
783 background-color: #CCFFCC;
786 table.calendar th {
787 background-color: #D3DCE3;
790 table.calendar td.selected {
791 background-color: #FFCC99;
794 img.calendar {
795 border: none;
797 form.clock {
798 text-align: center;
800 /* end Calendar */
803 /* table stats */
804 div#tablestatistics {
805 border-bottom: 0.1em solid #669999;
806 margin-bottom: 0.5em;
807 padding-bottom: 0.5em;
810 div#tablestatistics table {
811 float: <?php echo $left; ?>;
812 margin-bottom: 0.5em;
813 margin-<?php echo $right; ?>: 0.5em;
816 div#tablestatistics table caption {
817 margin-<?php echo $right; ?>: 0.5em;
819 /* END table stats */
822 /* server privileges */
823 #tableuserrights td,
824 #tablespecificuserrights td,
825 #tabledatabases td {
826 vertical-align: middle;
828 /* END server privileges */
832 /* Heading */
833 #serverinfo {
834 font-weight: bold;
835 margin-bottom: 0.5em;
838 #serverinfo .item {
839 white-space: nowrap;
842 #span_table_comment {
843 font-weight: normal;
844 font-style: italic;
845 white-space: nowrap;
848 #serverinfo img {
849 margin: 0 0.1em 0 0.2em;
853 #textSQLDUMP {
854 width: 95%;
855 height: 95%;
856 font-family: "Courier New", Courier, mono;
857 font-size: 110%;
860 #TooltipContainer {
861 position: absolute;
862 z-index: 99;
863 width: 20em;
864 height: auto;
865 overflow: visible;
866 visibility: hidden;
867 background-color: #ffffcc;
868 color: #006600;
869 border: 0.1em solid #000000;
870 padding: 0.5em;
873 /* user privileges */
874 #fieldset_add_user_login div.item {
875 border-bottom: 1px solid silver;
876 padding-bottom: 0.3em;
877 margin-bottom: 0.3em;
880 #fieldset_add_user_login label {
881 float: <?php echo $left; ?>;
882 display: block;
883 width: 10em;
884 max-width: 100%;
885 text-align: <?php echo $right; ?>;
886 padding-<?php echo $right; ?>: 0.5em;
889 #fieldset_add_user_login span.options #select_pred_username,
890 #fieldset_add_user_login span.options #select_pred_hostname,
891 #fieldset_add_user_login span.options #select_pred_password {
892 width: 100%;
893 max-width: 100%;
896 #fieldset_add_user_login span.options {
897 float: <?php echo $left; ?>;
898 display: block;
899 width: 12em;
900 max-width: 100%;
901 padding-<?php echo $right; ?>: 0.5em;
904 #fieldset_add_user_login input {
905 width: 12em;
906 clear: <?php echo $right; ?>;
907 max-width: 100%;
910 #fieldset_add_user_login span.options input {
911 width: auto;
914 #fieldset_user_priv div.item {
915 float: <?php echo $left; ?>;
916 width: 9em;
917 max-width: 100%;
920 #fieldset_user_priv div.item div.item {
921 float: none;
924 #fieldset_user_priv div.item label {
925 white-space: nowrap;
928 #fieldset_user_priv div.item select {
929 width: 100%;
932 #fieldset_user_global_rights fieldset {
933 float: <?php echo $left; ?>;
935 /* END user privileges */
938 /* serverstatus */
939 div#serverstatus table caption a.top {
940 float: <?php echo $right; ?>;
943 div#serverstatus div#serverstatusqueriesdetails table,
944 div#serverstatus table#serverstatustraffic,
945 div#serverstatus table#serverstatusconnections {
946 float: <?php echo $left; ?>;
949 #serverstatussection,
950 .clearfloat {
951 clear: both;
953 div#serverstatussection table {
954 width: 100%;
955 margin-bottom: 1em;
957 div#serverstatussection table .name {
958 width: 18em;
960 div#serverstatussection table .value {
961 width: 6em;
964 div#serverstatus table tbody td.descr a,
965 div#serverstatus table .tblFooters a {
966 white-space: nowrap;
968 div#serverstatus div#statuslinks a:before,
969 div#serverstatus div#sectionlinks a:before,
970 div#serverstatus table tbody td.descr a:before,
971 div#serverstatus table .tblFooters a:before {
972 content: '[';
974 div#serverstatus div#statuslinks a:after,
975 div#serverstatus div#sectionlinks a:after,
976 div#serverstatus table tbody td.descr a:after,
977 div#serverstatus table .tblFooters a:after {
978 content: ']';
980 /* end serverstatus */
982 /* querywindow */
983 body#bodyquerywindow {
984 margin: 0;
985 padding: 0;
986 background-image: none;
987 background-color: #F5F5F5;
990 div#querywindowcontainer {
991 margin: 0;
992 padding: 0;
993 width: 100%;
996 div#querywindowcontainer fieldset {
997 margin-top: 0;
999 /* END querywindow */
1002 /* querybox */
1004 div#sqlquerycontainer {
1005 float: <?php echo $left; ?>;
1006 width: 69%;
1007 /* height: 15em; */
1010 div#tablefieldscontainer {
1011 float: <?php echo $right; ?>;
1012 width: 29%;
1013 /* height: 15em; */
1016 div#tablefieldscontainer select {
1017 width: 100%;
1018 /* height: 12em; */
1021 textarea#sqlquery {
1022 width: 100%;
1023 /* height: 100%; */
1025 textarea#sql_query_edit{
1026 height:7em;
1027 width: 95%;
1028 display:block;
1030 div#queryboxcontainer div#bookmarkoptions {
1031 margin-top: 0.5em;
1033 /* end querybox */
1035 /* main page */
1036 #maincontainer {
1037 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
1038 background-position: <?php echo $right; ?> bottom;
1039 background-repeat: no-repeat;
1042 #mysqlmaininformation,
1043 #pmamaininformation {
1044 float: <?php echo $left; ?>;
1045 width: 49%;
1048 #maincontainer ul {
1049 list-style-type: disc;
1050 vertical-align: middle;
1053 #maincontainer li {
1054 margin: 0.2em 0em;
1056 /* END main page */
1059 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
1060 /* iconic view for ul items */
1061 li#li_create_database {
1062 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
1065 li#li_select_lang {
1066 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
1069 li#li_select_mysql_collation {
1070 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1073 li#li_select_theme{
1074 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
1077 li#li_user_info{
1078 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1081 li#li_mysql_status{
1082 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
1085 li#li_mysql_variables{
1086 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
1089 li#li_mysql_processes{
1090 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
1093 li#li_mysql_collations{
1094 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1097 li#li_mysql_engines{
1098 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
1101 li#li_mysql_binlogs {
1102 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
1105 li#li_mysql_databases {
1106 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
1109 li#li_export {
1110 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
1113 li#li_import {
1114 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
1117 li#li_change_password {
1118 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
1121 li#li_log_out {
1122 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
1125 li#li_mysql_privilegs{
1126 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
1129 li#li_switch_dbstats {
1130 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
1133 li#li_flush_privileges {
1134 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
1137 li#li_user_preferences {
1138 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_tblops.png);
1140 /* END iconic view for ul items */
1141 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
1144 #body_browse_foreigners {
1145 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1146 margin: 0.5em 0.5em 0 0.5em;
1149 #bodyquerywindow {
1150 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1153 #bodythemes {
1154 width: 500px;
1155 margin: auto;
1156 text-align: center;
1159 #bodythemes img {
1160 border: 0.1em solid black;
1163 #bodythemes a:hover img {
1164 border: 0.1em solid red;
1167 #fieldset_select_fields {
1168 float: <?php echo $left; ?>;
1171 #selflink {
1172 clear: both;
1173 display: block;
1174 margin-top: 1em;
1175 margin-bottom: 1em;
1176 width: 100%;
1177 border-top: 0.1em solid silver;
1178 text-align: <?php echo $right; ?>;
1181 #table_innodb_bufferpool_usage,
1182 #table_innodb_bufferpool_activity {
1183 float: <?php echo $left; ?>;
1186 #div_mysql_charset_collations table {
1187 float: <?php echo $left; ?>;
1190 #div_table_order {
1191 min-width: 48%;
1192 float: <?php echo $left; ?>;
1195 #div_table_rename {
1196 min-width: 48%;
1197 float: <?php echo $left; ?>;
1200 #div_table_copy,
1201 #div_partition_maintenance,
1202 #div_referential_integrity,
1203 #div_table_removal,
1204 #div_table_maintenance {
1205 min-width: 48%;
1206 float: <?php echo $left; ?>;
1209 #div_table_options {
1210 clear: both;
1211 min-width: 48%;
1212 float: <?php echo $left; ?>;
1215 #qbe_div_table_list {
1216 float: <?php echo $left; ?>;
1219 #qbe_div_sql_query {
1220 float: <?php echo $left; ?>;
1223 label.desc {
1224 width: 30em;
1225 float: <?php echo $left; ?>;
1228 label.desc sup {
1229 position: absolute;
1232 code.sql, div.sqlvalidate {
1233 margin: 0.3em 0 0 0;
1234 border: 2px solid;
1235 padding: 0.5em;
1236 -moz-border-radius: 0.5em;
1237 border-radius: 0.5em;
1238 display: block;
1239 margin-top: 0.2em;
1240 margin-bottom: 0;
1241 max-height: 10em;
1242 overflow: auto;
1243 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1246 #main_pane_left {
1247 width: 60%;
1248 float: <?php echo $left; ?>;
1249 padding-top: 1em;
1252 #main_pane_right {
1253 margin-<?php echo $left; ?>: 60%;
1254 padding-top: 1em;
1255 padding-<?php echo $left; ?>: 1em;
1258 .group {
1259 border-<?php echo $left; ?>: 0.3em solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1260 margin-bottom: 1em;
1263 .group h2 {
1264 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1265 padding: 0.1em 0.3em;
1266 margin-top: 0;
1269 .group-cnt {
1270 padding: 0 0 0 0.5em;
1271 display: inline-block;
1272 width: 98%;
1275 /* for elements that should be revealed only via js */
1276 .hide {
1277 display: none;
1280 #li_select_server {
1281 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1284 #list_server {
1285 list-style-image: none;
1289 * Progress bar styles
1291 div.upload_progress_bar_outer
1293 border: 1px solid black;
1294 width: 202px;
1297 div.upload_progress_bar_inner
1299 background-color: <?php echo (isset($_SESSION['userconf']['custom_color']) ? $_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
1300 width: 0px;
1301 height: 12px;
1302 margin: 1px;
1305 table#serverconnection_src_remote,
1306 table#serverconnection_trg_remote,
1307 table#serverconnection_src_local,
1308 table#serverconnection_trg_local {
1309 float:left;
1312 * Validation error message styles
1314 .invalid_value
1315 {background:#F00;}
1318 * Ajax notification styling
1320 .ajax_notification {
1321 top: 0px; /** The notification needs to be shown on the top of the page */
1322 position: fixed;
1323 margin-top: 0;
1324 margin-right: auto;
1325 margin-bottom: 0;
1326 margin-left: auto;
1327 padding: 3px 5px; /** Keep a little space on the sides of the text */
1328 min-width: 70px;
1329 max-width: 350px; /** This value might have to be changed */
1330 background-color: #FFD700;
1331 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1332 text-align: center;
1333 display: block;
1334 left: 0;
1335 right: 0;
1336 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif);
1337 background-repeat: no-repeat;
1338 background-position: 2%;
1341 #loading_parent {
1342 /** Need this parent to properly center the notification division */
1343 position: relative;
1344 width: 100%;
1347 * Export and Import styles
1350 .exportoptions h3, .importoptions h3 {
1351 border-bottom: 1px #999999 solid;
1352 font-size: 110%;
1355 .exportoptions ul, .importoptions ul, .format_specific_options ul {
1356 list-style-type: none;
1357 margin-bottom: 15px;
1360 .exportoptions li, .importoptions li {
1361 margin: 7px;
1363 .exportoptions label, .importoptions label, .exportoptions p, .importoptions p {
1364 margin: 5px;
1365 float: none;
1368 #csv_options label.desc, #ldi_options label.desc, #latex_options label.desc, #output label.desc{
1369 float: left;
1370 width: 15em;
1373 .exportoptions, .importoptions {
1374 margin: 20px 30px 30px 10px
1377 .exportoptions #buttonGo, .importoptions #buttonGo {
1378 padding: 5px 30px;
1379 -moz-border-radius: 11px;
1380 -webkit-border-radius: 11px;
1381 border-radius: 11px;
1382 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
1383 background: -moz-linear-gradient(top, #ffffff, #cccccc);
1384 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
1385 border: 1px solid #444444;
1386 cursor: pointer;
1389 .format_specific_options h3 {
1390 margin: 10px 0px 0px 10px;
1391 border: 0px;
1394 .format_specific_options {
1395 border: 1px solid #999999;
1396 margin: 7px 0px;
1397 padding: 3px;
1400 p.desc {
1401 margin: 5px;
1405 * Export styles only
1407 select#db_select, select#table_select {
1408 width: 400px;
1411 .export_sub_options {
1412 margin: 20px 0px 0px 30px;
1415 .export_sub_options h4 {
1416 border-bottom: 1px #999999 solid;
1419 .export_sub_options li.subgroup {
1420 display: inline-block;
1421 margin-top: 0;
1424 .export_sub_options li {
1425 margin-bottom: 0;
1428 #quick_or_custom, #output_quick_export {
1429 display: none;
1432 * Import styles only
1435 .importoptions #import_notification {
1436 margin: 10px 0px;
1437 font-style: italic;
1440 input#input_import_file {
1441 margin: 5px;
1444 .formelementrow {
1445 margin: 5px 0px 5px 0px;
1449 * ENUM/SET editor styles
1451 p.enum_notice {
1452 margin: 5px 2px;
1453 font-size: 80%;
1456 #enum_editor {
1457 display: none;
1458 position: fixed;
1459 _position: absolute; /* hack for IE */
1460 z-index: 101;
1461 overflow-y: auto;
1462 overflow-x: hidden;
1465 #enum_editor_no_js {
1466 margin: auto auto;
1469 #enum_editor, #enum_editor_no_js {
1470 background: #D0DCE0;
1471 padding: 15px;
1474 #popup_background {
1475 display: none;
1476 position: fixed;
1477 _position: absolute; /* hack for IE6 */
1478 width: 100%;
1479 height: 100%;
1480 top: 0;
1481 left: 0;
1482 background: #000;
1483 z-index: 100;
1484 overflow: hidden;
1487 a.close_enum_editor {
1488 float: right;
1491 #enum_editor #values, #enum_editor_no_js #values {
1492 margin: 15px 0px;
1493 width: 100%;
1496 #enum_editor #values input, #enum_editor_no_js #values input {
1497 margin: 5px 0px;
1498 float: top;
1499 width: 100%;
1504 #enum_editor_output {
1505 margin-top: 50px;
1509 * Table structure styles
1511 .structure_actions_dropdown {
1512 position: absolute;
1513 padding: 3px;
1514 display: none;
1515 z-index: 100;
1518 .structure_actions_dropdown a {
1519 display: block;
1522 td.more_opts {
1523 display: none;
1524 white-space: nowrap;
1527 iframe.IE_hack {
1528 z-index: 1;
1529 position: absolute;
1530 display: none;
1531 border: 0;
1532 filter: alpha(opacity=0);
1535 /* config forms */
1536 .config-form ul.tabs {
1537 margin: 1.1em 0.2em 0;
1538 padding: 0 0 0.3em 0;
1539 list-style: none;
1540 font-weight: bold;
1543 .config-form ul.tabs li {
1544 float: <?php echo $left; ?>;
1547 .config-form ul.tabs li a {
1548 display: block;
1549 margin: 0.1em 0.2em 0;
1550 padding: 0.1em 0.4em;
1551 white-space: nowrap;
1552 text-decoration: none;
1553 border: 1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1554 border-bottom: none;
1557 .config-form ul.tabs li a:hover,
1558 .config-form ul.tabs li a:active,
1559 .config-form ul.tabs li a.active {
1560 margin: 0;
1561 padding: 0.1em 0.6em 0.2em;
1564 .config-form ul.tabs li a.active {
1565 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1568 .config-form fieldset {
1569 margin-top: 0;
1570 padding: 0;
1571 clear: both;
1572 /*border-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;*/
1575 .config-form legend {
1576 display: none;
1579 .config-form fieldset p {
1580 margin: 0;
1581 padding: 0.5em;
1582 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1585 .config-form fieldset .errors { /* form error list */
1586 margin: 0 -2px 1em -2px;
1587 padding: 0.5em 1.5em;
1588 background: #FBEAD9;
1589 border: 0 #C83838 solid;
1590 border-width: 1px 0;
1591 list-style: none;
1592 font-family: sans-serif;
1593 font-size: small;
1596 .config-form fieldset .inline_errors { /* field error list */
1597 margin: 0.3em 0.3em 0.3em 0;
1598 padding: 0;
1599 list-style: none;
1600 color: #9A0000;
1601 font-size: small;
1604 .config-form fieldset th {
1605 padding: 0.3em 0.3em 0.3em 0.5em;
1606 text-align: left;
1607 vertical-align: top;
1608 width: 40%;
1609 background: transparent;
1612 .config-form fieldset .doc, .config-form fieldset .disabled-notice {
1613 margin-left: 1em;
1616 .config-form fieldset .disabled-notice {
1617 font-size: 80%;
1618 text-transform: uppercase;
1619 color: #E00;
1620 cursor: help;
1623 .config-form fieldset td {
1624 padding-top: 0.3em;
1625 padding-bottom: 0.3em;
1626 vertical-align: top;
1629 .config-form fieldset th small {
1630 display: block;
1631 font-weight: normal;
1632 font-family: sans-serif;
1633 font-size: x-small;
1634 color: #444;
1637 .config-form fieldset th, .config-form fieldset td {
1638 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1641 fieldset .group-header th {
1642 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1645 fieldset .group-header + tr th {
1646 padding-top: 0.6em;
1649 fieldset .group-field-1 th, fieldset .group-header-2 th {
1650 padding-left: 1.5em;
1653 fieldset .group-field-2 th, fieldset .group-header-3 th {
1654 padding-left: 3em;
1657 fieldset .group-field-3 th {
1658 padding-left: 4.5em;
1661 fieldset .disabled-field th,
1662 fieldset .disabled-field th small,
1663 fieldset .disabled-field td {
1664 color: #666;
1665 background-color: #ddd;
1668 .config-form .lastrow {
1669 border-top: 1px #000 solid;
1672 .config-form .lastrow {
1673 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
1674 padding: 0.5em;
1675 text-align: center;
1678 .config-form .lastrow input {
1679 font-weight: bold;
1682 /* form elements */
1684 .config-form span.checkbox {
1685 padding: 2px;
1686 display: inline-block;
1689 .config-form .custom { /* customized field */
1690 background: #FFC;
1693 .config-form span.checkbox.custom {
1694 padding: 1px;
1695 border: 1px #EDEC90 solid;
1696 background: #FFC;
1699 .config-form .field-error {
1700 border-color: #A11 !important;
1703 .config-form input[type="text"],
1704 .config-form select,
1705 .config-form textarea {
1706 border: 1px #A7A6AA solid;
1707 height: auto;
1710 .config-form input[type="text"]:focus,
1711 .config-form select:focus,
1712 .config-form textarea:focus {
1713 border: 1px #6676FF solid;
1714 background: #F7FBFF;
1717 .config-form .field-comment-mark {
1718 font-family: serif;
1719 color: #007;
1720 cursor: help;
1721 padding: 0 0.2em;
1722 font-weight: bold;
1723 font-style: italic;
1726 .config-form .field-comment-warning {
1727 color: #A00;
1730 /* error list */
1731 .config-form dd {
1732 margin-left: 0.5em;
1735 .config-form dd:before {
1736 content: "\25B8 ";
1739 .click-hide-message {
1740 cursor: pointer;
1743 .prefsmanage_opts {
1744 margin-<?php echo $left; ?>: 2em;
1747 #prefs_autoload {
1748 margin-bottom: 0.5em;