Do not wrap size, it looks better at one line.
[phpmyadmin-themes.git] / css / theme_right.css.php
blobb410795c2a67afcffcca77094ecdf15f6bf3491b
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: 60%;
1136 float: <?php echo $left; ?>;
1137 padding-top: 1em;
1140 #main_pane_right {
1141 margin-<?php echo $left; ?>: 60%;
1142 padding-top: 1em;
1143 padding-<?php echo $left; ?>: 1em;
1146 .group {
1147 border-<?php echo $left; ?>: 0.3em solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1148 margin-bottom: 1em;
1151 .group h2 {
1152 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1153 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
1154 padding: 0.1em 0.3em;
1155 margin-top: 0;
1158 .group-cnt {
1159 padding: 0 0 0 0.5em;
1160 display: inline-block;
1161 width: 98%;
1164 /* for elements that should be revealed only via js */
1165 .hide {
1166 display: none;
1169 #li_select_server {
1170 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1173 #list_server {
1174 list-style-image: none;
1178 * Progress bar styles
1180 div.upload_progress_bar_outer
1182 border: 1px solid black;
1183 width: 202px;
1186 div.upload_progress_bar_inner
1188 background-color: <?php echo (isset($_SESSION['userconf']['custom_color']) ? $_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
1189 width: 0px;
1190 height: 12px;
1191 margin: 1px;
1194 table#serverconnection_src_remote,
1195 table#serverconnection_trg_remote,
1196 table#serverconnection_src_local,
1197 table#serverconnection_trg_local {
1198 float:left;
1201 * Validation error message styles
1203 .invalid_value
1204 {background:#F00;}
1207 * Ajax notification styling
1209 .ajax_notification {
1210 top: 0px; /** The notification needs to be shown on the top of the page */
1211 position: fixed;
1212 margin-top: 0;
1213 margin-right: auto;
1214 margin-bottom: 0;
1215 margin-left: auto;
1216 padding: 3px 5px; /** Keep a little space on the sides of the text */
1217 min-width: 70px;
1218 max-width: 350px; /** This value might have to be changed */
1219 background-color: #FFD700;
1220 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1221 text-align: center;
1222 display: block;
1223 left: 0;
1224 right: 0;
1225 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif);
1226 background-repeat: no-repeat;
1227 background-position: 2%;
1230 #loading_parent {
1231 /** Need this parent to properly center the notification division */
1232 position: relative;
1233 width: 100%;
1236 * Export and Import styles
1239 .exportoptions h3, .importoptions h3 {
1240 border-bottom: 1px #999999 solid;
1241 font-size: 110%;
1244 .exportoptions ul, .importoptions ul, .format_specific_options ul {
1245 list-style-type: none;
1246 margin-bottom: 15px;
1249 .exportoptions li, .importoptions li {
1250 margin: 7px;
1252 .exportoptions label, .importoptions label, .exportoptions p, .importoptions p {
1253 margin: 5px;
1254 float: none;
1257 #csv_options label.desc, #ldi_options label.desc, #latex_options label.desc, #output label.desc{
1258 float: left;
1259 width: 15em;
1262 .exportoptions, .importoptions {
1263 margin: 20px 30px 30px 10px
1266 .exportoptions #buttonGo, .importoptions #buttonGo {
1267 padding: 5px 30px;
1268 -moz-border-radius: 11px;
1269 -webkit-border-radius: 11px;
1270 border-radius: 11px;
1271 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
1272 background: -moz-linear-gradient(top, #ffffff, #cccccc);
1273 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
1274 border: 1px solid #444444;
1275 cursor: pointer;
1278 .format_specific_options h3 {
1279 margin: 10px 0px 0px 10px;
1280 border: 0px;
1283 .format_specific_options {
1284 border: 1px solid #999999;
1285 margin: 7px 0px;
1286 padding: 3px;
1289 p.desc {
1290 margin: 5px;
1294 * Export styles only
1296 select#db_select, select#table_select {
1297 width: 400px;
1300 .export_sub_options {
1301 margin: 20px 0px 0px 30px;
1304 .export_sub_options h4 {
1305 border-bottom: 1px #999999 solid;
1308 .export_sub_options li.subgroup {
1309 display: inline-block;
1310 margin-top: 0;
1313 .export_sub_options li {
1314 margin-bottom: 0;
1317 #quick_or_custom, #output_quick_export {
1318 display: none;
1321 * Import styles only
1324 .importoptions #import_notification {
1325 margin: 10px 0px;
1326 font-style: italic;
1329 input#input_import_file {
1330 margin: 5px;
1333 .formelementrow {
1334 margin: 5px 0px 5px 0px;
1338 * ENUM/SET editor styles
1340 p.enum_notice {
1341 margin: 5px 2px;
1342 font-size: 80%;
1345 #enum_editor {
1346 display: none;
1347 position: fixed;
1348 _position: absolute; /* hack for IE */
1349 z-index: 101;
1350 overflow-y: auto;
1351 overflow-x: hidden;
1354 #enum_editor_no_js {
1355 margin: auto auto;
1358 #enum_editor, #enum_editor_no_js {
1359 background: #D0DCE0;
1360 padding: 15px;
1363 #popup_background {
1364 display: none;
1365 position: fixed;
1366 _position: absolute; /* hack for IE6 */
1367 width: 100%;
1368 height: 100%;
1369 top: 0;
1370 left: 0;
1371 background: #000;
1372 z-index: 100;
1373 overflow: hidden;
1376 a.close_enum_editor {
1377 float: right;
1380 #enum_editor #values, #enum_editor_no_js #values {
1381 margin: 15px 0px;
1382 width: 100%;
1385 #enum_editor #values input, #enum_editor_no_js #values input {
1386 margin: 5px 0px;
1387 float: top;
1388 width: 100%;
1391 #enum_editor_output {
1392 margin-top: 50px;
1396 * Table structure styles
1398 .structure_actions_dropdown {
1399 position: absolute;
1400 padding: 3px;
1401 display: none;
1402 z-index: 100;
1405 .structure_actions_dropdown a {
1406 display: block;
1409 td.more_opts {
1410 display: none;
1411 white-space: nowrap;
1414 iframe.IE_hack {
1415 z-index: 1;
1416 position: absolute;
1417 display: none;
1418 border: 0;
1419 filter: alpha(opacity=0);
1422 /* config forms */
1423 .config-form ul.tabs {
1424 margin: 1.1em 0.2em 0;
1425 padding: 0 0 0.3em 0;
1426 list-style: none;
1427 font-weight: bold;
1430 .config-form ul.tabs li {
1431 float: <?php echo $left; ?>;
1434 .config-form ul.tabs li a {
1435 display: block;
1436 margin: 0.1em 0.2em 0;
1437 padding: 0.1em 0.4em;
1438 white-space: nowrap;
1439 text-decoration: none;
1440 border: 1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1441 border-bottom: none;
1444 .config-form ul.tabs li a:hover,
1445 .config-form ul.tabs li a:active,
1446 .config-form ul.tabs li a.active {
1447 margin: 0;
1448 padding: 0.1em 0.6em 0.2em;
1451 .config-form ul.tabs li a.active {
1452 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1455 .config-form fieldset {
1456 margin-top: 0;
1457 padding: 0;
1458 clear: both;
1459 /*border-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;*/
1462 .config-form legend {
1463 display: none;
1466 .config-form fieldset p {
1467 margin: 0;
1468 padding: 0.5em;
1469 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1472 .config-form fieldset .errors { /* form error list */
1473 margin: 0 -2px 1em -2px;
1474 padding: 0.5em 1.5em;
1475 background: #FBEAD9;
1476 border: 0 #C83838 solid;
1477 border-width: 1px 0;
1478 list-style: none;
1479 font-family: sans-serif;
1480 font-size: small;
1483 .config-form fieldset .inline_errors { /* field error list */
1484 margin: 0.3em 0.3em 0.3em 0;
1485 padding: 0;
1486 list-style: none;
1487 color: #9A0000;
1488 font-size: small;
1491 .config-form fieldset th {
1492 padding: 0.3em 0.3em 0.3em 0.5em;
1493 text-align: left;
1494 vertical-align: top;
1495 width: 40%;
1496 background: transparent;
1499 .config-form fieldset .doc, .config-form fieldset .disabled-notice {
1500 margin-left: 1em;
1503 .config-form fieldset .disabled-notice {
1504 font-size: 80%;
1505 text-transform: uppercase;
1506 color: #E00;
1507 cursor: help;
1510 .config-form fieldset td {
1511 padding-top: 0.3em;
1512 padding-bottom: 0.3em;
1513 vertical-align: top;
1516 .config-form fieldset th small {
1517 display: block;
1518 font-weight: normal;
1519 font-family: sans-serif;
1520 font-size: x-small;
1521 color: #444;
1524 .config-form fieldset th, .config-form fieldset td {
1525 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1528 fieldset .group-header th {
1529 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1532 fieldset .group-header + tr th {
1533 padding-top: 0.6em;
1536 fieldset .group-field-1 th, fieldset .group-header-2 th {
1537 padding-left: 1.5em;
1540 fieldset .group-field-2 th, fieldset .group-header-3 th {
1541 padding-left: 3em;
1544 fieldset .group-field-3 th {
1545 padding-left: 4.5em;
1548 fieldset .disabled-field th,
1549 fieldset .disabled-field th small,
1550 fieldset .disabled-field td {
1551 color: #666;
1552 background-color: #ddd;
1555 .config-form .lastrow {
1556 border-top: 1px #000 solid;
1559 .config-form .lastrow {
1560 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
1561 padding: 0.5em;
1562 text-align: center;
1565 .config-form .lastrow input {
1566 font-weight: bold;
1569 /* form elements */
1571 .config-form span.checkbox {
1572 padding: 2px;
1573 display: inline-block;
1576 .config-form .custom { /* customized field */
1577 background: #FFC;
1580 .config-form span.checkbox.custom {
1581 padding: 1px;
1582 border: 1px #EDEC90 solid;
1583 background: #FFC;
1586 .config-form .field-error {
1587 border-color: #A11 !important;
1590 .config-form input[type="text"],
1591 .config-form select,
1592 .config-form textarea {
1593 border: 1px #A7A6AA solid;
1594 height: auto;
1597 .config-form input[type="text"]:focus,
1598 .config-form select:focus,
1599 .config-form textarea:focus {
1600 border: 1px #6676FF solid;
1601 background: #F7FBFF;
1604 .config-form .field-comment-mark {
1605 font-family: serif;
1606 color: #007;
1607 cursor: help;
1608 padding: 0 0.2em;
1609 font-weight: bold;
1610 font-style: italic;
1613 .config-form .field-comment-warning {
1614 color: #A00;
1617 /* error list */
1618 .config-form dd {
1619 margin-left: 0.5em;
1622 .config-form dd:before {
1623 content: "\25B8 ";
1626 .click-hide-message {
1627 cursor: pointer;
1630 .prefsmanage_opts {
1631 margin-<?php echo $left; ?>: 2em;
1634 #prefs_autoload {
1635 margin-bottom: 0.5em;