Same look as other boxes
[phpmyadmin-themes.git] / css / theme_right.css.php
blob78473b4e26abd9d716788a4f88780bd88de21476
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 $GLOBALS['PMA_Config']->get('fontsize'); ?>;
21 input, select, textarea {
22 font-size: 1em;
25 body {
26 <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
27 font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
28 <?php } ?>
29 padding: 0;
30 margin: 0.5em;
31 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
32 background: <?php echo (isset($_SESSION['tmp_user_values']['custom_color']) ? $_SESSION['tmp_user_values']['custom_color'] : $GLOBALS['cfg']['MainBackground']); ?>;
35 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
36 textarea, tt, pre, code {
37 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
39 <?php } ?>
40 h1 {
41 font-size: 140%;
42 font-weight: bold;
45 h2 {
46 font-size: 120%;
47 font-weight: bold;
50 h3 {
51 font-weight: bold;
54 a, a:link,
55 a:visited,
56 a:active {
57 text-decoration: none;
58 color: #008;
59 cursor: pointer;
62 a:hover {
63 text-decoration: underline;
64 color: #008;
67 dfn {
68 font-style: normal;
71 dfn:hover {
72 font-style: normal;
73 cursor: help;
76 th {
77 font-weight: bold;
78 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
79 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
81 thead th a {
82 color: <?php echo $GLOBALS['cfg']['ThColor']; ?> !important;
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 clear: both;
109 margin-top: 1em;
110 border: <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 2px;
111 padding: 0.5em;
112 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
113 -moz-border-radius: 0.5em;
114 border-radius: 0.5em;
117 fieldset fieldset {
118 margin: 0.8em;
121 fieldset legend {
122 font-weight: bold;
123 color: #444444;
124 background-color: <?php echo 'OPERA' != PMA_USR_BROWSER_AGENT ? 'transparent' : $GLOBALS['cfg']['BgOne']; ?>;
127 /* buttons in some browsers (eg. Konqueror) are block elements,
128 this breaks design */
129 button {
130 display: inline;
133 table {
134 border-collapse:collapse;
135 margin: 0.2em;
138 table caption {
139 padding: 0.1em 0.5em 0.1em 0.5em;
142 table th,
143 table td {
144 padding: 0.1em 0.5em 0.1em 0.5em;
145 margin: 0.1em;
146 vertical-align: top;
147 border: 1px solid black;
150 table.navigation td, #actions_panel table td {
151 border: none;
154 img,
155 input,
156 select,
157 button {
158 vertical-align: middle;
162 /******************************************************************************/
163 /* classes */
164 div.tools,
165 fieldset.tblFooters {
166 margin: 0 1em 1em 1em;
167 border: 2px solid #000;
168 border-top: none;
169 width: auto;
170 padding: 0.2em;
171 float: <?php echo $left; ?>;
172 clear: both;
173 -moz-border-radius: 0 0 0.5em 0.5em;
174 border-radius: 0 0 0.5em 0.5em;
177 fieldset .formelement {
178 float: <?php echo $left; ?>;
179 margin-<?php echo $right; ?>: 0.5em;
180 /* IE */
181 white-space: nowrap;
184 /* revert for Gecko */
185 fieldset div[class=formelement] {
186 white-space: normal;
189 button.mult_submit {
190 border: none;
191 background-color: transparent;
194 /* odd items 1,3,5,7,... */
195 table tr.odd th,
196 .odd {
197 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
200 /* even items 2,4,6,8,... */
201 table tr.even th,
202 .even {
203 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
205 tr.even th, tr.odd th, fieldset th {
206 color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
209 /* odd table rows 1,3,5,7,... */
210 table tr.odd th,
211 table tr.odd,
212 table tr.even th,
213 table tr.even {
214 text-align: <?php echo $left; ?>;
217 <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
218 /* marked table rows */
219 td.marked,
220 table tr.marked th,
221 table tr.marked {
222 background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
223 color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
225 <?php } ?>
227 <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
228 /* hovered items */
229 .odd:hover,
230 .even:hover,
231 .hover,
232 .structure_actions_dropdown {
233 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
234 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
237 /* hovered table rows */
238 table tr.odd:hover th,
239 table tr.even:hover th,
240 table tr.hover th {
241 background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
242 color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
244 <?php } ?>
247 * marks table rows/cells if the db field is in a where condition
249 tr.condition th,
250 tr.condition td,
251 td.condition,
252 th.condition {
253 border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
256 table .value {
257 text-align: <?php echo $right; ?>;
258 white-space: normal;
260 /* IE doesnt handles 'pre' right */
261 table [class=value] {
262 white-space: normal;
264 table .tbl_size {
265 white-space: nowrap;
269 <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
270 .value {
271 font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
273 <?php } ?>
274 .value .attention {
275 color: red;
276 font-weight: bold;
278 .value .allfine {
279 color: green;
283 img.lightbulb {
284 cursor: pointer;
287 .pdflayout {
288 overflow: hidden;
289 clip: inherit;
290 background-color: #FFFFFF;
291 display: none;
292 border: 1px solid #000000;
293 position: relative;
296 .pdflayout_table {
297 background: #D3DCE3;
298 color: #000000;
299 overflow: hidden;
300 clip: inherit;
301 z-index: 2;
302 display: inline;
303 visibility: inherit;
304 cursor: move;
305 position: absolute;
306 font-size: 80%;
307 border: 1px dashed #000000;
310 /* MySQL Parser */
311 .syntax {
312 font-size: 80%;
315 .syntax a {
316 text-decoration: none;
317 border-bottom:1px dotted black;
320 .syntax_comment {
321 padding-left: 4pt;
322 padding-right: 4pt;
325 .syntax_digit {
328 .syntax_digit_hex {
331 .syntax_digit_integer {
334 .syntax_digit_float {
337 .syntax_punct {
340 .syntax_alpha {
343 .syntax_alpha_columnType {
344 text-transform: uppercase;
347 .syntax_alpha_columnAttrib {
348 text-transform: uppercase;
351 .syntax_alpha_reservedWord {
352 text-transform: uppercase;
353 font-weight: bold;
356 .syntax_alpha_functionName {
357 text-transform: uppercase;
360 .syntax_alpha_identifier {
363 .syntax_alpha_charset {
366 .syntax_alpha_variable {
369 .syntax_quote {
370 white-space: pre;
373 .syntax_quote_backtick {
376 /* leave some space between icons and text */
377 .icon, img.footnotemarker {
378 vertical-align: middle;
379 margin-right: 0.3em;
380 margin-left: 0.3em;
383 img.footnotemarker {
384 display: none;
387 /* no extra space in table cells */
388 td .icon {
389 margin: 0;
392 .selectallarrow {
393 margin-<?php echo $right; ?>: 0.3em;
394 margin-<?php echo $left; ?>: 0.6em;
397 /* message boxes: warning, error, confirmation */
398 .success h1,
399 .notice h1,
400 .warning h1,
401 div.error h1 {
402 border-bottom: 2px solid;
403 font-weight: bold;
404 text-align: <?php echo $left; ?>;
405 margin: 0 0 0.2em 0;
408 div.success,
409 div.notice,
410 div.warning,
411 div.error,
412 div.footnotes {
413 clear: both;
414 margin: 0.3em 0 0 0;
415 border: 2px solid;
416 padding: 0.5em;
417 -moz-border-radius: 0.5em;
418 border-radius: 0.5em;
419 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
420 background-repeat: no-repeat;
421 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
422 background-position: 10px 50%;
423 padding-left: 36px;
424 <?php } else { ?>
425 background-position: 99% 50%;
426 padding-right: 36px;
427 <?php } ?>
428 <?php } ?>
431 .success {
432 color: #000000;
433 background-color: #f0fff0;
435 h1.success,
436 div.success {
437 border-color: #00FF00;
438 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
439 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_success.png);
440 <?php } ?>
442 .success h1 {
443 border-color: #00FF00;
446 .notice, .footnotes {
447 color: #000000;
448 background-color: #FFFFDD;
450 h1.notice,
451 div.notice,
452 div.footnotes {
453 border-color: #FFD700;
454 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
455 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png);
456 <?php } ?>
458 .notice h1 {
459 border-color: #FFD700;
462 .warning {
463 color: #CC0000;
464 background-color: #FFFFCC;
466 p.warning,
467 h1.warning,
468 div.warning {
469 border-color: #CC0000;
470 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
471 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
472 <?php } ?>
474 .warning h1 {
475 border-color: #cc0000;
478 .error {
479 background-color: #FFFFCC;
480 color: #ff0000;
483 h1.error,
484 div.error {
485 border-color: #ff0000;
486 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
487 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png);
488 <?php } ?>
490 div.error h1 {
491 border-color: #ff0000;
494 .confirmation {
495 background-color: #FFFFCC;
497 fieldset.confirmation {
498 border: 0.1em solid #FF0000;
500 fieldset.confirmation legend {
501 border-left: 0.1em solid #FF0000;
502 border-right: 0.1em solid #FF0000;
503 font-weight: bold;
504 <?php if ($GLOBALS['cfg']['ErrorIconic']) { ?>
505 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_really.png);
506 background-repeat: no-repeat;
507 <?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
508 background-position: 5px 50%;
509 padding: 0.2em 0.2em 0.2em 25px;
510 <?php } else { ?>
511 background-position: 97% 50%;
512 padding: 0.2em 25px 0.2em 0.2em;
513 <?php } ?>
514 <?php } ?>
516 /* end messageboxes */
519 .tblcomment {
520 font-size: 70%;
521 font-weight: normal;
522 color: #000099;
525 .tblHeaders {
526 font-weight: bold;
527 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
528 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
530 .tblHeaders a {
531 color: <?php echo $GLOBALS['cfg']['ThColor']; ?> !important;
534 div.tools,
535 .tblFooters {
536 font-weight: normal;
537 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
538 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
540 div.tools a {
541 display: inline-block;
542 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
545 /* forbidden, no privilegs */
546 .noPrivileges {
547 color: #FF0000;
548 font-weight: bold;
551 /* disabled text */
552 .disabled,
553 .disabled a:link,
554 .disabled a:active,
555 .disabled a:visited {
556 color: #666666;
559 .disabled a:hover {
560 color: #666666;
561 text-decoration: none;
564 tr.disabled td,
565 td.disabled {
566 background-color: #cccccc;
569 .nowrap {
570 white-space: nowrap;
574 * login form
576 body.loginform h1,
577 body.loginform a.logo {
578 display: block;
579 text-align: center;
582 body.loginform {
583 text-align: center;
586 body.loginform div.container {
587 text-align: <?php echo $left; ?>;
588 width: 30em;
589 margin: 0 auto;
592 form.login label {
593 float: <?php echo $left; ?>;
594 width: 10em;
595 font-weight: bolder;
598 .commented_column {
599 border-bottom: 1px dashed black;
602 .column_attribute {
603 font-size: 70%;
606 /******************************************************************************/
607 /* specific elements */
609 /* topmenu */
610 #topmenu, #topmenu2, #topmenu .submenu ul {
611 list-style: none;
612 padding: 0;
613 margin: 0.5em 0 0.5em 0;
614 border-top: 1px solid #000;
615 border-bottom: 1px solid #000;
616 background: #ccc;
617 white-space: nowrap;
619 #topmenu li, #topmenu2 li {
620 display: inline-block;
621 margin: 0;
622 padding: 0;
624 #topmenu li a, #topmenu2 li a {
625 display: inline-block;
626 margin: 0;
627 padding: 0.2em;
628 min-height: 16px; /* To match icons */
630 #topmenu li a:hover, #topmenu2 li a:hover {
631 background: #ddd;
632 text-decoration: none;
634 #topmenu a.warning {
635 background: #ccc;
636 color: #666;
638 a.tabactive {
639 font-weight: bolder;
640 background: #aaa;
642 ul#topmenu .submenu {
643 position: relative;
644 display: none;
646 ul#topmenu .shown {
647 display: inline-block;
649 #topmenu .submenu ul {
650 margin: 0;
651 padding: 0;
652 position: absolute;
653 <?php echo $right;?>: 0;
654 list-style-type: none;
655 display: none;
656 border: 1px #666 solid;
659 ul#topmenu li:hover ul, ul#topmenu .submenuhover ul {
660 display: block;
663 /* end topmenu */
666 /* Calendar */
667 table.calendar {
668 width: 100%;
670 table.calendar td {
671 text-align: center;
673 table.calendar td a {
674 display: block;
677 table.calendar td a:hover {
678 background-color: #CCFFCC;
681 table.calendar th {
682 background-color: #D3DCE3;
685 table.calendar td.selected {
686 background-color: #FFCC99;
689 img.calendar {
690 border: none;
692 form.clock {
693 text-align: center;
695 /* end Calendar */
698 /* table stats */
699 div#tablestatistics {
700 border-bottom: 0.1em solid #669999;
701 margin-bottom: 0.5em;
702 padding-bottom: 0.5em;
705 div#tablestatistics table {
706 float: <?php echo $left; ?>;
707 margin-bottom: 0.5em;
708 margin-<?php echo $right; ?>: 0.5em;
711 /* END table stats */
714 /* server privileges */
715 #tableuserrights td,
716 #tablespecificuserrights td,
717 #tabledatabases td {
718 vertical-align: middle;
720 /* END server privileges */
724 /* Heading */
725 #serverinfo {
726 font-weight: bold;
727 margin-bottom: 0.5em;
730 #serverinfo .item {
731 white-space: nowrap;
734 #span_table_comment {
735 font-weight: normal;
736 font-style: italic;
737 white-space: nowrap;
740 #serverinfo img {
741 margin: 0 0.1em 0 0.2em;
745 #textSQLDUMP {
746 width: 95%;
747 height: 95%;
748 font-family: "Courier New", Courier, mono;
749 font-size: 110%;
752 #TooltipContainer {
753 position: absolute;
754 z-index: 99;
755 width: 20em;
756 height: auto;
757 overflow: visible;
758 visibility: hidden;
759 background-color: #ffffcc;
760 color: #006600;
761 border: 0.1em solid #000000;
762 padding: 0.5em;
765 /* user privileges */
766 #fieldset_add_user_login div.item {
767 border-bottom: 1px solid silver;
768 padding-bottom: 0.3em;
769 margin-bottom: 0.3em;
772 #fieldset_add_user_login label {
773 float: <?php echo $left; ?>;
774 display: block;
775 width: 10em;
776 max-width: 100%;
777 text-align: <?php echo $right; ?>;
778 padding-<?php echo $right; ?>: 0.5em;
781 #fieldset_add_user_login span.options #select_pred_username,
782 #fieldset_add_user_login span.options #select_pred_hostname,
783 #fieldset_add_user_login span.options #select_pred_password {
784 width: 100%;
785 max-width: 100%;
788 #fieldset_add_user_login span.options {
789 float: <?php echo $left; ?>;
790 display: block;
791 width: 12em;
792 max-width: 100%;
793 padding-<?php echo $right; ?>: 0.5em;
796 #fieldset_add_user_login input {
797 width: 12em;
798 clear: <?php echo $right; ?>;
799 max-width: 100%;
802 #fieldset_add_user_login span.options input {
803 width: auto;
806 #fieldset_user_priv div.item {
807 float: <?php echo $left; ?>;
808 width: 9em;
809 max-width: 100%;
812 #fieldset_user_priv div.item div.item {
813 float: none;
816 #fieldset_user_priv div.item label {
817 white-space: nowrap;
820 #fieldset_user_priv div.item select {
821 width: 100%;
824 #fieldset_user_global_rights fieldset {
825 float: <?php echo $left; ?>;
827 /* END user privileges */
830 /* serverstatus */
831 div#serverstatus table caption a.top {
832 float: <?php echo $right; ?>;
835 div#serverstatus div#serverstatusqueriesdetails table,
836 div#serverstatus table#serverstatustraffic,
837 div#serverstatus table#serverstatusconnections {
838 float: <?php echo $left; ?>;
841 #serverstatussection,
842 .clearfloat {
843 clear: both;
845 div#serverstatussection table {
846 width: 100%;
847 margin-bottom: 1em;
849 div#serverstatussection table .name {
850 width: 18em;
852 div#serverstatussection table .value {
853 width: 6em;
856 div#serverstatus table tbody td.descr a,
857 div#serverstatus table .tblFooters a {
858 white-space: nowrap;
860 div#serverstatus div#statuslinks a:before,
861 div#serverstatus div#sectionlinks a:before,
862 div#serverstatus table tbody td.descr a:before,
863 div#serverstatus table .tblFooters a:before {
864 content: '[';
866 div#serverstatus div#statuslinks a:after,
867 div#serverstatus div#sectionlinks a:after,
868 div#serverstatus table tbody td.descr a:after,
869 div#serverstatus table .tblFooters a:after {
870 content: ']';
872 /* end serverstatus */
874 /* querywindow */
875 body#bodyquerywindow {
876 margin: 0;
877 padding: 0;
878 background-image: none;
879 background-color: #F5F5F5;
882 div#querywindowcontainer {
883 margin: 0;
884 padding: 0;
885 width: 100%;
888 div#querywindowcontainer fieldset {
889 margin-top: 0;
891 /* END querywindow */
894 /* querybox */
896 div#sqlquerycontainer {
897 float: <?php echo $left; ?>;
898 width: 69%;
899 /* height: 15em; */
902 div#tablefieldscontainer {
903 float: <?php echo $right; ?>;
904 width: 29%;
905 /* height: 15em; */
908 div#tablefieldscontainer select {
909 width: 100%;
910 /* height: 12em; */
913 textarea#sqlquery {
914 width: 100%;
915 /* height: 100%; */
917 textarea#sql_query_edit{
918 height:7em;
919 width: 95%;
920 display:block;
922 div#queryboxcontainer div#bookmarkoptions {
923 margin-top: 0.5em;
925 /* end querybox */
927 /* main page */
928 #maincontainer {
929 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
930 background-position: <?php echo $right; ?> bottom;
931 background-repeat: no-repeat;
934 #mysqlmaininformation,
935 #pmamaininformation {
936 float: <?php echo $left; ?>;
937 width: 49%;
940 #maincontainer ul {
941 list-style-type: disc;
942 vertical-align: middle;
945 #maincontainer li {
946 margin: 0.2em 0em;
948 /* END main page */
951 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
952 /* iconic view for ul items */
953 li#li_create_database {
954 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
957 li#li_select_lang {
958 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
961 li#li_select_mysql_collation {
962 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
965 li#li_select_theme{
966 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
969 li#li_user_info{
970 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
973 li#li_mysql_status{
974 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
977 li#li_mysql_variables{
978 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
981 li#li_mysql_processes{
982 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
985 li#li_mysql_collations{
986 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
989 li#li_mysql_engines{
990 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
993 li#li_mysql_binlogs {
994 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
997 li#li_mysql_databases {
998 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
1001 li#li_export {
1002 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
1005 li#li_import {
1006 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
1009 li#li_change_password {
1010 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
1013 li#li_log_out {
1014 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
1017 li#li_mysql_privilegs{
1018 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
1021 li#li_switch_dbstats {
1022 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
1025 li#li_flush_privileges {
1026 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
1029 li#li_user_preferences {
1030 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_tblops.png);
1032 /* END iconic view for ul items */
1033 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
1036 #body_browse_foreigners {
1037 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1038 margin: 0.5em 0.5em 0 0.5em;
1041 #bodyquerywindow {
1042 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1045 #bodythemes {
1046 width: 500px;
1047 margin: auto;
1048 text-align: center;
1051 #bodythemes img {
1052 border: 0.1em solid black;
1055 #bodythemes a:hover img {
1056 border: 0.1em solid red;
1059 #fieldset_select_fields {
1060 float: <?php echo $left; ?>;
1063 #selflink {
1064 clear: both;
1065 display: block;
1066 margin-top: 1em;
1067 margin-bottom: 1em;
1068 width: 100%;
1069 border-top: 0.1em solid silver;
1070 text-align: <?php echo $right; ?>;
1073 #table_innodb_bufferpool_usage,
1074 #table_innodb_bufferpool_activity {
1075 float: <?php echo $left; ?>;
1078 #div_mysql_charset_collations table {
1079 float: <?php echo $left; ?>;
1082 #div_table_order,
1083 #div_table_rename {
1084 min-width: 48%;
1085 float: <?php echo $left; ?>;
1088 #div_table_copy,
1089 #div_partition_maintenance,
1090 #div_referential_integrity,
1091 #div_table_removal,
1092 #div_table_maintenance {
1093 min-width: 48%;
1094 float: <?php echo $left; ?>;
1097 #div_table_options {
1098 clear: both;
1099 min-width: 48%;
1100 float: <?php echo $left; ?>;
1103 #qbe_div_table_list {
1104 float: <?php echo $left; ?>;
1107 #qbe_div_sql_query {
1108 float: <?php echo $left; ?>;
1111 label.desc {
1112 width: 30em;
1113 float: <?php echo $left; ?>;
1116 label.desc sup {
1117 position: absolute;
1120 code.sql, div.sqlvalidate {
1121 margin: 0.3em 0 0 0;
1122 border: 2px solid;
1123 padding: 0.5em;
1124 -moz-border-radius: 0.5em;
1125 border-radius: 0.5em;
1126 display: block;
1127 margin-top: 0.2em;
1128 margin-bottom: 0;
1129 max-height: 10em;
1130 overflow: auto;
1131 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1134 #main_pane_left {
1135 width: 50%;
1136 float: <?php echo $left; ?>;
1137 padding-top: 1em;
1140 #main_pane_right {
1141 margin-<?php echo $left; ?>: 50%;
1142 padding-top: 1em;
1143 padding-<?php echo $left; ?>: 1em;
1146 .group {
1147 border: 2px solid #000;
1148 margin-bottom: 1em;
1149 padding: 0 0 0.5em 0;
1150 -moz-border-radius: 0.5em;
1151 border-radius: 0.5em;
1154 .group h2 {
1155 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1156 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
1157 padding: 0.1em 0.3em;
1158 margin-top: 0;
1159 border-bottom: 1px solid #000;
1162 .group-cnt {
1163 padding: 0 0 0 0.5em;
1164 display: inline-block;
1165 width: 98%;
1168 /* for elements that should be revealed only via js */
1169 .hide {
1170 display: none;
1173 #li_select_server {
1174 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1177 #list_server {
1178 list-style-image: none;
1182 * Progress bar styles
1184 div.upload_progress_bar_outer
1186 border: 1px solid black;
1187 width: 202px;
1190 div.upload_progress_bar_inner
1192 background-color: <?php echo (isset($_SESSION['userconf']['custom_color']) ? $_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
1193 width: 0px;
1194 height: 12px;
1195 margin: 1px;
1198 table#serverconnection_src_remote,
1199 table#serverconnection_trg_remote,
1200 table#serverconnection_src_local,
1201 table#serverconnection_trg_local {
1202 float:left;
1205 * Validation error message styles
1207 .invalid_value
1208 {background:#F00;}
1211 * Ajax notification styling
1213 .ajax_notification {
1214 top: 0px; /** The notification needs to be shown on the top of the page */
1215 position: fixed;
1216 margin-top: 0;
1217 margin-right: auto;
1218 margin-bottom: 0;
1219 margin-left: auto;
1220 padding: 3px 5px; /** Keep a little space on the sides of the text */
1221 min-width: 70px;
1222 max-width: 350px; /** This value might have to be changed */
1223 background-color: #FFD700;
1224 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1225 text-align: center;
1226 display: block;
1227 left: 0;
1228 right: 0;
1229 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif);
1230 background-repeat: no-repeat;
1231 background-position: 2%;
1234 #loading_parent {
1235 /** Need this parent to properly center the notification division */
1236 position: relative;
1237 width: 100%;
1240 * Export and Import styles
1243 .exportoptions h3, .importoptions h3 {
1244 border-bottom: 1px #999999 solid;
1245 font-size: 110%;
1248 .exportoptions ul, .importoptions ul, .format_specific_options ul {
1249 list-style-type: none;
1250 margin-bottom: 15px;
1253 .exportoptions li, .importoptions li {
1254 margin: 7px;
1256 .exportoptions label, .importoptions label, .exportoptions p, .importoptions p {
1257 margin: 5px;
1258 float: none;
1261 #csv_options label.desc, #ldi_options label.desc, #latex_options label.desc, #output label.desc{
1262 float: left;
1263 width: 15em;
1266 .exportoptions, .importoptions {
1267 margin: 20px 30px 30px 10px
1270 .exportoptions #buttonGo, .importoptions #buttonGo {
1271 padding: 5px 30px;
1272 -moz-border-radius: 11px;
1273 -webkit-border-radius: 11px;
1274 border-radius: 11px;
1275 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
1276 background: -moz-linear-gradient(top, #ffffff, #cccccc);
1277 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
1278 border: 1px solid #444444;
1279 cursor: pointer;
1282 .format_specific_options h3 {
1283 margin: 10px 0px 0px 10px;
1284 border: 0px;
1287 .format_specific_options {
1288 border: 1px solid #999999;
1289 margin: 7px 0px;
1290 padding: 3px;
1293 p.desc {
1294 margin: 5px;
1298 * Export styles only
1300 select#db_select, select#table_select {
1301 width: 400px;
1304 .export_sub_options {
1305 margin: 20px 0px 0px 30px;
1308 .export_sub_options h4 {
1309 border-bottom: 1px #999999 solid;
1312 .export_sub_options li.subgroup {
1313 display: inline-block;
1314 margin-top: 0;
1317 .export_sub_options li {
1318 margin-bottom: 0;
1321 #quick_or_custom, #output_quick_export {
1322 display: none;
1325 * Import styles only
1328 .importoptions #import_notification {
1329 margin: 10px 0px;
1330 font-style: italic;
1333 input#input_import_file {
1334 margin: 5px;
1337 .formelementrow {
1338 margin: 5px 0px 5px 0px;
1342 * ENUM/SET editor styles
1344 p.enum_notice {
1345 margin: 5px 2px;
1346 font-size: 80%;
1349 #enum_editor {
1350 display: none;
1351 position: fixed;
1352 _position: absolute; /* hack for IE */
1353 z-index: 101;
1354 overflow-y: auto;
1355 overflow-x: hidden;
1358 #enum_editor_no_js {
1359 margin: auto auto;
1362 #enum_editor, #enum_editor_no_js {
1363 background: #D0DCE0;
1364 padding: 15px;
1367 #popup_background {
1368 display: none;
1369 position: fixed;
1370 _position: absolute; /* hack for IE6 */
1371 width: 100%;
1372 height: 100%;
1373 top: 0;
1374 left: 0;
1375 background: #000;
1376 z-index: 100;
1377 overflow: hidden;
1380 a.close_enum_editor {
1381 float: right;
1384 #enum_editor #values, #enum_editor_no_js #values {
1385 margin: 15px 0px;
1386 width: 100%;
1389 #enum_editor #values input, #enum_editor_no_js #values input {
1390 margin: 5px 0px;
1391 float: top;
1392 width: 100%;
1395 #enum_editor_output {
1396 margin-top: 50px;
1400 * Table structure styles
1402 .structure_actions_dropdown {
1403 position: absolute;
1404 padding: 0;
1405 display: none;
1406 z-index: 100;
1407 border-collapse:collapse;
1408 border: 1px solid #000;
1409 padding: 0.2em;
1412 .structure_actions_dropdown a {
1413 display: block;
1416 .structure_actions_dropdown div {
1417 margin: 0;
1418 padding: 0;
1421 td.more_opts {
1422 display: none;
1423 white-space: nowrap;
1426 iframe.IE_hack {
1427 z-index: 1;
1428 position: absolute;
1429 display: none;
1430 border: 0;
1431 filter: alpha(opacity=0);
1434 /* config forms */
1435 .config-form ul.tabs {
1436 margin: 1.1em 0.2em 0;
1437 padding: 0 0 0.3em 0;
1438 list-style: none;
1439 font-weight: bold;
1442 .config-form ul.tabs li {
1443 float: <?php echo $left; ?>;
1446 .config-form ul.tabs li a {
1447 display: block;
1448 margin: 0.1em 0.2em 0;
1449 padding: 0.1em 0.4em;
1450 white-space: nowrap;
1451 text-decoration: none;
1452 border: 1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1453 border-bottom: none;
1456 .config-form ul.tabs li a:hover,
1457 .config-form ul.tabs li a:active,
1458 .config-form ul.tabs li a.active {
1459 margin: 0;
1460 padding: 0.1em 0.6em 0.2em;
1463 .config-form ul.tabs li a.active {
1464 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1467 .config-form fieldset {
1468 margin-top: 0;
1469 padding: 0;
1470 clear: both;
1471 /*border-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;*/
1474 .config-form legend {
1475 display: none;
1478 .config-form fieldset p {
1479 margin: 0;
1480 padding: 0.5em;
1481 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1484 .config-form fieldset .errors { /* form error list */
1485 margin: 0 -2px 1em -2px;
1486 padding: 0.5em 1.5em;
1487 background: #FBEAD9;
1488 border: 0 #C83838 solid;
1489 border-width: 1px 0;
1490 list-style: none;
1491 font-family: sans-serif;
1492 font-size: small;
1495 .config-form fieldset .inline_errors { /* field error list */
1496 margin: 0.3em 0.3em 0.3em 0;
1497 padding: 0;
1498 list-style: none;
1499 color: #9A0000;
1500 font-size: small;
1503 .config-form fieldset th {
1504 padding: 0.3em 0.3em 0.3em 0.5em;
1505 text-align: left;
1506 vertical-align: top;
1507 width: 40%;
1508 background: transparent;
1511 .config-form fieldset .doc, .config-form fieldset .disabled-notice {
1512 margin-left: 1em;
1515 .config-form fieldset .disabled-notice {
1516 font-size: 80%;
1517 text-transform: uppercase;
1518 color: #E00;
1519 cursor: help;
1522 .config-form fieldset td {
1523 padding-top: 0.3em;
1524 padding-bottom: 0.3em;
1525 vertical-align: top;
1528 .config-form fieldset th small {
1529 display: block;
1530 font-weight: normal;
1531 font-family: sans-serif;
1532 font-size: x-small;
1533 color: #444;
1536 .config-form fieldset th, .config-form fieldset td {
1537 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1540 fieldset .group-header th {
1541 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1544 fieldset .group-header + tr th {
1545 padding-top: 0.6em;
1548 fieldset .group-field-1 th, fieldset .group-header-2 th {
1549 padding-left: 1.5em;
1552 fieldset .group-field-2 th, fieldset .group-header-3 th {
1553 padding-left: 3em;
1556 fieldset .group-field-3 th {
1557 padding-left: 4.5em;
1560 fieldset .disabled-field th,
1561 fieldset .disabled-field th small,
1562 fieldset .disabled-field td {
1563 color: #666;
1564 background-color: #ddd;
1567 .config-form .lastrow {
1568 border-top: 1px #000 solid;
1571 .config-form .lastrow {
1572 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
1573 padding: 0.5em;
1574 text-align: center;
1577 .config-form .lastrow input {
1578 font-weight: bold;
1581 /* form elements */
1583 .config-form span.checkbox {
1584 padding: 2px;
1585 display: inline-block;
1588 .config-form .custom { /* customized field */
1589 background: #FFC;
1592 .config-form span.checkbox.custom {
1593 padding: 1px;
1594 border: 1px #EDEC90 solid;
1595 background: #FFC;
1598 .config-form .field-error {
1599 border-color: #A11 !important;
1602 .config-form input[type="text"],
1603 .config-form select,
1604 .config-form textarea {
1605 border: 1px #A7A6AA solid;
1606 height: auto;
1609 .config-form input[type="text"]:focus,
1610 .config-form select:focus,
1611 .config-form textarea:focus {
1612 border: 1px #6676FF solid;
1613 background: #F7FBFF;
1616 .config-form .field-comment-mark {
1617 font-family: serif;
1618 color: #007;
1619 cursor: help;
1620 padding: 0 0.2em;
1621 font-weight: bold;
1622 font-style: italic;
1625 .config-form .field-comment-warning {
1626 color: #A00;
1629 /* error list */
1630 .config-form dd {
1631 margin-left: 0.5em;
1634 .config-form dd:before {
1635 content: "\25B8 ";
1638 .click-hide-message {
1639 cursor: pointer;
1642 .prefsmanage_opts {
1643 margin-<?php echo $left; ?>: 2em;
1646 #prefs_autoload {
1647 margin-bottom: 0.5em;