Fix display of actions on insert page
[phpmyadmin-themes.git] / css / theme_right.css.php
blob6f0f22858bb060548571af513387f9afecc5808a
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 1px;
110 padding: 0.5em;
111 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
114 fieldset fieldset {
115 margin: 0.8em;
118 fieldset legend {
119 font-weight: bold;
120 color: #444444;
121 background-color: <?php echo 'OPERA' != PMA_USR_BROWSER_AGENT ? 'transparent' : $GLOBALS['cfg']['BgOne']; ?>;
124 /* buttons in some browsers (eg. Konqueror) are block elements,
125 this breaks design */
126 button {
127 display: inline;
130 table {
131 border-collapse:collapse;
132 margin: 0.2em;
135 table caption {
136 padding: 0.1em 0.5em 0.1em 0.5em;
139 table th,
140 table td {
141 padding: 0.1em 0.5em 0.1em 0.5em;
142 margin: 0.1em;
143 vertical-align: top;
144 border: 1px solid black;
147 table.navigation td, #actions_panel table td {
148 border: none;
151 img,
152 input,
153 select,
154 button {
155 vertical-align: middle;
159 /******************************************************************************/
160 /* classes */
161 div.tools,
162 fieldset.tblFooters {
163 margin: 0 1em 0 1em;
164 border: 2px solid #000;
165 border-top: none;
166 width: auto;
167 padding: 0.2em;
168 float: <?php echo $left; ?>;
169 clear: both;
170 -moz-border-radius: 0 0 0.5em 0.5em;
171 border-radius: 0 0 0.5em 0.5em;
174 fieldset .formelement {
175 float: <?php echo $left; ?>;
176 margin-<?php echo $right; ?>: 0.5em;
177 /* IE */
178 white-space: nowrap;
181 /* revert for Gecko */
182 fieldset div[class=formelement] {
183 white-space: normal;
186 button.mult_submit {
187 border: none;
188 background-color: transparent;
191 /* odd items 1,3,5,7,... */
192 table tr.odd th,
193 .odd {
194 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
197 /* even items 2,4,6,8,... */
198 table tr.even th,
199 .even {
200 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
202 tr.even th, tr.odd th, fieldset th {
203 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
206 /* odd table rows 1,3,5,7,... */
207 table tr.odd th,
208 table tr.odd,
209 table tr.even th,
210 table tr.even {
211 text-align: <?php echo $left; ?>;
214 <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
215 /* marked table rows */
216 td.marked,
217 table tr.marked th,
218 table tr.marked {
219 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
220 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
222 <?php } ?>
224 <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
225 /* hovered items */
226 .odd:hover,
227 .even:hover,
228 .hover,
229 .structure_actions_dropdown {
230 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
231 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
234 /* hovered table rows */
235 table tr.odd:hover th,
236 table tr.even:hover th,
237 table tr.hover th {
238 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
239 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
241 <?php } ?>
244 * marks table rows/cells if the db field is in a where condition
246 tr.condition th,
247 tr.condition td,
248 td.condition,
249 th.condition {
250 border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
253 table .value {
254 text-align: <?php echo $right; ?>;
255 white-space: normal;
257 /* IE doesnt handles 'pre' right */
258 table [class=value] {
259 white-space: normal;
263 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
264 .value {
265 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
267 <?php } ?>
268 .value .attention {
269 color: red;
270 font-weight: bold;
272 .value .allfine {
273 color: green;
277 img.lightbulb {
278 cursor: pointer;
281 .pdflayout {
282 overflow: hidden;
283 clip: inherit;
284 background-color: #FFFFFF;
285 display: none;
286 border: 1px solid #000000;
287 position: relative;
290 .pdflayout_table {
291 background: #D3DCE3;
292 color: #000000;
293 overflow: hidden;
294 clip: inherit;
295 z-index: 2;
296 display: inline;
297 visibility: inherit;
298 cursor: move;
299 position: absolute;
300 font-size: 80%;
301 border: 1px dashed #000000;
304 /* MySQL Parser */
305 .syntax {
306 font-size: 80%;
309 .syntax a {
310 text-decoration: none;
311 border-bottom:1px dotted black;
314 .syntax_comment {
315 padding-left: 4pt;
316 padding-right: 4pt;
319 .syntax_digit {
322 .syntax_digit_hex {
325 .syntax_digit_integer {
328 .syntax_digit_float {
331 .syntax_punct {
334 .syntax_alpha {
337 .syntax_alpha_columnType {
338 text-transform: uppercase;
341 .syntax_alpha_columnAttrib {
342 text-transform: uppercase;
345 .syntax_alpha_reservedWord {
346 text-transform: uppercase;
347 font-weight: bold;
350 .syntax_alpha_functionName {
351 text-transform: uppercase;
354 .syntax_alpha_identifier {
357 .syntax_alpha_charset {
360 .syntax_alpha_variable {
363 .syntax_quote {
364 white-space: pre;
367 .syntax_quote_backtick {
370 /* leave some space between icons and text */
371 .icon, img.footnotemarker {
372 vertical-align: middle;
373 margin-right: 0.3em;
374 margin-left: 0.3em;
377 img.footnotemarker {
378 display: none;
381 /* no extra space in table cells */
382 td .icon {
383 margin: 0;
386 .selectallarrow {
387 margin-<?php echo $right; ?>: 0.3em;
388 margin-<?php echo $left; ?>: 0.6em;
391 /* message boxes: warning, error, confirmation */
392 .success h1,
393 .notice h1,
394 .warning h1,
395 div.error h1 {
396 border-bottom: 2px solid;
397 font-weight: bold;
398 text-align: <?php echo $left; ?>;
399 margin: 0 0 0.2em 0;
402 div.success,
403 div.notice,
404 div.warning,
405 div.error,
406 div.footnotes {
407 margin: 0.3em 0 0 0;
408 border: 2px solid;
409 padding: 0.5em;
410 -moz-border-radius: 0.5em;
411 border-radius: 0.5em;
412 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
413 background-repeat: no-repeat;
414 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
415 background-position: 10px 50%;
416 padding-left: 36px;
417 <?php } else { ?>
418 background-position: 99% 50%;
419 padding-right: 36px;
420 <?php } ?>
421 <?php } ?>
424 .success {
425 color: #000000;
426 background-color: #f0fff0;
428 h1.success,
429 div.success {
430 border-color: #00FF00;
431 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
432 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_success.png);
433 <?php } ?>
435 .success h1 {
436 border-color: #00FF00;
439 .notice, .footnotes {
440 color: #000000;
441 background-color: #FFFFDD;
443 h1.notice,
444 div.notice,
445 div.footnotes {
446 border-color: #FFD700;
447 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
448 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png);
449 <?php } ?>
451 .notice h1 {
452 border-color: #FFD700;
455 .warning {
456 color: #CC0000;
457 background-color: #FFFFCC;
459 p.warning,
460 h1.warning,
461 div.warning {
462 border-color: #CC0000;
463 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
464 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
465 <?php } ?>
467 .warning h1 {
468 border-color: #cc0000;
471 .error {
472 background-color: #FFFFCC;
473 color: #ff0000;
476 h1.error,
477 div.error {
478 border-color: #ff0000;
479 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
480 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png);
481 <?php } ?>
483 div.error h1 {
484 border-color: #ff0000;
487 .confirmation {
488 background-color: #FFFFCC;
490 fieldset.confirmation {
491 border: 0.1em solid #FF0000;
493 fieldset.confirmation legend {
494 border-left: 0.1em solid #FF0000;
495 border-right: 0.1em solid #FF0000;
496 font-weight: bold;
497 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
498 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_really.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 /* end messageboxes */
512 .tblcomment {
513 font-size: 70%;
514 font-weight: normal;
515 color: #000099;
518 .tblHeaders {
519 font-weight: bold;
520 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
521 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
524 div.tools,
525 .tblFooters {
526 font-weight: normal;
527 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
528 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
530 div.tools a {
531 display: inline-block;
532 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
535 /* forbidden, no privilegs */
536 .noPrivileges {
537 color: #FF0000;
538 font-weight: bold;
541 /* disabled text */
542 .disabled,
543 .disabled a:link,
544 .disabled a:active,
545 .disabled a:visited {
546 color: #666666;
549 .disabled a:hover {
550 color: #666666;
551 text-decoration: none;
554 tr.disabled td,
555 td.disabled {
556 background-color: #cccccc;
559 .nowrap {
560 white-space: nowrap;
564 * login form
566 body.loginform h1,
567 body.loginform a.logo {
568 display: block;
569 text-align: center;
572 body.loginform {
573 text-align: center;
576 body.loginform div.container {
577 text-align: <?php echo $left; ?>;
578 width: 30em;
579 margin: 0 auto;
582 form.login label {
583 float: <?php echo $left; ?>;
584 width: 10em;
585 font-weight: bolder;
588 .commented_column {
589 border-bottom: 1px dashed black;
592 .column_attribute {
593 font-size: 70%;
596 /******************************************************************************/
597 /* specific elements */
599 /* topmenu */
600 ul#topmenu, ul#topmenu2, ul.tabs {
601 font-weight: bold;
602 list-style-type: none;
603 margin: 0;
604 padding: 0;
607 ul#topmenu2 {
608 margin: 0.25em 0.5em 0;
609 height: 2em;
610 clear: both;
613 ul#topmenu li, ul#topmenu2 li {
614 display: inline-block;
615 margin: 0;
616 padding: 0;
617 vertical-align: middle;
620 #topmenu img, #topmenu2 img {
621 vertical-align: middle;
622 margin-<?php echo $right; ?>: 0.1em;
625 /* default tab styles */
626 ul#topmenu a, ul#topmenu span {
627 display: inline-block;
628 margin: 0.2em 0.2em 0 0.2em;
629 padding: 0.2em 0.2em 0 0.2em;
630 white-space: nowrap;
633 ul#topmenu ul a {
634 margin: 0;
635 padding-bottom: 0.2em;
638 ul#topmenu .submenu {
639 position: relative;
642 ul#topmenu ul {
643 margin: 0;
644 padding: 0;
645 position: absolute;
646 right: 0;
647 list-style-type: none;
648 display: inline-block;
649 border: 1px #666 solid;
652 ul#topmenu li:hover ul, ul#topmenu .submenuhover ul {
653 display: inline-block;
656 ul#topmenu ul li {
657 width: 100%;
660 ul#topmenu2 a {
661 display: block;
662 margin: 0.1em;
663 padding: 0.2em;
664 white-space: nowrap;
667 /* disabled tabs */
668 ul#topmenu span.tab {
669 color: #666666;
672 /* disabled drop/empty tabs */
673 ul#topmenu span.tabcaution {
674 color: #ff6666;
677 /* enabled drop/empty tabs */
678 ul#topmenu a.tabcaution {
679 color: #FF0000;
681 ul#topmenu a.tabcaution:hover {
682 color: #FFFFFF;
683 background-color: #FF0000;
685 fieldset.caution a {
686 color: #FF0000;
688 fieldset.caution a:hover {
689 color: #ffffff;
690 background-color: #FF0000;
693 <?php if ($GLOBALS['cfg']['LightTabs']) { ?>
694 /* active tab */
695 ul#topmenu a.tabactive, ul#topmenu2 a.tabactive {
696 color: black;
699 ul#topmenu {
700 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
702 <?php } else { ?>
703 ul#topmenu {
704 margin-top: 0.5em;
705 padding: 0;
706 border-bottom: 1pt solid black;
709 /* default tab styles */
710 ul#topmenu a, ul#topmenu span {
711 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
712 border: 0 solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
713 border-width: 1pt 1pt 0 1pt;
714 -moz-border-radius: 0.4em 0.4em 0 0;
715 border-radius: 0.4em 0.4em 0 0;
718 ul#topmenu ul a {
719 border-width: 1pt 0 0 0;
720 -moz-border-radius: 0;
721 border-radius: 0;
724 ul#topmenu ul li:first-child a {
725 border-width: 0;
728 /* enabled hover/active tabs */
729 ul#topmenu > li > a:hover,
730 ul#topmenu > li > .tabactive {
731 margin: 0;
732 padding: 0.2em 0.4em 0.2em 0.4em;
733 text-decoration: none;
736 ul#topmenu ul a:hover,
737 ul#topmenu ul .tabactive {
738 text-decoration: none;
741 ul#topmenu a.tab:hover,
742 ul#topmenu .tabactive {
743 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
746 ul#topmenu2 a.tab:hover,
747 ul#topmenu2 a.tabactive {
748 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
749 -moz-border-radius: 0.3em;
750 border-radius: 0.3em;
751 text-decoration: none;
754 /* to be able to cancel the bottom border, use <li class="active"> */
755 ul#topmenu > li.active {
756 border-bottom: 1pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
759 /* disabled drop/empty tabs */
760 ul#topmenu span.tab,
761 a.warning,
762 ul#topmenu span.tabcaution {
763 cursor: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>error.ico), default;
765 <?php } ?>
766 /* end topmenu */
769 /* Calendar */
770 table.calendar {
771 width: 100%;
773 table.calendar td {
774 text-align: center;
776 table.calendar td a {
777 display: block;
780 table.calendar td a:hover {
781 background-color: #CCFFCC;
784 table.calendar th {
785 background-color: #D3DCE3;
788 table.calendar td.selected {
789 background-color: #FFCC99;
792 img.calendar {
793 border: none;
795 form.clock {
796 text-align: center;
798 /* end Calendar */
801 /* table stats */
802 div#tablestatistics {
803 border-bottom: 0.1em solid #669999;
804 margin-bottom: 0.5em;
805 padding-bottom: 0.5em;
808 div#tablestatistics table {
809 float: <?php echo $left; ?>;
810 margin-bottom: 0.5em;
811 margin-<?php echo $right; ?>: 0.5em;
814 div#tablestatistics table caption {
815 margin-<?php echo $right; ?>: 0.5em;
817 /* END table stats */
820 /* server privileges */
821 #tableuserrights td,
822 #tablespecificuserrights td,
823 #tabledatabases td {
824 vertical-align: middle;
826 /* END server privileges */
830 /* Heading */
831 #serverinfo {
832 font-weight: bold;
833 margin-bottom: 0.5em;
836 #serverinfo .item {
837 white-space: nowrap;
840 #span_table_comment {
841 font-weight: normal;
842 font-style: italic;
843 white-space: nowrap;
846 #serverinfo img {
847 margin: 0 0.1em 0 0.2em;
851 #textSQLDUMP {
852 width: 95%;
853 height: 95%;
854 font-family: "Courier New", Courier, mono;
855 font-size: 110%;
858 #TooltipContainer {
859 position: absolute;
860 z-index: 99;
861 width: 20em;
862 height: auto;
863 overflow: visible;
864 visibility: hidden;
865 background-color: #ffffcc;
866 color: #006600;
867 border: 0.1em solid #000000;
868 padding: 0.5em;
871 /* user privileges */
872 #fieldset_add_user_login div.item {
873 border-bottom: 1px solid silver;
874 padding-bottom: 0.3em;
875 margin-bottom: 0.3em;
878 #fieldset_add_user_login label {
879 float: <?php echo $left; ?>;
880 display: block;
881 width: 10em;
882 max-width: 100%;
883 text-align: <?php echo $right; ?>;
884 padding-<?php echo $right; ?>: 0.5em;
887 #fieldset_add_user_login span.options #select_pred_username,
888 #fieldset_add_user_login span.options #select_pred_hostname,
889 #fieldset_add_user_login span.options #select_pred_password {
890 width: 100%;
891 max-width: 100%;
894 #fieldset_add_user_login span.options {
895 float: <?php echo $left; ?>;
896 display: block;
897 width: 12em;
898 max-width: 100%;
899 padding-<?php echo $right; ?>: 0.5em;
902 #fieldset_add_user_login input {
903 width: 12em;
904 clear: <?php echo $right; ?>;
905 max-width: 100%;
908 #fieldset_add_user_login span.options input {
909 width: auto;
912 #fieldset_user_priv div.item {
913 float: <?php echo $left; ?>;
914 width: 9em;
915 max-width: 100%;
918 #fieldset_user_priv div.item div.item {
919 float: none;
922 #fieldset_user_priv div.item label {
923 white-space: nowrap;
926 #fieldset_user_priv div.item select {
927 width: 100%;
930 #fieldset_user_global_rights fieldset {
931 float: <?php echo $left; ?>;
933 /* END user privileges */
936 /* serverstatus */
937 div#serverstatus table caption a.top {
938 float: <?php echo $right; ?>;
941 div#serverstatus div#serverstatusqueriesdetails table,
942 div#serverstatus table#serverstatustraffic,
943 div#serverstatus table#serverstatusconnections {
944 float: <?php echo $left; ?>;
947 #serverstatussection,
948 .clearfloat {
949 clear: both;
951 div#serverstatussection table {
952 width: 100%;
953 margin-bottom: 1em;
955 div#serverstatussection table .name {
956 width: 18em;
958 div#serverstatussection table .value {
959 width: 6em;
962 div#serverstatus table tbody td.descr a,
963 div#serverstatus table .tblFooters a {
964 white-space: nowrap;
966 div#serverstatus div#statuslinks a:before,
967 div#serverstatus div#sectionlinks a:before,
968 div#serverstatus table tbody td.descr a:before,
969 div#serverstatus table .tblFooters a:before {
970 content: '[';
972 div#serverstatus div#statuslinks a:after,
973 div#serverstatus div#sectionlinks a:after,
974 div#serverstatus table tbody td.descr a:after,
975 div#serverstatus table .tblFooters a:after {
976 content: ']';
978 /* end serverstatus */
980 /* querywindow */
981 body#bodyquerywindow {
982 margin: 0;
983 padding: 0;
984 background-image: none;
985 background-color: #F5F5F5;
988 div#querywindowcontainer {
989 margin: 0;
990 padding: 0;
991 width: 100%;
994 div#querywindowcontainer fieldset {
995 margin-top: 0;
997 /* END querywindow */
1000 /* querybox */
1002 div#sqlquerycontainer {
1003 float: <?php echo $left; ?>;
1004 width: 69%;
1005 /* height: 15em; */
1008 div#tablefieldscontainer {
1009 float: <?php echo $right; ?>;
1010 width: 29%;
1011 /* height: 15em; */
1014 div#tablefieldscontainer select {
1015 width: 100%;
1016 /* height: 12em; */
1019 textarea#sqlquery {
1020 width: 100%;
1021 /* height: 100%; */
1023 textarea#sql_query_edit{
1024 height:7em;
1025 width: 95%;
1026 display:block;
1028 div#queryboxcontainer div#bookmarkoptions {
1029 margin-top: 0.5em;
1031 /* end querybox */
1033 /* main page */
1034 #maincontainer {
1035 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
1036 background-position: <?php echo $right; ?> bottom;
1037 background-repeat: no-repeat;
1040 #mysqlmaininformation,
1041 #pmamaininformation {
1042 float: <?php echo $left; ?>;
1043 width: 49%;
1046 #maincontainer ul {
1047 list-style-type: disc;
1048 vertical-align: middle;
1051 #maincontainer li {
1052 margin: 0.2em 0em;
1054 /* END main page */
1057 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
1058 /* iconic view for ul items */
1059 li#li_create_database {
1060 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
1063 li#li_select_lang {
1064 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
1067 li#li_select_mysql_collation {
1068 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1071 li#li_select_theme{
1072 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
1075 li#li_user_info{
1076 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1079 li#li_mysql_status{
1080 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
1083 li#li_mysql_variables{
1084 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
1087 li#li_mysql_processes{
1088 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
1091 li#li_mysql_collations{
1092 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1095 li#li_mysql_engines{
1096 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
1099 li#li_mysql_binlogs {
1100 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
1103 li#li_mysql_databases {
1104 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
1107 li#li_export {
1108 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
1111 li#li_import {
1112 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
1115 li#li_change_password {
1116 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
1119 li#li_log_out {
1120 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
1123 li#li_mysql_privilegs{
1124 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
1127 li#li_switch_dbstats {
1128 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
1131 li#li_flush_privileges {
1132 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
1135 li#li_user_preferences {
1136 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_tblops.png);
1138 /* END iconic view for ul items */
1139 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
1142 #body_browse_foreigners {
1143 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1144 margin: 0.5em 0.5em 0 0.5em;
1147 #bodyquerywindow {
1148 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1151 #bodythemes {
1152 width: 500px;
1153 margin: auto;
1154 text-align: center;
1157 #bodythemes img {
1158 border: 0.1em solid black;
1161 #bodythemes a:hover img {
1162 border: 0.1em solid red;
1165 #fieldset_select_fields {
1166 float: <?php echo $left; ?>;
1169 #selflink {
1170 clear: both;
1171 display: block;
1172 margin-top: 1em;
1173 margin-bottom: 1em;
1174 width: 100%;
1175 border-top: 0.1em solid silver;
1176 text-align: <?php echo $right; ?>;
1179 #table_innodb_bufferpool_usage,
1180 #table_innodb_bufferpool_activity {
1181 float: <?php echo $left; ?>;
1184 #div_mysql_charset_collations table {
1185 float: <?php echo $left; ?>;
1188 #div_table_order {
1189 min-width: 48%;
1190 float: <?php echo $left; ?>;
1193 #div_table_rename {
1194 min-width: 48%;
1195 float: <?php echo $left; ?>;
1198 #div_table_copy,
1199 #div_partition_maintenance,
1200 #div_referential_integrity,
1201 #div_table_removal,
1202 #div_table_maintenance {
1203 min-width: 48%;
1204 float: <?php echo $left; ?>;
1207 #div_table_options {
1208 clear: both;
1209 min-width: 48%;
1210 float: <?php echo $left; ?>;
1213 #qbe_div_table_list {
1214 float: <?php echo $left; ?>;
1217 #qbe_div_sql_query {
1218 float: <?php echo $left; ?>;
1221 label.desc {
1222 width: 30em;
1223 float: <?php echo $left; ?>;
1226 label.desc sup {
1227 position: absolute;
1230 code.sql, div.sqlvalidate {
1231 margin: 0.3em 0 0 0;
1232 border: 2px solid;
1233 padding: 0.5em;
1234 -moz-border-radius: 0.5em;
1235 border-radius: 0.5em;
1236 display: block;
1237 margin-top: 0.2em;
1238 margin-bottom: 0;
1239 max-height: 10em;
1240 overflow: auto;
1241 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1244 #main_pane_left {
1245 width: 60%;
1246 float: <?php echo $left; ?>;
1247 padding-top: 1em;
1250 #main_pane_right {
1251 margin-<?php echo $left; ?>: 60%;
1252 padding-top: 1em;
1253 padding-<?php echo $left; ?>: 1em;
1256 .group {
1257 border-<?php echo $left; ?>: 0.3em solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1258 margin-bottom: 1em;
1261 .group h2 {
1262 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1263 padding: 0.1em 0.3em;
1264 margin-top: 0;
1267 .group-cnt {
1268 padding: 0 0 0 0.5em;
1269 display: inline-block;
1270 width: 98%;
1273 /* for elements that should be revealed only via js */
1274 .hide {
1275 display: none;
1278 #li_select_server {
1279 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1282 #list_server {
1283 list-style-image: none;
1287 * Progress bar styles
1289 div.upload_progress_bar_outer
1291 border: 1px solid black;
1292 width: 202px;
1295 div.upload_progress_bar_inner
1297 background-color: <?php echo (isset($_SESSION['userconf']['custom_color']) ? $_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
1298 width: 0px;
1299 height: 12px;
1300 margin: 1px;
1303 table#serverconnection_src_remote,
1304 table#serverconnection_trg_remote,
1305 table#serverconnection_src_local,
1306 table#serverconnection_trg_local {
1307 float:left;
1310 * Validation error message styles
1312 .invalid_value
1313 {background:#F00;}
1316 * Ajax notification styling
1318 .ajax_notification {
1319 top: 0px; /** The notification needs to be shown on the top of the page */
1320 position: fixed;
1321 margin-top: 0;
1322 margin-right: auto;
1323 margin-bottom: 0;
1324 margin-left: auto;
1325 padding: 3px 5px; /** Keep a little space on the sides of the text */
1326 min-width: 70px;
1327 max-width: 350px; /** This value might have to be changed */
1328 background-color: #FFD700;
1329 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1330 text-align: center;
1331 display: block;
1332 left: 0;
1333 right: 0;
1334 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif);
1335 background-repeat: no-repeat;
1336 background-position: 2%;
1339 #loading_parent {
1340 /** Need this parent to properly center the notification division */
1341 position: relative;
1342 width: 100%;
1345 * Export and Import styles
1348 .exportoptions h3, .importoptions h3 {
1349 border-bottom: 1px #999999 solid;
1350 font-size: 110%;
1353 .exportoptions ul, .importoptions ul, .format_specific_options ul {
1354 list-style-type: none;
1355 margin-bottom: 15px;
1358 .exportoptions li, .importoptions li {
1359 margin: 7px;
1361 .exportoptions label, .importoptions label, .exportoptions p, .importoptions p {
1362 margin: 5px;
1363 float: none;
1366 #csv_options label.desc, #ldi_options label.desc, #latex_options label.desc, #output label.desc{
1367 float: left;
1368 width: 15em;
1371 .exportoptions, .importoptions {
1372 margin: 20px 30px 30px 10px
1375 .exportoptions #buttonGo, .importoptions #buttonGo {
1376 padding: 5px 30px;
1377 -moz-border-radius: 11px;
1378 -webkit-border-radius: 11px;
1379 border-radius: 11px;
1380 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
1381 background: -moz-linear-gradient(top, #ffffff, #cccccc);
1382 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
1383 border: 1px solid #444444;
1384 cursor: pointer;
1387 .format_specific_options h3 {
1388 margin: 10px 0px 0px 10px;
1389 border: 0px;
1392 .format_specific_options {
1393 border: 1px solid #999999;
1394 margin: 7px 0px;
1395 padding: 3px;
1398 p.desc {
1399 margin: 5px;
1403 * Export styles only
1405 select#db_select, select#table_select {
1406 width: 400px;
1409 .export_sub_options {
1410 margin: 20px 0px 0px 30px;
1413 .export_sub_options h4 {
1414 border-bottom: 1px #999999 solid;
1417 .export_sub_options li.subgroup {
1418 display: inline-block;
1419 margin-top: 0;
1422 .export_sub_options li {
1423 margin-bottom: 0;
1426 #quick_or_custom, #output_quick_export {
1427 display: none;
1430 * Import styles only
1433 .importoptions #import_notification {
1434 margin: 10px 0px;
1435 font-style: italic;
1438 input#input_import_file {
1439 margin: 5px;
1442 .formelementrow {
1443 margin: 5px 0px 5px 0px;
1447 * ENUM/SET editor styles
1449 p.enum_notice {
1450 margin: 5px 2px;
1451 font-size: 80%;
1454 #enum_editor {
1455 display: none;
1456 position: fixed;
1457 _position: absolute; /* hack for IE */
1458 z-index: 101;
1459 overflow-y: auto;
1460 overflow-x: hidden;
1463 #enum_editor_no_js {
1464 margin: auto auto;
1467 #enum_editor, #enum_editor_no_js {
1468 background: #D0DCE0;
1469 padding: 15px;
1472 #popup_background {
1473 display: none;
1474 position: fixed;
1475 _position: absolute; /* hack for IE6 */
1476 width: 100%;
1477 height: 100%;
1478 top: 0;
1479 left: 0;
1480 background: #000;
1481 z-index: 100;
1482 overflow: hidden;
1485 a.close_enum_editor {
1486 float: right;
1489 #enum_editor #values, #enum_editor_no_js #values {
1490 margin: 15px 0px;
1491 width: 100%;
1494 #enum_editor #values input, #enum_editor_no_js #values input {
1495 margin: 5px 0px;
1496 float: top;
1497 width: 100%;
1502 #enum_editor_output {
1503 margin-top: 50px;
1507 * Table structure styles
1509 .structure_actions_dropdown {
1510 position: absolute;
1511 padding: 3px;
1512 display: none;
1513 z-index: 100;
1516 .structure_actions_dropdown a {
1517 display: block;
1520 td.more_opts {
1521 display: none;
1522 white-space: nowrap;
1525 iframe.IE_hack {
1526 z-index: 1;
1527 position: absolute;
1528 display: none;
1529 border: 0;
1530 filter: alpha(opacity=0);
1533 /* config forms */
1534 .config-form ul.tabs {
1535 margin: 1.1em 0.2em 0;
1536 padding: 0 0 0.3em 0;
1537 list-style: none;
1538 font-weight: bold;
1541 .config-form ul.tabs li {
1542 float: <?php echo $left; ?>;
1545 .config-form ul.tabs li a {
1546 display: block;
1547 margin: 0.1em 0.2em 0;
1548 padding: 0.1em 0.4em;
1549 white-space: nowrap;
1550 text-decoration: none;
1551 border: 1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1552 border-bottom: none;
1555 .config-form ul.tabs li a:hover,
1556 .config-form ul.tabs li a:active,
1557 .config-form ul.tabs li a.active {
1558 margin: 0;
1559 padding: 0.1em 0.6em 0.2em;
1562 .config-form ul.tabs li a.active {
1563 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1566 .config-form fieldset {
1567 margin-top: 0;
1568 padding: 0;
1569 clear: both;
1570 /*border-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;*/
1573 .config-form legend {
1574 display: none;
1577 .config-form fieldset p {
1578 margin: 0;
1579 padding: 0.5em;
1580 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1583 .config-form fieldset .errors { /* form error list */
1584 margin: 0 -2px 1em -2px;
1585 padding: 0.5em 1.5em;
1586 background: #FBEAD9;
1587 border: 0 #C83838 solid;
1588 border-width: 1px 0;
1589 list-style: none;
1590 font-family: sans-serif;
1591 font-size: small;
1594 .config-form fieldset .inline_errors { /* field error list */
1595 margin: 0.3em 0.3em 0.3em 0;
1596 padding: 0;
1597 list-style: none;
1598 color: #9A0000;
1599 font-size: small;
1602 .config-form fieldset th {
1603 padding: 0.3em 0.3em 0.3em 0.5em;
1604 text-align: left;
1605 vertical-align: top;
1606 width: 40%;
1607 background: transparent;
1610 .config-form fieldset .doc, .config-form fieldset .disabled-notice {
1611 margin-left: 1em;
1614 .config-form fieldset .disabled-notice {
1615 font-size: 80%;
1616 text-transform: uppercase;
1617 color: #E00;
1618 cursor: help;
1621 .config-form fieldset td {
1622 padding-top: 0.3em;
1623 padding-bottom: 0.3em;
1624 vertical-align: top;
1627 .config-form fieldset th small {
1628 display: block;
1629 font-weight: normal;
1630 font-family: sans-serif;
1631 font-size: x-small;
1632 color: #444;
1635 .config-form fieldset th, .config-form fieldset td {
1636 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1639 fieldset .group-header th {
1640 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1643 fieldset .group-header + tr th {
1644 padding-top: 0.6em;
1647 fieldset .group-field-1 th, fieldset .group-header-2 th {
1648 padding-left: 1.5em;
1651 fieldset .group-field-2 th, fieldset .group-header-3 th {
1652 padding-left: 3em;
1655 fieldset .group-field-3 th {
1656 padding-left: 4.5em;
1659 fieldset .disabled-field th,
1660 fieldset .disabled-field th small,
1661 fieldset .disabled-field td {
1662 color: #666;
1663 background-color: #ddd;
1666 .config-form .lastrow {
1667 border-top: 1px #000 solid;
1670 .config-form .lastrow {
1671 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
1672 padding: 0.5em;
1673 text-align: center;
1676 .config-form .lastrow input {
1677 font-weight: bold;
1680 /* form elements */
1682 .config-form span.checkbox {
1683 padding: 2px;
1684 display: inline-block;
1687 .config-form .custom { /* customized field */
1688 background: #FFC;
1691 .config-form span.checkbox.custom {
1692 padding: 1px;
1693 border: 1px #EDEC90 solid;
1694 background: #FFC;
1697 .config-form .field-error {
1698 border-color: #A11 !important;
1701 .config-form input[type="text"],
1702 .config-form select,
1703 .config-form textarea {
1704 border: 1px #A7A6AA solid;
1705 height: auto;
1708 .config-form input[type="text"]:focus,
1709 .config-form select:focus,
1710 .config-form textarea:focus {
1711 border: 1px #6676FF solid;
1712 background: #F7FBFF;
1715 .config-form .field-comment-mark {
1716 font-family: serif;
1717 color: #007;
1718 cursor: help;
1719 padding: 0 0.2em;
1720 font-weight: bold;
1721 font-style: italic;
1724 .config-form .field-comment-warning {
1725 color: #A00;
1728 /* error list */
1729 .config-form dd {
1730 margin-left: 0.5em;
1733 .config-form dd:before {
1734 content: "\25B8 ";
1737 .click-hide-message {
1738 cursor: pointer;
1741 .prefsmanage_opts {
1742 margin-<?php echo $left; ?>: 2em;
1745 #prefs_autoload {
1746 margin-bottom: 0.5em;