2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * main css file from theme Original
7 * @package phpMyAdmin-theme
11 // unplanned execution path
12 if (!defined('PMA_MINIMUM_COMMON')) {
16 /******************************************************************************/
19 <?php
if (! empty($GLOBALS['cfg']['FontFamily'])) { ?
>
20 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamily']; ?
>;
24 color
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
>;
25 background
: <?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
28 <?php
if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?
>
29 textarea
, tt
, pre
, code
{
30 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamilyFixed']; ?
>;
51 text
-decoration
: none
;
56 text
-decoration
: underline
;
71 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
72 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
80 color
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
>;
81 background
-color
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
>;
98 border
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
> solid
1px
;
100 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
110 background
-color
: <?php
echo 'OPERA' != PMA_USR_BROWSER_AGENT ?
'transparent' : $GLOBALS['cfg']['BgOne']; ?
>;
113 /* buttons in some browsers (eg. Konqueror) are block elements,
114 this breaks design */
122 padding
: 0.1em
0.5em
0.1em
0.5em
;
131 vertical
-align
: middle
;
135 /******************************************************************************/
138 fieldset
.tblFooters
{
140 margin
-bottom
: 0.5em
;
141 /* avoid a thick line since this should be used under another fieldset */
143 text
-align
: <?php
echo $right; ?
>;
148 fieldset
.formelement
{
149 float: <?php
echo $left; ?
>;
150 margin
-<?php
echo $right; ?
>: 0.5em
;
155 /* revert for Gecko */
156 fieldset div
[class=formelement
] {
162 background
-color
: transparent
;
165 /* odd items 1,3,5,7,... */
168 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
171 /* even items 2,4,6,8,... */
174 background
: <?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
177 /* odd table rows 1,3,5,7,... */
182 text
-align
: <?php
echo $left; ?
>;
185 <?php
if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?
>
186 /* marked table rows */
189 background
: <?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
190 color
: <?php
echo $GLOBALS['cfg']['BrowseMarkerColor']; ?
>;
194 <?php
if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?
>
199 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
200 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
203 /* hovered table rows */
204 table tr
.odd
:hover th
,
205 table tr
.even
:hover th
,
207 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
208 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
213 * marks table rows/cells if the db field is in a where condition
219 border
: 1px solid
<?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
223 text
-align
: <?php
echo $right; ?
>;
226 /* IE doesnt handles 'pre' right */
227 table
[class=value
] {
232 <?php
if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?
>
234 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamilyFixed']; ?
>;
253 background
-color
: #FFFFFF;
255 border
: 1px solid
#000000;
270 border
: 1px dashed
#000000;
289 .syntax_digit_integer
{
292 .syntax_digit_float
{
301 .syntax_alpha_columnType
{
302 text
-transform
: uppercase
;
305 .syntax_alpha_columnAttrib
{
306 text
-transform
: uppercase
;
309 .syntax_alpha_reservedWord
{
310 text
-transform
: uppercase
;
314 .syntax_alpha_functionName
{
315 text
-transform
: uppercase
;
318 .syntax_alpha_identifier
{
321 .syntax_alpha_charset
{
324 .syntax_alpha_variable
{
331 .syntax_quote_backtick
{
334 /* leave some space between icons and text */
336 vertical
-align
: middle
;
340 /* no extra space in table cells */
346 margin
-<?php
echo $right; ?
>: 0.3em
;
347 margin
-<?php
echo $left; ?
>: 0.6em
;
350 /* message boxes: warning, error, confirmation */
353 background
-color
: #FFFFDD;
357 margin
: 0.5em
0 0.5em
0;
358 border
: 0.1em solid
#FFD700;
359 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
360 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_notice
.png
);
361 background
-repeat
: no
-repeat
;
362 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
363 background
-position
: 10px
50%
;
364 padding
: 10px
10px
10px
36px
;
366 background
-position
: 99%
50%
;
367 padding
: 10px
5%
10px
10px
;
374 border
-bottom
: 0.1em solid
#FFD700;
376 text
-align
: <?php
echo $left; ?
>;
382 background
-color
: #FFFFCC;
387 margin
: 0.5em
0 0.5em
0;
388 border
: 0.1em solid
#CC0000;
389 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
390 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_warn
.png
);
391 background
-repeat
: no
-repeat
;
392 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
393 background
-position
: 10px
50%
;
394 padding
: 10px
10px
10px
36px
;
396 background
-position
: 99%
50%
;
397 padding
: 10px
5%
10px
10px
;
404 border
-bottom
: 0.1em solid
#cc0000;
406 text
-align
: <?php
echo $left; ?
>;
411 background
-color
: #FFFFCC;
417 margin
: 0.5em
0 0.5em
0;
418 border
: 0.1em solid
#ff0000;
419 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
420 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_error
.png
);
421 background
-repeat
: no
-repeat
;
422 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
423 background
-position
: 10px
50%
;
424 padding
: 10px
10px
10px
36px
;
426 background
-position
: 99%
50%
;
427 padding
: 10px
5%
10px
10px
;
434 border
-bottom
: 0.1em solid
#ff0000;
436 text
-align
: <?php
echo $left; ?
>;
441 background
-color
: #FFFFCC;
443 fieldset
.confirmation
{
444 border
: 0.1em solid
#FF0000;
446 fieldset
.confirmation legend
{
447 border
-left
: 0.1em solid
#FF0000;
448 border
-right
: 0.1em solid
#FF0000;
450 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
451 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_really
.png
);
452 background
-repeat
: no
-repeat
;
453 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
454 background
-position
: 5px
50%
;
455 padding
: 0.2em
0.2em
0.2em
25px
;
457 background
-position
: 97%
50%
;
458 padding
: 0.2em
25px
0.2em
0.2em
;
462 /* end messageboxes */
473 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
474 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
479 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
480 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
485 .tblHeaders a
:active
,
486 .tblHeaders a
:visited
,
488 .tblFooters a
:active
,
489 .tblFooters a
:visited
{
494 .tblFooters a
:hover
{
498 /* forbidden, no privilegs */
508 .disabled a
:visited
{
514 text
-decoration
: none
;
519 background
-color
: #cccccc;
526 body
.loginform a
.logo
{
535 body
.loginform div
.container
{
536 text
-align
: <?php
echo $left; ?
>;
542 float: <?php
echo $left; ?
>;
548 /******************************************************************************/
549 /* specific elements */
554 list-style
-type
: none
;
560 float: <?php
echo $left; ?
>;
563 vertical
-align
: middle
;
567 vertical
-align
: middle
;
568 margin
-<?php
echo $right; ?
>: 0.1em
;
571 /* default tab styles */
572 .tab
, .tabcaution
, .tabactive
{
574 margin
: 0.2em
0.2em
0 0.2em
;
575 padding
: 0.2em
0.2em
0 0.2em
;
584 /* disabled drop/empty tabs */
589 /* enabled drop/empty tabs */
595 background
-color
: #FF0000;
598 <?php
if ($GLOBALS['cfg']['LightTabs']) { ?
>
606 padding
: 0.1em
0.3em
0.1em
0.3em
;
610 border
-bottom
: 1pt solid black
;
613 /* default tab styles */
614 .tab
, .tabcaution
, .tabactive
{
615 background
-color
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
616 border
: 1pt solid
<?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
618 border
-top
-left
-radius
: 0.4em
;
619 border
-top
-right
-radius
: 0.4em
;
622 /* enabled hover/active tabs */
628 padding
: 0.2em
0.4em
0.2em
0.4em
;
629 text
-decoration
: none
;
634 background
-color
: <?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
637 /* to be able to cancel the bottom border, use <li class="active"> */
638 ul
#topmenu li.active {
639 border
-bottom
: 1pt solid
<?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
642 /* disabled drop/empty tabs */
646 cursor
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>error
.ico
), default;
659 table
.calendar td a
{
663 table
.calendar td a
:hover
{
664 background
-color
: #CCFFCC;
668 background
-color
: #D3DCE3;
671 table
.calendar td
.selected
{
672 background
-color
: #FFCC99;
685 div
#tablestatistics {
686 border
-bottom
: 0.1em solid
#669999;
687 margin
-bottom
: 0.5em
;
688 padding
-bottom
: 0.5em
;
691 div
#tablestatistics table {
692 float: <?php
echo $left; ?
>;
693 margin
-bottom
: 0.5em
;
694 margin
-<?php
echo $right; ?
>: 0.5em
;
697 div
#tablestatistics table caption {
698 margin
-<?php
echo $right; ?
>: 0.5em
;
700 /* END table stats */
703 /* server privileges */
705 #tablespecificuserrights td,
707 vertical
-align
: middle
;
709 /* END server privileges */
716 margin
-bottom
: 0.5em
;
723 #span_table_comment {
730 margin
: 0 0.1em
0 0.2em
;
737 font
-family
: "Courier New", Courier
, mono
;
748 background
-color
: #ffffcc;
750 border
: 0.1em solid
#000000;
754 /* user privileges */
755 #fieldset_add_user_login div.item {
756 border
-bottom
: 1px solid silver
;
757 padding
-bottom
: 0.3em
;
758 margin
-bottom
: 0.3em
;
761 #fieldset_add_user_login label {
762 float: <?php
echo $left; ?
>;
766 text
-align
: <?php
echo $right; ?
>;
767 padding
-<?php
echo $right; ?
>: 0.5em
;
770 #fieldset_add_user_login span.options #select_pred_username,
771 #fieldset_add_user_login span.options #select_pred_hostname,
772 #fieldset_add_user_login span.options #select_pred_password {
777 #fieldset_add_user_login span.options {
778 float: <?php
echo $left; ?
>;
782 padding
-<?php
echo $right; ?
>: 0.5em
;
785 #fieldset_add_user_login input {
787 clear
: <?php
echo $right; ?
>;
791 #fieldset_add_user_login span.options input {
795 #fieldset_user_priv div.item {
796 float: <?php
echo $left; ?
>;
801 #fieldset_user_priv div.item div.item {
805 #fieldset_user_priv div.item label {
809 #fieldset_user_priv div.item select {
813 #fieldset_user_global_rights fieldset {
814 float: <?php
echo $left; ?
>;
816 /* END user privileges */
820 div
#serverstatus table caption a.top {
821 float: <?php
echo $right; ?
>;
824 div
#serverstatus div#serverstatusqueriesdetails table,
825 div
#serverstatus table#serverstatustraffic,
826 div
#serverstatus table#serverstatusconnections {
827 float: <?php
echo $left; ?
>;
830 #serverstatussection,
834 div
#serverstatussection table {
838 div
#serverstatussection table .name {
841 div
#serverstatussection table .value {
845 div
#serverstatus table tbody td.descr a,
846 div
#serverstatus table .tblFooters a {
849 div
#serverstatus div#statuslinks a:before,
850 div
#serverstatus div#sectionlinks a:before,
851 div
#serverstatus table tbody td.descr a:before,
852 div
#serverstatus table .tblFooters a:before {
855 div
#serverstatus div#statuslinks a:after,
856 div
#serverstatus div#sectionlinks a:after,
857 div
#serverstatus table tbody td.descr a:after,
858 div
#serverstatus table .tblFooters a:after {
861 /* end serverstatus */
864 body
#bodyquerywindow {
867 background
-image
: none
;
868 background
-color
: #F5F5F5;
871 div
#querywindowcontainer {
877 div
#querywindowcontainer fieldset {
880 /* END querywindow */
885 div
#sqlquerycontainer {
886 float: <?php
echo $left; ?
>;
891 div
#tablefieldscontainer {
892 float: <?php
echo $right; ?
>;
897 div
#tablefieldscontainer select {
907 div
#queryboxcontainer div#bookmarkoptions {
914 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>logo_right
.png
);
915 background
-position
: <?php
echo $right; ?
> bottom
;
916 background
-repeat
: no
-repeat
;
917 border
-bottom
: 1px solid silver
;
920 #mysqlmaininformation,
921 #pmamaininformation {
922 float: <?php
echo $left; ?
>;
927 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>item_
<?php
echo $GLOBALS['text_dir']; ?
>.png
);
928 vertical
-align
: middle
;
932 margin
-bottom
: 0.3em
;
937 <?php
if ($GLOBALS['cfg']['MainPageIconic']) { ?
>
938 /* iconic view for ul items */
939 li
#li_create_database {
940 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_newdb
.png
);
944 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_lang
.png
);
947 li
#li_select_mysql_collation,
948 li
#li_select_mysql_charset {
949 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
953 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_theme
.png
);
957 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_host
.png
);
961 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
965 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_status
.png
);
968 li
#li_mysql_variables{
969 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_vars
.png
);
972 li
#li_mysql_processes{
973 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_process
.png
);
976 li
#li_mysql_collations{
977 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
981 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_engine
.png
);
984 li
#li_mysql_binlogs {
985 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_tbl
.png
);
988 li
#li_mysql_databases {
989 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_db
.png
);
993 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_export
.png
);
997 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_import
.png
);
1000 li
#li_change_password {
1001 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_passwd
.png
);
1005 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_loggoff
.png
);
1009 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_docs
.png
);
1013 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>php_sym
.png
);
1016 li
#li_pma_homepage {
1017 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_home
.png
);
1020 li
#li_mysql_privilegs{
1021 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_rights
.png
);
1024 li
#li_switch_dbstats {
1025 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_dbstatistics
.png
);
1028 li
#li_flush_privileges {
1029 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_reload
.png
);
1031 /* END iconic view for ul items */
1032 <?php
} /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?
>
1035 #body_browse_foreigners {
1036 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1037 margin
: 0.5em
0.5em
0 0.5em
;
1041 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1051 border
: 0.1em solid black
;
1054 #bodythemes a:hover img {
1055 border
: 0.1em solid red
;
1058 #fieldset_select_fields {
1059 float: <?php
echo $left; ?
>;
1068 border
-top
: 0.1em solid silver
;
1069 text
-align
: <?php
echo $right; ?
>;
1072 #table_innodb_bufferpool_usage,
1073 #table_innodb_bufferpool_activity {
1074 float: <?php
echo $left; ?
>;
1077 #div_mysql_charset_collations table {
1078 float: <?php
echo $left; ?
>;
1083 float: <?php
echo $left; ?
>;
1088 float: <?php
echo $left; ?
>;
1093 float: <?php
echo $left; ?
>;
1096 #div_table_options {
1099 float: <?php
echo $left; ?
>;
1102 #qbe_div_table_list {
1103 float: <?php
echo $left; ?
>;
1106 #qbe_div_sql_query {
1107 float: <?php
echo $left; ?
>;
1112 float: <?php
echo $left; ?
>;