Gain some vertical space in table create form
[phpmyadmin/crack.git] / themes / original / css / theme_right.css.php
blob272221d36560fa9c41e72d7d333075817fd32443
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 margin: 0.5em;
32 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
33 background: <?php echo (isset($_SESSION['tmp_user_values']['custom_color']) ? $_SESSION['tmp_user_values']['custom_color'] : $GLOBALS['cfg']['MainBackground']); ?>;
36 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
37 textarea, tt, pre, code {
38 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
40 <?php } ?>
41 h1 {
42 font-size: 140%;
43 font-weight: bold;
46 h2 {
47 font-size: 120%;
48 font-weight: bold;
51 h3 {
52 font-weight: bold;
55 a, a:link,
56 a:visited,
57 a:active {
58 text-decoration: none;
59 color: #0000FF;
60 cursor: pointer;
63 a:hover {
64 text-decoration: underline;
65 color: #FF0000;
68 dfn {
69 font-style: normal;
72 dfn:hover {
73 font-style: normal;
74 cursor: help;
77 th {
78 font-weight: bold;
79 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
80 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
83 a img {
84 border: 0;
87 hr {
88 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
89 background-color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
90 border: 0;
91 height: 1px;
94 form {
95 padding: 0;
96 margin: 0;
97 display: inline;
100 textarea {
101 overflow: visible;
102 height: <?php echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?>em;
105 fieldset {
106 margin-top: 1em;
107 border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
108 padding: 0.5em;
109 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
112 fieldset fieldset {
113 margin: 0.8em;
116 fieldset legend {
117 font-weight: bold;
118 color: #444444;
119 background-color: <?php echo 'OPERA' != PMA_USR_BROWSER_AGENT ? 'transparent' : $GLOBALS['cfg']['BgOne']; ?>;
122 /* buttons in some browsers (eg. Konqueror) are block elements,
123 this breaks design */
124 button {
125 display: inline;
128 table caption,
129 table th,
130 table td {
131 padding: 0.1em 0.5em 0.1em 0.5em;
132 margin: 0.1em;
133 vertical-align: top;
136 img,
137 input,
138 select,
139 button {
140 vertical-align: middle;
144 /******************************************************************************/
145 /* classes */
146 div.tools {
147 border: 1px solid #000000;
148 padding: 0.2em;
151 div.tools,
152 fieldset.tblFooters {
153 margin-top: 0;
154 margin-bottom: 0.5em;
155 /* avoid a thick line since this should be used under another fieldset */
156 border-top: 0;
157 text-align: <?php echo $right; ?>;
158 float: none;
159 clear: both;
162 fieldset .formelement {
163 float: <?php echo $left; ?>;
164 margin-<?php echo $right; ?>: 0.5em;
165 /* IE */
166 white-space: nowrap;
169 /* revert for Gecko */
170 fieldset div[class=formelement] {
171 white-space: normal;
174 button.mult_submit {
175 border: none;
176 background-color: transparent;
179 /* odd items 1,3,5,7,... */
180 table tr.odd th,
181 .odd {
182 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
185 /* even items 2,4,6,8,... */
186 table tr.even th,
187 .even {
188 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
191 /* odd table rows 1,3,5,7,... */
192 table tr.odd th,
193 table tr.odd,
194 table tr.even th,
195 table tr.even {
196 text-align: <?php echo $left; ?>;
199 <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
200 /* marked table rows */
201 td.marked,
202 table tr.marked th,
203 table tr.marked {
204 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
205 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
207 <?php } ?>
209 <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
210 /* hovered items */
211 .odd:hover,
212 .even:hover,
213 .hover,
214 .structure_actions_dropdown {
215 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
216 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
219 /* hovered table rows */
220 table tr.odd:hover th,
221 table tr.even:hover th,
222 table tr.hover th {
223 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
224 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
226 <?php } ?>
229 * marks table rows/cells if the db field is in a where condition
231 tr.condition th,
232 tr.condition td,
233 td.condition,
234 th.condition {
235 border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
238 table .value {
239 text-align: <?php echo $right; ?>;
240 white-space: normal;
242 /* IE doesnt handles 'pre' right */
243 table [class=value] {
244 white-space: normal;
248 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
249 .value {
250 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
252 <?php } ?>
253 .value .attention {
254 color: red;
255 font-weight: bold;
257 .value .allfine {
258 color: green;
262 img.lightbulb {
263 cursor: pointer;
266 .pdflayout {
267 overflow: hidden;
268 clip: inherit;
269 background-color: #FFFFFF;
270 display: none;
271 border: 1px solid #000000;
272 position: relative;
275 .pdflayout_table {
276 background: #D3DCE3;
277 color: #000000;
278 overflow: hidden;
279 clip: inherit;
280 z-index: 2;
281 display: inline;
282 visibility: inherit;
283 cursor: move;
284 position: absolute;
285 font-size: 80%;
286 border: 1px dashed #000000;
289 /* MySQL Parser */
290 .syntax {
291 font-size: 80%;
294 .syntax a {
295 text-decoration: none;
296 border-bottom:1px dotted black;
299 .syntax_comment {
300 padding-left: 4pt;
301 padding-right: 4pt;
304 .syntax_digit {
307 .syntax_digit_hex {
310 .syntax_digit_integer {
313 .syntax_digit_float {
316 .syntax_punct {
319 .syntax_alpha {
322 .syntax_alpha_columnType {
323 text-transform: uppercase;
326 .syntax_alpha_columnAttrib {
327 text-transform: uppercase;
330 .syntax_alpha_reservedWord {
331 text-transform: uppercase;
332 font-weight: bold;
335 .syntax_alpha_functionName {
336 text-transform: uppercase;
339 .syntax_alpha_identifier {
342 .syntax_alpha_charset {
345 .syntax_alpha_variable {
348 .syntax_quote {
349 white-space: pre;
352 .syntax_quote_backtick {
355 /* leave some space between icons and text */
356 .icon, img.footnotemarker {
357 vertical-align: middle;
358 margin-right: 0.3em;
359 margin-left: 0.3em;
362 img.footnotemarker {
363 display: none;
366 /* no extra space in table cells */
367 td .icon {
368 margin: 0;
371 .selectallarrow {
372 margin-<?php echo $right; ?>: 0.3em;
373 margin-<?php echo $left; ?>: 0.6em;
376 /* message boxes: warning, error, confirmation */
377 .success h1,
378 .notice h1,
379 .warning h1,
380 div.error h1 {
381 border-bottom: 2px solid;
382 font-weight: bold;
383 text-align: <?php echo $left; ?>;
384 margin: 0 0 0.2em 0;
387 div.success,
388 div.notice,
389 div.warning,
390 div.error,
391 div.footnotes {
392 margin: 0.3em 0 0 0;
393 border: 2px solid;
394 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
395 background-repeat: no-repeat;
396 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
397 background-position: 10px 50%;
398 padding: 0.1em 0.1em 0.1em 36px;
399 <?php } else { ?>
400 background-position: 99% 50%;
401 padding: 10px 5% 10px 10px;
402 <?php } ?>
403 <?php } else { ?>
404 padding: 0.3em;
405 <?php } ?>
408 .success {
409 color: #000000;
410 background-color: #f0fff0;
412 h1.success,
413 div.success {
414 border-color: #00FF00;
415 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
416 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_success.png);
417 background-repeat: no-repeat;
418 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
419 background-position: 5px 50%;
420 padding: 0.2em 0.2em 0.2em 25px;
421 <?php } else { ?>
422 background-position: 97% 50%;
423 padding: 0.2em 25px 0.2em 0.2em;
424 <?php } ?>
425 <?php } ?>
427 .success h1 {
428 border-color: #00FF00;
431 .notice, .footnotes {
432 color: #000000;
433 background-color: #FFFFDD;
435 h1.notice,
436 div.notice,
437 div.footnotes {
438 border-color: #FFD700;
439 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
440 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png);
441 background-repeat: no-repeat;
442 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
443 background-position: 5px 50%;
444 padding: 0.2em 0.2em 0.2em 25px;
445 <?php } else { ?>
446 background-position: 97% 50%;
447 padding: 0.2em 25px 0.2em 0.2em;
448 <?php } ?>
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 background-repeat: no-repeat;
466 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
467 background-position: 5px 50%;
468 padding: 0.2em 0.2em 0.2em 25px;
469 <?php } else { ?>
470 background-position: 97% 50%;
471 padding: 0.2em 25px 0.2em 0.2em;
472 <?php } ?>
473 <?php } ?>
475 .warning h1 {
476 border-color: #cc0000;
479 .error {
480 background-color: #FFFFCC;
481 color: #ff0000;
484 h1.error,
485 div.error {
486 border-color: #ff0000;
487 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
488 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png);
489 background-repeat: no-repeat;
490 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
491 background-position: 5px 50%;
492 padding: 0.2em 0.2em 0.2em 25px;
493 <?php } else { ?>
494 background-position: 97% 50%;
495 padding: 0.2em 25px 0.2em 0.2em;
496 <?php } ?>
497 <?php } ?>
499 div.error h1 {
500 border-color: #ff0000;
503 .confirmation {
504 background-color: #FFFFCC;
506 fieldset.confirmation {
507 border: 0.1em solid #FF0000;
509 fieldset.confirmation legend {
510 border-left: 0.1em solid #FF0000;
511 border-right: 0.1em solid #FF0000;
512 font-weight: bold;
513 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
514 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_really.png);
515 background-repeat: no-repeat;
516 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
517 background-position: 5px 50%;
518 padding: 0.2em 0.2em 0.2em 25px;
519 <?php } else { ?>
520 background-position: 97% 50%;
521 padding: 0.2em 25px 0.2em 0.2em;
522 <?php } ?>
523 <?php } ?>
525 /* end messageboxes */
528 .tblcomment {
529 font-size: 70%;
530 font-weight: normal;
531 color: #000099;
534 .tblHeaders {
535 font-weight: bold;
536 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
537 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
540 div.tools,
541 .tblFooters {
542 font-weight: normal;
543 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
544 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
547 .tblHeaders a:link,
548 .tblHeaders a:active,
549 .tblHeaders a:visited,
550 div.tools a:link,
551 div.tools a:visited,
552 div.tools a:active,
553 .tblFooters a:link,
554 .tblFooters a:active,
555 .tblFooters a:visited {
556 color: #0000FF;
559 .tblHeaders a:hover,
560 div.tools a:hover,
561 .tblFooters a:hover {
562 color: #FF0000;
565 /* forbidden, no privilegs */
566 .noPrivileges {
567 color: #FF0000;
568 font-weight: bold;
571 /* disabled text */
572 .disabled,
573 .disabled a:link,
574 .disabled a:active,
575 .disabled a:visited {
576 color: #666666;
579 .disabled a:hover {
580 color: #666666;
581 text-decoration: none;
584 tr.disabled td,
585 td.disabled {
586 background-color: #cccccc;
589 .nowrap {
590 white-space: nowrap;
594 * login form
596 body.loginform h1,
597 body.loginform a.logo {
598 display: block;
599 text-align: center;
602 body.loginform {
603 text-align: center;
606 body.loginform div.container {
607 text-align: <?php echo $left; ?>;
608 width: 30em;
609 margin: 0 auto;
612 form.login label {
613 float: <?php echo $left; ?>;
614 width: 10em;
615 font-weight: bolder;
618 .commented_column {
619 border-bottom: 1px dashed black;
622 .column_attribute {
623 font-size: 70%;
626 /******************************************************************************/
627 /* specific elements */
629 /* topmenu */
630 ul#topmenu, ul#topmenu2, ul.tabs {
631 font-weight: bold;
632 list-style-type: none;
633 margin: 0;
634 padding: 0;
637 ul#topmenu2 {
638 margin: 0.25em 0.5em 0;
639 height: 2em;
640 clear: both;
643 ul#topmenu li, ul#topmenu2 li {
644 float: <?php echo $left; ?>;
645 margin: 0;
646 padding: 0;
647 vertical-align: middle;
650 #topmenu img, #topmenu2 img {
651 vertical-align: middle;
652 margin-<?php echo $right; ?>: 0.1em;
655 /* default tab styles */
656 ul#topmenu a, ul#topmenu span {
657 display: block;
658 margin: 2px 2px 0;
659 padding: 2px 2px 0;
660 white-space: nowrap;
663 ul#topmenu ul a {
664 margin: 0;
665 padding-bottom: 2px;
668 ul#topmenu .submenu {
669 position: relative;
670 display: none;
672 ul#topmenu .shown {
673 display: block;
676 ul#topmenu ul {
677 margin: 0;
678 padding: 0;
679 position: absolute;
680 right: 0;
681 list-style-type: none;
682 display: none;
683 border: 1px #666 solid;
686 ul#topmenu li:hover ul, ul#topmenu .submenuhover ul {
687 display: block;
690 ul#topmenu ul li {
691 width: 100%;
694 ul#topmenu2 a {
695 display: block;
696 margin: 0.1em;
697 padding: 0.2em;
698 white-space: nowrap;
701 /* disabled tabs */
702 ul#topmenu span.tab {
703 color: #666666;
706 /* disabled drop/empty tabs */
707 ul#topmenu span.tabcaution {
708 color: #ff6666;
711 /* enabled drop/empty tabs */
712 ul#topmenu a.tabcaution {
713 color: #FF0000;
715 ul#topmenu a.tabcaution:hover {
716 color: #FFFFFF;
717 background-color: #FF0000;
719 fieldset.caution a {
720 color: #FF0000;
722 fieldset.caution a:hover {
723 color: #ffffff;
724 background-color: #FF0000;
727 <?php if ($GLOBALS['cfg']['LightTabs']) { ?>
728 /* active tab */
729 ul#topmenu a.tabactive, ul#topmenu2 a.tabactive {
730 color: black;
733 ul#topmenu ul {
734 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
736 <?php } else { ?>
737 #topmenu {
738 margin-top: 0.5em;
739 padding: 0.1em 0.3em 0.1em 0.3em;
742 ul#topmenu ul {
743 -moz-box-shadow: 2px 2px 3px #666;
744 -webkit-box-shadow: 2px 2px 3px #666;
745 box-shadow: 2px 2px 3px #666;
748 ul#topmenu > li {
749 border-bottom: 1pt solid black;
752 /* default tab styles */
753 ul#topmenu a, ul#topmenu span {
754 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
755 border: 0 solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
756 border-width: 1pt 1pt 0 1pt;
757 -moz-border-radius: 0.4em 0.4em 0 0;
758 border-radius: 0.4em 0.4em 0 0;
761 ul#topmenu ul a {
762 border-width: 1pt 0 0 0;
763 -moz-border-radius: 0;
764 border-radius: 0;
767 ul#topmenu ul li:first-child a {
768 border-width: 0;
771 /* enabled hover/active tabs */
772 ul#topmenu > li > a:hover,
773 ul#topmenu > li > .tabactive {
774 margin: 0;
775 padding: 2px 4px;
776 text-decoration: none;
779 ul#topmenu ul a:hover,
780 ul#topmenu ul .tabactive {
781 text-decoration: none;
784 ul#topmenu a.tab:hover,
785 ul#topmenu .tabactive {
786 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
789 ul#topmenu2 a.tab:hover,
790 ul#topmenu2 a.tabactive {
791 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
792 -moz-border-radius: 0.3em;
793 border-radius: 0.3em;
794 text-decoration: none;
797 /* to be able to cancel the bottom border, use <li class="active"> */
798 ul#topmenu > li.active {
799 border-bottom: 1pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
802 /* disabled drop/empty tabs */
803 ul#topmenu span.tab,
804 a.warning,
805 ul#topmenu span.tabcaution {
806 cursor: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>error.ico), default;
808 <?php } ?>
809 /* end topmenu */
812 /* Calendar */
813 table.calendar {
814 width: 100%;
816 table.calendar td {
817 text-align: center;
819 table.calendar td a {
820 display: block;
823 table.calendar td a:hover {
824 background-color: #CCFFCC;
827 table.calendar th {
828 background-color: #D3DCE3;
831 table.calendar td.selected {
832 background-color: #FFCC99;
835 img.calendar {
836 border: none;
838 form.clock {
839 text-align: center;
841 /* end Calendar */
844 /* table stats */
845 div#tablestatistics {
846 border-bottom: 0.1em solid #669999;
847 margin-bottom: 0.5em;
848 padding-bottom: 0.5em;
851 div#tablestatistics table {
852 float: <?php echo $left; ?>;
853 margin-bottom: 0.5em;
854 margin-<?php echo $right; ?>: 0.5em;
857 div#tablestatistics table caption {
858 margin-<?php echo $right; ?>: 0.5em;
860 /* END table stats */
863 /* server privileges */
864 #tableuserrights td,
865 #tablespecificuserrights td,
866 #tabledatabases td {
867 vertical-align: middle;
869 /* END server privileges */
873 /* Heading */
874 #serverinfo {
875 font-weight: bold;
876 margin-bottom: 0.5em;
879 #serverinfo .item {
880 white-space: nowrap;
883 #span_table_comment {
884 font-weight: normal;
885 font-style: italic;
886 white-space: nowrap;
889 #serverinfo img {
890 margin: 0 0.1em 0 0.2em;
894 #textSQLDUMP {
895 width: 95%;
896 height: 95%;
897 font-family: "Courier New", Courier, mono;
898 font-size: 110%;
901 #TooltipContainer {
902 position: absolute;
903 z-index: 99;
904 width: 20em;
905 height: auto;
906 overflow: visible;
907 visibility: hidden;
908 background-color: #ffffcc;
909 color: #006600;
910 border: 0.1em solid #000000;
911 padding: 0.5em;
914 /* user privileges */
915 #fieldset_add_user_login div.item {
916 border-bottom: 1px solid silver;
917 padding-bottom: 0.3em;
918 margin-bottom: 0.3em;
921 #fieldset_add_user_login label {
922 float: <?php echo $left; ?>;
923 display: block;
924 width: 10em;
925 max-width: 100%;
926 text-align: <?php echo $right; ?>;
927 padding-<?php echo $right; ?>: 0.5em;
930 #fieldset_add_user_login span.options #select_pred_username,
931 #fieldset_add_user_login span.options #select_pred_hostname,
932 #fieldset_add_user_login span.options #select_pred_password {
933 width: 100%;
934 max-width: 100%;
937 #fieldset_add_user_login span.options {
938 float: <?php echo $left; ?>;
939 display: block;
940 width: 12em;
941 max-width: 100%;
942 padding-<?php echo $right; ?>: 0.5em;
945 #fieldset_add_user_login input {
946 width: 12em;
947 clear: <?php echo $right; ?>;
948 max-width: 100%;
951 #fieldset_add_user_login span.options input {
952 width: auto;
955 #fieldset_user_priv div.item {
956 float: <?php echo $left; ?>;
957 width: 9em;
958 max-width: 100%;
961 #fieldset_user_priv div.item div.item {
962 float: none;
965 #fieldset_user_priv div.item label {
966 white-space: nowrap;
969 #fieldset_user_priv div.item select {
970 width: 100%;
973 #fieldset_user_global_rights fieldset {
974 float: <?php echo $left; ?>;
976 /* END user privileges */
979 /* serverstatus */
980 div#serverstatus table caption a.top {
981 float: <?php echo $right; ?>;
984 div#serverstatus div#serverstatusqueriesdetails table,
985 div#serverstatus table#serverstatustraffic,
986 div#serverstatus table#serverstatusconnections {
987 float: <?php echo $left; ?>;
990 #serverstatussection,
991 .clearfloat {
992 clear: both;
994 div#serverstatussection table {
995 width: 100%;
996 margin-bottom: 1em;
998 div#serverstatussection table .name {
999 width: 18em;
1001 div#serverstatussection table .value {
1002 width: 6em;
1005 div#serverstatus table tbody td.descr a,
1006 div#serverstatus table .tblFooters a {
1007 white-space: nowrap;
1009 div#serverstatus div#statuslinks a:before,
1010 div#serverstatus div#sectionlinks a:before,
1011 div#serverstatus table tbody td.descr a:before,
1012 div#serverstatus table .tblFooters a:before {
1013 content: '[';
1015 div#serverstatus div#statuslinks a:after,
1016 div#serverstatus div#sectionlinks a:after,
1017 div#serverstatus table tbody td.descr a:after,
1018 div#serverstatus table .tblFooters a:after {
1019 content: ']';
1021 /* end serverstatus */
1023 /* querywindow */
1024 body#bodyquerywindow {
1025 margin: 0;
1026 padding: 0;
1027 background-image: none;
1028 background-color: #F5F5F5;
1031 div#querywindowcontainer {
1032 margin: 0;
1033 padding: 0;
1034 width: 100%;
1037 div#querywindowcontainer fieldset {
1038 margin-top: 0;
1040 /* END querywindow */
1043 /* querybox */
1045 div#sqlquerycontainer {
1046 float: <?php echo $left; ?>;
1047 width: 69%;
1048 /* height: 15em; */
1051 div#tablefieldscontainer {
1052 float: <?php echo $right; ?>;
1053 width: 29%;
1054 /* height: 15em; */
1057 div#tablefieldscontainer select {
1058 width: 100%;
1059 /* height: 12em; */
1062 textarea#sqlquery {
1063 width: 100%;
1064 /* height: 100%; */
1066 textarea#sql_query_edit{
1067 height:7em;
1068 width: 95%;
1069 display:block;
1071 div#queryboxcontainer div#bookmarkoptions {
1072 margin-top: 0.5em;
1074 /* end querybox */
1076 /* main page */
1077 #maincontainer {
1078 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
1079 background-position: <?php echo $right; ?> bottom;
1080 background-repeat: no-repeat;
1083 #mysqlmaininformation,
1084 #pmamaininformation {
1085 float: <?php echo $left; ?>;
1086 width: 49%;
1089 #maincontainer ul {
1090 list-style-type: disc;
1091 vertical-align: middle;
1094 #maincontainer li {
1095 margin: 0.2em 0em;
1097 /* END main page */
1100 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
1101 /* iconic view for ul items */
1102 li#li_create_database {
1103 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
1106 li#li_select_lang {
1107 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
1110 li#li_select_mysql_collation {
1111 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1114 li#li_select_theme{
1115 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
1118 li#li_user_info{
1119 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1122 li#li_mysql_status{
1123 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
1126 li#li_mysql_variables{
1127 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
1130 li#li_mysql_processes{
1131 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
1134 li#li_mysql_collations{
1135 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1138 li#li_mysql_engines{
1139 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
1142 li#li_mysql_binlogs {
1143 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
1146 li#li_mysql_databases {
1147 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
1150 li#li_export {
1151 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
1154 li#li_import {
1155 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
1158 li#li_change_password {
1159 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
1162 li#li_log_out {
1163 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
1166 li#li_mysql_privilegs{
1167 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
1170 li#li_switch_dbstats {
1171 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
1174 li#li_flush_privileges {
1175 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
1178 li#li_user_preferences {
1179 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_tblops.png);
1181 /* END iconic view for ul items */
1182 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
1185 #body_browse_foreigners {
1186 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1187 margin: 0.5em 0.5em 0 0.5em;
1190 #bodyquerywindow {
1191 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1194 #bodythemes {
1195 width: 500px;
1196 margin: auto;
1197 text-align: center;
1200 #bodythemes img {
1201 border: 0.1em solid black;
1204 #bodythemes a:hover img {
1205 border: 0.1em solid red;
1208 #fieldset_select_fields {
1209 float: <?php echo $left; ?>;
1212 #selflink {
1213 clear: both;
1214 display: block;
1215 margin-top: 1em;
1216 margin-bottom: 1em;
1217 width: 100%;
1218 border-top: 0.1em solid silver;
1219 text-align: <?php echo $right; ?>;
1222 #table_innodb_bufferpool_usage,
1223 #table_innodb_bufferpool_activity {
1224 float: <?php echo $left; ?>;
1227 #div_mysql_charset_collations table {
1228 float: <?php echo $left; ?>;
1231 #div_table_order {
1232 min-width: 48%;
1233 float: <?php echo $left; ?>;
1236 #div_table_rename {
1237 min-width: 48%;
1238 float: <?php echo $left; ?>;
1241 #div_table_copy,
1242 #div_partition_maintenance,
1243 #div_referential_integrity,
1244 #div_table_removal,
1245 #div_table_maintenance {
1246 min-width: 48%;
1247 float: <?php echo $left; ?>;
1250 #div_table_options {
1251 clear: both;
1252 min-width: 48%;
1253 float: <?php echo $left; ?>;
1256 #qbe_div_table_list {
1257 float: <?php echo $left; ?>;
1260 #qbe_div_sql_query {
1261 float: <?php echo $left; ?>;
1264 label.desc {
1265 width: 30em;
1266 float: <?php echo $left; ?>;
1269 label.desc sup {
1270 position: absolute;
1273 code.sql, div.sqlvalidate {
1274 display: block;
1275 padding: 0.3em;
1276 margin-top: 0;
1277 margin-bottom: 0;
1278 border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
1279 border-top: 0;
1280 border-bottom: 0;
1281 max-height: 10em;
1282 overflow: auto;
1283 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1286 #main_pane_left {
1287 width: 60%;
1288 float: <?php echo $left; ?>;
1289 padding-top: 1em;
1292 #main_pane_right {
1293 margin-<?php echo $left; ?>: 60%;
1294 padding-top: 1em;
1295 padding-<?php echo $left; ?>: 1em;
1298 .group {
1299 border-<?php echo $left; ?>: 0.3em solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1300 margin-bottom: 1em;
1303 .group h2 {
1304 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1305 padding: 0.1em 0.3em;
1306 margin-top: 0;
1309 .group-cnt {
1310 padding: 0 0 0 0.5em;
1311 display: inline-block;
1312 width: 98%;
1315 textarea#partitiondefinition {
1316 height:3em;
1320 /* for elements that should be revealed only via js */
1321 .hide {
1322 display: none;
1325 #li_select_server {
1326 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1329 #list_server {
1330 list-style-image: none;
1334 * Progress bar styles
1336 div.upload_progress_bar_outer
1338 border: 1px solid black;
1339 width: 202px;
1342 div.upload_progress_bar_inner
1344 background-color: <?php echo (isset($_SESSION['userconf']['custom_color']) ? $_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
1345 width: 0px;
1346 height: 12px;
1347 margin: 1px;
1350 table#serverconnection_src_remote,
1351 table#serverconnection_trg_remote,
1352 table#serverconnection_src_local,
1353 table#serverconnection_trg_local {
1354 float:left;
1357 * Validation error message styles
1359 .invalid_value
1360 {background:#F00;}
1363 * Ajax notification styling
1365 .ajax_notification {
1366 top: 0px; /** The notification needs to be shown on the top of the page */
1367 position: fixed;
1368 margin-top: 0;
1369 margin-right: auto;
1370 margin-bottom: 0;
1371 margin-left: auto;
1372 padding: 3px 5px; /** Keep a little space on the sides of the text */
1373 min-width: 70px;
1374 max-width: 350px; /** This value might have to be changed */
1375 background-color: #FFD700;
1376 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1377 text-align: center;
1378 display: block;
1379 left: 0;
1380 right: 0;
1381 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif);
1382 background-repeat: no-repeat;
1383 background-position: 2%;
1386 #loading_parent {
1387 /** Need this parent to properly center the notification division */
1388 position: relative;
1389 width: 100%;
1392 * Export and Import styles
1395 .exportoptions h3, .importoptions h3 {
1396 border-bottom: 1px #999999 solid;
1397 font-size: 110%;
1400 .exportoptions ul, .importoptions ul, .format_specific_options ul {
1401 list-style-type: none;
1402 margin-bottom: 15px;
1405 .exportoptions li, .importoptions li {
1406 margin: 7px;
1408 .exportoptions label, .importoptions label, .exportoptions p, .importoptions p {
1409 margin: 5px;
1410 float: none;
1413 #csv_options label.desc, #ldi_options label.desc, #latex_options label.desc, #output label.desc{
1414 float: left;
1415 width: 15em;
1418 .exportoptions, .importoptions {
1419 margin: 20px 30px 30px 10px
1422 .exportoptions #buttonGo, .importoptions #buttonGo {
1423 padding: 5px 30px;
1424 -moz-border-radius: 11px;
1425 -webkit-border-radius: 11px;
1426 border-radius: 11px;
1427 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
1428 background: -moz-linear-gradient(top, #ffffff, #cccccc);
1429 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
1430 border: 1px solid #444444;
1431 cursor: pointer;
1434 .format_specific_options h3 {
1435 margin: 10px 0px 0px 10px;
1436 border: 0px;
1439 .format_specific_options {
1440 border: 1px solid #999999;
1441 margin: 7px 0px;
1442 padding: 3px;
1445 p.desc {
1446 margin: 5px;
1450 * Export styles only
1452 select#db_select, select#table_select {
1453 width: 400px;
1456 .export_sub_options {
1457 margin: 20px 0px 0px 30px;
1460 .export_sub_options h4 {
1461 border-bottom: 1px #999999 solid;
1464 .export_sub_options li.subgroup {
1465 display: inline-block;
1466 margin-top: 0;
1469 .export_sub_options li {
1470 margin-bottom: 0;
1473 #quick_or_custom, #output_quick_export {
1474 display: none;
1477 * Import styles only
1480 .importoptions #import_notification {
1481 margin: 10px 0px;
1482 font-style: italic;
1485 input#input_import_file {
1486 margin: 5px;
1489 .formelementrow {
1490 margin: 5px 0px 5px 0px;
1494 * ENUM/SET editor styles
1496 p.enum_notice {
1497 margin: 5px 2px;
1498 font-size: 80%;
1501 #enum_editor {
1502 display: none;
1503 position: fixed;
1504 _position: absolute; /* hack for IE */
1505 z-index: 101;
1506 overflow-y: auto;
1507 overflow-x: hidden;
1510 #enum_editor_no_js {
1511 margin: auto auto;
1514 #enum_editor, #enum_editor_no_js {
1515 background: #D0DCE0;
1516 padding: 15px;
1519 #popup_background {
1520 display: none;
1521 position: fixed;
1522 _position: absolute; /* hack for IE6 */
1523 width: 100%;
1524 height: 100%;
1525 top: 0;
1526 left: 0;
1527 background: #000;
1528 z-index: 100;
1529 overflow: hidden;
1532 a.close_enum_editor {
1533 float: right;
1536 #enum_editor #values, #enum_editor_no_js #values {
1537 margin: 15px 0px;
1538 width: 100%;
1541 #enum_editor #values input, #enum_editor_no_js #values input {
1542 margin: 5px 0px;
1543 float: top;
1544 width: 100%;
1549 #enum_editor_output {
1550 margin-top: 50px;
1554 * Table structure styles
1556 .structure_actions_dropdown {
1557 position: absolute;
1558 padding: 3px;
1559 display: none;
1560 z-index: 100;
1563 .structure_actions_dropdown a {
1564 display: block;
1567 td.more_opts {
1568 display: none;
1569 white-space: nowrap;
1572 iframe.IE_hack {
1573 z-index: 1;
1574 position: absolute;
1575 display: none;
1576 border: 0;
1577 filter: alpha(opacity=0);
1580 /* config forms */
1581 .config-form ul.tabs {
1582 margin: 1.1em 0.2em 0;
1583 padding: 0 0 0.3em 0;
1584 list-style: none;
1585 font-weight: bold;
1588 .config-form ul.tabs li {
1589 float: <?php echo $left; ?>;
1592 .config-form ul.tabs li a {
1593 display: block;
1594 margin: 0.1em 0.2em 0;
1595 padding: 0.1em 0.4em;
1596 white-space: nowrap;
1597 text-decoration: none;
1598 border: 1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1599 border-bottom: none;
1602 .config-form ul.tabs li a:hover,
1603 .config-form ul.tabs li a:active,
1604 .config-form ul.tabs li a.active {
1605 margin: 0;
1606 padding: 0.1em 0.6em 0.2em;
1609 .config-form ul.tabs li a.active {
1610 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1613 .config-form fieldset {
1614 margin-top: 0;
1615 padding: 0;
1616 clear: both;
1617 /*border-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;*/
1620 .config-form legend {
1621 display: none;
1624 .config-form fieldset p {
1625 margin: 0;
1626 padding: 0.5em;
1627 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1630 .config-form fieldset .errors { /* form error list */
1631 margin: 0 -2px 1em -2px;
1632 padding: 0.5em 1.5em;
1633 background: #FBEAD9;
1634 border: 0 #C83838 solid;
1635 border-width: 1px 0;
1636 list-style: none;
1637 font-family: sans-serif;
1638 font-size: small;
1641 .config-form fieldset .inline_errors { /* field error list */
1642 margin: 0.3em 0.3em 0.3em 0;
1643 padding: 0;
1644 list-style: none;
1645 color: #9A0000;
1646 font-size: small;
1649 .config-form fieldset th {
1650 padding: 0.3em 0.3em 0.3em 0.5em;
1651 text-align: left;
1652 vertical-align: top;
1653 width: 40%;
1654 background: transparent;
1657 .config-form fieldset .doc, .config-form fieldset .disabled-notice {
1658 margin-left: 1em;
1661 .config-form fieldset .disabled-notice {
1662 font-size: 80%;
1663 text-transform: uppercase;
1664 color: #E00;
1665 cursor: help;
1668 .config-form fieldset td {
1669 padding-top: 0.3em;
1670 padding-bottom: 0.3em;
1671 vertical-align: top;
1674 .config-form fieldset th small {
1675 display: block;
1676 font-weight: normal;
1677 font-family: sans-serif;
1678 font-size: x-small;
1679 color: #444;
1682 .config-form fieldset th, .config-form fieldset td {
1683 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1686 fieldset .group-header th {
1687 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1690 fieldset .group-header + tr th {
1691 padding-top: 0.6em;
1694 fieldset .group-field-1 th, fieldset .group-header-2 th {
1695 padding-left: 1.5em;
1698 fieldset .group-field-2 th, fieldset .group-header-3 th {
1699 padding-left: 3em;
1702 fieldset .group-field-3 th {
1703 padding-left: 4.5em;
1706 fieldset .disabled-field th,
1707 fieldset .disabled-field th small,
1708 fieldset .disabled-field td {
1709 color: #666;
1710 background-color: #ddd;
1713 .config-form .lastrow {
1714 border-top: 1px #000 solid;
1717 .config-form .lastrow {
1718 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
1719 padding: 0.5em;
1720 text-align: center;
1723 .config-form .lastrow input {
1724 font-weight: bold;
1727 /* form elements */
1729 .config-form span.checkbox {
1730 padding: 2px;
1731 display: inline-block;
1734 .config-form .custom { /* customized field */
1735 background: #FFC;
1738 .config-form span.checkbox.custom {
1739 padding: 1px;
1740 border: 1px #EDEC90 solid;
1741 background: #FFC;
1744 .config-form .field-error {
1745 border-color: #A11 !important;
1748 .config-form input[type="text"],
1749 .config-form select,
1750 .config-form textarea {
1751 border: 1px #A7A6AA solid;
1752 height: auto;
1755 .config-form input[type="text"]:focus,
1756 .config-form select:focus,
1757 .config-form textarea:focus {
1758 border: 1px #6676FF solid;
1759 background: #F7FBFF;
1762 .config-form .field-comment-mark {
1763 font-family: serif;
1764 color: #007;
1765 cursor: help;
1766 padding: 0 0.2em;
1767 font-weight: bold;
1768 font-style: italic;
1771 .config-form .field-comment-warning {
1772 color: #A00;
1775 /* error list */
1776 .config-form dd {
1777 margin-left: 0.5em;
1780 .config-form dd:before {
1781 content: "\25B8 ";
1784 .click-hide-message {
1785 cursor: pointer;
1788 .prefsmanage_opts {
1789 margin-<?php echo $left; ?>: 2em;
1792 #prefs_autoload {
1793 margin-bottom: 0.5em;