Style changes for table/db operations pages
[phpmyadmin-themes.git] / toba / css / theme_right.css.php
blobed2f652be0aee32cbdd5603bb5747d1ce52cc325
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * main css file from theme Original
6 * @package phpMyAdmin-theme
7 * @subpackage Original
8 */
10 // unplanned execution path
11 if (!defined('PMA_MINIMUM_COMMON')) {
12 exit();
15 /******************************************************************************/
16 /* general tags */
17 html {
18 font-size: <?php echo (null !== $GLOBALS['PMA_Config']->get('fontsize') ? $GLOBALS['PMA_Config']->get('fontsize') : (
19 isset($_COOKIE['pma_fontsize']) ? $_COOKIE['pma_fontsize'] : '82%'));?>;
22 input, select, textarea {
23 font-size: 1em;
26 body {
27 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
28 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
29 <?php } ?>
30 padding: 0;
31 line-height: 20px;
32 margin: 0;
33 color: #333;
34 /*color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;*/
35 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
38 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
39 textarea, tt, pre, code {
40 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
42 <?php } ?>
43 h1 {
44 font-size: 140%;
45 font-weight: bold;
48 h2 {
49 font-size: 120%;
50 font-weight: bold;
53 h3 {
54 font-weight: bold;
57 a, a:link,
58 a:visited,
59 a:active {
60 text-decoration: none;
61 color: <?php echo $GLOBALS['cfg']['linkColor']; ?>;
62 cursor: pointer;
65 a:hover {
66 text-decoration: underline;
67 color: <?php echo $GLOBALS['cfg']['TableLinkColor'];?>;
70 dfn {
71 font-style: normal;
74 dfn:hover {
75 font-style: normal;
76 cursor: help;
79 th {
80 font-weight: bold;
81 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
82 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
85 a img {
86 border: 0;
89 hr {
90 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
91 background-color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
92 border: 0;
93 height: 1px;
96 form {
97 padding: 0;
98 margin: 0;
99 display: inline;
102 textarea {
103 overflow: visible;
104 height: <?php echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?>em;
107 fieldset {
108 margin-top: 1em;
109 border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
110 padding: 0.5em;
111 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
114 fieldset fieldset {
115 margin: 0.8em;
118 fieldset legend {
119 font-weight: bold;
120 color: #444444;
121 background-color: <?php echo 'OPERA' != PMA_USR_BROWSER_AGENT ? 'transparent' : $GLOBALS['cfg']['BgOne']; ?>;
124 /* buttons in some browsers (eg. Konqueror) are block elements,
125 this breaks design */
126 button {
127 display: inline;
130 table {
131 border: 1px solid #999;
134 table caption,
135 table th,
136 table td {
137 padding: 3px;
138 margin: 0;
139 vertical-align: top;
142 img,
143 input,
144 select,
145 button {
146 vertical-align: middle;
150 /******************************************************************************/
151 /* classes */
152 div.tools {
153 border: 1px solid #000000;
154 padding: 0.2em;
157 div.tools,
158 fieldset.tblFooters {
159 margin-top: 0;
160 margin-bottom: 0.5em;
161 /* avoid a thick line since this should be used under another fieldset */
162 border-top: 0;
163 text-align: <?php echo $right; ?>;
164 float: none;
165 clear: both;
168 fieldset .formelement {
169 float: <?php echo $left; ?>;
170 margin-<?php echo $right; ?>: 0.5em;
171 /* IE */
172 white-space: nowrap;
175 /* revert for Gecko */
176 fieldset div[class=formelement] {
177 white-space: normal;
180 button.mult_submit {
181 border: none;
182 background-color: transparent;
185 /* odd items 1,3,5,7,... */
186 table tr.odd th,
187 .odd {
188 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
191 /* even items 2,4,6,8,... */
192 table tr.even th,
193 .even {
194 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
197 /* odd table rows 1,3,5,7,... */
198 table tr.odd th,
199 table tr.odd,
200 table tr.even th,
201 table tr.even {
202 text-align: <?php echo $left; ?>;
205 <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
206 /* marked table rows */
207 td.marked,
208 table tr.marked th,
209 table tr.marked {
210 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
211 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
213 <?php } ?>
215 <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
216 /* hovered items */
217 .odd:hover,
218 .even:hover,
219 .hover,
220 .structure_actions_dropdown {
221 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
222 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
225 /* hovered table rows */
226 table tr.odd:hover th,
227 table tr.even:hover th,
228 table tr.hover th {
229 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
230 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
232 <?php } ?>
235 * marks table rows/cells if the db field is in a where condition
237 tr.condition th,
238 tr.condition td,
239 td.condition,
240 th.condition {
241 border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
244 table .value {
245 text-align: <?php echo $right; ?>;
246 white-space: normal;
248 /* IE doesnt handles 'pre' right */
249 table [class=value] {
250 white-space: normal;
254 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
255 .value {
256 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
258 <?php } ?>
259 .value .attention {
260 color: red;
261 font-weight: bold;
263 .value .allfine {
264 color: green;
268 img.lightbulb {
269 cursor: pointer;
272 .pdflayout {
273 overflow: hidden;
274 clip: inherit;
275 background-color: #FFFFFF;
276 display: none;
277 border: 1px solid #000000;
278 position: relative;
281 .pdflayout_table {
282 background: #D3DCE3;
283 color: #000000;
284 overflow: hidden;
285 clip: inherit;
286 z-index: 2;
287 display: inline;
288 visibility: inherit;
289 cursor: move;
290 position: absolute;
291 font-size: 80%;
292 border: 1px dashed #000000;
295 /* MySQL Parser */
296 .syntax {
297 font-size: 80%;
300 .syntax a {
301 text-decoration: none;
302 border-bottom:1px dotted black;
305 .syntax_comment {
306 padding-left: 4pt;
307 padding-right: 4pt;
310 .syntax_digit {
313 .syntax_digit_hex {
316 .syntax_digit_integer {
319 .syntax_digit_float {
322 .syntax_punct {
325 .syntax_alpha {
328 .syntax_alpha_columnType {
329 text-transform: uppercase;
332 .syntax_alpha_columnAttrib {
333 text-transform: uppercase;
336 .syntax_alpha_reservedWord {
337 text-transform: uppercase;
338 font-weight: bold;
341 .syntax_alpha_functionName {
342 text-transform: uppercase;
345 .syntax_alpha_identifier {
348 .syntax_alpha_charset {
351 .syntax_alpha_variable {
354 .syntax_quote {
355 white-space: pre;
358 .syntax_quote_backtick {
361 /* leave some space between icons and text */
362 .icon, img.footnotemarker {
363 vertical-align: middle;
364 margin-right: 0.3em;
365 margin-left: 0.3em;
368 img.footnotemarker {
369 display: none;
372 /* no extra space in table cells */
373 td .icon {
374 margin: 0;
377 .selectallarrow {
378 margin-<?php echo $right; ?>: 0.3em;
379 margin-<?php echo $left; ?>: 0.6em;
382 /* message boxes: warning, error, confirmation */
383 .success h1,
384 .notice h1,
385 .warning h1,
386 div.error h1 {
387 border-bottom: 2px solid;
388 font-weight: bold;
389 text-align: <?php echo $left; ?>;
390 margin: 0 0 0.2em 0;
393 div.success,
394 div.notice,
395 div.warning,
396 div.error,
397 div.footnotes {
398 margin: 5px 0;
399 border: 2px solid;
400 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
401 background-repeat: no-repeat;
402 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
403 background-position: 10px 50%;
404 padding: 0.1em 0.1em 0.1em 36px;
405 <?php } else { ?>
406 background-position: 99% 50%;
407 padding: 10px 5% 10px 10px;
408 <?php } ?>
409 <?php } else { ?>
410 padding: 0.3em;
411 <?php } ?>
414 .success {
415 color: #000000;
416 background-color: #f0fff0;
418 h1.success,
419 div.success {
420 border-color: #00FF00;
421 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
422 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_success.png);
423 background-repeat: no-repeat;
424 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
425 background-position: 5px 50%;
426 padding: 0.2em 0.2em 0.2em 25px;
427 <?php } else { ?>
428 background-position: 97% 50%;
429 padding: 0.2em 25px 0.2em 0.2em;
430 <?php } ?>
431 <?php } ?>
433 .success h1 {
434 border-color: #00FF00;
437 .notice, .footnotes {
438 color: #000000;
439 background-color: #FFFFDD;
441 h1.notice,
442 div.notice,
443 div.footnotes {
444 border-color: #FFD700;
445 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
446 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png);
447 background-repeat: no-repeat;
448 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
449 background-position: 5px 50%;
450 padding: 0.2em 0.2em 0.2em 25px;
451 <?php } else { ?>
452 background-position: 97% 50%;
453 padding: 0.2em 25px 0.2em 0.2em;
454 <?php } ?>
455 <?php } ?>
457 .notice h1 {
458 border-color: #FFD700;
461 .warning {
462 color: #CC0000;
463 background-color: #FFFFCC;
465 p.warning,
466 h1.warning,
467 div.warning {
468 border-color: #CC0000;
469 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
470 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
471 background-repeat: no-repeat;
472 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
473 background-position: 5px 50%;
474 padding: 0.2em 0.2em 0.2em 25px;
475 <?php } else { ?>
476 background-position: 97% 50%;
477 padding: 0.2em 25px 0.2em 0.2em;
478 <?php } ?>
479 <?php } ?>
481 .warning h1 {
482 border-color: #cc0000;
485 .error {
486 background-color: #FFFFCC;
487 color: #ff0000;
490 h1.error,
491 div.error {
492 border-color: #ff0000;
493 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
494 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png);
495 background-repeat: no-repeat;
496 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
497 background-position: 5px 50%;
498 padding: 0.2em 0.2em 0.2em 25px;
499 <?php } else { ?>
500 background-position: 97% 50%;
501 padding: 0.2em 25px 0.2em 0.2em;
502 <?php } ?>
503 <?php } ?>
505 div.error h1 {
506 border-color: #ff0000;
509 .confirmation {
510 background-color: #FFFFCC;
512 fieldset.confirmation {
513 border: 0.1em solid #FF0000;
515 fieldset.confirmation legend {
516 border-left: 0.1em solid #FF0000;
517 border-right: 0.1em solid #FF0000;
518 font-weight: bold;
519 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
520 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_really.png);
521 background-repeat: no-repeat;
522 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
523 background-position: 5px 50%;
524 padding: 0.2em 0.2em 0.2em 25px;
525 <?php } else { ?>
526 background-position: 97% 50%;
527 padding: 0.2em 25px 0.2em 0.2em;
528 <?php } ?>
529 <?php } ?>
531 /* end messageboxes */
534 .tblcomment {
535 font-size: 70%;
536 font-weight: normal;
537 color: #000099;
540 .tblHeaders {
541 font-weight: bold;
542 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
543 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
546 div.tools,
547 .tblFooters {
548 font-weight: normal;
549 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
550 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
553 .tblHeaders a:link,
554 .tblHeaders a:active,
555 .tblHeaders a:visited,
556 div.tools a:link,
557 div.tools a:visited,
558 div.tools a:active,
559 .tblFooters a:link,
560 .tblFooters a:active,
561 .tblFooters a:visited {
562 color: <?php echo $GLOBALS['cfg']['TableHeaderlinkColor']; ?>;
565 .tblHeaders a:hover,
566 div.tools a:hover,
567 .tblFooters a:hover {
568 color: #FF0000;
571 /* forbidden, no privilegs */
572 .noPrivileges {
573 color: #FF0000;
574 font-weight: bold;
577 /* disabled text */
578 .disabled,
579 .disabled a:link,
580 .disabled a:active,
581 .disabled a:visited {
582 color: #666666;
585 .disabled a:hover {
586 color: #666666;
587 text-decoration: none;
590 tr.disabled td,
591 td.disabled {
592 background-color: #cccccc;
595 .nowrap {
596 white-space: nowrap;
600 * login form
602 body.loginform h1,
603 body.loginform a.logo {
604 display: block;
605 text-align: center;
608 body.loginform {
609 text-align: center;
612 body.loginform div.container {
613 text-align: <?php echo $left; ?>;
614 width: 30em;
615 margin: 0 auto;
618 form.login label {
619 float: <?php echo $left; ?>;
620 width: 10em;
621 font-weight: bolder;
624 .commented_column {
625 border-bottom: 1px dashed black;
628 .column_attribute {
629 font-size: 70%;
632 /******************************************************************************/
633 /* specific elements */
635 #tbl_summary_row, thead {
636 background: #333333;
639 #topmenucontainer {
640 background: <?php echo $GLOBALS['cfg']['TopMenuBgColor']; ?>;
641 padding: 0px;
642 margin-bottom: 10px;
643 border: 1px solid #333;
646 /* topmenu */
647 ul#topmenu, ul#topmenu2, ul.tabs {
648 font-weight: bold;
649 list-style-type: none;
650 margin: 0;
651 padding: 0;
654 ul#topmenu2 {
655 margin: 0;
656 background: <?php echo $GLOBALS['cfg']['TopMenuBgColor']; ?>;
657 border-top: 3px solid <?php echo $GLOBALS['cfg']['LabelColor']; ?>;
660 ul#topmenu li, ul#topmenu2 li {
661 float: <?php echo $left; ?>;
662 margin: 0;
663 padding: 0;
664 vertical-align: middle;
665 border-right: 1px solid #333;
668 ul#topmenu2 li {
669 padding: 0 3px;
670 border: none;
673 #topmenu img, #topmenu2 img {
674 vertical-align: middle;
675 margin-<?php echo $right; ?>: 0.1em;
678 /* default tab styles */
679 ul#topmenu a, ul#topmenu span {
680 display: block;
681 margin: 0.2em 0.2em 0 0.2em;
682 padding: 0.2em 0.2em 0 0.2em;
683 white-space: nowrap;
686 ul#topmenu ul a {
687 margin: 0;
688 padding-bottom: 0.2em;
691 ul#topmenu .submenu {
692 display: none;
693 position: relative;
696 ul#topmenu ul {
697 margin: 0;
698 padding: 0;
699 position: absolute;
700 right: 0;
701 list-style-type: none;
702 display: none;
703 border: 1px #666 solid;
706 ul#topmenu li:hover ul, ul#topmenu .submenuhover ul {
707 display: block;
710 ul#topmenu ul li {
711 width: 100%;
714 ul#topmenu2 a {
715 display: block;
716 margin: 0.1em;
717 padding: 0.2em;
718 white-space: nowrap;
721 /* disabled tabs */
722 ul#topmenu span.tab {
723 color: #666666;
726 /* disabled drop/empty tabs */
727 ul#topmenu span.tabcaution {
728 color: #ff6666;
731 /* enabled drop/empty tabs
732 ul#topmenu a.tabcaution {
733 color: #FF0000;
735 ul#topmenu a.tabcaution:hover {
736 color: #FFFFFF;
737 background-color: #FF0000;
739 fieldset.caution a {
740 color: #FF0000;
742 fieldset.caution a:hover {
743 color: #ffffff;
744 background-color: #FF0000;
747 <?php if ($GLOBALS['cfg']['LightTabs']) { ?>
748 /* active tab */
749 ul#topmenu a.tabactive, ul#topmenu2 a.tabactive {
750 color: black;
753 ul#topmenu ul {
754 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
756 <?php } else { ?>
757 #topmenu {
758 margin-top: 0.5em;
759 padding: 0.1em 0.3em 0.1em 0.3em;
763 ul#topmenu ul {
764 -moz-box-shadow: 2px 2px 3px #666;
765 -webkit-box-shadow: 2px 2px 3px #666;
766 box-shadow: 2px 2px 3px #666;
769 ul#topmenu > li {
770 border-bottom: 1pt solid black;
774 /* default tab styles */
775 ul#topmenu a, ul#topmenu span {
776 background-color: <?php echo $GLOBALS['cfg']['TopMenuBgColor']; ?>;
777 padding: 5px;
778 margin: 0;
779 /*border: 0px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
780 border-width: 1pt 1pt 0 1pt;
781 -moz-border-radius: 0.4em 0.4em 0 0;
782 border-radius: 0.4em 0.4em 0 0;*/
785 ul#topmenu ul a {
786 border-width: 1pt 0 0 0;
787 -moz-border-radius: 0;
788 border-radius: 0;
791 ul#topmenu ul li:first-child a {
792 border-width: 0;
795 /* enabled hover/active tabs */
796 ul#topmenu > li > a:hover,
797 ul#topmenu > li > .tabactive {
798 padding: 5px;
799 text-decoration: none;
802 ul#topmenu ul a:hover,
803 ul#topmenu ul .tabactive {
804 text-decoration: none;
807 ul#topmenu a.tab:hover,
808 ul#topmenu .tabactive {
809 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
810 padding: 5px;
813 ul#topmenu2 a.tab:hover,
814 ul#topmenu2 a.tabactive {
815 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
816 -moz-border-radius: 0.3em;
817 border-radius: 0.3em;
818 text-decoration: none;
821 /* to be able to cancel the bottom border, use <li class="active"> */
822 ul#topmenu > li.active {
823 border-bottom: 1pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
826 /* disabled drop/empty tabs */
827 ul#topmenu span.tab,
828 a.warning,
829 ul#topmenu span.tabcaution {
830 cursor: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>error.ico), default;
832 <?php } ?>
833 /* end topmenu */
836 /* Calendar */
837 table.calendar {
838 width: 100%;
840 table.calendar td {
841 text-align: center;
843 table.calendar td a {
844 display: block;
847 table.calendar td a:hover {
848 background-color: #CCFFCC;
851 table.calendar th {
852 background-color: #D3DCE3;
855 table.calendar td.selected {
856 background-color: #FFCC99;
859 img.calendar {
860 border: none;
862 form.clock {
863 text-align: center;
865 /* end Calendar */
868 /* table stats */
869 div#tablestatistics {
870 border-bottom: 0.1em solid #669999;
871 margin-bottom: 0.5em;
872 padding-bottom: 0.5em;
875 div#tablestatistics table {
876 float: <?php echo $left; ?>;
877 margin-bottom: 0.5em;
878 margin-<?php echo $right; ?>: 0.5em;
881 div#tablestatistics table caption {
882 margin-<?php echo $right; ?>: 0.5em;
884 /* END table stats */
887 /* server privileges */
888 #tableuserrights td,
889 #tablespecificuserrights td,
890 #tabledatabases td {
891 vertical-align: middle;
893 /* END server privileges */
897 /* Heading */
898 #serverinfo {
899 font-weight: bold;
900 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
901 padding: 5px;
902 background: <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
903 border: 1px solid #999;
906 #serverinfo .item {
907 white-space: nowrap;
910 #span_table_comment {
911 font-weight: normal;
912 font-style: italic;
913 white-space: nowrap;
916 #serverinfo img {
917 margin: 0 0.1em 0 0.2em;
921 #textSQLDUMP {
922 width: 95%;
923 height: 95%;
924 font-family: "Courier New", Courier, mono;
925 font-size: 110%;
928 #TooltipContainer {
929 position: absolute;
930 z-index: 99;
931 width: 20em;
932 height: auto;
933 overflow: visible;
934 visibility: hidden;
935 background-color: #ffffcc;
936 color: #006600;
937 border: 0.1em solid #000000;
938 padding: 0.5em;
941 /* user privileges */
942 #fieldset_add_user_login div.item {
943 border-bottom: 1px solid silver;
944 padding-bottom: 0.3em;
945 margin-bottom: 0.3em;
948 #fieldset_add_user_login label {
949 float: <?php echo $left; ?>;
950 display: block;
951 width: 10em;
952 max-width: 100%;
953 text-align: <?php echo $right; ?>;
954 padding-<?php echo $right; ?>: 0.5em;
957 #fieldset_add_user_login span.options #select_pred_username,
958 #fieldset_add_user_login span.options #select_pred_hostname,
959 #fieldset_add_user_login span.options #select_pred_password {
960 width: 100%;
961 max-width: 100%;
964 #fieldset_add_user_login span.options {
965 float: <?php echo $left; ?>;
966 display: block;
967 width: 12em;
968 max-width: 100%;
969 padding-<?php echo $right; ?>: 0.5em;
972 #fieldset_add_user_login input {
973 width: 12em;
974 clear: <?php echo $right; ?>;
975 max-width: 100%;
978 #fieldset_add_user_login span.options input {
979 width: auto;
982 #fieldset_user_priv div.item {
983 float: <?php echo $left; ?>;
984 width: 9em;
985 max-width: 100%;
988 #fieldset_user_priv div.item div.item {
989 float: none;
992 #fieldset_user_priv div.item label {
993 white-space: nowrap;
996 #fieldset_user_priv div.item select {
997 width: 100%;
1000 #fieldset_user_global_rights fieldset {
1001 float: <?php echo $left; ?>;
1003 /* END user privileges */
1006 /* serverstatus */
1007 div#serverstatus table caption a.top {
1008 float: <?php echo $right; ?>;
1011 div#serverstatus div#serverstatusqueriesdetails table,
1012 div#serverstatus table#serverstatustraffic,
1013 div#serverstatus table#serverstatusconnections {
1014 float: <?php echo $left; ?>;
1017 #serverstatussection,
1018 .clearfloat {
1019 clear: both;
1021 div#serverstatussection table {
1022 width: 100%;
1023 margin-bottom: 1em;
1025 div#serverstatussection table .name {
1026 width: 18em;
1028 div#serverstatussection table .value {
1029 width: 6em;
1032 div#serverstatus table tbody td.descr a,
1033 div#serverstatus table .tblFooters a {
1034 white-space: nowrap;
1036 div#serverstatus div#statuslinks a:before,
1037 div#serverstatus div#sectionlinks a:before,
1038 div#serverstatus table tbody td.descr a:before,
1039 div#serverstatus table .tblFooters a:before {
1040 content: '[';
1042 div#serverstatus div#statuslinks a:after,
1043 div#serverstatus div#sectionlinks a:after,
1044 div#serverstatus table tbody td.descr a:after,
1045 div#serverstatus table .tblFooters a:after {
1046 content: ']';
1048 /* end serverstatus */
1050 /* querywindow */
1051 body#bodyquerywindow {
1052 margin: 0;
1053 padding: 0;
1054 background-image: none;
1055 background-color: #F5F5F5;
1058 div#querywindowcontainer {
1059 margin: 0;
1060 padding: 0;
1061 width: 100%;
1064 div#querywindowcontainer fieldset {
1065 margin-top: 0;
1067 /* END querywindow */
1070 /* querybox */
1072 div#sqlquerycontainer {
1073 float: <?php echo $left; ?>;
1074 width: 69%;
1075 /* height: 15em; */
1078 div#tablefieldscontainer {
1079 float: <?php echo $right; ?>;
1080 width: 29%;
1081 /* height: 15em; */
1084 div#tablefieldscontainer select {
1085 width: 100%;
1086 /* height: 12em; */
1089 textarea#sqlquery {
1090 width: 100%;
1091 /* height: 100%; */
1093 textarea#sql_query_edit{
1094 height:7em;
1095 width: 95%;
1096 display:block;
1098 div#queryboxcontainer div#bookmarkoptions {
1099 margin-top: 0.5em;
1101 /* end querybox */
1103 /* main page */
1104 #maincontainer {
1105 /*background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
1106 /*background-position: <?php echo $right; ?> bottom;
1107 background-repeat: no-repeat;*/
1110 #mysqlmaininformation,
1111 #pmamaininformation {
1112 float: <?php echo $left; ?>;
1113 width: 49%;
1116 #maincontainer ul {
1117 list-style-type: disc;
1118 vertical-align: middle;
1121 #maincontainer li {
1122 margin: 0.2em 0em;
1124 /* END main page */
1127 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
1128 /* iconic view for ul items */
1129 li#li_create_database {
1130 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
1133 li#li_select_lang {
1134 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
1137 li#li_select_mysql_collation {
1138 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1141 li#li_select_theme{
1142 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
1145 li#li_user_info{
1146 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1149 li#li_mysql_status{
1150 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
1153 li#li_mysql_variables{
1154 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
1157 li#li_mysql_processes{
1158 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
1161 li#li_mysql_collations{
1162 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1165 li#li_mysql_engines{
1166 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
1169 li#li_mysql_binlogs {
1170 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
1173 li#li_mysql_databases {
1174 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
1177 li#li_export {
1178 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
1181 li#li_import {
1182 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
1185 li#li_change_password {
1186 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
1189 li#li_log_out {
1190 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
1193 li#li_mysql_privilegs{
1194 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
1197 li#li_switch_dbstats {
1198 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
1201 li#li_flush_privileges {
1202 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
1205 li#li_user_preferences {
1206 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_tblops.png);
1208 /* END iconic view for ul items */
1209 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
1212 #body_browse_foreigners {
1213 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1214 margin: 0.5em 0.5em 0 0.5em;
1217 #bodyquerywindow {
1218 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1221 #bodythemes {
1222 width: 500px;
1223 margin: auto;
1224 text-align: center;
1227 #bodythemes img {
1228 border: 0.1em solid black;
1231 #bodythemes a:hover img {
1232 border: 0.1em solid red;
1235 #fieldset_select_fields {
1236 float: <?php echo $left; ?>;
1239 #selflink {
1240 clear: both;
1241 display: block;
1242 margin-top: 1em;
1243 margin-bottom: 1em;
1244 width: 100%;
1245 border-top: 0.1em solid silver;
1246 text-align: <?php echo $right; ?>;
1249 #table_innodb_bufferpool_usage,
1250 #table_innodb_bufferpool_activity {
1251 float: <?php echo $left; ?>;
1254 #div_mysql_charset_collations table {
1255 float: <?php echo $left; ?>;
1258 .operations_half_width {
1259 width: 48%;
1260 float: <?php echo $left; ?>;
1263 .operations_full_width {
1264 width: 100%;
1265 clear: both;
1268 #qbe_div_table_list {
1269 float: <?php echo $left; ?>;
1272 #qbe_div_sql_query {
1273 float: <?php echo $left; ?>;
1276 label.desc {
1277 width: 30em;
1278 float: <?php echo $left; ?>;
1281 label.desc sup {
1282 position: absolute;
1285 code.sql, div.sqlvalidate {
1286 display: block;
1287 padding: 0.3em;
1288 margin-top: 0;
1289 margin-bottom: 0;
1290 border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
1291 border-top: 0;
1292 border-bottom: 0;
1293 max-height: 10em;
1294 overflow: auto;
1295 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1298 #main_pane_left {
1299 width: 60%;
1300 float: <?php echo $left; ?>;
1301 padding-top: 1em;
1304 #main_pane_right {
1305 margin-<?php echo $left; ?>: 60%;
1306 padding-top: 1em;
1307 padding-<?php echo $left; ?>: 1em;
1310 .group {
1311 border: 0.3em solid <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
1312 margin-bottom: 1em;
1313 margin-right: 1em;
1316 .group h2 {
1317 background: <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
1318 padding: 0.1em 0.3em;
1319 margin-top: 0;
1320 color: <?php echo $GLOBALS['cfg']['HeaderColor']; ?>;
1323 .group ul {
1324 margin: 15px;
1325 padding-left: 20px;
1328 .group-cnt {
1329 padding: 0 0 0 0.5em;
1330 display: inline-block;
1331 width: 98%;
1334 /* for elements that should be revealed only via js */
1335 .hide {
1336 display: none;
1339 #li_select_server {
1340 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1343 #list_server {
1344 list-style-image: none;
1348 * Progress bar styles
1350 div.upload_progress_bar_outer
1352 border: 1px solid black;
1353 width: 202px;
1356 div.upload_progress_bar_inner
1358 background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1359 width: 0px;
1360 height: 12px;
1361 margin: 1px;
1364 table#serverconnection_src_remote,
1365 table#serverconnection_trg_remote,
1366 table#serverconnection_src_local,
1367 table#serverconnection_trg_local {
1368 float:left;
1371 * Validation error message styles
1373 .invalid_value
1374 {background:#F00;}
1377 * Ajax notification styling
1379 .ajax_notification {
1380 top: 0px; /** The notification needs to be shown on the top of the page */
1381 position: fixed;
1382 margin-top: 0;
1383 margin-right: auto;
1384 margin-bottom: 0;
1385 margin-left: auto;
1386 padding: 3px 5px; /** Keep a little space on the sides of the text */
1387 min-width: 70px;
1388 max-width: 350px; /** This value might have to be changed */
1389 background-color: #FFD700;
1390 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1391 text-align: center;
1392 display: block;
1393 left: 0;
1394 right: 0;
1395 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif);
1396 background-repeat: no-repeat;
1397 background-position: 2%;
1400 #loading_parent {
1401 /** Need this parent to properly center the notification division */
1402 position: relative;
1403 width: 100%;
1406 * Export and Import styles
1409 .exportoptions h3, .importoptions h3 {
1410 border-bottom: 1px #999999 solid;
1411 font-size: 110%;
1414 .exportoptions ul, .importoptions ul, .format_specific_options ul {
1415 list-style-type: none;
1416 margin-bottom: 15px;
1419 .exportoptions li, .importoptions li {
1420 margin: 7px;
1422 .exportoptions label, .importoptions label, .exportoptions p, .importoptions p {
1423 margin: 5px;
1424 float: none;
1427 #csv_options label.desc, #ldi_options label.desc, #latex_options label.desc, #output label.desc{
1428 float: left;
1429 width: 15em;
1432 .exportoptions, .importoptions {
1433 margin: 20px 30px 30px 10px
1436 .exportoptions #buttonGo, .importoptions #buttonGo {
1437 padding: 5px 30px;
1438 -moz-border-radius: 11px;
1439 -webkit-border-radius: 11px;
1440 border-radius: 11px;
1441 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
1442 background: -moz-linear-gradient(top, #ffffff, #cccccc);
1443 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
1444 border: 1px solid #444444;
1445 cursor: pointer;
1448 .format_specific_options h3 {
1449 margin: 10px 0px 0px 10px;
1450 border: 0px;
1453 .format_specific_options {
1454 border: 1px solid #999999;
1455 margin: 7px 0px;
1456 padding: 3px;
1459 p.desc {
1460 margin: 5px;
1464 * Export styles only
1466 select#db_select, select#table_select {
1467 width: 400px;
1470 .export_sub_options {
1471 margin: 20px 0px 0px 30px;
1474 .export_sub_options h4 {
1475 border-bottom: 1px #999999 solid;
1478 .export_sub_options li.subgroup {
1479 display: inline-block;
1480 margin-top: 0;
1483 .export_sub_options li {
1484 margin-bottom: 0;
1487 #quick_or_custom, #output_quick_export {
1488 display: none;
1491 * Import styles only
1494 .importoptions #import_notification {
1495 margin: 10px 0px;
1496 font-style: italic;
1499 input#input_import_file {
1500 margin: 5px;
1503 .formelementrow {
1504 margin: 5px 0px 5px 0px;
1508 * ENUM/SET editor styles
1510 p.enum_notice {
1511 margin: 5px 2px;
1512 font-size: 80%;
1515 #enum_editor {
1516 display: none;
1517 position: fixed;
1518 _position: absolute; /* hack for IE */
1519 z-index: 101;
1520 overflow-y: auto;
1521 overflow-x: hidden;
1524 #enum_editor_no_js {
1525 margin: auto auto;
1528 #enum_editor, #enum_editor_no_js {
1529 background: #D0DCE0;
1530 padding: 15px;
1533 #popup_background {
1534 display: none;
1535 position: fixed;
1536 _position: absolute; /* hack for IE6 */
1537 width: 100%;
1538 height: 100%;
1539 top: 0;
1540 left: 0;
1541 background: #000;
1542 z-index: 100;
1543 overflow: hidden;
1546 a.close_enum_editor {
1547 float: right;
1550 #enum_editor #values, #enum_editor_no_js #values {
1551 margin: 15px 0px;
1552 width: 100%;
1555 #enum_editor #values input, #enum_editor_no_js #values input {
1556 margin: 5px 0px;
1557 float: top;
1558 width: 100%;
1563 #enum_editor_output {
1564 margin-top: 50px;
1568 * Table structure styles
1570 .structure_actions_dropdown {
1571 position: absolute;
1572 padding: 3px;
1573 display: none;
1574 z-index: 100;
1577 .structure_actions_dropdown a {
1578 display: block;
1581 td.more_opts {
1582 display: none;
1583 white-space: nowrap;
1586 iframe.IE_hack {
1587 z-index: 1;
1588 position: absolute;
1589 display: none;
1590 border: 0;
1591 filter: alpha(opacity=0);
1594 /* config forms */
1595 .config-form ul.tabs {
1596 margin: 1.1em 0.2em 0;
1597 padding: 0 0 0.3em 0;
1598 list-style: none;
1599 font-weight: bold;
1602 .config-form ul.tabs li {
1603 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1604 border: 1px solid <?php echo $GLOBALS['cfg']['LabelColor']; ?>;
1605 float: <?php echo $left; ?>;
1608 .config-form ul.tabs li a {
1609 display: block;
1610 margin: 0.1em 0.2em 0;
1611 padding: 0.1em 0.4em;
1612 white-space: nowrap;
1613 text-decoration: none;
1614 border-bottom: none;
1617 .config-form ul.tabs li a:hover,
1618 .config-form ul.tabs li a:active,
1619 .config-form ul.tabs li a.active {
1620 margin: 0;
1621 padding: 0.1em 0.6em 0.2em;
1624 .config-form ul.tabs li a.active {
1625 background-color: <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
1626 color: <?php echo $GLOBALS['cfg']['TblContentBackground']; ?>
1629 .config-form fieldset {
1630 margin-top: 0;
1631 padding: 0;
1632 clear: both;
1633 /*border-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;*/
1636 .config-form legend {
1637 display: none;
1640 .config-form fieldset p {
1641 margin: 0;
1642 padding: 0.5em;
1643 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1644 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
1647 .config-form fieldset .errors { /* form error list */
1648 margin: 0 -2px 1em -2px;
1649 padding: 0.5em 1.5em;
1650 background: #FBEAD9;
1651 border: 0 #C83838 solid;
1652 border-width: 1px 0;
1653 list-style: none;
1654 font-family: sans-serif;
1655 font-size: small;
1658 .config-form fieldset .inline_errors { /* field error list */
1659 margin: 0.3em 0.3em 0.3em 0;
1660 padding: 0;
1661 list-style: none;
1662 color: #9A0000;
1663 font-size: small;
1666 .config-form fieldset th {
1667 padding: 0.3em 0.3em 0.3em 0.5em;
1668 text-align: left;
1669 vertical-align: top;
1670 width: 40%;
1671 background: transparent;
1674 .config-form fieldset .doc, .config-form fieldset .disabled-notice {
1675 margin-left: 1em;
1678 .config-form fieldset .disabled-notice {
1679 font-size: 80%;
1680 text-transform: uppercase;
1681 color: #E00;
1682 cursor: help;
1685 .config-form fieldset td {
1686 padding-top: 0.3em;
1687 padding-bottom: 0.3em;
1688 vertical-align: top;
1691 .config-form fieldset th small {
1692 display: block;
1693 font-weight: normal;
1694 font-family: sans-serif;
1695 font-size: x-small;
1696 color: #444;
1699 .config-form fieldset th, .config-form fieldset td {
1700 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1703 fieldset .group-header th {
1704 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1707 fieldset .group-header + tr th {
1708 padding-top: 0.6em;
1711 fieldset .group-field-1 th, fieldset .group-header-2 th {
1712 padding-left: 1.5em;
1715 fieldset .group-field-2 th, fieldset .group-header-3 th {
1716 padding-left: 3em;
1719 fieldset .group-field-3 th {
1720 padding-left: 4.5em;
1723 fieldset .disabled-field th,
1724 fieldset .disabled-field th small,
1725 fieldset .disabled-field td {
1726 color: #666;
1727 background-color: #ddd;
1730 .config-form .lastrow {
1731 border-top: 1px #000 solid;
1734 .config-form .lastrow {
1735 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
1736 padding: 0.5em;
1737 text-align: center;
1740 .config-form .lastrow input {
1741 font-weight: bold;
1744 /* form elements */
1746 .config-form span.checkbox {
1747 padding: 2px;
1748 display: inline-block;
1751 .config-form .custom { /* customized field */
1752 background: #FFC;
1755 .config-form span.checkbox.custom {
1756 padding: 1px;
1757 border: 1px #EDEC90 solid;
1758 background: #FFC;
1761 .config-form .field-error {
1762 border-color: #A11 !important;
1765 .config-form input[type="text"],
1766 .config-form select,
1767 .config-form textarea {
1768 border: 1px #A7A6AA solid;
1769 height: auto;
1772 .config-form input[type="text"]:focus,
1773 .config-form select:focus,
1774 .config-form textarea:focus {
1775 border: 1px #6676FF solid;
1776 background: #F7FBFF;
1779 .config-form .field-comment-mark {
1780 font-family: serif;
1781 color: #007;
1782 cursor: help;
1783 padding: 0 0.2em;
1784 font-weight: bold;
1785 font-style: italic;
1788 .config-form .field-comment-warning {
1789 color: #A00;
1792 /* error list */
1793 .config-form dd {
1794 margin-left: 0.5em;
1797 .config-form dd:before {
1798 content: "\25B8 ";
1801 .click-hide-message {
1802 cursor: pointer;
1805 .prefsmanage_opts {
1806 margin-<?php echo $left; ?>: 2em;
1809 #prefs_autoload {
1810 margin-bottom: 0.5em;
1816 /* Misc */
1817 #serverinfo a {
1818 color: <?php echo $GLOBALS['cfg']['TableHeaderlinkColor']; ?>;
1821 #serverinfo a:hover {
1822 color: <?php echo $GLOBALS['cfg']['TblContentBackground']; ?>;
1823 text-decoration: none;
1826 table.data {
1827 margin: 0 5px 5px 0;
1830 table.data thead a, table.insertRowTable thead a {
1831 color: <?php echo $GLOBALS['cfg']['TableHeaderlinkColor'];?>;
1832 /*font-weight: normal;*/
1835 table.data a {
1836 color: <?php echo $GLOBALS['cfg']['TableLinkColor'];?>;
1839 th a {
1840 color: <?php echo $GLOBALS['cfg']['TopMenuColor']; ?>;
1843 th label, .name, tr.odd th, tr.even th {
1844 color: <?php echo $GLOBALS['cfg']['LabelColor'];?>;
1848 .ui-widget-header {
1849 background: red;