UPDATE 4.4.0.0
[phpmyadmin.git] / themes / pmahomme / css / common.css.php
blob2783fe23259c568661648bfbdec5c2a2a301de86
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Common styles for the pmahomme theme
6 * @package PhpMyAdmin-theme
7 * @subpackage PMAHomme
8 */
10 // unplanned execution path
11 if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
12 exit();
15 /******************************************************************************/
17 /* general tags */
18 html {
19 font-size: <?php echo $_SESSION['PMA_Theme']->getFontSize(); ?>
22 input,
23 select,
24 textarea {
25 font-size: 1em;
29 body {
30 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
31 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
32 <?php
33 } ?>
34 padding: 0;
35 margin: 0;
36 margin-<?php echo $left; ?>: 240px;
37 color: #444;
38 background: #fff;
41 body#loginform {
42 margin: 0;
45 #page_content, #session_debug {
46 margin: 0 .5em;
49 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
50 textarea,
51 tt,
52 pre,
53 code {
54 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
56 <?php
57 } ?>
60 h1 {
61 font-size: 140%;
62 font-weight: bold;
65 h2 {
66 font-size: 2em;
67 font-weight: normal;
68 text-shadow: 0 1px 0 #fff;
69 padding: 10px 0 10px;
70 padding-<?php echo $left; ?>: 3px;
71 color: #777;
74 /* Hiding icons in the page titles */
75 h2 img {
76 display: none;
79 h2 a img {
80 display: inline;
83 .data,
84 .data_full_width {
85 margin: 0 0 12px;
88 .data_full_width {
89 width: 100%;
92 h3 {
93 font-weight: bold;
97 a:link,
98 a:visited,
99 a:active,
100 button.mult_submit,
101 .checkall_box+label {
102 text-decoration: none;
103 color: #235a81;
104 cursor: pointer;
105 outline: none;
109 a:hover,
110 button.mult_submit:hover,
111 button.mult_submit:focus,
112 .checkall_box+label:hover {
113 text-decoration: underline;
114 color: #235a81;
117 #initials_table {
118 background: #f3f3f3;
119 border: 1px solid #aaa;
120 margin-bottom: 10px;
121 -moz-border-radius: 5px;
122 -webkit-border-radius: 5px;
123 border-radius: 5px;
126 #initials_table td {
127 padding: 8px !important;
130 #initials_table a {
131 border: 1px solid #aaa;
132 background: #fff;
133 padding: 4px 8px;
134 -moz-border-radius: 5px;
135 -webkit-border-radius: 5px;
136 border-radius: 5px;
137 <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'e0e0e0'); ?>
140 #initials_table a.active {
141 border: 1px solid #666;
142 box-shadow: 0 0 2px #999;
143 <?php echo $_SESSION['PMA_Theme']->getCssGradient('bbbbbb', 'ffffff'); ?>
146 dfn {
147 font-style: normal;
150 dfn:hover {
151 font-style: normal;
152 cursor: help;
155 th {
156 font-weight: bold;
157 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
158 background: #f3f3f3;
159 <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
162 a img {
163 border: 0;
166 hr {
167 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
168 background-color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
169 border: 0;
170 height: 1px;
173 form {
174 padding: 0;
175 margin: 0;
176 display: inline;
180 input,
181 select {
182 /* Fix outline in Chrome: */
183 outline: none;
186 input[type=text],
187 input[type=password],
188 input[type=number],
189 input[type=date] {
190 border-radius: 2px;
191 -moz-border-radius: 2px;
192 -webkit-border-radius: 2px;
195 background: white;
196 border: 1px solid #aaa;
197 color: #555;
198 padding: 4px;
201 input[type=text],
202 input[type=password],
203 input[type=number],
204 input[type=date],
205 input[type=checkbox],
206 select {
207 margin: 6px;
210 input[type=number] {
211 width: 50px;
214 input[type=text],
215 input[type=password],
216 input[type=number],
217 input[type=date],
218 select {
219 transition: all 0.2s;
220 -ms-transition: all 0.2s;
221 -webkit-transition: all 0.2s;
222 -moz-transition: all 0.2s;
225 input[type=text][disabled],
226 input[type=text][disabled]:hover,
227 input[type=password][disabled],
228 input[type=password][disabled]:hover,
229 input[type=number][disabled],
230 input[type=number][disabled]:hover,
231 input[type=date][disabled],
232 input[type=date][disabled]:hover,
233 select[disabled],
234 select[disabled]:hover {
235 background: #e8e8e8;
236 box-shadow: none;
237 -webkit-box-shadow: none;
238 -moz-box-shadow: none;
241 input[type=text]:hover,
242 input[type=text]:focus,
243 input[type=password]:hover,
244 input[type=password]:focus,
245 input[type=number]:hover,
246 input[type=number]:focus,
247 input[type=date]:hover,
248 input[type=date]:focus,
249 select:focus {
250 border: 1px solid #7c7c7c;
251 background: #fff;
254 input[type=text]:hover,
255 input[type=password]:hover,
256 input[type=number]:hover,
257 input[type=date]:hover {
258 box-shadow: 0 1px 3px #aaa;
259 -webkit-box-shadow: 0 1px 3px #aaa;
260 -moz-box-shadow: 0 1px 3px #aaa;
263 input[type=submit],
264 input[type=button],
265 button[type=submit]:not(.mult_submit) {
266 font-weight: bold !important;
269 input[type=submit],
270 input[type=button],
271 button[type=submit]:not(.mult_submit),
272 input[type=reset],
273 input[name=submit_reset],
274 input.button {
275 margin: 6px 14px;
276 border: 1px solid #aaa;
277 padding: 3px 7px;
278 color: #111;
279 text-decoration: none;
280 background: #ddd;
282 border-radius: 12px;
283 -webkit-border-radius: 12px;
284 -moz-border-radius: 12px;
286 text-shadow: 0 1px 0 #fff;
288 <?php echo $_SESSION['PMA_Theme']->getCssGradient('f8f8f8', 'd8d8d8'); ?>
291 input[type=submit]:hover,
292 input[type=button]:hover,
293 button[type=submit]:not(.mult_submit):hover,
294 input[type=reset]:hover,
295 input[name=submit_reset]:hover,
296 input.button:hover {
297 position: relative;
298 <?php echo $_SESSION['PMA_Theme']->getCssGradient('fff', 'ddd'); ?>
299 cursor: pointer;
302 input[type=submit]:active,
303 input[type=button]:active,
304 button[type=submit]:not(.mult_submit):active,
305 input[type=reset]:active,
306 input[name=submit_reset]:active,
307 input.button:active {
308 position: relative;
309 <?php echo $_SESSION['PMA_Theme']->getCssGradient('eee', 'ddd'); ?>
310 box-shadow: 0 1px 6px -2px #333 inset;
311 text-shadow: none;
314 input[type=submit]:disabled,
315 input[type=button]:disabled,
316 button[type=submit]:not(.mult_submit):disabled,
317 input[type=reset]:disabled,
318 input[name=submit_reset]:disabled,
319 input.button:disabled {
320 background: #ccc;
321 color: #666;
322 text-shadow: none;
325 textarea {
326 overflow: visible;
327 margin: 6px;
328 height: <?php echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?>em;
331 textarea.char {
332 margin: 6px;
333 height: <?php echo ceil($GLOBALS['cfg']['CharTextareaRows'] * 1.2); ?>em;
336 fieldset, .preview_sql {
337 margin-top: 1em;
338 border-radius: 4px 4px 0 0;
339 -moz-border-radius: 4px 4px 0 0;
340 -webkit-border-radius: 4px 4px 0 0;
341 border: #aaa solid 1px;
342 padding: 1.5em;
343 background: #eee;
344 text-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
345 -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
346 -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
347 box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px #fff inset;
350 fieldset fieldset {
351 margin: .8em;
352 background: #fff;
353 border: 1px solid #aaa;
354 background: #E8E8E8;
358 fieldset legend {
359 font-weight: bold;
360 color: #444;
361 padding: 5px 10px;
362 border-radius: 2px;
363 -moz-border-radius: 2px;
364 -webkit-border-radius: 2px;
365 border: 1px solid #aaa;
366 background-color: #fff;
367 -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>3px 3px 15px #bbb;
368 -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>3px 3px 15px #bbb;
369 box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>3px 3px 15px #bbb;
370 max-width: 100%;
373 .some-margin {
374 margin: 1.5em;
377 /* buttons in some browsers (eg. Konqueror) are block elements,
378 this breaks design */
379 button {
380 display: inline;
383 table caption,
384 table th,
385 table td {
386 padding: .3em;
387 margin: .1em;
388 vertical-align: top;
389 text-shadow: 0 1px 0 #fff;
392 /* 3.4 */
393 table {
394 border-collapse: collapse;
397 thead th {
398 border-right: 1px solid #fff;
401 th {
402 text-align: left;
406 img,
407 button {
408 vertical-align: middle;
411 input[type="checkbox"],
412 input[type="radio"] {
413 vertical-align: -11%;
417 select {
418 -moz-border-radius: 2px;
419 -webkit-border-radius: 2px;
420 border-radius: 2px;
422 border: 1px solid #bbb;
423 color: #333;
424 padding: 3px;
425 background: white;
426 margin:6px;
429 select[multiple] {
430 <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'f2f2f2'); ?>
433 /******************************************************************************/
434 /* classes */
435 .clearfloat {
436 clear: both;
439 .floatleft {
440 float: <?php echo $left; ?>;
441 margin-<?php echo $right; ?>: 1em;
444 .floatright {
445 float: <?php echo $right; ?>;
448 .center {
449 text-align: center;
452 .displayblock {
453 display: block;
456 table.nospacing {
457 border-spacing: 0;
460 table.nopadding tr th, table.nopadding tr td {
461 padding: 0;
464 th.left, td.left {
465 text-align: left;
468 th.center, td.center {
469 text-align: center;
472 th.right, td.right {
473 text-align: right;
476 tr.vtop th, tr.vtop td, th.vtop, td.vtop {
477 vertical-align: top;
480 tr.vmiddle th, tr.vmiddle td, th.vmiddle, td.vmiddle {
481 vertical-align: middle;
484 tr.vbottom th, tr.vbottom td, th.vbottom, td.vbottom {
485 vertical-align: bottom;
488 .paddingtop {
489 padding-top: 1em;
492 .separator {
493 color: #fff;
494 text-shadow: 0 1px 0 #000;
497 div.tools {
498 /* border: 1px solid #000; */
499 padding: .2em;
502 div.tools a {
503 color: #3a7ead !important;
506 div.tools,
507 fieldset.tblFooters {
508 margin-top: 0;
509 margin-bottom: .5em;
510 /* avoid a thick line since this should be used under another fieldset */
511 border-top: 0;
512 text-align: <?php echo $right; ?>;
513 float: none;
514 clear: both;
515 -webkit-border-radius: 0 0 4px 4px;
516 -moz-border-radius: 0 0 4px 4px;
517 border-radius: 0 0 4px 5px;
520 div.null_div {
521 height: 20px;
522 text-align: center;
523 font-style: normal;
524 min-width: 50px;
527 fieldset .formelement {
528 float: <?php echo $left; ?>;
529 margin-<?php echo $right; ?>: .5em;
530 /* IE */
531 white-space: nowrap;
534 @media all and (min-width: 1600px) {
535 fieldset .formelement {
536 clear: none;
538 #foreign_keys.relationalTable td:first-child + td {
539 width: 25%;
541 #foreign_keys.relationalTable td:first-child + td select {
542 width: auto;
543 margin-right: 1%;
545 #foreign_keys.relationalTable {
546 width: 100%;
551 /* revert for Gecko */
552 fieldset div[class=formelement] {
553 white-space: normal;
556 button.mult_submit {
557 border: none;
558 background-color: transparent;
561 /* odd items 1,3,5,7,... */
562 table tr.odd th,
563 .odd {
564 background: #fff;
565 <?php echo $_SESSION['PMA_Theme']->getCssIEClearFilter(); ?>
568 /* even items 2,4,6,8,... */
569 /* (tested on CRTs and ACLs) */
570 table tr.even th,
571 .even {
572 background: #DFDFDF;
573 <?php echo $_SESSION['PMA_Theme']->getCssIEClearFilter(); ?>
576 /* odd table rows 1,3,5,7,... */
577 table tr.odd th,
578 table tr.odd,
579 table tr.even th,
580 table tr.even {
581 text-align: <?php echo $left; ?>;
584 <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
585 /* marked table rows */
586 td.marked,
587 table tr.marked td,
588 table tr.marked th,
589 table tr.marked {
590 <?php echo $_SESSION['PMA_Theme']->getCssGradient('ced6df', 'b6c6d7'); ?>
591 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
593 <?php
594 } ?>
596 <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
597 /* hovered items */
598 .odd:hover,
599 .even:hover,
600 .hover {
601 <?php echo $_SESSION['PMA_Theme']->getCssGradient('ced6df', 'b6c6d7'); ?>
602 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
605 /* hovered table rows */
606 table tr.odd:hover th,
607 table tr.even:hover th,
608 table tr.hover th {
609 <?php echo $_SESSION['PMA_Theme']->getCssGradient('ced6df', 'b6c6d7'); ?>
610 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
612 <?php
613 } ?>
616 * marks table rows/cells if the db field is in a where condition
618 .condition {
619 border-color: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?> !important;
622 th.condition {
623 border-width: 1px 1px 0 1px;
624 border-style: solid;
627 td.condition {
628 border-width: 0 1px 0 1px;
629 border-style: solid;
632 tr:last-child td.condition {
633 border-width: 0 1px 1px 1px;
636 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
637 /* for first th which must have right border set (ltr only) */
638 .before-condition {
639 border-right: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
641 <?php
642 } ?>
645 * cells with the value NULL
647 td.null {
648 font-style: italic;
649 text-align: <?php echo $right; ?>;
652 table .valueHeader {
653 text-align: <?php echo $right; ?>;
654 white-space: normal;
656 table .value {
657 text-align: <?php echo $right; ?>;
658 white-space: normal;
660 /* IE doesnt handles 'pre' right */
661 table [class=value] {
662 white-space: normal;
666 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
667 .value {
668 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
670 <?php
671 } ?>
672 .attention {
673 color: red;
674 font-weight: bold;
676 .allfine {
677 color: green;
681 img.lightbulb {
682 cursor: pointer;
685 .pdflayout {
686 overflow: hidden;
687 clip: inherit;
688 background-color: #fff;
689 display: none;
690 border: 1px solid #000;
691 position: relative;
694 .pdflayout_table {
695 background: #D3DCE3;
696 color: #000;
697 overflow: hidden;
698 clip: inherit;
699 z-index: 2;
700 display: inline;
701 visibility: inherit;
702 cursor: move;
703 position: absolute;
704 font-size: 80%;
705 border: 1px dashed #000;
708 /* Doc links in SQL */
709 .cm-sql-doc {
710 text-decoration: none;
711 border-bottom: 1px dotted #000;
712 color: inherit !important;
715 /* no extra space in table cells */
716 td .icon {
717 margin: 0;
720 .selectallarrow {
721 margin-<?php echo $right; ?>: .3em;
722 margin-<?php echo $left; ?>: .6em;
725 /* message boxes: error, confirmation */
726 #pma_errors, #pma_demo, #pma_footer {
727 padding: 0 0.5em;
730 .success h1,
731 .notice h1,
732 div.error h1 {
733 border-bottom: 2px solid;
734 font-weight: bold;
735 text-align: <?php echo $left; ?>;
736 margin: 0 0 .2em 0;
739 div.success,
740 div.notice,
741 div.error {
742 margin: .5em 0 0.5em;
743 border: 1px solid;
744 background-repeat: no-repeat;
745 <?php
746 if ($GLOBALS['text_dir'] === 'ltr') { ?>
747 background-position: 10px 50%;
748 padding: 10px 10px 10px 10px;
749 <?php
750 } else { ?>
751 background-position: 99% 50%;
752 padding: 10px 35px 10px 10px;
753 <?php
754 } ?>
756 -moz-border-radius: 5px;
757 -webkit-border-radius: 5px;
758 border-radius: 5px;
760 -moz-box-shadow: 0 1px 1px #fff inset;
761 -webkit-box-shadow: 0 1px 1px #fff inset;
762 box-shadow: 0 1px 1px #fff inset;
765 .success a,
766 .notice a,
767 .error a {
768 text-decoration: underline;
771 .success {
772 color: #000;
773 background-color: #ebf8a4;
776 h1.success,
777 div.success {
778 border-color: #a2d246;
780 .success h1 {
781 border-color: #00FF00;
784 .notice {
785 color: #000;
786 background-color: #e8eef1;
789 h1.notice,
790 div.notice {
791 border-color: #3a6c7e;
794 .notice h1 {
795 border-color: #ffb10a;
798 .error {
799 border: 1px solid maroon !important;
800 color: #000;
801 background: pink;
804 h1.error,
805 div.error {
806 border-color: #333;
809 div.error h1 {
810 border-color: #ff0000;
813 .confirmation {
814 color: #000;
815 background-color: pink;
818 fieldset.confirmation {
821 fieldset.confirmation legend {
824 /* end messageboxes */
826 .tblcomment {
827 font-size: 70%;
828 font-weight: normal;
829 color: #000099;
832 .tblHeaders {
833 font-weight: bold;
834 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
835 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
838 div.tools,
839 .tblFooters {
840 font-weight: normal;
841 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
842 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
845 .tblHeaders a:link,
846 .tblHeaders a:active,
847 .tblHeaders a:visited,
848 div.tools a:link,
849 div.tools a:visited,
850 div.tools a:active,
851 .tblFooters a:link,
852 .tblFooters a:active,
853 .tblFooters a:visited {
854 color: #0000FF;
857 .tblHeaders a:hover,
858 div.tools a:hover,
859 .tblFooters a:hover {
860 color: #FF0000;
863 /* forbidden, no privileges */
864 .noPrivileges {
865 color: #FF0000;
866 font-weight: bold;
869 /* disabled text */
870 .disabled,
871 .disabled a:link,
872 .disabled a:active,
873 .disabled a:visited {
874 color: #666;
877 .disabled a:hover {
878 color: #666;
879 text-decoration: none;
882 tr.disabled td,
883 td.disabled {
884 background-color: #f3f3f3;
885 color: #aaa;
888 .nowrap {
889 white-space: nowrap;
893 * login form
895 body#loginform h1,
896 body#loginform a.logo {
897 display: block;
898 text-align: center;
901 body#loginform {
902 margin-top: 1em;
903 text-align: center;
906 body#loginform div.container {
907 text-align: <?php echo $left; ?>;
908 width: 30em;
909 margin: 0 auto;
912 form.login label {
913 float: <?php echo $left; ?>;
914 width: 10em;
915 font-weight: bolder;
918 form.login input[type=text],
919 form.login input[type=password],
920 form.login select {
921 width: 14em;
924 .commented_column {
925 border-bottom: 1px dashed #000;
928 .column_attribute {
929 font-size: 70%;
932 /******************************************************************************/
933 /* specific elements */
935 /* topmenu */
936 #topmenu a {
937 text-shadow: 0 1px 0 #fff;
940 #topmenu .error {
941 background: #eee;border: 0 !important;color: #aaa;
944 ul#topmenu,
945 ul#topmenu2,
946 ul.tabs {
947 font-weight: bold;
948 list-style-type: none;
949 margin: 0;
950 padding: 0;
954 ul#topmenu2 {
955 margin: .25em .5em 0;
956 height: 2em;
957 clear: both;
960 ul#topmenu li,
961 ul#topmenu2 li {
962 float: <?php echo $left; ?>;
963 margin: 0;
964 vertical-align: middle;
967 #topmenu img,
968 #topmenu2 img {
969 margin-right: .5em;
970 vertical-align: -3px;
973 .menucontainer {
974 <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'dcdcdc'); ?>
975 border-top: 1px solid #aaa;
978 /* default tab styles */
979 .tabactive {
980 background: #fff !important;
983 ul#topmenu2 a {
984 display: block;
985 margin: 7px 6px 7px;
986 margin-<?php echo $left; ?>: 0;
987 padding: 4px 10px;
988 white-space: nowrap;
989 border: 1px solid #ddd;
990 border-radius: 20px;
991 -moz-border-radius: 20px;
992 -webkit-border-radius: 20px;
993 background: #f2f2f2;
997 fieldset.caution a {
998 color: #FF0000;
1000 fieldset.caution a:hover {
1001 color: #fff;
1002 background-color: #FF0000;
1005 #topmenu {
1006 margin-top: .5em;
1007 padding: .1em .3em;
1010 ul#topmenu ul {
1011 -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 6px #ddd;
1012 -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
1013 box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
1016 ul#topmenu ul.only {
1017 <?php echo $left; ?>: 0;
1020 ul#topmenu > li {
1021 border-right: 1px solid #fff;
1022 border-left: 1px solid #ccc;
1023 border-bottom: 1px solid #ccc;
1026 ul#topmenu > li:first-child {
1027 border-left: 0;
1030 /* default tab styles */
1031 ul#topmenu a,
1032 ul#topmenu span {
1033 padding: .6em;
1036 ul#topmenu ul a {
1037 border-width: 1pt 0 0 0;
1038 -moz-border-radius: 0;
1039 -webkit-border-radius: 0;
1040 border-radius: 0;
1043 ul#topmenu ul li:first-child a {
1044 border-width: 0;
1047 /* enabled hover/active tabs */
1048 ul#topmenu > li > a:hover,
1049 ul#topmenu > li > .tabactive {
1050 text-decoration: none;
1053 ul#topmenu ul a:hover,
1054 ul#topmenu ul .tabactive {
1055 text-decoration: none;
1058 ul#topmenu a.tab:hover,
1059 ul#topmenu .tabactive {
1060 /* background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>; */
1063 ul#topmenu2 a.tab:hover,
1064 ul#topmenu2 a.tabactive {
1065 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1066 border-radius: .3em;
1067 -moz-border-radius: .3em;
1068 -webkit-border-radius: .3em;
1069 text-decoration: none;
1072 /* to be able to cancel the bottom border, use <li class="active"> */
1073 ul#topmenu > li.active {
1074 /* border-bottom: 0pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>; */
1075 border-right: 0;
1076 border-bottom-color: #fff;
1078 /* end topmenu */
1080 /* zoom search */
1081 div#dataDisplay input,
1082 div#dataDisplay select {
1083 margin: 0;
1084 margin-<?php echo $right; ?>: .5em;
1086 div#dataDisplay th {
1087 line-height: 2em;
1089 table#tableFieldsId {
1090 width: 100%;
1093 /* Calendar */
1094 table.calendar {
1095 width: 100%;
1097 table.calendar td {
1098 text-align: center;
1100 table.calendar td a {
1101 display: block;
1104 table.calendar td a:hover {
1105 background-color: #CCFFCC;
1108 table.calendar th {
1109 background-color: #D3DCE3;
1112 table.calendar td.selected {
1113 background-color: #FFCC99;
1116 img.calendar {
1117 border: none;
1119 form.clock {
1120 text-align: center;
1122 /* end Calendar */
1125 /* table stats */
1126 div#tablestatistics table {
1127 float: <?php echo $left; ?>;
1128 margin-bottom: .5em;
1129 margin-<?php echo $right; ?>: 1.5em;
1130 margin-top: .5em;
1131 min-width: 16em;
1134 /* end table stats */
1137 /* server privileges */
1138 #tableuserrights td,
1139 #tablespecificuserrights td,
1140 #tabledatabases td {
1141 vertical-align: middle;
1143 /* end server privileges */
1146 /* Heading */
1147 #topmenucontainer {
1148 padding-<?php echo $right; ?>: 1em;
1149 width: 100%;
1152 #serverinfo {
1153 background: #888;
1154 padding: .3em .9em;
1155 padding-<?php echo $left; ?>: 2.2em;
1156 text-shadow: 0 1px 0 #000;
1157 width: 10000px;
1158 overflow: hidden;
1161 #serverinfo .item {
1162 white-space: nowrap;
1163 color: #fff;
1166 #goto_pagetop, #lock_page_icon {
1167 position: fixed;
1168 padding: .25em .25em .2em;
1169 top: 0;
1170 z-index: 900;
1171 background: #888;
1174 #goto_pagetop {
1175 <?php echo $right; ?>: 0;
1178 #lock_page_icon {
1179 <?php echo $right; ?>: 2em;
1182 #span_table_comment {
1183 font-weight: bold;
1184 font-style: italic;
1185 white-space: nowrap;
1186 margin-left: 10px;
1187 color: #D6D6D6;
1188 text-shadow: none;
1191 #serverinfo img {
1192 margin: 0 .1em 0;
1193 margin-<?php echo $left; ?>: .2em;
1197 #textSQLDUMP {
1198 width: 95%;
1199 height: 95%;
1200 font-family: Consolas, "Courier New", Courier, mono;
1201 font-size: 110%;
1204 #TooltipContainer {
1205 position: absolute;
1206 z-index: 99;
1207 width: 20em;
1208 height: auto;
1209 overflow: visible;
1210 visibility: hidden;
1211 background-color: #ffffcc;
1212 color: #006600;
1213 border: .1em solid #000;
1214 padding: .5em;
1217 /* user privileges */
1218 #fieldset_add_user_login div.item {
1219 border-bottom: 1px solid silver;
1220 padding-bottom: .3em;
1221 margin-bottom: .3em;
1224 #fieldset_add_user_login label {
1225 float: <?php echo $left; ?>;
1226 display: block;
1227 width: 10em;
1228 max-width: 100%;
1229 text-align: <?php echo $right; ?>;
1230 padding-<?php echo $right; ?>: .5em;
1233 #fieldset_add_user_login span.options #select_pred_username,
1234 #fieldset_add_user_login span.options #select_pred_hostname,
1235 #fieldset_add_user_login span.options #select_pred_password {
1236 width: 100%;
1237 max-width: 100%;
1240 #fieldset_add_user_login span.options {
1241 float: <?php echo $left; ?>;
1242 display: block;
1243 width: 12em;
1244 max-width: 100%;
1245 padding-<?php echo $right; ?>: .5em;
1248 #fieldset_add_user_login input {
1249 width: 12em;
1250 clear: <?php echo $right; ?>;
1251 max-width: 100%;
1254 #fieldset_add_user_login span.options input {
1255 width: auto;
1258 #fieldset_user_priv div.item {
1259 float: <?php echo $left; ?>;
1260 width: 9em;
1261 max-width: 100%;
1264 #fieldset_user_priv div.item div.item {
1265 float: none;
1268 #fieldset_user_priv div.item label {
1269 white-space: nowrap;
1272 #fieldset_user_priv div.item select {
1273 width: 100%;
1276 #fieldset_user_global_rights fieldset {
1277 float: <?php echo $left; ?>;
1280 #fieldset_user_group_rights fieldset {
1281 float: <?php echo $left; ?>;
1284 #fieldset_user_global_rights>legend input {
1285 margin-<?php echo $left; ?>: 2em;
1287 /* end user privileges */
1290 /* serverstatus */
1292 .linkElem:hover {
1293 text-decoration: underline;
1294 color: #235a81;
1295 cursor: pointer;
1298 h3#serverstatusqueries span {
1299 font-size: 60%;
1300 display: inline;
1303 img.sortableIcon {
1304 float: <?php echo $right; ?>;
1305 background-repeat: no-repeat;
1306 margin: 0;
1309 .buttonlinks {
1310 float: <?php echo $right; ?>;
1311 white-space: nowrap;
1314 /* Also used for the variables page */
1315 fieldset#tableFilter {
1316 margin-bottom: 1em;
1319 div#serverStatusTabs {
1320 margin-top: 1em;
1323 caption a.top {
1324 float: <?php echo $right; ?>;
1327 div#serverstatusquerieschart {
1328 float: <?php echo $left; ?>;
1329 width: 500px;
1330 height: 350px;
1331 padding-<?php echo $left; ?>: 30px;
1334 table#serverstatusqueriesdetails,
1335 table#serverstatustraffic {
1336 float: <?php echo $left; ?>;
1339 table#serverstatusqueriesdetails th {
1340 min-width: 35px;
1343 table#serverstatusvariables {
1344 width: 100%;
1345 margin-bottom: 1em;
1347 table#serverstatusvariables .name {
1348 width: 18em;
1349 white-space: nowrap;
1351 table#serverstatusvariables .value {
1352 width: 6em;
1354 table#serverstatusconnections {
1355 float: <?php echo $left; ?>;
1356 margin-<?php echo $left; ?>: 30px;
1359 div#serverstatus table tbody td.descr a,
1360 div#serverstatus table .tblFooters a {
1361 white-space: nowrap;
1364 div.liveChart {
1365 clear: both;
1366 min-width: 500px;
1367 height: 400px;
1368 padding-bottom: 80px;
1371 #addChartDialog input[type="text"] {
1372 margin: 0;
1373 padding: 3px;
1376 div#chartVariableSettings {
1377 border: 1px solid #ddd;
1378 background-color: #E6E6E6;
1379 margin-left: 10px;
1382 table#chartGrid td {
1383 padding: 3px;
1384 margin: 0;
1387 table#chartGrid div.monitorChart {
1388 background: #EBEBEB;
1389 overflow: hidden;
1390 border: none;
1393 div.tabLinks {
1394 margin-left: 0.3em;
1395 float: <?php echo $left; ?>;
1396 padding: 5px 0px;
1399 div.tabLinks a, div.tabLinks label {
1400 margin-right: 7px;
1403 div.tabLinks .icon {
1404 margin: -0.2em 0.3em 0px 0px;
1407 .popupContent {
1408 display: none;
1409 position: absolute;
1410 border: 1px solid #CCC;
1411 margin: 0;
1412 padding: 3px;
1413 -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
1414 -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
1415 box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 3px #666;
1416 background-color: #fff;
1417 z-index: 2;
1420 div#logTable {
1421 padding-top: 10px;
1422 clear: both;
1425 div#logTable table {
1426 width: 100%;
1429 div#queryAnalyzerDialog {
1430 min-width: 700px;
1433 div#queryAnalyzerDialog div.CodeMirror-scroll {
1434 height: auto;
1437 div#queryAnalyzerDialog div#queryProfiling {
1438 height: 300px;
1441 div#queryAnalyzerDialog td.explain {
1442 width: 250px;
1445 div#queryAnalyzerDialog table.queryNums {
1446 display: none;
1447 border: 0;
1448 text-align: left;
1451 .smallIndent {
1452 padding-<?php echo $left; ?>: 7px;
1455 /* end serverstatus */
1457 /* server variables */
1458 #serverVariables {
1459 table-layout: fixed;
1460 width: 100%;
1462 #serverVariables .var-row > td {
1463 white-space: nowrap;
1464 overflow: hidden;
1465 text-overflow: ellipsis;
1466 line-height: 2em;
1468 #serverVariables .var-header {
1469 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
1470 background: #f3f3f3;
1471 <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
1472 font-weight: bold;
1474 #serverVariables .var-header {
1475 text-align: <?php echo $left; ?>;
1477 #serverVariables .var-row {
1478 padding: 0.5em;
1479 min-height: 18px;
1481 #serverVariables .var-action {
1482 width: 120px;
1484 #serverVariables .var-name {
1485 float: <?php echo $left; ?>;
1486 font-weight: bold;
1488 #serverVariables .var-name.session {
1489 font-weight: normal;
1490 font-style: italic;
1492 #serverVariables .var-value {
1493 width: 50%;
1494 float: <?php echo $right; ?>;
1495 text-align: <?php echo $right; ?>;
1497 #serverVariables .var-doc {
1498 overflow:visible;
1499 float: <?php echo $right; ?>;
1502 /* server variables editor */
1503 #serverVariables .editLink {
1504 padding-<?php echo $right; ?>: 1em;
1505 float: <?php echo $left; ?>;
1506 font-family: sans-serif;
1508 #serverVariables .serverVariableEditor {
1509 width: 100%;
1510 overflow: hidden;
1512 #serverVariables .serverVariableEditor input {
1513 width: 100%;
1514 margin: 0 0.5em;
1515 box-sizing: border-box;
1516 -ms-box-sizing: border-box;
1517 -moz-box-sizing: border-box;
1518 -webkit-box-sizing: border-box;
1519 height: 2.2em;
1521 #serverVariables .serverVariableEditor div {
1522 display: block;
1523 overflow: hidden;
1524 padding-<?php echo $right; ?>: 1em;
1526 #serverVariables .serverVariableEditor a {
1527 float: <?php echo $right; ?>;
1528 margin: 0 0.5em;
1529 line-height: 2em;
1531 /* end server variables */
1534 p.notice {
1535 margin: 1.5em 0;
1536 border: 1px solid #000;
1537 background-repeat: no-repeat;
1538 <?php
1539 if ($GLOBALS['text_dir'] === 'ltr') { ?>
1540 background-position: 10px 50%;
1541 padding: 10px 10px 10px 25px;
1542 <?php
1543 } else { ?>
1544 background-position: 99% 50%;
1545 padding: 25px 10px 10px 10px
1546 <?php
1547 } ?>
1548 -moz-border-radius: 5px;
1549 -webkit-border-radius: 5px;
1550 border-radius: 5px;
1551 -moz-box-shadow: 0 1px 2px #fff inset;
1552 -webkit-box-shadow: 0 1px 2px #fff inset;
1553 box-shadow: 0 1px 2px #fff inset;
1554 background: #555;
1555 color: #d4fb6a;
1558 p.notice a {
1559 color: #fff;
1560 text-decoration: underline;
1563 /* profiling */
1565 div#profilingchart {
1566 width: 850px;
1567 height: 370px;
1568 float: <?php echo $left; ?>;
1571 #profilingchart .jqplot-highlighter-tooltip{
1572 top: auto !important;
1573 left: 11px;
1574 bottom:24px;
1576 /* end profiling */
1578 /* table charting */
1580 #resizer {
1581 border: 1px solid silver;
1583 #inner-resizer { /* make room for the resize handle */
1584 padding: 10px;
1587 /* end table charting */
1589 /* querybox */
1591 #togglequerybox {
1592 margin: 0 10px;
1595 #serverstatus h3
1597 margin: 15px 0;
1598 font-weight: normal;
1599 color: #999;
1600 font-size: 1.7em;
1602 #sectionlinks {
1603 padding: 16px;
1604 background: #f3f3f3;
1605 border: 1px solid #aaa;
1606 border-radius: 5px;
1607 -webkit-border-radius: 5px;
1608 -moz-border-radius: 5px;
1609 box-shadow: 0 1px 1px #fff inset;
1610 -webkit-box-shadow: 0 1px 1px #fff inset;
1611 -moz-box-shadow: 0 1px 1px #fff inset;
1613 #sectionlinks a,
1614 .buttonlinks a,
1615 a.button {
1616 font-size: .88em;
1617 font-weight: bold;
1618 text-shadow: 0 1px 0 #fff;
1619 line-height: 35px;
1620 margin-<?php echo $left; ?>: 7px;
1621 border: 1px solid #aaa;
1622 padding: 5px 10px;
1623 color: #111;
1624 text-decoration: none;
1625 background: #ddd;
1626 white-space: nowrap;
1627 border-radius: 20px;
1628 -webkit-border-radius: 20px;
1629 -moz-border-radius: 20px;
1630 box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px rgba(0,0,0,.5);
1632 -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px rgba(0,0,0,.5);
1633 -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 2px rgba(0,0,0,.5);
1634 text-shadow: #fff 0 1px 0;
1636 <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
1638 #sectionlinks a:hover,
1639 .buttonlinks a:hover,
1640 a.button:hover {
1641 <?php echo $_SESSION['PMA_Theme']->getCssGradient('cccccc', 'dddddd'); ?>
1644 div#sqlquerycontainer {
1645 float: <?php echo $left; ?>;
1646 width: 69%;
1647 /* height: 15em; */
1650 div#tablefieldscontainer {
1651 float: <?php echo $right; ?>;
1652 width: 29%;
1653 /* height: 15em; */
1656 div#tablefieldscontainer select {
1657 width: 100%;
1658 background: #fff;
1659 /* height: 12em; */
1662 textarea#sqlquery {
1663 width: 100%;
1664 /* height: 100%; */
1665 -moz-border-radius: 4px;
1666 -webkit-border-radius: 4px;
1667 border-radius: 4px;
1668 border: 1px solid #aaa;
1669 padding: 5px;
1670 font-family: inherit;
1672 textarea#sql_query_edit {
1673 height: 7em;
1674 width: 95%;
1675 display: block;
1677 div#queryboxcontainer div#bookmarkoptions {
1678 margin-top: .5em;
1680 /* end querybox */
1682 /* main page */
1683 #maincontainer {
1684 /* background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('logo_right.png');?>); */
1685 /* background-position: <?php echo $right; ?> bottom; */
1686 /* background-repeat: no-repeat; */
1689 #mysqlmaininformation,
1690 #pmamaininformation {
1691 float: <?php echo $left; ?>;
1692 width: 49%;
1695 #maincontainer ul {
1696 list-style-type: disc;
1697 vertical-align: middle;
1700 #maincontainer li {
1701 margin-bottom: .3em;
1704 #full_name_layer {
1705 position: absolute;
1706 padding: 2px;
1707 margin-top: -3px;
1708 z-index: 801;
1710 border-radius: 3px;
1711 border: solid 1px #888;
1712 background: #fff;
1715 /* end main page */
1718 /* iconic view for ul items */
1720 li.no_bullets {
1721 list-style-type:none !important;
1722 margin-left: -25px !important; //align with other list items which have bullets
1725 /* end iconic view for ul items */
1727 #body_browse_foreigners {
1728 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1729 margin: .5em .5em 0 .5em;
1732 #bodythemes {
1733 width: 500px;
1734 margin: auto;
1735 text-align: center;
1738 #bodythemes img {
1739 border: .1em solid #000;
1742 #bodythemes a:hover img {
1743 border: .1em solid red;
1746 #fieldset_select_fields {
1747 float: <?php echo $left; ?>;
1750 #selflink {
1751 clear: both;
1752 display: block;
1753 margin-top: 1em;
1754 margin-bottom: 1em;
1755 width: 98%;
1756 margin-<?php echo $left; ?>: 1%;
1757 border-top: .1em solid silver;
1758 text-align: <?php echo $right; ?>;
1761 #table_innodb_bufferpool_usage,
1762 #table_innodb_bufferpool_activity {
1763 float: <?php echo $left; ?>;
1766 #div_mysql_charset_collations table {
1767 float: <?php echo $left; ?>;
1770 #div_mysql_charset_collations table th,
1771 #div_mysql_charset_collations table td {
1772 padding: 0.4em;
1775 #div_mysql_charset_collations table th#collationHeader {
1776 width: 35%;
1779 .operations_half_width {
1780 width: 48%;
1781 float: <?php echo $left; ?>;
1783 .operations_half_width input[type=text],
1784 .operations_half_width input[type=password],
1785 .operations_half_width input[type=number],
1786 .operations_half_width select {
1787 width: 95%;
1789 .operations_half_width input[type=text].halfWidth,
1790 .operations_half_width input[type=password].halfWidth,
1791 .operations_half_width input[type=number].halfWidth,
1792 .operations_half_width select.halfWidth {
1793 width: 40%;
1795 .operations_half_width ul {
1796 list-style-type: none;
1797 padding: 0;
1799 .operations_full_width {
1800 width: 100%;
1801 clear: both;
1804 #qbe_div_table_list {
1805 float: <?php echo $left; ?>;
1808 #qbe_div_sql_query {
1809 float: <?php echo $left; ?>;
1812 label.desc {
1813 width: 30em;
1814 float: <?php echo $left; ?>;
1817 label.desc sup {
1818 position: absolute;
1821 code.sql,
1822 div.sqlvalidate {
1823 display: block;
1824 padding: 1em;
1825 margin-top: 0;
1826 margin-bottom: 0;
1827 max-height: 10em;
1828 overflow: auto;
1831 .result_query div.sqlOuter {
1832 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1833 padding: 1em;
1836 #PMA_slidingMessage code.sql,
1837 div.sqlvalidate {
1838 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1841 #main_pane_left {
1842 width: 60%;
1843 min-width: 260px;
1844 float: <?php echo $left; ?>;
1845 padding-top: 1em;
1848 #main_pane_right {
1849 overflow: hidden;
1850 min-width: 160px;
1851 padding-top: 1em;
1852 padding-<?php echo $left; ?>: 1em;
1853 padding-<?php echo $right; ?>: .5em;
1856 .group {
1858 border: 1px solid #999;
1859 background: #f3f3f3;
1860 -moz-border-radius: 4px;
1861 -webkit-border-radius: 4px;
1862 border-radius: 4px;
1863 -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
1864 -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
1865 box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
1866 margin-bottom: 1em;
1867 padding-bottom: 1em;
1870 .group h2 {
1871 background-color: #bbb;
1872 padding: .1em .3em;
1873 margin-top: 0;
1874 color: #fff;
1875 font-size: 1.6em;
1876 font-weight: normal;
1877 text-shadow: 0 1px 0 #777;
1878 -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
1879 -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
1880 box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
1883 .group-cnt {
1884 padding: 0;
1885 padding-<?php echo $left; ?>: .5em;
1886 display: inline-block;
1887 width: 98%;
1890 textarea#partitiondefinition {
1891 height: 3em;
1895 /* for elements that should be revealed only via js */
1896 .hide {
1897 display: none;
1900 #list_server {
1901 list-style-type: none;
1902 padding: 0;
1906 * Progress bar styles
1908 div.upload_progress
1910 width: 400px;
1911 margin: 3em auto;
1912 text-align: center;
1915 div.upload_progress_bar_outer
1917 border: 1px solid #000;
1918 width: 202px;
1919 position: relative;
1920 margin: 0 auto 1em;
1921 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
1924 div.upload_progress_bar_inner
1926 background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
1927 width: 0;
1928 height: 12px;
1929 margin: 1px;
1930 overflow: hidden;
1931 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
1932 position: relative;
1935 div.upload_progress_bar_outer div.percentage
1937 position: absolute;
1938 top: 0;
1939 <?php echo $left; ?>: 0;
1940 width: 202px;
1943 div.upload_progress_bar_inner div.percentage
1945 top: -1px;
1946 <?php echo $left; ?>: -1px;
1949 div#statustext {
1950 margin-top: .5em;
1953 table#serverconnection_src_remote,
1954 table#serverconnection_trg_remote,
1955 table#serverconnection_src_local,
1956 table#serverconnection_trg_local {
1957 float: <?php echo $left; ?>;
1960 * Validation error message styles
1962 input[type=text].invalid_value,
1963 input[type=password].invalid_value,
1964 input[type=number].invalid_value,
1965 input[type=date].invalid_value,
1966 select.invalid_value,
1967 .invalid_value {
1968 background: #FFCCCC;
1972 * Ajax notification styling
1974 .ajax_notification {
1975 top: 0; /** The notification needs to be shown on the top of the page */
1976 position: fixed;
1977 margin-top: 0;
1978 margin-right: auto;
1979 margin-bottom: 0;
1980 margin-<?php echo $left; ?>: auto;
1981 padding: 5px; /** Keep a little space on the sides of the text */
1982 width: 350px;
1984 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index: 1000) might hide this */
1985 text-align: center;
1986 display: inline;
1987 left: 0;
1988 right: 0;
1989 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>);
1990 background-repeat: no-repeat;
1991 background-position: 2%;
1992 border: 1px solid #e2b709;
1995 /* additional styles */
1996 .ajax_notification {
1997 margin-top: 200px;
1998 background: #ffe57e;
1999 border-radius: 5px;
2000 -moz-border-radius: 5px;
2001 -webkit-border-radius: 5px;
2002 box-shadow: 0 5px 90px #888;
2003 -moz-box-shadow: 0 5px 90px #888;
2004 -webkit-box-shadow: 0 5px 90px #888;
2007 #loading_parent {
2008 /** Need this parent to properly center the notification division */
2009 position: relative;
2010 width: 100%;
2013 * Export and Import styles
2016 .exportoptions h3,
2017 .importoptions h3 {
2018 border-bottom: 1px #999 solid;
2019 font-size: 110%;
2022 .exportoptions ul,
2023 .importoptions ul,
2024 .format_specific_options ul {
2025 list-style-type: none;
2026 margin-bottom: 15px;
2029 .exportoptions li,
2030 .importoptions li {
2031 margin: 7px;
2033 .exportoptions label,
2034 .importoptions label,
2035 .exportoptions p,
2036 .importoptions p {
2037 margin: 5px;
2038 float: none;
2041 #csv_options label.desc,
2042 #ldi_options label.desc,
2043 #latex_options label.desc,
2044 #output label.desc {
2045 float: <?php echo $left; ?>;
2046 width: 15em;
2049 .exportoptions,
2050 .importoptions {
2051 margin: 20px 30px 30px;
2052 margin-<?php echo $left; ?>: 10px;
2055 .exportoptions #buttonGo,
2056 .importoptions #buttonGo {
2057 font-weight: bold;
2058 margin-<?php echo $left; ?>: 14px;
2059 border: 1px solid #aaa;
2060 padding: 5px 12px;
2061 color: #111;
2062 text-decoration: none;
2064 border-radius: 12px;
2065 -webkit-border-radius: 12px;
2066 -moz-border-radius: 12px;
2068 text-shadow: 0 1px 0 #fff;
2070 <?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
2071 cursor: pointer;
2074 .format_specific_options h3 {
2075 margin: 10px 0 0;
2076 margin-<?php echo $left; ?>: 10px;
2077 border: 0;
2080 .format_specific_options {
2081 border: 1px solid #999;
2082 margin: 7px 0;
2083 padding: 3px;
2086 p.desc {
2087 margin: 5px;
2091 * Export styles only
2093 select#db_select,
2094 select#table_select {
2095 width: 400px;
2098 .export_sub_options {
2099 margin: 20px 0 0;
2100 margin-<?php echo $left; ?>: 30px;
2103 .export_sub_options h4 {
2104 border-bottom: 1px #999 solid;
2107 .export_sub_options li.subgroup {
2108 display: inline-block;
2109 margin-top: 0;
2112 .export_sub_options li {
2113 margin-bottom: 0;
2116 #output_quick_export {
2117 display: none;
2120 * Import styles only
2123 .importoptions #import_notification {
2124 margin: 10px 0;
2125 font-style: italic;
2128 input#input_import_file {
2129 margin: 5px;
2132 .formelementrow {
2133 margin: 5px 0 5px 0;
2136 #popup_background {
2137 display: none;
2138 position: fixed;
2139 _position: absolute; /* hack for IE6 */
2140 width: 100%;
2141 height: 100%;
2142 top: 0;
2143 <?php echo $left; ?>: 0;
2144 background: #000;
2145 z-index: 1000;
2146 overflow: hidden;
2150 * Table structure styles
2152 #fieldsForm ul.table-structure-actions {
2153 margin: 0;
2154 padding: 0;
2155 list-style: none;
2157 #fieldsForm ul.table-structure-actions li {
2158 float: <?php echo $left; ?>;
2159 margin-<?php echo $right; ?>: 0.3em; /* same as padding of "table td" */
2161 #fieldsForm ul.table-structure-actions .submenu li {
2162 padding: 0;
2163 margin: 0;
2165 #fieldsForm ul.table-structure-actions .submenu li span {
2166 padding: 0.3em;
2167 margin: 0.1em;
2169 #structure-action-links a {
2170 margin-<?php echo $right; ?>: 1em;
2172 #addColumns input[type="radio"] {
2173 margin: 3px 0 0;
2174 margin-<?php echo $left; ?>: 1em;
2177 * Indexes
2179 #index_frm .index_info input,
2180 #index_frm .index_info select {
2181 width: 14em;
2182 margin: 0;
2183 box-sizing: border-box;
2184 -ms-box-sizing: border-box;
2185 -moz-box-sizing: border-box;
2186 -webkit-box-sizing: border-box;
2189 #index_frm .index_info div {
2190 padding: .2em 0;
2193 #index_frm .index_info .label {
2194 float: <?php echo $left; ?>;
2195 min-width: 12em;
2198 #index_frm .slider {
2199 width: 10em;
2200 margin: .6em;
2201 float: <?php echo $left; ?>;
2204 #index_frm .add_fields {
2205 float: <?php echo $left; ?>;
2208 #index_frm .add_fields input {
2209 margin-<?php echo $left; ?>: 1em;
2212 #index_frm input {
2213 margin: 0;
2216 #index_frm td {
2217 vertical-align: middle;
2220 table#index_columns {
2221 width: 100%;
2224 table#index_columns select {
2225 width: 85%;
2226 float: right;
2229 #move_columns_dialog div {
2230 padding: 1em;
2233 #move_columns_dialog ul {
2234 list-style: none;
2235 margin: 0;
2236 padding: 0;
2239 #move_columns_dialog li {
2240 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
2241 border: 1px solid #aaa;
2242 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
2243 font-weight: bold;
2244 margin: .4em;
2245 padding: .2em;
2246 -webkit-border-radius: 2px;
2247 -moz-border-radius: 2px;
2248 border-radius: 2px;
2251 /* config forms */
2252 .config-form ul.tabs {
2253 margin: 1.1em .2em 0;
2254 padding: 0 0 .3em 0;
2255 list-style: none;
2256 font-weight: bold;
2259 .config-form ul.tabs li {
2260 float: <?php echo $left; ?>;
2261 margin-bottom: -1px;
2264 .config-form ul.tabs li a {
2265 display: block;
2266 margin: .1em .2em 0;
2267 white-space: nowrap;
2268 text-decoration: none;
2269 border: 1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
2270 border-bottom: 1px solid #aaa;
2273 .config-form ul.tabs li a {
2274 padding: 7px 10px;
2275 -webkit-border-radius: 5px 5px 0 0;
2276 -moz-border-radius: 5px 5px 0 0;
2277 border-radius: 5px 5px 0 0;
2278 background: #f2f2f2;
2279 color: #555;
2280 text-shadow: 0 1px 0 #fff;
2283 .config-form ul.tabs li a:hover,
2284 .config-form ul.tabs li a:active {
2285 background: #e5e5e5;
2288 .config-form ul.tabs li.active a {
2289 background-color: #fff;
2290 margin-top: 1px;
2291 color: #000;
2292 text-shadow: none;
2293 border-color: #aaa;
2294 border-bottom: 1px solid #fff;
2297 .config-form fieldset {
2298 margin-top: 0;
2299 padding: 0;
2300 clear: both;
2301 -webkit-border-radius: 0;
2302 -moz-border-radius: 0;
2303 border-radius: 0;
2306 .config-form legend {
2307 display: none;
2310 .config-form fieldset p {
2311 margin: 0;
2312 padding: .5em;
2313 background: #fff;
2314 border-top: 0;
2317 .config-form fieldset .errors { /* form error list */
2318 margin: 0 -2px 1em;
2319 padding: .5em 1.5em;
2320 background: #FBEAD9;
2321 border: 0 #C83838 solid;
2322 border-width: 1px 0;
2323 list-style: none;
2324 font-family: sans-serif;
2325 font-size: small;
2328 .config-form fieldset .inline_errors { /* field error list */
2329 margin: .3em .3em .3em;
2330 margin-<?php echo $left; ?>: 0;
2331 padding: 0;
2332 list-style: none;
2333 color: #9A0000;
2334 font-size: small;
2337 .config-form fieldset th {
2338 padding: .3em .3em .3em;
2339 padding-<?php echo $left; ?>: .5em;
2340 text-align: <?php echo $left; ?>;
2341 vertical-align: top;
2342 width: 40%;
2343 background: transparent;
2344 filter: none;
2347 .config-form fieldset .doc,
2348 .config-form fieldset .disabled-notice {
2349 margin-<?php echo $left; ?>: 1em;
2352 .config-form fieldset .disabled-notice {
2353 font-size: 80%;
2354 text-transform: uppercase;
2355 color: #E00;
2356 cursor: help;
2359 .config-form fieldset td {
2360 padding-top: .3em;
2361 padding-bottom: .3em;
2362 vertical-align: top;
2365 .config-form fieldset th small {
2366 display: block;
2367 font-weight: normal;
2368 font-family: sans-serif;
2369 font-size: x-small;
2370 color: #444;
2373 .config-form fieldset th,
2374 .config-form fieldset td {
2375 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
2376 border-<?php echo $right; ?>: none;
2379 fieldset .group-header th {
2380 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
2383 fieldset .group-header + tr th {
2384 padding-top: .6em;
2387 fieldset .group-field-1 th,
2388 fieldset .group-header-2 th {
2389 padding-<?php echo $left; ?>: 1.5em;
2392 fieldset .group-field-2 th,
2393 fieldset .group-header-3 th {
2394 padding-<?php echo $left; ?>: 3em;
2397 fieldset .group-field-3 th {
2398 padding-<?php echo $left; ?>: 4.5em;
2401 fieldset .disabled-field th,
2402 fieldset .disabled-field th small,
2403 fieldset .disabled-field td {
2404 color: #666;
2405 background-color: #ddd;
2408 .config-form .lastrow {
2409 border-top: 1px #000 solid;
2412 .config-form .lastrow {
2413 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
2414 padding: .5em;
2415 text-align: center;
2418 .config-form .lastrow input {
2419 font-weight: bold;
2422 /* form elements */
2424 .config-form span.checkbox {
2425 padding: 2px;
2426 display: inline-block;
2429 .config-form .custom { /* customized field */
2430 background: #FFC;
2433 .config-form span.checkbox.custom {
2434 padding: 1px;
2435 border: 1px #EDEC90 solid;
2436 background: #FFC;
2439 .config-form .field-error {
2440 border-color: #A11 !important;
2443 .config-form input[type="text"],
2444 .config-form input[type="password"],
2445 .config-form input[type="number"],
2446 .config-form select,
2447 .config-form textarea {
2448 border: 1px #A7A6AA solid;
2449 height: auto;
2452 .config-form input[type="text"]:focus,
2453 .config-form input[type="password"]:focus,
2454 .config-form input[type="number"]:focus,
2455 .config-form select:focus,
2456 .config-form textarea:focus {
2457 border: 1px #6676FF solid;
2458 background: #F7FBFF;
2461 .config-form .field-comment-mark {
2462 font-family: serif;
2463 color: #007;
2464 cursor: help;
2465 padding: 0 .2em;
2466 font-weight: bold;
2467 font-style: italic;
2470 .config-form .field-comment-warning {
2471 color: #A00;
2474 /* error list */
2475 .config-form dd {
2476 margin-<?php echo $left; ?>: .5em;
2479 .config-form dd:before {
2480 content: "\25B8 ";
2483 .click-hide-message {
2484 cursor: pointer;
2487 .prefsmanage_opts {
2488 margin-<?php echo $left; ?>: 2em;
2491 #prefs_autoload {
2492 margin-bottom: .5em;
2495 #placeholder .button {
2496 position: absolute;
2497 cursor: pointer;
2500 #placeholder div.button {
2501 font-size: smaller;
2502 color: #999;
2503 background-color: #eee;
2504 padding: 2px;
2507 .wrapper {
2508 float: <?php echo $left; ?>;
2509 margin-bottom: 1.5em;
2511 .toggleButton {
2512 position: relative;
2513 cursor: pointer;
2514 font-size: .8em;
2515 text-align: center;
2516 line-height: 1.4em;
2517 height: 1.55em;
2518 overflow: hidden;
2519 border-right: .1em solid #888;
2520 border-left: .1em solid #888;
2521 -webkit-border-radius: .3em;
2522 -moz-border-radius: .3em;
2523 border-radius: .3em;
2525 .toggleButton table,
2526 .toggleButton td,
2527 .toggleButton img {
2528 padding: 0;
2529 position: relative;
2531 .toggleButton .container {
2532 position: absolute;
2534 .toggleButton .container td {
2535 background-image: none;
2536 background: none;
2538 .toggleButton .toggleOn {
2539 color: #fff;
2540 padding: 0 1em;
2541 text-shadow: 0 0 .2em #000;
2543 .toggleButton .toggleOff {
2544 padding: 0 1em;
2547 .doubleFieldset fieldset {
2548 width: 48%;
2549 float: <?php echo $left; ?>;
2550 padding: 0;
2552 .doubleFieldset fieldset.left {
2553 margin-<?php echo $right; ?>: 1%;
2555 .doubleFieldset fieldset.right {
2556 margin-<?php echo $left; ?>: 1%;
2558 .doubleFieldset legend {
2559 margin-<?php echo $left; ?>: 1.5em;
2561 .doubleFieldset div.wrap {
2562 padding: 1.5em;
2565 #table_columns input[type="text"],
2566 #table_columns input[type="password"],
2567 #table_columns input[type="number"],
2568 #table_columns select {
2569 width: 10em;
2570 box-sizing: border-box;
2571 -ms-box-sizing: border-box;
2572 -moz-box-sizing: border-box;
2573 -webkit-box-sizing: border-box;
2576 #placeholder {
2577 position: relative;
2578 border: 1px solid #aaa;
2579 float: <?php echo $right; ?>;
2580 overflow: hidden;
2583 .placeholderDrag {
2584 cursor: move;
2587 #placeholder .button {
2588 position: absolute;
2591 #left_arrow {
2592 left: 8px;
2593 top: 26px;
2596 #right_arrow {
2597 left: 26px;
2598 top: 26px;
2601 #up_arrow {
2602 left: 17px;
2603 top: 8px;
2606 #down_arrow {
2607 left: 17px;
2608 top: 44px;
2611 #zoom_in {
2612 left: 17px;
2613 top: 67px;
2616 #zoom_world {
2617 left: 17px;
2618 top: 85px;
2621 #zoom_out {
2622 left: 17px;
2623 top: 103px;
2626 .colborder {
2627 cursor: col-resize;
2628 height: 100%;
2629 margin-<?php echo $left; ?>: -6px;
2630 position: absolute;
2631 width: 5px;
2634 .colborder_active {
2635 border-<?php echo $right; ?>: 2px solid #a44;
2638 .pma_table td {
2639 position: static;
2642 .pma_table th.draggable span,
2643 .pma_table tbody td span {
2644 display: block;
2645 overflow: hidden;
2648 .pma_table tbody td span code span {
2649 display: inline;
2652 .pma_table th.draggable.right span {
2653 margin-<?php echo $right; ?>: 0px;
2656 .pma_table th.draggable span {
2657 margin-<?php echo $right; ?>: 10px;
2660 .modal-copy input {
2661 display: block;
2662 width: 100%;
2663 margin-top: 1.5em;
2664 padding: .3em 0;
2667 .cRsz {
2668 position: absolute;
2671 .cCpy {
2672 background: #333;
2673 color: #FFF;
2674 font-weight: bold;
2675 margin: .1em;
2676 padding: .3em;
2677 position: absolute;
2678 text-shadow: -1px -1px #000;
2680 -moz-box-shadow: 0 0 .7em #000;
2681 -webkit-box-shadow: 0 0 .7em #000;
2682 box-shadow: 0 0 .7em #000;
2683 -moz-border-radius: .3em;
2684 -webkit-border-radius: .3em;
2685 border-radius: .3em;
2688 .cPointer {
2689 background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('col_pointer.png');?>);
2690 height: 20px;
2691 margin-<?php echo $left; ?>: -5px; /* must be minus half of its width */
2692 margin-top: -10px;
2693 position: absolute;
2694 width: 10px;
2697 .tooltip {
2698 background: #333 !important;
2699 opacity: .8 !important;
2700 border: 1px solid #000 !important;
2701 -moz-border-radius: .3em !important;
2702 -webkit-border-radius: .3em !important;
2703 border-radius: .3em !important;
2704 text-shadow: -1px -1px #000 !important;
2705 font-size: .8em !important;
2706 font-weight: bold !important;
2707 padding: 1px 3px !important;
2710 .tooltip * {
2711 background: none !important;
2712 color: #FFF !important;
2715 .cDrop {
2716 left: 0;
2717 position: absolute;
2718 top: 0;
2721 .coldrop {
2722 background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('col_drop.png');?>);
2723 cursor: pointer;
2724 height: 16px;
2725 margin-<?php echo $left; ?>: .3em;
2726 margin-top: .3em;
2727 position: absolute;
2728 width: 16px;
2731 .coldrop:hover,
2732 .coldrop-hover {
2733 background-color: #999;
2736 .cList {
2737 background: #EEE;
2738 border: solid 1px #999;
2739 position: absolute;
2740 -moz-box-shadow: 0 .2em .5em #333;
2741 -webkit-box-shadow: 0 .2em .5em #333;
2742 box-shadow: 0 .2em .5em #333;
2745 .cList .lDiv div {
2746 padding: .2em .5em .2em;
2747 padding-<?php echo $left; ?>: .2em;
2750 .cList .lDiv div:hover {
2751 background: #DDD;
2752 cursor: pointer;
2755 .cList .lDiv div input {
2756 cursor: pointer;
2759 .showAllColBtn {
2760 border-bottom: solid 1px #999;
2761 border-top: solid 1px #999;
2762 cursor: pointer;
2763 font-size: .9em;
2764 font-weight: bold;
2765 padding: .35em 1em;
2766 text-align: center;
2769 .showAllColBtn:hover {
2770 background: #DDD;
2773 .turnOffSelect {
2774 -moz-user-select: none;
2775 -khtml-user-select: none;
2776 -webkit-user-select: none;
2777 user-select: none;
2780 #page_content {
2781 background-color: white;
2784 .navigation {
2785 margin: .8em 0;
2787 border-radius: 5px;
2788 -webkit-border-radius: 5px;
2789 -moz-border-radius: 5px;
2791 <?php echo $_SESSION['PMA_Theme']->getCssGradient('eeeeee', 'cccccc'); ?>
2794 .navigation td {
2795 margin: 0;
2796 padding: 0;
2797 vertical-align: middle;
2798 white-space: nowrap;
2801 .navigation_separator {
2802 color: #999;
2803 display: inline-block;
2804 font-size: 1.5em;
2805 text-align: center;
2806 height: 1.4em;
2807 width: 1.2em;
2808 text-shadow: 1px 0 #FFF;
2811 .navigation input[type=submit] {
2812 background: none;
2813 border: 0;
2814 filter: none;
2815 margin: 0;
2816 padding: .8em .5em;
2818 border-radius: 0;
2819 -webkit-border-radius: 0;
2820 -moz-border-radius: 0;
2823 .navigation input[type=submit]:hover,
2824 .navigation input.edit_mode_active {
2825 color: #fff;
2826 cursor: pointer;
2827 text-shadow: none;
2829 <?php echo $_SESSION['PMA_Theme']->getCssGradient('333333', '555555'); ?>
2832 .navigation select {
2833 margin: 0 .8em;
2836 .cEdit {
2837 margin: 0;
2838 padding: 0;
2839 position: absolute;
2842 .cEdit input[type=text] {
2843 background: #FFF;
2844 height: 100%;
2845 margin: 0;
2846 padding: 0;
2849 .cEdit .edit_area {
2850 background: #FFF;
2851 border: 1px solid #999;
2852 min-width: 10em;
2853 padding: .3em .5em;
2856 .cEdit .edit_area select,
2857 .cEdit .edit_area textarea {
2858 width: 97%;
2861 .cEdit .cell_edit_hint {
2862 color: #555;
2863 font-size: .8em;
2864 margin: .3em .2em;
2867 .cEdit .edit_box {
2868 overflow: hidden;
2869 padding: 0;
2872 .cEdit .edit_box_posting {
2873 background: #FFF url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>) no-repeat right center;
2874 padding-<?php echo $right; ?>: 1.5em;
2877 .cEdit .edit_area_loading {
2878 background: #FFF url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>) no-repeat center;
2879 height: 10em;
2882 .cEdit .edit_area_right {
2883 position: absolute;
2884 right: 0;
2887 .cEdit .goto_link {
2888 background: #EEE;
2889 color: #555;
2890 padding: .2em .3em;
2893 .saving_edited_data {
2894 background: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('ajax_clock_small.gif');?>) no-repeat left;
2895 padding-<?php echo $left; ?>: 20px;
2898 .relationalTable select {
2899 width: 125px;
2900 margin-right: 5px;
2903 /* css for timepicker */
2904 .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
2905 .ui-timepicker-div dl { text-align: <?php echo $left; ?>; }
2906 .ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
2907 .ui-timepicker-div dl dd { margin: 0 10px 10px 85px; }
2908 .ui-timepicker-div td { font-size: 90%; }
2909 .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
2910 .ui-timepicker-rtl { direction: rtl; }
2911 .ui-timepicker-rtl dl { text-align: right; }
2912 .ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }
2914 input.btn {
2915 color: #333;
2916 background-color: #D0DCE0;
2919 body .ui-widget {
2920 font-size: 1em;
2923 .ui-dialog fieldset legend a {
2924 color: #235A81;
2927 /* over-riding jqplot-yaxis class */
2928 .jqplot-yaxis {
2929 left:0px !important;
2930 min-width:25px;
2931 width:auto;
2933 .jqplot-axis {
2934 overflow:hidden;
2937 .report-data {
2938 height:13em;
2939 overflow:scroll;
2940 width:570px;
2941 border: solid 1px;
2942 background: white;
2943 padding: 2px;
2946 .report-description {
2947 height:10em;
2948 width:570px;
2951 div#page_content div#tableslistcontainer table.data {
2952 border-top: 0.1px solid #EEEEEE;
2955 div#page_content form#db_search_form.ajax fieldset {
2956 margin-top: -0.3em;
2959 div#page_content div#tableslistcontainer, div#page_content div.notice, div#page_content div.result_query {
2960 margin-top: 1em;
2963 table.show_create {
2964 margin-top: 1em;
2967 table.show_create td {
2968 border-right: 1px solid #bbb;
2971 #alias_modal table th {
2972 vertical-align: middle;
2973 padding-left: 1em;
2976 #alias_modal label.col-2 {
2977 min-width: 20%;
2978 display: inline-block;
2981 #alias_modal select {
2982 width: 25%;
2983 margin-right: 2em;
2986 #alias_modal label {
2987 font-weight: bold;
2990 .ui-dialog {
2991 position: fixed;
2995 .small_font {
2996 font-size: smaller;
2999 /* Console styles */
3000 #pma_console_container {
3001 width: 100%;
3002 position: fixed;
3003 bottom: 0;
3004 <?php echo $left; ?>: 0;
3005 z-index: 100;
3007 #pma_console {
3008 position: relative;
3009 margin-<?php echo $left; ?>: 240px;
3011 #pma_console>.templates {
3012 display: none;
3014 #pma_console .mid_text,
3015 #pma_console .toolbar span {
3016 vertical-align: middle;
3018 #pma_console .toolbar {
3019 position: relative;
3020 background: #ccc;
3021 border-top: solid 1px #aaa;
3022 cursor: n-resize;
3024 #pma_console .toolbar.collapsed:not(:hover) {
3025 display: inline-block;
3026 border-top-<?php echo $right; ?>-radius: 3px;
3027 border-<?php echo $right; ?>: solid 1px #aaa;
3029 #pma_console .toolbar.collapsed {
3030 cursor: default;
3032 #pma_console .toolbar.collapsed>.button {
3033 display: none;
3035 #pma_console .message span.text,
3036 #pma_console .message span.action,
3037 #pma_console .toolbar .button,
3038 #pma_console .switch_button {
3039 padding: 0 3px;
3040 display: inline-block;
3042 #pma_console .message span.action,
3043 #pma_console .toolbar .button,
3044 #pma_console .switch_button {
3045 cursor: pointer;
3047 #pma_console .message span.action:hover,
3048 #pma_console .toolbar .button:hover,
3049 #pma_console .switch_button:hover {
3050 background: #ddd;
3052 #pma_console .toolbar .button {
3053 margin-<?php echo $right; ?>: .4em;
3055 #pma_console .toolbar .button {
3056 float: <?php echo $right; ?>;
3058 #pma_console .content {
3059 overflow-x: hidden;
3060 overflow-y: auto;
3061 margin-bottom: -65px;
3062 border-top: solid 1px #aaa;
3063 background: #fff;
3064 padding-top: .4em;
3066 #pma_console .message,
3067 #pma_console .query_input {
3068 position: relative;
3069 font-family: Monaco, Consolas, monospace;
3070 cursor: text;
3071 margin: 0 10px .2em 1.4em;
3073 #pma_console .message {
3074 border-bottom: solid 1px #ccc;
3075 padding-bottom: .2em;
3077 #pma_console .message.expanded .action_content {
3078 position: relative;
3080 #pma_console .message:before,
3081 #pma_console .query_input:before {
3082 left: -0.7em;
3083 position: absolute;
3084 content: ">";
3086 #pma_console .query_input:before {
3087 top: -2px;
3089 #pma_console .query_input textarea {
3090 width: 100%;
3091 height: 4em;
3092 resize: vertical;
3094 #pma_console .message:hover:before {
3095 color: #7cf;
3096 font-weight: bold;
3098 #pma_console .message.expanded:before {
3099 content: "]";
3101 #pma_console .message.welcome:before {
3102 display: none;
3104 #pma_console .message.failed:before,
3105 #pma_console .message.failed.expanded:before,
3106 #pma_console .message.failed:hover:before {
3107 content: "=";
3108 color: #944;
3110 #pma_console .message.pending:before {
3111 opacity: .3;
3113 #pma_console .message.collapsed>.query {
3114 white-space: nowrap;
3115 text-overflow: ellipsis;
3116 overflow: hidden;
3118 #pma_console .message.expanded>.query {
3119 display: block;
3120 white-space: pre;
3121 word-wrap: break-word;
3123 #pma_console .message .text.targetdb,
3124 #pma_console .message.collapsed .action.collapse,
3125 #pma_console .message.expanded .action.expand,
3126 #pma_console .message .action.requery,
3127 #pma_console .message .action.profiling,
3128 #pma_console .message .action.explain,
3129 #pma_console .message .action.bookmark {
3130 display: none;
3132 #pma_console .message.select .action.profiling,
3133 #pma_console .message.select .action.explain,
3134 #pma_console .message.history .text.targetdb,
3135 #pma_console .message.successed .text.targetdb,
3136 #pma_console .message.history .action.requery,
3137 #pma_console .message.history .action.bookmark,
3138 #pma_console .message.bookmark .action.requery,
3139 #pma_console .message.bookmark .action.bookmark,
3140 #pma_console .message.successed .action.requery,
3141 #pma_console .message.successed .action.bookmark {
3142 display: inline-block;
3144 #pma_console .message .action_content {
3145 position: absolute;
3146 bottom: 100%;
3147 background: #ccc;
3148 border: solid 1px #aaa;
3149 border-top-<?php echo $left; ?>-radius: 3px;
3151 html.ie8 #pma_console .message .action_content {
3152 position: relative!important;
3154 #pma_console .message.bookmark .text.targetdb,
3155 #pma_console .message .text.query_time {
3156 margin: 0;
3157 display: inline-block;
3159 #pma_console .message.failed .text.query_time,
3160 #pma_console .message .text.failed {
3161 display: none;
3163 #pma_console .message.failed .text.failed {
3164 display: inline-block;
3166 #pma_console .message .text {
3167 background: #fff;
3169 #pma_console .message.collapsed:not(:hover) .action_content {
3170 display: none;
3172 #pma_console .message .bookmark_label {
3173 padding: 0 4px;
3174 top: 0;
3175 background: #369;
3176 color: #fff;
3177 border-radius: 3px;
3179 #pma_console .message .bookmark_label.shared {
3180 background: #396;
3182 #pma_console .message.expanded .bookmark_label {
3183 border-top-left-radius: 0;
3184 border-top-right-radius: 0;
3186 #pma_console .query_input {
3187 position: relative;
3189 #pma_console .mid_layer {
3190 height: 100%;
3191 width: 100%;
3192 position: absolute;
3193 top: 0;
3194 /* For support IE8, this layer doesn't use filter:opacity or opacity,
3195 js code will fade this layer opacity to 0.18(using animation) */
3196 background: #666;
3197 display: none;
3198 cursor: pointer;
3199 z-index: 200;
3201 #pma_console .card {
3202 position: absolute;
3203 width: 94%;
3204 height: 100%;
3205 min-height: 48px;
3206 <?php echo $left; ?>: 100%;
3207 top: 0;
3208 border-<?php echo $left; ?>: solid 1px #999;
3209 z-index: 300;
3210 transition: <?php echo $left; ?> 0.2s;
3211 -ms-transition: <?php echo $left; ?> 0.2s;
3212 -webkit-transition: <?php echo $left; ?> 0.2s;
3213 -moz-transition: <?php echo $left; ?> 0.2s;
3215 #pma_console .card.show {
3216 <?php echo $left; ?>: 6%;
3217 box-shadow: -2px 1px 4px -1px #999;
3220 html.ie7 #pma_console .query_input {
3221 display: none;
3224 #pma_bookmarks .content.add_bookmark,
3225 #pma_console_options .content {
3226 padding: 4px 6px;
3228 #pma_bookmarks .content.add_bookmark .options {
3229 margin-<?php echo $left; ?>: 1.4em;
3230 padding-bottom: .4em;
3231 margin-bottom: .4em;
3232 border-bottom: solid 1px #ccc;
3234 #pma_bookmarks .content.add_bookmark .options button {
3235 margin: 0 7px;
3236 vertical-align: bottom;
3238 #pma_bookmarks .content.add_bookmark input[type=text] {
3239 margin: 0;
3240 padding: 2px 4px;
3243 /* Code mirror console style*/
3245 .cm-s-pma .CodeMirror-code pre,
3246 .cm-s-pma .CodeMirror-code {
3247 font-family: Monaco, Consolas, monospace;
3249 .cm-s-pma .CodeMirror-measure>pre,
3250 .cm-s-pma .CodeMirror-code>pre,
3251 .cm-s-pma .CodeMirror-lines {
3252 padding: 0;
3254 .cm-s-pma.CodeMirror {
3255 resize: none;
3256 height: auto;
3257 width: 100%;
3258 min-height: initial;
3259 max-height: initial;
3261 .firefox .cm-s-pma.CodeMirror {
3262 font-size: 120%;
3264 .cm-s-pma .CodeMirror-scroll {
3265 padding-bottom: 2em;
3266 cursor: text;
3269 /* PMA drop-improt style */
3271 .pma_drop_handler {
3272 display: none;
3273 position: fixed;
3274 top: 0px;
3275 left: 0px;
3276 width: 100%;
3277 background: rgba(0, 0, 0, 0.6);
3278 height: 100%;
3279 z-index: 999;
3280 color: white;
3281 font-size: 30pt;
3282 text-align: center;
3283 padding-top: 20%;
3286 .pma_sql_import_status {
3287 display: none;
3288 position: fixed;
3289 bottom: 0px;
3290 right: 25px;
3291 width: 400px;
3292 border: 1px solid #999;
3293 background: #f3f3f3;
3294 -moz-border-radius: 4px;
3295 -webkit-border-radius: 4px;
3296 border-radius: 4px;
3297 -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
3298 -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
3299 box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
3302 .pma_sql_import_status h2,
3303 .pma_drop_result h2 {
3304 background-color: #bbb;
3305 padding: .1em .3em;
3306 margin-top: 0;
3307 margin-bottom: 0;
3308 color: #fff;
3309 font-size: 1.6em;
3310 font-weight: normal;
3311 text-shadow: 0 1px 0 #777;
3312 -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
3313 -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
3314 box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
3317 .pma_sql_import_status div {
3318 height: 270px;
3319 overflow-y:auto;
3320 overflow-x:hidden;
3321 list-style-type: none;
3324 .pma_sql_import_status div li {
3325 padding: 8px 10px;
3326 border-bottom: 1px solid #bbb;
3327 color: rgb(148, 14, 14);
3328 background: white;
3331 .pma_sql_import_status div li .filesize {
3332 float: right;
3335 .pma_sql_import_status h2 .minimize {
3336 float: right;
3337 margin-right: 5px;
3338 padding: 0px 10px;
3341 .pma_sql_import_status h2 .close {
3342 float: right;
3343 margin-right: 5px;
3344 padding: 0px 10px;
3345 display: none;
3348 .pma_sql_import_status h2 .minimize:hover,
3349 .pma_sql_import_status h2 .close:hover,
3350 .pma_drop_result h2 .close:hover {
3351 background: rgba(155, 149, 149, 0.78);
3352 cursor: pointer;
3355 .pma_drop_file_status {
3356 color: #235a81;
3359 .pma_drop_file_status span.underline:hover {
3360 cursor: pointer;
3361 text-decoration: underline;
3364 .pma_drop_result {
3365 position: fixed;
3366 top: 10%;
3367 left: 20%;
3368 width: 60%;
3369 background: white;
3370 min-height: 300px;
3371 z-index: 800;
3372 -webkit-box-shadow: 0px 0px 15px #999;
3373 border-radius: 10px;
3374 cursor: move;
3377 .pma_drop_result h2 .close {
3378 float: right;
3379 margin-right: 5px;
3380 padding: 0px 10px;
3383 .dependencies_box {
3384 background-color: white;
3385 border: 3px ridge black;
3388 #composite_index_list {
3389 list-style-type: none;
3390 list-style-position: inside;
3393 span.drag_icon {
3394 display: inline-block;
3395 background-image: url('<?php echo $_SESSION['PMA_Theme']->getImgPath('s_sortable.png');?>');
3396 background-position: center center;
3397 background-repeat: no-repeat;
3398 width: 1em;
3399 height: 3em;
3400 cursor: move;
3403 .topmargin {
3404 margin-top: 1em;
3407 /* styles for sortable tables created with tablesorter jquery plugin */
3408 th.header {
3409 cursor: pointer;
3410 color: #235a81;
3413 th.header:hover {
3414 text-decoration: underline;
3417 th.header .sorticon {
3418 width: 16px;
3419 height: 16px;
3420 background-repeat: no-repeat;
3421 background-position: right center;
3422 display: inline-table;
3423 vertical-align: middle;
3424 float: right;
3427 th.headerSortUp .sorticon, th.headerSortDown:hover .sorticon {
3428 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('s_desc.png');?>);
3431 th.headerSortDown .sorticon, th.headerSortUp:hover .sorticon {
3432 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath('s_asc.png');?>);
3434 /* end of styles of sortable tables */