2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * main css file from theme
7 * @package phpMyAdmin-theme
8 * @subpackage Dark_Lime
10 // unplanned execution path
11 if (!defined('PMA_MINIMUM_COMMON')) {
15 /******************************************************************************/
18 <?php
if (! empty($GLOBALS['cfg']['FontFamily'])) { ?
>
19 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamily']; ?
>;
23 color
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
>;
24 background
: <?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
27 <?php
if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?
>
28 textarea
, tt
, pre
, code
{
29 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamilyFixed']; ?
>;
50 text
-decoration
: none
;
55 text
-decoration
: none
;
70 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
71 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
79 color
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
>;
80 background
-color
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
>;
98 border
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
> solid
1px
;
100 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
108 background
-color
: transparent
;
111 /* buttons in some browsers (eg. Konqueror) are block elements,
112 this breaks design */
120 padding
: 0.1em
0.5em
0.1em
0.5em
;
125 img
{ vertical
-align
: middle
; }
130 border
: 1px solid
#5e5e5e;
131 background
-color
: #000000;
136 /******************************************************************************/
139 fieldset
.tblFooters
{
141 margin
-bottom
: 0.5em
;
142 text
-align
: <?php
echo $right; ?
>;
147 fieldset
.formelement
{
148 float: <?php
echo $left; ?
>;
149 margin
-<?php
echo $right; ?
>: 0.5em
;
154 /* revert for Gecko */
155 fieldset div
[class=formelement
] {
161 background
-color
: transparent
;
164 /* odd items 1,3,5,7,... */
167 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
170 /* even items 2,4,6,8,... */
173 background
: <?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
176 /* odd table rows 1,3,5,7,... */
181 text
-align
: <?php
echo $left; ?
>;
184 /* marked tbale rows */
187 background
: <?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
188 color
: <?php
echo $GLOBALS['cfg']['BrowseMarkerColor']; ?
>;
195 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
196 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
199 /* hovered table rows */
200 table tr
.odd
:hover th
,
201 table tr
.even
:hover th
,
203 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
204 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
208 * marks table rows/cells if the db field is in a where condition
214 border
: 1px solid
<?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
218 text
-align
: <?php
echo $right; ?
>;
221 /* IE doesnt handles 'pre' right */
222 table
[class=value
] {
227 <?php
if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?
>
229 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamilyFixed']; ?
>;
248 background
-color
: #FFFFFF;
250 border
: 1px solid
#000000;
265 border
: 1px dashed
#000000;
285 .syntax_digit_integer
{
288 .syntax_digit_float
{
299 .syntax_alpha_columnType
{
300 text
-transform
: uppercase
;
303 .syntax_alpha_columnAttrib
{
304 text
-transform
: uppercase
;
307 .syntax_alpha_reservedWord
{
308 text
-transform
: uppercase
;
312 .syntax_alpha_functionName
{
313 text
-transform
: uppercase
;
316 .syntax_alpha_identifier
{
319 .syntax_alpha_charset
{
322 .syntax_alpha_variable
{
330 .syntax_quote_backtick
{
333 /* leave some space between icons and text */
335 vertical
-align
: middle
;
339 /* no extra space in table cells */
345 margin
-<?php
echo $right; ?
>: 0.3em
;
346 margin
-<?php
echo $left; ?
>: 0.6em
;
349 /* message boxes: warning, error, confirmation */
352 background
-color
: #FFFFDD;
356 margin
: 0.5em
0 0.5em
0;
357 border
: 0.1em solid
#FFD700;
358 <?php
if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?
>
359 background
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_notice
.png
);
360 background
-repeat
: no
-repeat
;
361 <?php
if ( $GLOBALS['text_dir'] === 'ltr' ) { ?
>
362 background
-position
: 10px
50%
;
363 padding
: 10px
10px
10px
36px
;
365 background
-position
: 99%
50%
;
366 padding
: 10px
5%
10px
10px
;
373 border
-bottom
: 0.1em solid
#FFD700;
375 text
-align
: <?php
echo $left; ?
>;
381 background
-color
: #FFFFCC;
386 margin
: 0.5em
0 0.5em
0;
387 border
: 0.1em solid
#CC0000;
388 <?php
if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?
>
389 background
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_warn
.png
);
390 background
-repeat
: no
-repeat
;
391 <?php
if ( $GLOBALS['text_dir'] === 'ltr' ) { ?
>
392 background
-position
: 10px
50%
;
393 padding
: 10px
10px
10px
36px
;
395 background
-position
: 99%
50%
;
396 padding
: 10px
5%
10px
10px
;
403 border
-bottom
: 0.1em solid
#cc0000;
405 text
-align
: <?php
echo $left; ?
>;
410 background
-color
: #FFFFCC;
416 margin
: 0.5em
0 0.5em
0;
417 border
: 0.1em solid
#ff0000;
418 <?php
if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?
>
419 background
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_error
.png
);
420 background
-repeat
: no
-repeat
;
421 <?php
if ( $GLOBALS['text_dir'] === 'ltr' ) { ?
>
422 background
-position
: 10px
50%
;
423 padding
: 10px
10px
10px
36px
;
425 background
-position
: 99%
50%
;
426 padding
: 10px
5%
10px
10px
;
433 border
-bottom
: 0.1em solid
#ff0000;
435 text
-align
: <?php
echo $left; ?
>;
440 background
-color
: #FFFFCC;
442 fieldset
.confirmation
{
443 border
: 0.1em solid
#FF0000;
445 fieldset
.confirmation legend
{
446 border
-left
: 0.1em solid
#FF0000;
447 border
-right
: 0.1em solid
#FF0000;
449 <?php
if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?
>
450 background
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_really
.png
);
451 background
-repeat
: no
-repeat
;
452 <?php
if ( $GLOBALS['text_dir'] === 'ltr' ) { ?
>
453 background
-position
: 5px
50%
;
454 padding
: 0.2em
0.2em
0.2em
25px
;
456 background
-position
: 97%
50%
;
457 padding
: 0.2em
25px
0.2em
0.2em
;
461 /* end messageboxes */
472 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
473 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
478 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
479 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
484 .tblHeaders a
:active
,
485 .tblHeaders a
:visited
,
487 .tblFooters a
:active
,
488 .tblFooters a
:visited
{
493 .tblFooters a
:hover
{
497 /* forbidden, no privilegs */
507 .disabled a
:visited
{
513 text
-decoration
: none
;
518 background
-color
: #cccccc;
525 body
.loginform a
.logo
{
534 body
.loginform div
.container
{
535 text
-align
: <?php
echo $left; ?
>;
541 float: <?php
echo $left; ?
>;
547 /******************************************************************************/
548 /* specific elements */
553 list-style
-type
: none
;
559 float: <?php
echo $left; ?
>;
562 vertical
-align
: middle
;
566 vertical
-align
: middle
;
567 margin
-<?php
echo $right; ?
>: 0.1em
;
570 /* default tab styles */
571 .tab
, .tabcaution
, .tabactive
{
573 margin
: 0.2em
0.2em
0 0.2em
;
574 padding
: 0.2em
0.2em
0 0.2em
;
583 /* disabled drop/empty tabs */
588 /* enabled drop/empty tabs */
594 background
-color
: #FF0000;
597 <?php
if ( $GLOBALS['cfg']['LightTabs'] ) { ?
>
605 padding
: 0.1em
0.3em
0.1em
0.3em
;
609 border
-bottom
: 1pt solid black
;
612 /* default tab styles */
613 .tab
, .tabcaution
, .tabactive
{
614 background
-color
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
615 border
: 1pt solid
<?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
617 border
-top
-left
-radius
: 0.4em
;
618 border
-top
-right
-radius
: 0.4em
;
621 /* enabled hover/active tabs */
627 padding
: 0.2em
0.4em
0.2em
0.4em
;
628 text
-decoration
: none
;
633 background
-color
: <?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
634 background
-color
: #99cc00;
638 /* disabled drop/empty tabs */
641 cursor
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>error
.ico
), default;
654 table
.calendar td a
{
658 table
.calendar td a
:hover
{
659 background
-color
: #CCFFCC;
663 background
-color
: #D3DCE3;
666 table
.calendar td
.selected
{
667 background
-color
: #FFCC99;
680 div
#tablestatistics {
681 border
-bottom
: 0.1em solid
#669999;
682 margin
-bottom
: 0.5em
;
683 padding
-bottom
: 0.5em
;
686 div
#tablestatistics table {
687 float: <?php
echo $left; ?
>;
688 margin
-bottom
: 0.5em
;
689 margin
-<?php
echo $right; ?
>: 0.5em
;
692 div
#tablestatistics table caption {
693 margin
-<?php
echo $right; ?
>: 0.5em
;
695 /* END table stats */
698 /* server privileges */
700 #tablespecificuserrights td,
702 vertical
-align
: middle
;
704 /* END server privileges */
711 margin
-bottom
: 0.5em
;
718 #span_table_comment {
725 margin
: 0 0.1em
0 0.2em
;
732 font
-family
: "Courier New", Courier
, mono
;
743 background
-color
: #ffffcc;
745 border
: 0.1em solid
#000000;
749 /* user privileges */
750 #fieldset_add_user_login div.item {
751 border
-bottom
: 1px solid silver
;
752 padding
-bottom
: 0.3em
;
753 margin
-bottom
: 0.3em
;
756 #fieldset_add_user_login label {
757 float: <?php
echo $left; ?
>;
761 text
-align
: <?php
echo $right; ?
>;
762 padding
-<?php
echo $right; ?
>: 0.5em
;
765 #fieldset_add_user_login span.options #select_pred_username,
766 #fieldset_add_user_login span.options #select_pred_hostname,
767 #fieldset_add_user_login span.options #select_pred_password {
772 #fieldset_add_user_login span.options {
773 float: <?php
echo $left; ?
>;
777 padding
-<?php
echo $right; ?
>: 0.5em
;
780 #fieldset_add_user_login input {
782 clear
: <?php
echo $right; ?
>;
786 #fieldset_add_user_login span.options input {
790 #fieldset_user_priv div.item {
791 float: <?php
echo $left; ?
>;
796 #fieldset_user_priv div.item div.item {
800 #fieldset_user_priv div.item label {
804 #fieldset_user_priv div.item select {
808 #fieldset_user_global_rights fieldset {
809 float: <?php
echo $left; ?
>;
811 /* END user privileges */
815 div
#serverstatus table caption a.top {
816 float: <?php
echo $right; ?
>;
819 div
#serverstatus div#serverstatusqueriesdetails table,
820 div
#serverstatus table#serverstatustraffic,
821 div
#serverstatus table#serverstatusconnections {
822 float: <?php
echo $left; ?
>;
825 #serverstatussection,
829 div
#serverstatussection table {
833 div
#serverstatussection table .name {
836 div
#serverstatussection table .value {
840 div
#serverstatus table tbody td.descr a,
841 div
#serverstatus table .tblFooters a {
844 div
#serverstatus div#statuslinks a:before,
845 div
#serverstatus div#sectionlinks a:before,
846 div
#serverstatus table tbody td.descr a:before,
847 div
#serverstatus table .tblFooters a:before {
850 div
#serverstatus div#statuslinks a:after,
851 div
#serverstatus div#sectionlinks a:after,
852 div
#serverstatus table tbody td.descr a:after,
853 div
#serverstatus table .tblFooters a:after {
856 /* end serverstatus */
859 body
#bodyquerywindow {
862 background
-image
: none
;
863 background
-color
: #F5F5F5;
866 div
#querywindowcontainer {
872 div
#querywindowcontainer fieldset {
875 /* END querywindow */
880 div
#sqlquerycontainer {
881 float: <?php
echo $left; ?
>;
886 div
#tablefieldscontainer {
887 float: <?php
echo $right; ?
>;
892 div
#tablefieldscontainer select {
902 div
#queryboxcontainer div#bookmarkoptions {
909 background
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>logo_right
.png
);
910 background
-position
: <?php
echo $right; ?
> bottom
;
911 background
-repeat
: no
-repeat
;
912 border
-bottom
: 1px solid silver
;
915 #mysqlmaininformation,
916 #pmamaininformation {
917 float: <?php
echo $left; ?
>;
922 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>item_
<?php
echo $GLOBALS['text_dir']; ?
>.png
);
923 vertical
-align
: middle
;
927 margin
-bottom
: 0.3em
;
932 <?php
if ($GLOBALS['cfg']['MainPageIconic']) { ?
>
933 /* iconic view for ul items */
934 li
#li_create_database {
935 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_newdb
.png
);
939 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_lang
.png
);
942 li
#li_select_mysql_collation,
943 li
#li_select_mysql_charset {
944 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
948 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_theme
.png
);
952 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_host
.png
);
956 /* list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
960 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_status
.png
);
963 li
#li_mysql_variables{
964 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_vars
.png
);
967 li
#li_mysql_processes{
968 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_process
.png
);
971 li
#li_mysql_collations{
972 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
976 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_engine
.png
);
979 li
#li_mysql_binlogs {
980 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_tbl
.png
);
983 li
#li_mysql_databases {
984 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_db
.png
);
988 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_export
.png
);
992 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_import
.png
);
995 li
#li_change_password {
996 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_passwd
.png
);
1000 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_loggoff
.png
);
1004 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_docs
.png
);
1008 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>php_sym
.png
);
1011 li
#li_pma_homepage {
1012 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_home
.png
);
1015 li
#li_mysql_privilegs{
1016 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_rights
.png
);
1019 li
#li_switch_dbstats {
1020 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_dbstatistics
.png
);
1023 li
#li_flush_privileges {
1024 list-style
-image
: url(../<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_reload
.png
);
1026 /* END iconic view for ul items */
1027 <?php
} /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?
>
1030 #body_browse_foreigners {
1031 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1032 margin
: 0.5em
0.5em
0 0.5em
;
1036 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1046 border
: 0.1em solid black
;
1049 #bodythemes a:hover img {
1050 border
: 0.1em solid red
;
1053 #fieldset_select_fields {
1054 float: <?php
echo $left; ?
>;
1063 border
-top
: 0.1em solid silver
;
1064 text
-align
: <?php
echo $right; ?
>;
1067 #table_innodb_bufferpool_usage,
1068 #table_innodb_bufferpool_activity {
1069 float: <?php
echo $left; ?
>;
1072 #div_mysql_charset_collations table {
1073 float: <?php
echo $left; ?
>;
1078 float: <?php
echo $left; ?
>;
1083 float: <?php
echo $left; ?
>;
1088 float: <?php
echo $left; ?
>;
1091 #div_table_options {
1094 float: <?php
echo $left; ?
>;
1097 #qbe_div_table_list {
1098 float: <?php
echo $left; ?
>;
1101 #qbe_div_sql_query {
1102 float: <?php
echo $left; ?
>;
1107 float: <?php
echo $left; ?
>;