Show 'More' link in top menu
[phpmyadmin-themes.git] / toba / css / theme_right.css.php
blob782501180e35b8ea65b4b7c0d617102957474774
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 .shown {
697 display: inline-block;
700 ul#topmenu ul {
701 margin: 0;
702 padding: 0;
703 position: absolute;
704 right: 0;
705 list-style-type: none;
706 display: none;
707 border: 1px #666 solid;
710 ul#topmenu li:hover ul, ul#topmenu .submenuhover ul {
711 display: block;
714 ul#topmenu ul li {
715 width: 100%;
718 ul#topmenu2 a {
719 display: block;
720 margin: 0.1em;
721 padding: 0.2em;
722 white-space: nowrap;
725 /* disabled tabs */
726 ul#topmenu span.tab {
727 color: #666666;
730 /* disabled drop/empty tabs */
731 ul#topmenu span.tabcaution {
732 color: #ff6666;
735 /* enabled drop/empty tabs
736 ul#topmenu a.tabcaution {
737 color: #FF0000;
739 ul#topmenu a.tabcaution:hover {
740 color: #FFFFFF;
741 background-color: #FF0000;
743 fieldset.caution a {
744 color: #FF0000;
746 fieldset.caution a:hover {
747 color: #ffffff;
748 background-color: #FF0000;
751 <?php if ($GLOBALS['cfg']['LightTabs']) { ?>
752 /* active tab */
753 ul#topmenu a.tabactive, ul#topmenu2 a.tabactive {
754 color: black;
757 ul#topmenu ul {
758 background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
760 <?php } else { ?>
761 #topmenu {
762 margin-top: 0.5em;
763 padding: 0.1em 0.3em 0.1em 0.3em;
767 ul#topmenu ul {
768 -moz-box-shadow: 2px 2px 3px #666;
769 -webkit-box-shadow: 2px 2px 3px #666;
770 box-shadow: 2px 2px 3px #666;
773 ul#topmenu > li {
774 border-bottom: 1pt solid black;
778 /* default tab styles */
779 ul#topmenu a, ul#topmenu span {
780 background-color: <?php echo $GLOBALS['cfg']['TopMenuBgColor']; ?>;
781 padding: 5px;
782 margin: 0;
783 /*border: 0px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
784 border-width: 1pt 1pt 0 1pt;
785 -moz-border-radius: 0.4em 0.4em 0 0;
786 border-radius: 0.4em 0.4em 0 0;*/
789 ul#topmenu ul a {
790 border-width: 1pt 0 0 0;
791 -moz-border-radius: 0;
792 border-radius: 0;
795 ul#topmenu ul li:first-child a {
796 border-width: 0;
799 /* enabled hover/active tabs */
800 ul#topmenu > li > a:hover,
801 ul#topmenu > li > .tabactive {
802 padding: 5px;
803 text-decoration: none;
806 ul#topmenu ul a:hover,
807 ul#topmenu ul .tabactive {
808 text-decoration: none;
811 ul#topmenu a.tab:hover,
812 ul#topmenu .tabactive {
813 background-color: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
814 padding: 5px;
817 ul#topmenu2 a.tab:hover,
818 ul#topmenu2 a.tabactive {
819 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
820 -moz-border-radius: 0.3em;
821 border-radius: 0.3em;
822 text-decoration: none;
825 /* to be able to cancel the bottom border, use <li class="active"> */
826 ul#topmenu > li.active {
827 border-bottom: 1pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
830 /* disabled drop/empty tabs */
831 ul#topmenu span.tab,
832 a.warning,
833 ul#topmenu span.tabcaution {
834 cursor: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>error.ico), default;
836 <?php } ?>
837 /* end topmenu */
840 /* Calendar */
841 table.calendar {
842 width: 100%;
844 table.calendar td {
845 text-align: center;
847 table.calendar td a {
848 display: block;
851 table.calendar td a:hover {
852 background-color: #CCFFCC;
855 table.calendar th {
856 background-color: #D3DCE3;
859 table.calendar td.selected {
860 background-color: #FFCC99;
863 img.calendar {
864 border: none;
866 form.clock {
867 text-align: center;
869 /* end Calendar */
872 /* table stats */
873 div#tablestatistics {
874 border-bottom: 0.1em solid #669999;
875 margin-bottom: 0.5em;
876 padding-bottom: 0.5em;
879 div#tablestatistics table {
880 float: <?php echo $left; ?>;
881 margin-bottom: 0.5em;
882 margin-<?php echo $right; ?>: 0.5em;
885 div#tablestatistics table caption {
886 margin-<?php echo $right; ?>: 0.5em;
888 /* END table stats */
891 /* server privileges */
892 #tableuserrights td,
893 #tablespecificuserrights td,
894 #tabledatabases td {
895 vertical-align: middle;
897 /* END server privileges */
901 /* Heading */
902 #serverinfo {
903 font-weight: bold;
904 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
905 padding: 5px;
906 background: <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
907 border: 1px solid #999;
910 #serverinfo .item {
911 white-space: nowrap;
914 #span_table_comment {
915 font-weight: normal;
916 font-style: italic;
917 white-space: nowrap;
920 #serverinfo img {
921 margin: 0 0.1em 0 0.2em;
925 #textSQLDUMP {
926 width: 95%;
927 height: 95%;
928 font-family: "Courier New", Courier, mono;
929 font-size: 110%;
932 #TooltipContainer {
933 position: absolute;
934 z-index: 99;
935 width: 20em;
936 height: auto;
937 overflow: visible;
938 visibility: hidden;
939 background-color: #ffffcc;
940 color: #006600;
941 border: 0.1em solid #000000;
942 padding: 0.5em;
945 /* user privileges */
946 #fieldset_add_user_login div.item {
947 border-bottom: 1px solid silver;
948 padding-bottom: 0.3em;
949 margin-bottom: 0.3em;
952 #fieldset_add_user_login label {
953 float: <?php echo $left; ?>;
954 display: block;
955 width: 10em;
956 max-width: 100%;
957 text-align: <?php echo $right; ?>;
958 padding-<?php echo $right; ?>: 0.5em;
961 #fieldset_add_user_login span.options #select_pred_username,
962 #fieldset_add_user_login span.options #select_pred_hostname,
963 #fieldset_add_user_login span.options #select_pred_password {
964 width: 100%;
965 max-width: 100%;
968 #fieldset_add_user_login span.options {
969 float: <?php echo $left; ?>;
970 display: block;
971 width: 12em;
972 max-width: 100%;
973 padding-<?php echo $right; ?>: 0.5em;
976 #fieldset_add_user_login input {
977 width: 12em;
978 clear: <?php echo $right; ?>;
979 max-width: 100%;
982 #fieldset_add_user_login span.options input {
983 width: auto;
986 #fieldset_user_priv div.item {
987 float: <?php echo $left; ?>;
988 width: 9em;
989 max-width: 100%;
992 #fieldset_user_priv div.item div.item {
993 float: none;
996 #fieldset_user_priv div.item label {
997 white-space: nowrap;
1000 #fieldset_user_priv div.item select {
1001 width: 100%;
1004 #fieldset_user_global_rights fieldset {
1005 float: <?php echo $left; ?>;
1007 /* END user privileges */
1010 /* serverstatus */
1011 div#serverstatus table caption a.top {
1012 float: <?php echo $right; ?>;
1015 div#serverstatus div#serverstatusqueriesdetails table,
1016 div#serverstatus table#serverstatustraffic,
1017 div#serverstatus table#serverstatusconnections {
1018 float: <?php echo $left; ?>;
1021 #serverstatussection,
1022 .clearfloat {
1023 clear: both;
1025 div#serverstatussection table {
1026 width: 100%;
1027 margin-bottom: 1em;
1029 div#serverstatussection table .name {
1030 width: 18em;
1032 div#serverstatussection table .value {
1033 width: 6em;
1036 div#serverstatus table tbody td.descr a,
1037 div#serverstatus table .tblFooters a {
1038 white-space: nowrap;
1040 div#serverstatus div#statuslinks a:before,
1041 div#serverstatus div#sectionlinks a:before,
1042 div#serverstatus table tbody td.descr a:before,
1043 div#serverstatus table .tblFooters a:before {
1044 content: '[';
1046 div#serverstatus div#statuslinks a:after,
1047 div#serverstatus div#sectionlinks a:after,
1048 div#serverstatus table tbody td.descr a:after,
1049 div#serverstatus table .tblFooters a:after {
1050 content: ']';
1052 /* end serverstatus */
1054 /* querywindow */
1055 body#bodyquerywindow {
1056 margin: 0;
1057 padding: 0;
1058 background-image: none;
1059 background-color: #F5F5F5;
1062 div#querywindowcontainer {
1063 margin: 0;
1064 padding: 0;
1065 width: 100%;
1068 div#querywindowcontainer fieldset {
1069 margin-top: 0;
1071 /* END querywindow */
1074 /* querybox */
1076 div#sqlquerycontainer {
1077 float: <?php echo $left; ?>;
1078 width: 69%;
1079 /* height: 15em; */
1082 div#tablefieldscontainer {
1083 float: <?php echo $right; ?>;
1084 width: 29%;
1085 /* height: 15em; */
1088 div#tablefieldscontainer select {
1089 width: 100%;
1090 /* height: 12em; */
1093 textarea#sqlquery {
1094 width: 100%;
1095 /* height: 100%; */
1097 textarea#sql_query_edit{
1098 height:7em;
1099 width: 95%;
1100 display:block;
1102 div#queryboxcontainer div#bookmarkoptions {
1103 margin-top: 0.5em;
1105 /* end querybox */
1107 /* main page */
1108 #maincontainer {
1109 /*background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
1110 /*background-position: <?php echo $right; ?> bottom;
1111 background-repeat: no-repeat;*/
1114 #mysqlmaininformation,
1115 #pmamaininformation {
1116 float: <?php echo $left; ?>;
1117 width: 49%;
1120 #maincontainer ul {
1121 list-style-type: disc;
1122 vertical-align: middle;
1125 #maincontainer li {
1126 margin: 0.2em 0em;
1128 /* END main page */
1131 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
1132 /* iconic view for ul items */
1133 li#li_create_database {
1134 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
1137 li#li_select_lang {
1138 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
1141 li#li_select_mysql_collation {
1142 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1145 li#li_select_theme{
1146 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
1149 li#li_user_info{
1150 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1153 li#li_mysql_status{
1154 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
1157 li#li_mysql_variables{
1158 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
1161 li#li_mysql_processes{
1162 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
1165 li#li_mysql_collations{
1166 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1169 li#li_mysql_engines{
1170 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
1173 li#li_mysql_binlogs {
1174 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
1177 li#li_mysql_databases {
1178 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
1181 li#li_export {
1182 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
1185 li#li_import {
1186 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
1189 li#li_change_password {
1190 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
1193 li#li_log_out {
1194 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
1197 li#li_mysql_privilegs{
1198 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
1201 li#li_switch_dbstats {
1202 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
1205 li#li_flush_privileges {
1206 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
1209 li#li_user_preferences {
1210 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_tblops.png);
1212 /* END iconic view for ul items */
1213 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
1216 #body_browse_foreigners {
1217 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1218 margin: 0.5em 0.5em 0 0.5em;
1221 #bodyquerywindow {
1222 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1225 #bodythemes {
1226 width: 500px;
1227 margin: auto;
1228 text-align: center;
1231 #bodythemes img {
1232 border: 0.1em solid black;
1235 #bodythemes a:hover img {
1236 border: 0.1em solid red;
1239 #fieldset_select_fields {
1240 float: <?php echo $left; ?>;
1243 #selflink {
1244 clear: both;
1245 display: block;
1246 margin-top: 1em;
1247 margin-bottom: 1em;
1248 width: 100%;
1249 border-top: 0.1em solid silver;
1250 text-align: <?php echo $right; ?>;
1253 #table_innodb_bufferpool_usage,
1254 #table_innodb_bufferpool_activity {
1255 float: <?php echo $left; ?>;
1258 #div_mysql_charset_collations table {
1259 float: <?php echo $left; ?>;
1262 .operations_half_width {
1263 width: 48%;
1264 float: <?php echo $left; ?>;
1267 .operations_full_width {
1268 width: 100%;
1269 clear: both;
1272 #qbe_div_table_list {
1273 float: <?php echo $left; ?>;
1276 #qbe_div_sql_query {
1277 float: <?php echo $left; ?>;
1280 label.desc {
1281 width: 30em;
1282 float: <?php echo $left; ?>;
1285 label.desc sup {
1286 position: absolute;
1289 code.sql, div.sqlvalidate {
1290 display: block;
1291 padding: 0.3em;
1292 margin-top: 0;
1293 margin-bottom: 0;
1294 border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
1295 border-top: 0;
1296 border-bottom: 0;
1297 max-height: 10em;
1298 overflow: auto;
1299 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1302 #main_pane_left {
1303 width: 60%;
1304 float: <?php echo $left; ?>;
1305 padding-top: 1em;
1308 #main_pane_right {
1309 margin-<?php echo $left; ?>: 60%;
1310 padding-top: 1em;
1311 padding-<?php echo $left; ?>: 1em;
1314 .group {
1315 border: 0.3em solid <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
1316 margin-bottom: 1em;
1317 margin-right: 1em;
1320 .group h2 {
1321 background: <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
1322 padding: 0.1em 0.3em;
1323 margin-top: 0;
1324 color: <?php echo $GLOBALS['cfg']['HeaderColor']; ?>;
1327 .group ul {
1328 margin: 15px;
1329 padding-left: 20px;
1332 .group-cnt {
1333 padding: 0 0 0 0.5em;
1334 display: inline-block;
1335 width: 98%;
1338 /* for elements that should be revealed only via js */
1339 .hide {
1340 display: none;
1343 #li_select_server {
1344 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1347 #list_server {
1348 list-style-image: none;
1352 * Progress bar styles
1354 div.upload_progress_bar_outer
1356 border: 1px solid black;
1357 width: 202px;
1360 div.upload_progress_bar_inner
1362 background-color: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1363 width: 0px;
1364 height: 12px;
1365 margin: 1px;
1368 table#serverconnection_src_remote,
1369 table#serverconnection_trg_remote,
1370 table#serverconnection_src_local,
1371 table#serverconnection_trg_local {
1372 float:left;
1375 * Validation error message styles
1377 .invalid_value
1378 {background:#F00;}
1381 * Ajax notification styling
1383 .ajax_notification {
1384 top: 0px; /** The notification needs to be shown on the top of the page */
1385 position: fixed;
1386 margin-top: 0;
1387 margin-right: auto;
1388 margin-bottom: 0;
1389 margin-left: auto;
1390 padding: 3px 5px; /** Keep a little space on the sides of the text */
1391 min-width: 70px;
1392 max-width: 350px; /** This value might have to be changed */
1393 background-color: #FFD700;
1394 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1395 text-align: center;
1396 display: block;
1397 left: 0;
1398 right: 0;
1399 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif);
1400 background-repeat: no-repeat;
1401 background-position: 2%;
1404 #loading_parent {
1405 /** Need this parent to properly center the notification division */
1406 position: relative;
1407 width: 100%;
1410 * Export and Import styles
1413 .exportoptions h3, .importoptions h3 {
1414 border-bottom: 1px #999999 solid;
1415 font-size: 110%;
1418 .exportoptions ul, .importoptions ul, .format_specific_options ul {
1419 list-style-type: none;
1420 margin-bottom: 15px;
1423 .exportoptions li, .importoptions li {
1424 margin: 7px;
1426 .exportoptions label, .importoptions label, .exportoptions p, .importoptions p {
1427 margin: 5px;
1428 float: none;
1431 #csv_options label.desc, #ldi_options label.desc, #latex_options label.desc, #output label.desc{
1432 float: left;
1433 width: 15em;
1436 .exportoptions, .importoptions {
1437 margin: 20px 30px 30px 10px
1440 .exportoptions #buttonGo, .importoptions #buttonGo {
1441 padding: 5px 30px;
1442 -moz-border-radius: 11px;
1443 -webkit-border-radius: 11px;
1444 border-radius: 11px;
1445 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
1446 background: -moz-linear-gradient(top, #ffffff, #cccccc);
1447 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
1448 border: 1px solid #444444;
1449 cursor: pointer;
1452 .format_specific_options h3 {
1453 margin: 10px 0px 0px 10px;
1454 border: 0px;
1457 .format_specific_options {
1458 border: 1px solid #999999;
1459 margin: 7px 0px;
1460 padding: 3px;
1463 p.desc {
1464 margin: 5px;
1468 * Export styles only
1470 select#db_select, select#table_select {
1471 width: 400px;
1474 .export_sub_options {
1475 margin: 20px 0px 0px 30px;
1478 .export_sub_options h4 {
1479 border-bottom: 1px #999999 solid;
1482 .export_sub_options li.subgroup {
1483 display: inline-block;
1484 margin-top: 0;
1487 .export_sub_options li {
1488 margin-bottom: 0;
1491 #quick_or_custom, #output_quick_export {
1492 display: none;
1495 * Import styles only
1498 .importoptions #import_notification {
1499 margin: 10px 0px;
1500 font-style: italic;
1503 input#input_import_file {
1504 margin: 5px;
1507 .formelementrow {
1508 margin: 5px 0px 5px 0px;
1512 * ENUM/SET editor styles
1514 p.enum_notice {
1515 margin: 5px 2px;
1516 font-size: 80%;
1519 #enum_editor {
1520 display: none;
1521 position: fixed;
1522 _position: absolute; /* hack for IE */
1523 z-index: 101;
1524 overflow-y: auto;
1525 overflow-x: hidden;
1528 #enum_editor_no_js {
1529 margin: auto auto;
1532 #enum_editor, #enum_editor_no_js {
1533 background: #D0DCE0;
1534 padding: 15px;
1537 #popup_background {
1538 display: none;
1539 position: fixed;
1540 _position: absolute; /* hack for IE6 */
1541 width: 100%;
1542 height: 100%;
1543 top: 0;
1544 left: 0;
1545 background: #000;
1546 z-index: 100;
1547 overflow: hidden;
1550 a.close_enum_editor {
1551 float: right;
1554 #enum_editor #values, #enum_editor_no_js #values {
1555 margin: 15px 0px;
1556 width: 100%;
1559 #enum_editor #values input, #enum_editor_no_js #values input {
1560 margin: 5px 0px;
1561 float: top;
1562 width: 100%;
1567 #enum_editor_output {
1568 margin-top: 50px;
1572 * Table structure styles
1574 .structure_actions_dropdown {
1575 position: absolute;
1576 padding: 3px;
1577 display: none;
1578 z-index: 100;
1581 .structure_actions_dropdown a {
1582 display: block;
1585 td.more_opts {
1586 display: none;
1587 white-space: nowrap;
1590 iframe.IE_hack {
1591 z-index: 1;
1592 position: absolute;
1593 display: none;
1594 border: 0;
1595 filter: alpha(opacity=0);
1598 /* config forms */
1599 .config-form ul.tabs {
1600 margin: 1.1em 0.2em 0;
1601 padding: 0 0 0.3em 0;
1602 list-style: none;
1603 font-weight: bold;
1606 .config-form ul.tabs li {
1607 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1608 border: 1px solid <?php echo $GLOBALS['cfg']['LabelColor']; ?>;
1609 float: <?php echo $left; ?>;
1612 .config-form ul.tabs li a {
1613 display: block;
1614 margin: 0.1em 0.2em 0;
1615 padding: 0.1em 0.4em;
1616 white-space: nowrap;
1617 text-decoration: none;
1618 border-bottom: none;
1621 .config-form ul.tabs li a:hover,
1622 .config-form ul.tabs li a:active,
1623 .config-form ul.tabs li a.active {
1624 margin: 0;
1625 padding: 0.1em 0.6em 0.2em;
1628 .config-form ul.tabs li a.active {
1629 background-color: <?php echo $GLOBALS['cfg']['HeaderBackground']; ?>;
1630 color: <?php echo $GLOBALS['cfg']['TblContentBackground']; ?>
1633 .config-form fieldset {
1634 margin-top: 0;
1635 padding: 0;
1636 clear: both;
1637 /*border-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;*/
1640 .config-form legend {
1641 display: none;
1644 .config-form fieldset p {
1645 margin: 0;
1646 padding: 0.5em;
1647 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1648 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
1651 .config-form fieldset .errors { /* form error list */
1652 margin: 0 -2px 1em -2px;
1653 padding: 0.5em 1.5em;
1654 background: #FBEAD9;
1655 border: 0 #C83838 solid;
1656 border-width: 1px 0;
1657 list-style: none;
1658 font-family: sans-serif;
1659 font-size: small;
1662 .config-form fieldset .inline_errors { /* field error list */
1663 margin: 0.3em 0.3em 0.3em 0;
1664 padding: 0;
1665 list-style: none;
1666 color: #9A0000;
1667 font-size: small;
1670 .config-form fieldset th {
1671 padding: 0.3em 0.3em 0.3em 0.5em;
1672 text-align: left;
1673 vertical-align: top;
1674 width: 40%;
1675 background: transparent;
1678 .config-form fieldset .doc, .config-form fieldset .disabled-notice {
1679 margin-left: 1em;
1682 .config-form fieldset .disabled-notice {
1683 font-size: 80%;
1684 text-transform: uppercase;
1685 color: #E00;
1686 cursor: help;
1689 .config-form fieldset td {
1690 padding-top: 0.3em;
1691 padding-bottom: 0.3em;
1692 vertical-align: top;
1695 .config-form fieldset th small {
1696 display: block;
1697 font-weight: normal;
1698 font-family: sans-serif;
1699 font-size: x-small;
1700 color: #444;
1703 .config-form fieldset th, .config-form fieldset td {
1704 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1707 fieldset .group-header th {
1708 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1711 fieldset .group-header + tr th {
1712 padding-top: 0.6em;
1715 fieldset .group-field-1 th, fieldset .group-header-2 th {
1716 padding-left: 1.5em;
1719 fieldset .group-field-2 th, fieldset .group-header-3 th {
1720 padding-left: 3em;
1723 fieldset .group-field-3 th {
1724 padding-left: 4.5em;
1727 fieldset .disabled-field th,
1728 fieldset .disabled-field th small,
1729 fieldset .disabled-field td {
1730 color: #666;
1731 background-color: #ddd;
1734 .config-form .lastrow {
1735 border-top: 1px #000 solid;
1738 .config-form .lastrow {
1739 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
1740 padding: 0.5em;
1741 text-align: center;
1744 .config-form .lastrow input {
1745 font-weight: bold;
1748 /* form elements */
1750 .config-form span.checkbox {
1751 padding: 2px;
1752 display: inline-block;
1755 .config-form .custom { /* customized field */
1756 background: #FFC;
1759 .config-form span.checkbox.custom {
1760 padding: 1px;
1761 border: 1px #EDEC90 solid;
1762 background: #FFC;
1765 .config-form .field-error {
1766 border-color: #A11 !important;
1769 .config-form input[type="text"],
1770 .config-form select,
1771 .config-form textarea {
1772 border: 1px #A7A6AA solid;
1773 height: auto;
1776 .config-form input[type="text"]:focus,
1777 .config-form select:focus,
1778 .config-form textarea:focus {
1779 border: 1px #6676FF solid;
1780 background: #F7FBFF;
1783 .config-form .field-comment-mark {
1784 font-family: serif;
1785 color: #007;
1786 cursor: help;
1787 padding: 0 0.2em;
1788 font-weight: bold;
1789 font-style: italic;
1792 .config-form .field-comment-warning {
1793 color: #A00;
1796 /* error list */
1797 .config-form dd {
1798 margin-left: 0.5em;
1801 .config-form dd:before {
1802 content: "\25B8 ";
1805 .click-hide-message {
1806 cursor: pointer;
1809 .prefsmanage_opts {
1810 margin-<?php echo $left; ?>: 2em;
1813 #prefs_autoload {
1814 margin-bottom: 0.5em;
1820 /* Misc */
1821 #serverinfo a {
1822 color: <?php echo $GLOBALS['cfg']['TableHeaderlinkColor']; ?>;
1825 #serverinfo a:hover {
1826 color: <?php echo $GLOBALS['cfg']['TblContentBackground']; ?>;
1827 text-decoration: none;
1830 table.data {
1831 margin: 0 5px 5px 0;
1834 table.data thead a, table.insertRowTable thead a {
1835 color: <?php echo $GLOBALS['cfg']['TableHeaderlinkColor'];?>;
1836 /*font-weight: normal;*/
1839 table.data a {
1840 color: <?php echo $GLOBALS['cfg']['TableLinkColor'];?>;
1843 th a {
1844 color: <?php echo $GLOBALS['cfg']['TopMenuColor']; ?>;
1847 th label, .name, tr.odd th, tr.even th {
1848 color: <?php echo $GLOBALS['cfg']['LabelColor'];?>;
1852 .ui-widget-header {
1853 background: red;