Simplify some CSS selectors
[phpmyadmin-themes.git] / graphite / css / theme_right.css.php
blobc047df5e3d5f8bec3b494cacc3540504cf7fdcbc
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;
143 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 tr.odd th,
196 .odd {
197 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
200 /* even items 2,4,6,8,... */
201 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 tr.odd th,
211 tr.odd,
212 tr.even th,
213 tr.even {
214 text-align: <?php echo $left; ?>;
217 <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
218 /* marked table rows */
219 td.marked,
220 tr.marked th,
221 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 tr.odd:hover th,
239 tr.even:hover th,
240 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 .tblFooters a {
541 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
543 div.tools a {
544 display: inline-block;
545 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
548 /* forbidden, no privilegs */
549 .noPrivileges {
550 color: #FF0000;
551 font-weight: bold;
554 /* disabled text */
555 .disabled,
556 .disabled a:link,
557 .disabled a:active,
558 .disabled a:visited {
559 color: #666666;
562 .disabled a:hover {
563 color: #666666;
564 text-decoration: none;
567 tr.disabled td,
568 td.disabled {
569 background-color: #cccccc;
572 .nowrap {
573 white-space: nowrap;
577 * login form
579 body.loginform h1,
580 body.loginform a.logo {
581 display: block;
582 text-align: center;
585 body.loginform {
586 text-align: center;
589 body.loginform div.container {
590 text-align: <?php echo $left; ?>;
591 width: 30em;
592 margin: 0 auto;
595 form.login label {
596 float: <?php echo $left; ?>;
597 width: 10em;
598 font-weight: bolder;
601 .commented_column {
602 border-bottom: 1px dashed black;
605 .column_attribute {
606 font-size: 70%;
609 /******************************************************************************/
610 /* specific elements */
612 /* topmenu */
613 #topmenu, #topmenu2, #topmenu .submenu ul {
614 list-style: none;
615 padding: 0;
616 margin: 0.5em 0 0.5em 0;
617 border-top: 1px solid #000;
618 border-bottom: 1px solid #000;
619 background: #ccc;
620 white-space: nowrap;
622 #topmenu li, #topmenu2 li {
623 display: inline-block;
624 margin: 0;
625 padding: 0;
627 #topmenu li a, #topmenu2 li a {
628 display: inline-block;
629 margin: 0;
630 padding: 0.2em;
631 min-height: 16px; /* To match icons */
633 #topmenu li a:hover, #topmenu2 li a:hover {
634 background: #ddd;
635 text-decoration: none;
637 #topmenu a.warning {
638 background: #ccc;
639 color: #666;
641 a.tabactive {
642 font-weight: bolder;
643 background: #aaa;
645 #topmenu .submenu {
646 position: relative;
647 display: none;
649 #topmenu .shown {
650 display: inline-block;
652 #topmenu .submenu ul {
653 margin: 0;
654 padding: 0;
655 position: absolute;
656 <?php echo $right;?>: 0;
657 list-style-type: none;
658 display: none;
659 border: 1px #666 solid;
662 #topmenu li:hover ul, #topmenu .submenuhover ul {
663 display: block;
666 /* end topmenu */
668 /* table stats */
669 div#tablestatistics {
670 border-bottom: 0.1em solid #669999;
671 margin-bottom: 0.5em;
672 padding-bottom: 0.5em;
675 div#tablestatistics table {
676 float: <?php echo $left; ?>;
677 margin-bottom: 0.5em;
678 margin-<?php echo $right; ?>: 0.5em;
681 /* END table stats */
684 /* server privileges */
685 #tableuserrights td,
686 #tablespecificuserrights td,
687 #tabledatabases td {
688 vertical-align: middle;
690 /* END server privileges */
694 /* Heading */
695 #serverinfo {
696 font-weight: bold;
697 margin-bottom: 0.5em;
700 #serverinfo .item {
701 white-space: nowrap;
704 #span_table_comment {
705 font-weight: normal;
706 font-style: italic;
707 white-space: nowrap;
710 #serverinfo img {
711 margin: 0 0.1em 0 0.2em;
715 #textSQLDUMP {
716 width: 95%;
717 height: 95%;
718 font-family: "Courier New", Courier, mono;
719 font-size: 110%;
722 #TooltipContainer {
723 position: absolute;
724 z-index: 99;
725 width: 20em;
726 height: auto;
727 overflow: visible;
728 visibility: hidden;
729 background-color: #ffffcc;
730 color: #006600;
731 border: 0.1em solid #000000;
732 padding: 0.5em;
735 /* user privileges */
736 #fieldset_add_user_login div.item {
737 border-bottom: 1px solid silver;
738 padding-bottom: 0.3em;
739 margin-bottom: 0.3em;
742 #fieldset_add_user_login label {
743 float: <?php echo $left; ?>;
744 display: block;
745 width: 10em;
746 max-width: 100%;
747 text-align: <?php echo $right; ?>;
748 padding-<?php echo $right; ?>: 0.5em;
751 #fieldset_add_user_login span.options #select_pred_username,
752 #fieldset_add_user_login span.options #select_pred_hostname,
753 #fieldset_add_user_login span.options #select_pred_password {
754 width: 100%;
755 max-width: 100%;
758 #fieldset_add_user_login span.options {
759 float: <?php echo $left; ?>;
760 display: block;
761 width: 12em;
762 max-width: 100%;
763 padding-<?php echo $right; ?>: 0.5em;
766 #fieldset_add_user_login input {
767 width: 12em;
768 clear: <?php echo $right; ?>;
769 max-width: 100%;
772 #fieldset_add_user_login span.options input {
773 width: auto;
776 #fieldset_user_priv div.item {
777 float: <?php echo $left; ?>;
778 width: 9em;
779 max-width: 100%;
782 #fieldset_user_priv div.item div.item {
783 float: none;
786 #fieldset_user_priv div.item label {
787 white-space: nowrap;
790 #fieldset_user_priv div.item select {
791 width: 100%;
794 #fieldset_user_global_rights fieldset {
795 float: <?php echo $left; ?>;
797 /* END user privileges */
800 /* serverstatus */
801 div#serverstatus table caption a.top {
802 float: <?php echo $right; ?>;
805 div#serverstatus div#serverstatusqueriesdetails table,
806 div#serverstatus table#serverstatustraffic,
807 div#serverstatus table#serverstatusconnections {
808 float: <?php echo $left; ?>;
811 #serverstatussection,
812 .clearfloat {
813 clear: both;
815 div#serverstatussection table {
816 width: 100%;
817 margin-bottom: 1em;
819 div#serverstatussection table .name {
820 width: 18em;
822 div#serverstatussection table .value {
823 width: 6em;
826 div#serverstatus table tbody td.descr a,
827 div#serverstatus table .tblFooters a {
828 white-space: nowrap;
830 div#serverstatus div#statuslinks a:before,
831 div#serverstatus div#sectionlinks a:before,
832 div#serverstatus table tbody td.descr a:before,
833 div#serverstatus table .tblFooters a:before {
834 content: '[';
836 div#serverstatus div#statuslinks a:after,
837 div#serverstatus div#sectionlinks a:after,
838 div#serverstatus table tbody td.descr a:after,
839 div#serverstatus table .tblFooters a:after {
840 content: ']';
842 /* end serverstatus */
844 /* querywindow */
845 body#bodyquerywindow {
846 margin: 0;
847 padding: 0;
848 background-image: none;
849 background-color: #F5F5F5;
852 div#querywindowcontainer {
853 margin: 0;
854 padding: 0;
855 width: 100%;
858 div#querywindowcontainer fieldset {
859 margin-top: 0;
861 /* END querywindow */
864 /* querybox */
866 div#sqlquerycontainer {
867 float: <?php echo $left; ?>;
868 width: 69%;
869 /* height: 15em; */
872 div#tablefieldscontainer {
873 float: <?php echo $right; ?>;
874 width: 29%;
875 /* height: 15em; */
878 div#tablefieldscontainer select {
879 width: 100%;
880 /* height: 12em; */
883 textarea#sqlquery {
884 width: 100%;
885 /* height: 100%; */
887 textarea#sql_query_edit{
888 height:7em;
889 width: 95%;
890 display:block;
892 div#queryboxcontainer div#bookmarkoptions {
893 margin-top: 0.5em;
895 /* end querybox */
897 /* main page */
898 #maincontainer {
899 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
900 background-position: <?php echo $right; ?> bottom;
901 background-repeat: no-repeat;
904 #mysqlmaininformation,
905 #pmamaininformation {
906 float: <?php echo $left; ?>;
907 width: 49%;
910 #maincontainer ul {
911 list-style-type: disc;
912 vertical-align: middle;
915 #maincontainer li {
916 margin: 0.2em 0em;
918 /* END main page */
921 <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
922 /* iconic view for ul items */
923 li#li_create_database {
924 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
927 li#li_select_lang {
928 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
931 li#li_select_mysql_collation {
932 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
935 li#li_select_theme{
936 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
939 li#li_user_info{
940 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
943 li#li_mysql_status{
944 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
947 li#li_mysql_variables{
948 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
951 li#li_mysql_processes{
952 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
955 li#li_mysql_collations{
956 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
959 li#li_mysql_engines{
960 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
963 li#li_mysql_binlogs {
964 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
967 li#li_mysql_databases {
968 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
971 li#li_export {
972 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
975 li#li_import {
976 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
979 li#li_change_password {
980 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
983 li#li_log_out {
984 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
987 li#li_mysql_privilegs{
988 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
991 li#li_switch_dbstats {
992 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
995 li#li_flush_privileges {
996 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
999 li#li_user_preferences {
1000 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_tblops.png);
1003 li#li_custom_color {
1004 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_color.png);
1007 li#li_select_fontsize {
1008 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_font.png);
1010 /* END iconic view for ul items */
1011 <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
1014 #body_browse_foreigners {
1015 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1016 margin: 0.5em 0.5em 0 0.5em;
1019 #bodyquerywindow {
1020 background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1023 #bodythemes {
1024 width: 500px;
1025 margin: auto;
1026 text-align: center;
1029 #bodythemes img {
1030 border: 0.1em solid black;
1033 #bodythemes a:hover img {
1034 border: 0.1em solid red;
1037 #fieldset_select_fields {
1038 float: <?php echo $left; ?>;
1041 #selflink {
1042 clear: both;
1043 display: block;
1044 margin-top: 1em;
1045 margin-bottom: 1em;
1046 width: 100%;
1047 border-top: 0.1em solid silver;
1048 text-align: <?php echo $right; ?>;
1051 #table_innodb_bufferpool_usage,
1052 #table_innodb_bufferpool_activity {
1053 float: <?php echo $left; ?>;
1056 #div_mysql_charset_collations table {
1057 float: <?php echo $left; ?>;
1060 #div_table_order,
1061 #div_table_rename {
1062 min-width: 48%;
1063 float: <?php echo $left; ?>;
1066 #div_table_copy,
1067 #div_partition_maintenance,
1068 #div_referential_integrity,
1069 #div_table_removal,
1070 #div_table_maintenance {
1071 min-width: 48%;
1072 float: <?php echo $left; ?>;
1075 #div_table_options {
1076 clear: both;
1077 min-width: 48%;
1078 float: <?php echo $left; ?>;
1081 #qbe_div_table_list {
1082 float: <?php echo $left; ?>;
1085 #qbe_div_sql_query {
1086 float: <?php echo $left; ?>;
1089 label.desc {
1090 width: 30em;
1091 float: <?php echo $left; ?>;
1094 label.desc sup {
1095 position: absolute;
1098 code.sql, div.sqlvalidate {
1099 margin: 0.3em 0 0 0;
1100 border: 2px solid;
1101 padding: 0.5em;
1102 -moz-border-radius: 0.5em;
1103 border-radius: 0.5em;
1104 display: block;
1105 margin-top: 0.2em;
1106 margin-bottom: 0;
1107 max-height: 10em;
1108 overflow: auto;
1109 background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1112 #main_pane_left {
1113 width: 50%;
1114 float: <?php echo $left; ?>;
1115 padding-top: 1em;
1118 #main_pane_right {
1119 margin-<?php echo $left; ?>: 50%;
1120 padding-top: 1em;
1121 padding-<?php echo $left; ?>: 1em;
1124 .group {
1125 border: 2px solid #000;
1126 margin-bottom: 1em;
1127 padding: 0 0 0.5em 0;
1128 -moz-border-radius: 0.5em;
1129 border-radius: 0.5em;
1132 .group h2 {
1133 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1134 color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
1135 padding: 0.1em 0.3em;
1136 margin-top: 0;
1137 border-bottom: 1px solid #000;
1140 .group-cnt {
1141 padding: 0 0 0 0.5em;
1142 display: inline-block;
1143 width: 98%;
1146 /* for elements that should be revealed only via js */
1147 .hide {
1148 display: none;
1151 #li_select_server {
1152 list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
1155 #list_server {
1156 list-style-image: none;
1160 * Progress bar styles
1162 div.upload_progress_bar_outer
1164 border: 1px solid black;
1165 width: 202px;
1168 div.upload_progress_bar_inner
1170 background-color: <?php echo (isset($_SESSION['userconf']['custom_color']) ? $_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?>;
1171 width: 0px;
1172 height: 12px;
1173 margin: 1px;
1176 table#serverconnection_src_remote,
1177 table#serverconnection_trg_remote,
1178 table#serverconnection_src_local,
1179 table#serverconnection_trg_local {
1180 float:left;
1183 * Validation error message styles
1185 .invalid_value
1186 {background:#F00;}
1189 * Ajax notification styling
1191 .ajax_notification {
1192 top: 0px; /** The notification needs to be shown on the top of the page */
1193 position: fixed;
1194 margin-top: 0;
1195 margin-right: auto;
1196 margin-bottom: 0;
1197 margin-left: auto;
1198 padding: 3px 5px; /** Keep a little space on the sides of the text */
1199 min-width: 70px;
1200 max-width: 350px; /** This value might have to be changed */
1201 background-color: #FFD700;
1202 z-index: 1100; /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1203 text-align: center;
1204 display: block;
1205 left: 0;
1206 right: 0;
1207 background-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif);
1208 background-repeat: no-repeat;
1209 background-position: 2%;
1212 #loading_parent {
1213 /** Need this parent to properly center the notification division */
1214 position: relative;
1215 width: 100%;
1218 * Export and Import styles
1221 .exportoptions h3, .importoptions h3 {
1222 border-bottom: 1px #999999 solid;
1223 font-size: 110%;
1226 .exportoptions ul, .importoptions ul, .format_specific_options ul {
1227 list-style-type: none;
1228 margin-bottom: 15px;
1231 .exportoptions li, .importoptions li {
1232 margin: 7px;
1234 .exportoptions label, .importoptions label, .exportoptions p, .importoptions p {
1235 margin: 5px;
1236 float: none;
1239 #csv_options label.desc, #ldi_options label.desc, #latex_options label.desc, #output label.desc{
1240 float: left;
1241 width: 15em;
1244 .exportoptions, .importoptions {
1245 margin: 20px 30px 30px 10px
1248 .exportoptions #buttonGo, .importoptions #buttonGo {
1249 padding: 5px 30px;
1250 -moz-border-radius: 11px;
1251 -webkit-border-radius: 11px;
1252 border-radius: 11px;
1253 background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));
1254 background: -moz-linear-gradient(top, #ffffff, #cccccc);
1255 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
1256 border: 1px solid #444444;
1257 cursor: pointer;
1260 .format_specific_options h3 {
1261 margin: 10px 0px 0px 10px;
1262 border: 0px;
1265 .format_specific_options {
1266 border: 1px solid #999999;
1267 margin: 7px 0px;
1268 padding: 3px;
1271 p.desc {
1272 margin: 5px;
1276 * Export styles only
1278 select#db_select, select#table_select {
1279 width: 400px;
1282 .export_sub_options {
1283 margin: 20px 0px 0px 30px;
1286 .export_sub_options h4 {
1287 border-bottom: 1px #999999 solid;
1290 .export_sub_options li.subgroup {
1291 display: inline-block;
1292 margin-top: 0;
1295 .export_sub_options li {
1296 margin-bottom: 0;
1299 #quick_or_custom, #output_quick_export {
1300 display: none;
1303 * Import styles only
1306 .importoptions #import_notification {
1307 margin: 10px 0px;
1308 font-style: italic;
1311 input#input_import_file {
1312 margin: 5px;
1315 .formelementrow {
1316 margin: 5px 0px 5px 0px;
1320 * ENUM/SET editor styles
1322 p.enum_notice {
1323 margin: 5px 2px;
1324 font-size: 80%;
1327 #enum_editor {
1328 display: none;
1329 position: fixed;
1330 _position: absolute; /* hack for IE */
1331 z-index: 101;
1332 overflow-y: auto;
1333 overflow-x: hidden;
1336 #enum_editor_no_js {
1337 margin: auto auto;
1340 #enum_editor, #enum_editor_no_js {
1341 background: #D0DCE0;
1342 padding: 15px;
1345 #popup_background {
1346 display: none;
1347 position: fixed;
1348 _position: absolute; /* hack for IE6 */
1349 width: 100%;
1350 height: 100%;
1351 top: 0;
1352 left: 0;
1353 background: #000;
1354 z-index: 100;
1355 overflow: hidden;
1358 a.close_enum_editor {
1359 float: right;
1362 #enum_editor #values, #enum_editor_no_js #values {
1363 margin: 15px 0px;
1364 width: 100%;
1367 #enum_editor #values input, #enum_editor_no_js #values input {
1368 margin: 5px 0px;
1369 float: top;
1370 width: 100%;
1373 #enum_editor_output {
1374 margin-top: 50px;
1378 * Table structure styles
1380 .structure_actions_dropdown {
1381 position: absolute;
1382 padding: 0;
1383 display: none;
1384 z-index: 100;
1385 border-collapse:collapse;
1386 border: 1px solid #000;
1387 padding: 0.2em;
1390 .structure_actions_dropdown a {
1391 display: block;
1394 .structure_actions_dropdown div {
1395 margin: 0;
1396 padding: 0;
1399 td.more_opts {
1400 display: none;
1401 white-space: nowrap;
1404 iframe.IE_hack {
1405 z-index: 1;
1406 position: absolute;
1407 display: none;
1408 border: 0;
1409 filter: alpha(opacity=0);
1412 /* config forms */
1413 ul.tabs {
1414 margin: 1.1em 0.2em 0;
1415 padding: 0 0 0.3em 0;
1416 list-style: none;
1417 font-weight: bold;
1420 ul.tabs li {
1421 float: <?php echo $left; ?>;
1424 ul.tabs a {
1425 display: block;
1426 margin: 0.1em 0.2em 0;
1427 padding: 0.1em 0.4em;
1428 white-space: nowrap;
1429 text-decoration: none;
1430 border: 1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1431 border-bottom: none;
1434 ul.tabs a:hover,
1435 ul.tabs a:active,
1436 ul.tabs a.active {
1437 margin: 0;
1438 padding: 0.1em 0.6em 0.2em;
1441 ul.tabs a.active {
1442 background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1445 .config-form fieldset {
1446 margin-top: 0;
1447 padding: 0;
1448 clear: both;
1449 /*border-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;*/
1452 .config-form legend {
1453 display: none;
1456 .config-form fieldset p {
1457 margin: 0;
1458 padding: 0.5em;
1459 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1462 .config-form fieldset .errors { /* form error list */
1463 margin: 0 -2px 1em -2px;
1464 padding: 0.5em 1.5em;
1465 background: #FBEAD9;
1466 border: 0 #C83838 solid;
1467 border-width: 1px 0;
1468 list-style: none;
1469 font-family: sans-serif;
1470 font-size: small;
1473 .config-form fieldset .inline_errors { /* field error list */
1474 margin: 0.3em 0.3em 0.3em 0;
1475 padding: 0;
1476 list-style: none;
1477 color: #9A0000;
1478 font-size: small;
1481 .config-form fieldset th {
1482 padding: 0.3em 0.3em 0.3em 0.5em;
1483 text-align: left;
1484 vertical-align: top;
1485 width: 40%;
1486 background: transparent;
1489 .config-form fieldset .doc, .config-form fieldset .disabled-notice {
1490 margin-left: 1em;
1493 .config-form fieldset .disabled-notice {
1494 font-size: 80%;
1495 text-transform: uppercase;
1496 color: #E00;
1497 cursor: help;
1500 .config-form fieldset td {
1501 padding-top: 0.3em;
1502 padding-bottom: 0.3em;
1503 vertical-align: top;
1506 .config-form fieldset th small {
1507 display: block;
1508 font-weight: normal;
1509 font-family: sans-serif;
1510 font-size: x-small;
1511 color: #444;
1514 .config-form fieldset th, .config-form fieldset td {
1515 border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1518 fieldset .group-header th {
1519 background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1522 fieldset .group-header + tr th {
1523 padding-top: 0.6em;
1526 fieldset .group-field-1 th, fieldset .group-header-2 th {
1527 padding-left: 1.5em;
1530 fieldset .group-field-2 th, fieldset .group-header-3 th {
1531 padding-left: 3em;
1534 fieldset .group-field-3 th {
1535 padding-left: 4.5em;
1538 fieldset .disabled-field th,
1539 fieldset .disabled-field th small,
1540 fieldset .disabled-field td {
1541 color: #666;
1542 background-color: #ddd;
1545 .config-form .lastrow {
1546 border-top: 1px #000 solid;
1549 .config-form .lastrow {
1550 background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;;
1551 padding: 0.5em;
1552 text-align: center;
1555 .config-form .lastrow input {
1556 font-weight: bold;
1559 /* form elements */
1561 .config-form span.checkbox {
1562 padding: 2px;
1563 display: inline-block;
1566 .config-form .custom { /* customized field */
1567 background: #FFC;
1570 .config-form span.checkbox.custom {
1571 padding: 1px;
1572 border: 1px #EDEC90 solid;
1573 background: #FFC;
1576 .config-form .field-error {
1577 border-color: #A11 !important;
1580 .config-form input[type="text"],
1581 .config-form select,
1582 .config-form textarea {
1583 border: 1px #A7A6AA solid;
1584 height: auto;
1587 .config-form input[type="text"]:focus,
1588 .config-form select:focus,
1589 .config-form textarea:focus {
1590 border: 1px #6676FF solid;
1591 background: #F7FBFF;
1594 .config-form .field-comment-mark {
1595 font-family: serif;
1596 color: #007;
1597 cursor: help;
1598 padding: 0 0.2em;
1599 font-weight: bold;
1600 font-style: italic;
1603 .config-form .field-comment-warning {
1604 color: #A00;
1607 /* error list */
1608 .config-form dd {
1609 margin-left: 0.5em;
1612 .config-form dd:before {
1613 content: "\25B8 ";
1616 .click-hide-message {
1617 cursor: pointer;
1620 .prefsmanage_opts {
1621 margin-<?php echo $left; ?>: 2em;
1624 #prefs_autoload {
1625 margin-bottom: 0.5em;