styles related to inline_edit for 3.4 compatible themes
[phpmyadmin-themes.git] / toba / css / theme_right.css.php
blob3fdf76d843fb55f8c252fb9ccf712af398e2ed41
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 (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : (
19 isset($_COOKIE['pma_fontsize']) ? $_COOKIE['pma_fontsize'] : '82%'));?>;
22 input, select, textarea {
23 font-size: 1em;
26 body {
27 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
28 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
29 <?php } ?>
30 padding: 0;
31 line-height: 20px;
32 margin: 0;
33 color: #333;
34 /*color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;*/
35 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
38 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
39 textarea, tt, pre, code {
40 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
42 <?php } ?>
43 h1 {
44 font-size: 140%;
45 font-weight: bold;
48 h2 {
49 font-size: 120%;
50 font-weight: bold;
53 h3 {
54 font-weight: bold;
57 a, a:link,
58 a:visited,
59 a:active {
60 text-decoration: none;
61 color: <?php echo $GLOBALS['cfg']['linkColor']; ?>;
62 cursor: pointer;
65 a:hover {
66 text-decoration: underline;
67 color: <?php echo $GLOBALS['cfg']['TableLinkColor'];?>;
70 dfn {
71 font-style: normal;
74 dfn:hover {
75 font-style: normal;
76 cursor: help;
79 th {
80 font-weight: bold;
81 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
82 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
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: 1px solid #999;
134 table caption,
135 table th,
136 table td {
137 padding: 3px;
138 margin: 0;
139 vertical-align: top;
142 img,
143 input,
144 select,
145 button {
146 vertical-align: middle;
150 /******************************************************************************/
151 /* classes */
152 div.tools {
153 border: 1px solid #000000;
154 padding: 0.2em;
157 div.tools,
158 fieldset.tblFooters {
159 margin-top: 0;
160 margin-bottom: 0.5em;
161 /* avoid a thick line since this should be used under another fieldset */
162 border-top: 0;
163 text-align: <?php echo $right; ?>;
164 float: none;
165 clear: both;
168 div.null_div {
169 height: 20px;
170 text-align: center;
171 font-style:normal;
172 min-width:60px;
175 fieldset .formelement {
176 float: <?php echo $left; ?>;
177 margin-<?php echo $right; ?>: 0.5em;
178 /* IE */
179 white-space: nowrap;
182 /* revert for Gecko */
183 fieldset div[class=formelement] {
184 white-space: normal;
187 button.mult_submit {
188 border: none;
189 background-color: transparent;
192 /* odd items 1,3,5,7,... */
193 table tr.odd th,
194 .odd {
195 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
198 /* even items 2,4,6,8,... */
199 table tr.even th,
200 .even {
201 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
204 /* odd table rows 1,3,5,7,... */
205 table tr.odd th,
206 table tr.odd,
207 table tr.even th,
208 table tr.even {
209 text-align: <?php echo $left; ?>;
212 <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
213 /* marked table rows */
214 td.marked,
215 table tr.marked th,
216 table tr.marked {
217 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
218 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
220 <?php } ?>
222 <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
223 /* hovered items */
224 .odd:hover,
225 .even:hover,
226 .hover,
227 .structure_actions_dropdown {
228 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
229 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
232 /* hovered table rows */
233 table tr.odd:hover th,
234 table tr.even:hover th,
235 table tr.hover th {
236 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
237 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
239 <?php } ?>
242 * marks table rows/cells if the db field is in a where condition
244 tr.condition th,
245 tr.condition td,
246 td.condition,
247 th.condition {
248 border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
251 table .value {
252 text-align: <?php echo $right; ?>;
253 white-space: normal;
255 /* IE doesnt handles 'pre' right */
256 table [class=value] {
257 white-space: normal;
261 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
262 .value {
263 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
265 <?php } ?>
266 .value .attention {
267 color: red;
268 font-weight: bold;
270 .value .allfine {
271 color: green;
275 img.lightbulb {
276 cursor: pointer;
279 .pdflayout {
280 overflow: hidden;
281 clip: inherit;
282 background-color: #FFFFFF;
283 display: none;
284 border: 1px solid #000000;
285 position: relative;
288 .pdflayout_table {
289 background: #D3DCE3;
290 color: #000000;
291 overflow: hidden;
292 clip: inherit;
293 z-index: 2;
294 display: inline;
295 visibility: inherit;
296 cursor: move;
297 position: absolute;
298 font-size: 80%;
299 border: 1px dashed #000000;
302 /* MySQL Parser */
303 .syntax {
304 font-size: 80%;
307 .syntax a {
308 text-decoration: none;
309 border-bottom:1px dotted black;
312 .syntax_comment {
313 padding-left: 4pt;
314 padding-right: 4pt;
317 .syntax_digit {
320 .syntax_digit_hex {
323 .syntax_digit_integer {
326 .syntax_digit_float {
329 .syntax_punct {
332 .syntax_alpha {
335 .syntax_alpha_columnType {
336 text-transform: uppercase;
339 .syntax_alpha_columnAttrib {
340 text-transform: uppercase;
343 .syntax_alpha_reservedWord {
344 text-transform: uppercase;
345 font-weight: bold;
348 .syntax_alpha_functionName {
349 text-transform: uppercase;
352 .syntax_alpha_identifier {
355 .syntax_alpha_charset {
358 .syntax_alpha_variable {
361 .syntax_quote {
362 white-space: pre;
365 .syntax_quote_backtick {
368 /* leave some space between icons and text */
369 .icon, img.footnotemarker {
370 vertical-align: middle;
371 margin-right: 0.3em;
372 margin-left: 0.3em;
375 img.footnotemarker {
376 display: none;
379 /* no extra space in table cells */
380 td .icon {
381 margin: 0;
384 .selectallarrow {
385 margin-<?php echo $right; ?>: 0.3em;
386 margin-<?php echo $left; ?>: 0.6em;
389 /* message boxes: warning, error, confirmation */
390 .success h1,
391 .notice h1,
392 .warning h1,
393 div.error h1 {
394 border-bottom: 2px solid;
395 font-weight: bold;
396 text-align: <?php echo $left; ?>;
397 margin: 0 0 0.2em 0;
400 div.success,
401 div.notice,
402 div.warning,
403 div.error,
404 div.footnotes {
405 margin: 5px 0;
406 border: 2px solid;
407 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
408 background-repeat: no-repeat;
409 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
410 background-position: 10px 50%;
411 padding: 0.1em 0.1em 0.1em 36px;
412 <?php } else { ?>
413 background-position: 99% 50%;
414 padding: 10px 5% 10px 10px;
415 <?php } ?>
416 <?php } else { ?>
417 padding: 0.3em;
418 <?php } ?>
421 .success {
422 color: #000000;
423 background-color: #f0fff0;
425 h1.success,
426 div.success {
427 border-color: #00FF00;
428 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
429 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_success.png);
430 background-repeat: no-repeat;
431 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
432 background-position: 5px 50%;
433 padding: 0.2em 0.2em 0.2em 25px;
434 <?php } else { ?>
435 background-position: 97% 50%;
436 padding: 0.2em 25px 0.2em 0.2em;
437 <?php } ?>
438 <?php } ?>
440 .success h1 {
441 border-color: #00FF00;
444 .notice, .footnotes {
445 color: #000000;
446 background-color: #FFFFDD;
448 h1.notice,
449 div.notice,
450 div.footnotes {
451 border-color: #FFD700;
452 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
453 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png);
454 background-repeat: no-repeat;
455 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
456 background-position: 5px 50%;
457 padding: 0.2em 0.2em 0.2em 25px;
458 <?php } else { ?>
459 background-position: 97% 50%;
460 padding: 0.2em 25px 0.2em 0.2em;
461 <?php } ?>
462 <?php } ?>
464 .notice h1 {
465 border-color: #FFD700;
468 .warning {
469 color: #CC0000;
470 background-color: #FFFFCC;
472 p.warning,
473 h1.warning,
474 div.warning {
475 border-color: #CC0000;
476 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
477 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
478 background-repeat: no-repeat;
479 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
480 background-position: 5px 50%;
481 padding: 0.2em 0.2em 0.2em 25px;
482 <?php } else { ?>
483 background-position: 97% 50%;
484 padding: 0.2em 25px 0.2em 0.2em;
485 <?php } ?>
486 <?php } ?>
488 .warning h1 {
489 border-color: #cc0000;
492 .error {
493 background-color: #FFFFCC;
494 color: #ff0000;
497 h1.error,
498 div.error {
499 border-color: #ff0000;
500 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
501 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png);
502 background-repeat: no-repeat;
503 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
504 background-position: 5px 50%;
505 padding: 0.2em 0.2em 0.2em 25px;
506 <?php } else { ?>
507 background-position: 97% 50%;
508 padding: 0.2em 25px 0.2em 0.2em;
509 <?php } ?>
510 <?php } ?>
512 div.error h1 {
513 border-color: #ff0000;
516 .confirmation {
517 background-color: #FFFFCC;
519 fieldset.confirmation {
520 border: 0.1em solid #FF0000;
522 fieldset.confirmation legend {
523 border-left: 0.1em solid #FF0000;
524 border-right: 0.1em solid #FF0000;
525 font-weight: bold;
526 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
527 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_really.png);
528 background-repeat: no-repeat;
529 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
530 background-position: 5px 50%;
531 padding: 0.2em 0.2em 0.2em 25px;
532 <?php } else { ?>
533 background-position: 97% 50%;
534 padding: 0.2em 25px 0.2em 0.2em;
535 <?php } ?>
536 <?php } ?>
538 /* end messageboxes */
541 .tblcomment {
542 font-size: 70%;
543 font-weight: normal;
544 color: #000099;
547 .tblHeaders {
548 font-weight: bold;
549 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
550 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
553 div.tools,
554 .tblFooters {
555 font-weight: normal;
556 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
557 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
560 .tblHeaders a:link,
561 .tblHeaders a:active,
562 .tblHeaders a:visited,
563 div.tools a:link,
564 div.tools a:visited,
565 div.tools a:active,
566 .tblFooters a:link,
567 .tblFooters a:active,
568 .tblFooters a:visited {
569 color: <?php echo $GLOBALS['cfg']['TableHeaderlinkColor']; ?>;
572 .tblHeaders a:hover,
573 div.tools a:hover,
574 .tblFooters a:hover {
575 color: #FF0000;
578 /* forbidden, no privilegs */
579 .noPrivileges {
580 color: #FF0000;
581 font-weight: bold;
584 /* disabled text */
585 .disabled,
586 .disabled a:link,
587 .disabled a:active,
588 .disabled a:visited {
589 color: #666666;
592 .disabled a:hover {
593 color: #666666;
594 text-decoration: none;
597 tr.disabled td,
598 td.disabled {
599 background-color: #cccccc;
602 .nowrap {
603 white-space: nowrap;
607 * login form
609 body.loginform h1,
610 body.loginform a.logo {
611 display: block;
612 text-align: center;
615 body.loginform {
616 text-align: center;
619 body.loginform div.container {
620 text-align: <?php echo $left; ?>;
621 width: 30em;
622 margin: 0 auto;
625 form.login label {
626 float: <?php echo $left; ?>;
627 width: 10em;
628 font-weight: bolder;
631 .commented_column {
632 border-bottom: 1px dashed black;
635 .column_attribute {
636 font-size: 70%;
639 /******************************************************************************/
640 /* specific elements */
642 #tbl_summary_row, thead {
643 background: #333333;
646 #topmenucontainer {
647 background: <?php echo $GLOBALS['cfg']['TopMenuBgColor']; ?>;
648 padding: 0px;
649 margin-bottom: 10px;
650 border: 1px solid #333;
653 /* topmenu */
654 ul#topmenu, ul#topmenu2, ul.tabs {
655 font-weight: bold;
656 list-style-type: none;
657 margin: 0;
658 padding: 0;
661 ul#topmenu2 {
662 margin: 0;
663 background: <?php echo $GLOBALS['cfg']['TopMenuBgColor']; ?>;
664 border-top: 3px solid <?php echo $GLOBALS['cfg']['LabelColor']; ?>;
667 ul#topmenu li, ul#topmenu2 li {
668 float: <?php echo $left; ?>;
669 margin: 0;
670 padding: 0;
671 vertical-align: middle;
672 border-right: 1px solid #333;
675 ul#topmenu2 li {
676 padding: 0 3px;
677 border: none;
680 #topmenu img, #topmenu2 img {
681 vertical-align: middle;
682 margin-<?php echo $right; ?>: 0.1em;
685 /* default tab styles */
686 ul#topmenu a, ul#topmenu span {
687 display: block;
688 margin: 0.2em 0.2em 0 0.2em;
689 padding: 0.2em 0.2em 0 0.2em;
690 white-space: nowrap;
693 ul#topmenu ul a {
694 margin: 0;
695 padding-bottom: 0.2em;
698 ul#topmenu .submenu {
699 display: none;
700 position: relative;
703 ul#topmenu .shown {
704 display: inline-block;
707 ul#topmenu ul {
708 margin: 0;
709 padding: 0;
710 position: absolute;
711 right: 0;
712 list-style-type: none;
713 display: none;
714 border: 1px #666 solid;
717 ul#topmenu li:hover ul, ul#topmenu .submenuhover ul {
718 display: block;
721 ul#topmenu ul li {
722 width: 100%;
725 ul#topmenu2 a {
726 display: block;
727 margin: 0.1em;
728 padding: 0.2em;
729 white-space: nowrap;
732 /* disabled tabs */
733 ul#topmenu span.tab {
734 color: #666666;
737 /* disabled drop/empty tabs */
738 ul#topmenu span.tabcaution {
739 color: #ff6666;
742 /* enabled drop/empty tabs
743 ul#topmenu a.tabcaution {
744 color: #FF0000;
746 ul#topmenu a.tabcaution:hover {
747 color: #FFFFFF;
748 background-color: #FF0000;
750 fieldset.caution a {
751 color: #FF0000;
753 fieldset.caution a:hover {
754 color: #ffffff;
755 background-color: #FF0000;
758 <?php if ($GLOBALS['cfg']['LightTabs']) { ?>
759 /* active tab */
760 ul#topmenu a.tabactive, ul#topmenu2 a.tabactive {
761 color: black;
764 ul#topmenu ul {
765 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
767 <?php } else { ?>
768 #topmenu {
769 margin-top: 0.5em;
770 padding: 0.1em 0.3em 0.1em 0.3em;
774 ul#topmenu ul {
775 -moz-box-shadow: 2px 2px 3px #666;
776 -webkit-box-shadow: 2px 2px 3px #666;
777 box-shadow: 2px 2px 3px #666;
780 ul#topmenu > li {
781 border-bottom: 1pt solid black;
785 /* default tab styles */
786 ul#topmenu a, ul#topmenu span {
787 background-color: <?php echo $GLOBALS['cfg']['TopMenuBgColor']; ?>;
788 padding: 5px;
789 margin: 0;
790 /*border: 0px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
791 border-width: 1pt 1pt 0 1pt;
792 -moz-border-radius: 0.4em 0.4em 0 0;
793 border-radius: 0.4em 0.4em 0 0;*/
796 ul#topmenu ul a {
797 border-width: 1pt 0 0 0;
798 -moz-border-radius: 0;
799 border-radius: 0;
802 ul#topmenu ul li:first-child a {
803 border-width: 0;
806 /* enabled hover/active tabs */
807 ul#topmenu > li > a:hover,
808 ul#topmenu > li > .tabactive {
809 padding: 5px;
810 text-decoration: none;
813 ul#topmenu ul a:hover,
814 ul#topmenu ul .tabactive {
815 text-decoration: none;
818 ul#topmenu a.tab:hover,
819 ul#topmenu .tabactive {
820 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
821 padding: 5px;
824 ul#topmenu2 a.tab:hover,
825 ul#topmenu2 a.tabactive {
826 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
827 -moz-border-radius: 0.3em;
828 border-radius: 0.3em;
829 text-decoration: none;
832 /* to be able to cancel the bottom border, use <li class="active"> */
833 ul#topmenu > li.active {
834 border-bottom: 1pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
837 /* disabled drop/empty tabs */
838 ul#topmenu span.tab,
839 a.warning,
840 ul#topmenu span.tabcaution {
841 cursor: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>error.ico), default;
843 <?php } ?>
844 /* end topmenu */
847 /* Calendar */
848 table.calendar {
849 width: 100%;
851 table.calendar td {
852 text-align: center;
854 table.calendar td a {
855 display: block;
858 table.calendar td a:hover {
859 background-color: #CCFFCC;
862 table.calendar th {
863 background-color: #D3DCE3;
866 table.calendar td.selected {
867 background-color: #FFCC99;
870 img.calendar {
871 border: none;
873 form.clock {
874 text-align: center;
876 /* end Calendar */
879 /* table stats */
880 div#tablestatistics {
881 border-bottom: 0.1em solid #669999;
882 margin-bottom: 0.5em;
883 padding-bottom: 0.5em;
886 div#tablestatistics table {
887 float: <?php echo $left; ?>;
888 margin-bottom: 0.5em;
889 margin-<?php echo $right; ?>: 0.5em;
892 div#tablestatistics table caption {
893 margin-<?php echo $right; ?>: 0.5em;
895 /* END table stats */
898 /* server privileges */
899 #tableuserrights td,
900 #tablespecificuserrights td,
901 #tabledatabases td {
902 vertical-align: middle;
904 /* END server privileges */
908 /* Heading */
909 #serverinfo {
910 font-weight: bold;
911 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
912 padding: 5px;
913 background: <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
914 border: 1px solid #999;
917 #serverinfo .item {
918 white-space: nowrap;
921 #span_table_comment {
922 font-weight: normal;
923 font-style: italic;
924 white-space: nowrap;
927 #serverinfo img {
928 margin: 0 0.1em 0 0.2em;
932 #textSQLDUMP {
933 width: 95%;
934 height: 95%;
935 font-family: "Courier New", Courier, mono;
936 font-size: 110%;
939 #TooltipContainer {
940 position: absolute;
941 z-index: 99;
942 width: 20em;
943 height: auto;
944 overflow: visible;
945 visibility: hidden;
946 background-color: #ffffcc;
947 color: #006600;
948 border: 0.1em solid #000000;
949 padding: 0.5em;
952 /* user privileges */
953 #fieldset_add_user_login div.item {
954 border-bottom: 1px solid silver;
955 padding-bottom: 0.3em;
956 margin-bottom: 0.3em;
959 #fieldset_add_user_login label {
960 float: <?php echo $left; ?>;
961 display: block;
962 width: 10em;
963 max-width: 100%;
964 text-align: <?php echo $right; ?>;
965 padding-<?php echo $right; ?>: 0.5em;
968 #fieldset_add_user_login span.options #select_pred_username,
969 #fieldset_add_user_login span.options #select_pred_hostname,
970 #fieldset_add_user_login span.options #select_pred_password {
971 width: 100%;
972 max-width: 100%;
975 #fieldset_add_user_login span.options {
976 float: <?php echo $left; ?>;
977 display: block;
978 width: 12em;
979 max-width: 100%;
980 padding-<?php echo $right; ?>: 0.5em;
983 #fieldset_add_user_login input {
984 width: 12em;
985 clear: <?php echo $right; ?>;
986 max-width: 100%;
989 #fieldset_add_user_login span.options input {
990 width: auto;
993 #fieldset_user_priv div.item {
994 float: <?php echo $left; ?>;
995 width: 9em;
996 max-width: 100%;
999 #fieldset_user_priv div.item div.item {
1000 float: none;
1003 #fieldset_user_priv div.item label {
1004 white-space: nowrap;
1007 #fieldset_user_priv div.item select {
1008 width: 100%;
1011 #fieldset_user_global_rights fieldset {
1012 float: <?php echo $left; ?>;
1014 /* END user privileges */
1017 /* serverstatus */
1018 div#serverstatus table caption a.top {
1019 float: <?php echo $right; ?>;
1022 div#serverstatus div#serverstatusqueriesdetails table,
1023 div#serverstatus table#serverstatustraffic,
1024 div#serverstatus table#serverstatusconnections {
1025 float: <?php echo $left; ?>;
1028 #serverstatussection,
1029 .clearfloat {
1030 clear: both;
1032 div#serverstatussection table {
1033 width: 100%;
1034 margin-bottom: 1em;
1036 div#serverstatussection table .name {
1037 width: 18em;
1039 div#serverstatussection table .value {
1040 width: 6em;
1043 div#serverstatus table tbody td.descr a,
1044 div#serverstatus table .tblFooters a {
1045 white-space: nowrap;
1047 div#serverstatus div#statuslinks a:before,
1048 div#serverstatus div#sectionlinks a:before,
1049 div#serverstatus table tbody td.descr a:before,
1050 div#serverstatus table .tblFooters a:before {
1051 content: '[';
1053 div#serverstatus div#statuslinks a:after,
1054 div#serverstatus div#sectionlinks a:after,
1055 div#serverstatus table tbody td.descr a:after,
1056 div#serverstatus table .tblFooters a:after {
1057 content: ']';
1059 /* end serverstatus */
1061 /* querywindow */
1062 body#bodyquerywindow {
1063 margin: 0;
1064 padding: 0;
1065 background-image: none;
1066 background-color: #F5F5F5;
1069 div#querywindowcontainer {
1070 margin: 0;
1071 padding: 0;
1072 width: 100%;
1075 div#querywindowcontainer fieldset {
1076 margin-top: 0;
1078 /* END querywindow */
1081 /* querybox */
1083 div#sqlquerycontainer {
1084 float: <?php echo $left; ?>;
1085 width: 69%;
1086 /* height: 15em; */
1089 div#tablefieldscontainer {
1090 float: <?php echo $right; ?>;
1091 width: 29%;
1092 /* height: 15em; */
1095 div#tablefieldscontainer select {
1096 width: 100%;
1097 /* height: 12em; */
1100 textarea#sqlquery {
1101 width: 100%;
1102 /* height: 100%; */
1104 textarea#sql_query_edit{
1105 height:7em;
1106 width: 95%;
1107 display:block;
1109 div#queryboxcontainer div#bookmarkoptions {
1110 margin-top: 0.5em;
1112 /* end querybox */
1114 /* main page */
1115 #maincontainer {
1116 /*background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
1117 /*background-position: <?php echo $right; ?> bottom;
1118 background-repeat: no-repeat;*/
1121 #mysqlmaininformation,
1122 #pmamaininformation {
1123 float: <?php echo $left; ?>;
1124 width: 49%;
1127 #maincontainer ul {
1128 list-style-type: disc;
1129 vertical-align: middle;
1132 #maincontainer li {
1133 margin: 0.2em 0em;
1135 /* END main page */
1138 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
1139 /* iconic view for ul items */
1140 li#li_create_database {
1141 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
1144 li#li_select_lang {
1145 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
1148 li#li_select_mysql_collation {
1149 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1152 li#li_select_theme{
1153 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
1156 li#li_user_info{
1157 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1160 li#li_mysql_status{
1161 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
1164 li#li_mysql_variables{
1165 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
1168 li#li_mysql_processes{
1169 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
1172 li#li_mysql_collations{
1173 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1176 li#li_mysql_engines{
1177 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
1180 li#li_mysql_binlogs {
1181 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
1184 li#li_mysql_databases {
1185 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
1188 li#li_export {
1189 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
1192 li#li_import {
1193 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
1196 li#li_change_password {
1197 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
1200 li#li_log_out {
1201 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
1204 li#li_mysql_privilegs{
1205 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
1208 li#li_switch_dbstats {
1209 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
1212 li#li_flush_privileges {
1213 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
1216 li#li_user_preferences {
1217 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_tblops.png);
1219 /* END iconic view for ul items */
1220 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
1223 #body_browse_foreigners {
1224 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1225 margin: 0.5em 0.5em 0 0.5em;
1228 #bodyquerywindow {
1229 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1232 #bodythemes {
1233 width: 500px;
1234 margin: auto;
1235 text-align: center;
1238 #bodythemes img {
1239 border: 0.1em solid black;
1242 #bodythemes a:hover img {
1243 border: 0.1em solid red;
1246 #fieldset_select_fields {
1247 float: <?php echo $left; ?>;
1250 #selflink {
1251 clear: both;
1252 display: block;
1253 margin-top: 1em;
1254 margin-bottom: 1em;
1255 width: 100%;
1256 border-top: 0.1em solid silver;
1257 text-align: <?php echo $right; ?>;
1260 #table_innodb_bufferpool_usage,
1261 #table_innodb_bufferpool_activity {
1262 float: <?php echo $left; ?>;
1265 #div_mysql_charset_collations table {
1266 float: <?php echo $left; ?>;
1269 .operations_half_width {
1270 width: 48%;
1271 float: <?php echo $left; ?>;
1274 .operations_full_width {
1275 width: 100%;
1276 clear: both;
1279 #qbe_div_table_list {
1280 float: <?php echo $left; ?>;
1283 #qbe_div_sql_query {
1284 float: <?php echo $left; ?>;
1287 label.desc {
1288 width: 30em;
1289 float: <?php echo $left; ?>;
1292 label.desc sup {
1293 position: absolute;
1296 code.sql, div.sqlvalidate {
1297 display: block;
1298 padding: 0.3em;
1299 margin-top: 0;
1300 margin-bottom: 0;
1301 border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
1302 border-top: 0;
1303 border-bottom: 0;
1304 max-height: 10em;
1305 overflow: auto;
1306 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1309 #main_pane_left {
1310 width: 60%;
1311 float: <?php echo $left; ?>;
1312 padding-top: 1em;
1315 #main_pane_right {
1316 margin-<?php echo $left; ?>: 60%;
1317 padding-top: 1em;
1318 padding-<?php echo $left; ?>: 1em;
1321 .group {
1322 border: 0.3em solid <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
1323 margin-bottom: 1em;
1324 margin-right: 1em;
1327 .group h2 {
1328 background: <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
1329 padding: 0.1em 0.3em;
1330 margin-top: 0;
1331 color: <?php echo $GLOBALS['cfg']['HeaderColor']; ?>;
1334 .group ul {
1335 margin: 15px;
1336 padding-left: 20px;
1339 .group-cnt {
1340 padding: 0 0 0 0.5em;
1341 display: inline-block;
1342 width: 98%;
1345 /* for elements that should be revealed only via js */
1346 .hide {
1347 display: none;
1350 #li_select_server {
1351 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1354 #list_server {
1355 list-style-image: none;
1359 * Progress bar styles
1361 div.upload_progress_bar_outer
1363 border: 1px solid black;
1364 width: 202px;
1367 div.upload_progress_bar_inner
1369 background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1370 width: 0px;
1371 height: 12px;
1372 margin: 1px;
1375 table#serverconnection_src_remote,
1376 table#serverconnection_trg_remote,
1377 table#serverconnection_src_local,
1378 table#serverconnection_trg_local {
1379 float:left;
1382 * Validation error message styles
1384 .invalid_value
1385 {background:#F00;}
1388 * Ajax notification styling
1390 .ajax_notification {
1391 top: 0px; /** The notification needs to be shown on the top of the page */
1392 position: fixed;
1393 margin-top: 0;
1394 margin-right: auto;
1395 margin-bottom: 0;
1396 margin-left: auto;
1397 padding: 3px 5px; /** Keep a little space on the sides of the text */
1398 min-width: 70px;
1399 max-width: 350px; /** This value might have to be changed */
1400 background-color: #FFD700;
1401 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1402 text-align: center;
1403 display: block;
1404 left: 0;
1405 right: 0;
1406 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif);
1407 background-repeat: no-repeat;
1408 background-position: 2%;
1411 #loading_parent {
1412 /** Need this parent to properly center the notification division */
1413 position: relative;
1414 width: 100%;
1417 * Export and Import styles
1420 .exportoptions h3, .importoptions h3 {
1421 border-bottom: 1px #999999 solid;
1422 font-size: 110%;
1425 .exportoptions ul, .importoptions ul, .format_specific_options ul {
1426 list-style-type: none;
1427 margin-bottom: 15px;
1430 .exportoptions li, .importoptions li {
1431 margin: 7px;
1433 .exportoptions label, .importoptions label, .exportoptions p, .importoptions p {
1434 margin: 5px;
1435 float: none;
1438 #csv_options label.desc, #ldi_options label.desc, #latex_options label.desc, #output label.desc{
1439 float: left;
1440 width: 15em;
1443 .exportoptions, .importoptions {
1444 margin: 20px 30px 30px 10px
1447 .exportoptions #buttonGo, .importoptions #buttonGo {
1448 padding: 5px 30px;
1449 -moz-border-radius: 11px;
1450 -webkit-border-radius: 11px;
1451 border-radius: 11px;
1452 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
1453 background: -moz-linear-gradient(top, #ffffff, #cccccc);
1454 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
1455 border: 1px solid #444444;
1456 cursor: pointer;
1459 .format_specific_options h3 {
1460 margin: 10px 0px 0px 10px;
1461 border: 0px;
1464 .format_specific_options {
1465 border: 1px solid #999999;
1466 margin: 7px 0px;
1467 padding: 3px;
1470 p.desc {
1471 margin: 5px;
1475 * Export styles only
1477 select#db_select, select#table_select {
1478 width: 400px;
1481 .export_sub_options {
1482 margin: 20px 0px 0px 30px;
1485 .export_sub_options h4 {
1486 border-bottom: 1px #999999 solid;
1489 .export_sub_options li.subgroup {
1490 display: inline-block;
1491 margin-top: 0;
1494 .export_sub_options li {
1495 margin-bottom: 0;
1498 #quick_or_custom, #output_quick_export {
1499 display: none;
1502 * Import styles only
1505 .importoptions #import_notification {
1506 margin: 10px 0px;
1507 font-style: italic;
1510 input#input_import_file {
1511 margin: 5px;
1514 .formelementrow {
1515 margin: 5px 0px 5px 0px;
1519 * ENUM/SET editor styles
1521 p.enum_notice {
1522 margin: 5px 2px;
1523 font-size: 80%;
1526 #enum_editor {
1527 display: none;
1528 position: fixed;
1529 _position: absolute; /* hack for IE */
1530 z-index: 101;
1531 overflow-y: auto;
1532 overflow-x: hidden;
1535 #enum_editor_no_js {
1536 margin: auto auto;
1539 #enum_editor, #enum_editor_no_js {
1540 background: #D0DCE0;
1541 padding: 15px;
1544 #popup_background {
1545 display: none;
1546 position: fixed;
1547 _position: absolute; /* hack for IE6 */
1548 width: 100%;
1549 height: 100%;
1550 top: 0;
1551 left: 0;
1552 background: #000;
1553 z-index: 100;
1554 overflow: hidden;
1557 a.close_enum_editor {
1558 float: right;
1561 #enum_editor #values, #enum_editor_no_js #values {
1562 margin: 15px 0px;
1563 width: 100%;
1566 #enum_editor #values input, #enum_editor_no_js #values input {
1567 margin: 5px 0px;
1568 float: top;
1569 width: 100%;
1574 #enum_editor_output {
1575 margin-top: 50px;
1579 * Table structure styles
1581 .structure_actions_dropdown {
1582 position: absolute;
1583 padding: 3px;
1584 display: none;
1585 z-index: 100;
1588 .structure_actions_dropdown a {
1589 display: block;
1592 td.more_opts {
1593 display: none;
1594 white-space: nowrap;
1597 iframe.IE_hack {
1598 z-index: 1;
1599 position: absolute;
1600 display: none;
1601 border: 0;
1602 filter: alpha(opacity=0);
1605 /* config forms */
1606 .config-form ul.tabs {
1607 margin: 1.1em 0.2em 0;
1608 padding: 0 0 0.3em 0;
1609 list-style: none;
1610 font-weight: bold;
1613 .config-form ul.tabs li {
1614 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1615 border: 1px solid <?php echo $GLOBALS['cfg']['LabelColor']; ?>;
1616 float: <?php echo $left; ?>;
1619 .config-form ul.tabs li a {
1620 display: block;
1621 margin: 0.1em 0.2em 0;
1622 padding: 0.1em 0.4em;
1623 white-space: nowrap;
1624 text-decoration: none;
1625 border-bottom: none;
1628 .config-form ul.tabs li a:hover,
1629 .config-form ul.tabs li a:active,
1630 .config-form ul.tabs li a.active {
1631 margin: 0;
1632 padding: 0.1em 0.6em 0.2em;
1635 .config-form ul.tabs li a.active {
1636 background-color: <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
1637 color: <?php echo $GLOBALS['cfg']['TblContentBackground']; ?>
1640 .config-form fieldset {
1641 margin-top: 0;
1642 padding: 0;
1643 clear: both;
1644 /*border-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;*/
1647 .config-form legend {
1648 display: none;
1651 .config-form fieldset p {
1652 margin: 0;
1653 padding: 0.5em;
1654 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1655 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
1658 .config-form fieldset .errors { /* form error list */
1659 margin: 0 -2px 1em -2px;
1660 padding: 0.5em 1.5em;
1661 background: #FBEAD9;
1662 border: 0 #C83838 solid;
1663 border-width: 1px 0;
1664 list-style: none;
1665 font-family: sans-serif;
1666 font-size: small;
1669 .config-form fieldset .inline_errors { /* field error list */
1670 margin: 0.3em 0.3em 0.3em 0;
1671 padding: 0;
1672 list-style: none;
1673 color: #9A0000;
1674 font-size: small;
1677 .config-form fieldset th {
1678 padding: 0.3em 0.3em 0.3em 0.5em;
1679 text-align: left;
1680 vertical-align: top;
1681 width: 40%;
1682 background: transparent;
1685 .config-form fieldset .doc, .config-form fieldset .disabled-notice {
1686 margin-left: 1em;
1689 .config-form fieldset .disabled-notice {
1690 font-size: 80%;
1691 text-transform: uppercase;
1692 color: #E00;
1693 cursor: help;
1696 .config-form fieldset td {
1697 padding-top: 0.3em;
1698 padding-bottom: 0.3em;
1699 vertical-align: top;
1702 .config-form fieldset th small {
1703 display: block;
1704 font-weight: normal;
1705 font-family: sans-serif;
1706 font-size: x-small;
1707 color: #444;
1710 .config-form fieldset th, .config-form fieldset td {
1711 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1714 fieldset .group-header th {
1715 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1718 fieldset .group-header + tr th {
1719 padding-top: 0.6em;
1722 fieldset .group-field-1 th, fieldset .group-header-2 th {
1723 padding-left: 1.5em;
1726 fieldset .group-field-2 th, fieldset .group-header-3 th {
1727 padding-left: 3em;
1730 fieldset .group-field-3 th {
1731 padding-left: 4.5em;
1734 fieldset .disabled-field th,
1735 fieldset .disabled-field th small,
1736 fieldset .disabled-field td {
1737 color: #666;
1738 background-color: #ddd;
1741 .config-form .lastrow {
1742 border-top: 1px #000 solid;
1745 .config-form .lastrow {
1746 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
1747 padding: 0.5em;
1748 text-align: center;
1751 .config-form .lastrow input {
1752 font-weight: bold;
1755 /* form elements */
1757 .config-form span.checkbox {
1758 padding: 2px;
1759 display: inline-block;
1762 .config-form .custom { /* customized field */
1763 background: #FFC;
1766 .config-form span.checkbox.custom {
1767 padding: 1px;
1768 border: 1px #EDEC90 solid;
1769 background: #FFC;
1772 .config-form .field-error {
1773 border-color: #A11 !important;
1776 .config-form input[type="text"],
1777 .config-form select,
1778 .config-form textarea {
1779 border: 1px #A7A6AA solid;
1780 height: auto;
1783 .config-form input[type="text"]:focus,
1784 .config-form select:focus,
1785 .config-form textarea:focus {
1786 border: 1px #6676FF solid;
1787 background: #F7FBFF;
1790 .config-form .field-comment-mark {
1791 font-family: serif;
1792 color: #007;
1793 cursor: help;
1794 padding: 0 0.2em;
1795 font-weight: bold;
1796 font-style: italic;
1799 .config-form .field-comment-warning {
1800 color: #A00;
1803 /* error list */
1804 .config-form dd {
1805 margin-left: 0.5em;
1808 .config-form dd:before {
1809 content: "\25B8 ";
1812 .click-hide-message {
1813 cursor: pointer;
1816 .prefsmanage_opts {
1817 margin-<?php echo $left; ?>: 2em;
1820 #prefs_autoload {
1821 margin-bottom: 0.5em;
1827 /* Misc */
1828 #serverinfo a {
1829 color: <?php echo $GLOBALS['cfg']['TableHeaderlinkColor']; ?>;
1832 #serverinfo a:hover {
1833 color: <?php echo $GLOBALS['cfg']['TblContentBackground']; ?>;
1834 text-decoration: none;
1837 table.data {
1838 margin: 0 5px 5px 0;
1841 table.data thead a, table.insertRowTable thead a {
1842 color: <?php echo $GLOBALS['cfg']['TableHeaderlinkColor'];?>;
1843 /*font-weight: normal;*/
1846 table.data a {
1847 color: <?php echo $GLOBALS['cfg']['TableLinkColor'];?>;
1850 th a {
1851 color: <?php echo $GLOBALS['cfg']['TopMenuColor']; ?>;
1854 th label, .name, tr.odd th, tr.even th {
1855 color: <?php echo $GLOBALS['cfg']['LabelColor'];?>;
1859 .ui-widget-header {
1860 background: red;