2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * main css file from theme
7 * @package phpMyAdmin-theme
8 * @subpackage Aqua_Brushed
11 // unplanned execution path
12 if (!defined('PMA_MINIMUM_COMMON')) {
16 /******************************************************************************/
19 font
-size
: <?php
echo $GLOBALS['PMA_Config']->get('fontsize'); ?
>;
22 input
, select
, textarea
{
27 <?php
if (! empty($GLOBALS['cfg']['FontFamily'])) { ?
>
28 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamily']; ?
>;
32 color
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
>;
33 background
: <?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
36 <?php
if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?
>
37 textarea
, tt
, pre
, code
{
38 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamilyFixed']; ?
>;
58 text
-decoration
: none
;
63 text
-decoration
: underline
;
79 background
-color
: #B5BDC7;
80 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>tbl_th
.png
);
81 background
-repeat
: repeat
-x
;
82 background
-position
: top
;
84 th a
:link
, th a
:active
, th a
:visited
{
86 text
-decoration
: underline
;
91 text
-decoration
: none
;
100 color
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
>;
101 background
-color
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
>;
114 height
: <?php
echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?
>em
;
119 border
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
> solid
1px
;
121 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
129 background
-color
: transparent
;
132 /* buttons in some browsers (eg. Konqueror) are block elements,
133 this breaks design */
141 padding
: 0.1em
0.5em
0.1em
0.5em
;
150 vertical
-align
: middle
;
154 /******************************************************************************/
157 border
: 1px solid
#000000;
162 fieldset
.tblFooters
{
164 margin
-bottom
: 0.5em
;
165 /* avoid a thick line since this should be used under another fieldset */
167 text
-align
: <?php
echo $right; ?
>;
172 fieldset
.formelement
{
173 float: <?php
echo $left; ?
>;
174 margin
-<?php
echo $right; ?
>: 0.5em
;
179 /* revert for Gecko */
180 fieldset div
[class=formelement
] {
186 background
-color
: transparent
;
189 /* odd items 1,3,5,7,... */
192 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
195 /* even items 2,4,6,8,... */
198 background
: <?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
201 /* odd table rows 1,3,5,7,... */
206 text
-align
: <?php
echo $left; ?
>;
209 <?php
if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?
>
210 /* marked table rows */
213 background
: <?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
214 color
: <?php
echo $GLOBALS['cfg']['BrowseMarkerColor']; ?
>;
218 <?php
if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?
>
223 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
224 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
227 /* hovered table rows */
228 table tr
.odd
:hover th
,
229 table tr
.even
:hover th
,
231 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
232 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
237 * marks table rows/cells if the db field is in a where condition
243 border
: 1px solid
<?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
247 text
-align
: <?php
echo $right; ?
>;
250 /* IE doesnt handles 'pre' right */
251 table
[class=value
] {
256 <?php
if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?
>
258 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamilyFixed']; ?
>;
277 background
-color
: #FFFFFF;
279 border
: 1px solid
#000000;
284 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
294 border
: 1px dashed
#000000;
313 .syntax_digit_integer
{
316 .syntax_digit_float
{
325 .syntax_alpha_columnType
{
326 text
-transform
: uppercase
;
329 .syntax_alpha_columnAttrib
{
330 text
-transform
: uppercase
;
333 .syntax_alpha_reservedWord
{
334 text
-transform
: uppercase
;
338 .syntax_alpha_functionName
{
339 text
-transform
: uppercase
;
342 .syntax_alpha_identifier
{
345 .syntax_alpha_charset
{
348 .syntax_alpha_variable
{
355 .syntax_quote_backtick
{
358 /* leave some space between icons and text */
360 vertical
-align
: middle
;
364 /* no extra space in table cells */
370 margin
-<?php
echo $right; ?
>: 0.3em
;
371 margin
-<?php
echo $left; ?
>: 0.6em
;
374 /* message boxes: warning, error, confirmation */
379 border
-bottom
: 2px solid
;
381 text
-align
: <?php
echo $left; ?
>;
391 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
392 background
-repeat
: no
-repeat
;
393 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
394 background
-position
: 10px
50%
;
395 padding
: 0.1em
0.1em
0.1em
36px
;
397 background
-position
: 99%
50%
;
398 padding
: 10px
5%
10px
10px
;
407 background
-color
: #f0fff0;
411 border
-color
: #00FF00;
412 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
413 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_success
.png
);
417 border
-color
: #00FF00;
422 background
-color
: #FFFFDD;
426 border
-color
: #FFD700;
427 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
428 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_notice
.png
);
432 border
-color
: #FFD700;
437 background
-color
: #FFFFCC;
442 border
-color
: #CC0000;
443 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
444 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_warn
.png
);
448 border
-color
: #cc0000;
452 background
-color
: #FFFFCC;
458 border
-color
: #ff0000;
459 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
460 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_error
.png
);
464 border
-color
: #ff0000;
468 background
-color
: #FFFFCC;
470 fieldset
.confirmation
{
471 border
: 0.1em solid
#FF0000;
473 fieldset
.confirmation legend
{
474 border
-left
: 0.1em solid
#FF0000;
475 border
-right
: 0.1em solid
#FF0000;
477 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
478 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_really
.png
);
479 background
-repeat
: no
-repeat
;
480 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
481 background
-position
: 5px
50%
;
482 padding
: 0.2em
0.2em
0.2em
25px
;
484 background
-position
: 97%
50%
;
485 padding
: 0.2em
25px
0.2em
0.2em
;
489 /* end messageboxes */
500 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
501 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
507 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
508 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
512 .tblHeaders a
:active
,
513 .tblHeaders a
:visited
,
518 .tblFooters a
:active
,
519 .tblFooters a
:visited
{
525 .tblFooters a
:hover
{
529 /* forbidden, no privilegs */
539 .disabled a
:visited
{
545 text
-decoration
: none
;
550 background
-color
: #cccccc;
557 body
.loginform a
.logo
{
566 body
.loginform div
.container
{
567 text
-align
: <?php
echo $left; ?
>;
573 float: <?php
echo $left; ?
>;
579 /******************************************************************************/
580 /* specific elements */
585 list-style
-type
: none
;
591 float: <?php
echo $left; ?
>;
594 vertical
-align
: middle
;
598 vertical
-align
: middle
;
599 margin
-<?php
echo $right; ?
>: 0.1em
;
602 /* default tab styles */
603 .tab
, .tabcaution
, .tabactive
{
605 margin
: 0.2em
0.2em
0 0.2em
;
606 padding
: 0.2em
0.2em
0 0.2em
;
615 /* disabled drop/empty tabs */
620 /* enabled drop/empty tabs */
626 background
-color
: #FF0000;
629 <?php
if ($GLOBALS['cfg']['LightTabs']) { ?
>
637 padding
: 0.1em
0.3em
0.1em
0.3em
;
641 border
-bottom
: 1pt solid silver
;
644 /* default tab styles */
645 .tab
, .tabcaution
, .tabactive
{
646 background
-color
: #E5E5E5;
647 border
: 1pt solid silver
;
649 border
-top
-left
-radius
: 0.4em
;
650 border
-top
-right
-radius
: 0.4em
;
651 background
-color
: #B5BDC7;
652 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>tbl_header
.png
);
653 background
-repeat
: repeat
-x
;
654 background
-position
: top
;
657 /* enabled hover/active tabs */
663 padding
: 0.2em
0.4em
0.2em
0.4em
;
664 text
-decoration
: none
;
665 background
-color
: #DDDDDD;
666 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>tbl_th
.png
);
667 background
-repeat
: repeat
-x
;
668 background
-position
: top
;
672 background
-color
: #ff0000;
673 background
-image
: none
;
680 background
-color
: #8FBDE9;
683 /* to be able to cancel the bottom border, use <li class="active"> */
684 ul
#topmenu li.active {
685 border
-bottom
: 1pt solid
<?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
688 /* disabled drop/empty tabs */
692 cursor
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>error
.ico
), default;
705 table
.calendar td a
{
709 table
.calendar td a
:hover
{
710 background
-color
: #CCFFCC;
714 background
-color
: #D3DCE3;
717 table
.calendar td
.selected
{
718 background
-color
: #FFCC99;
731 div
#tablestatistics {
732 border
-bottom
: 0.1em solid
#669999;
733 margin
-bottom
: 0.5em
;
734 padding
-bottom
: 0.5em
;
737 div
#tablestatistics table {
738 float: <?php
echo $left; ?
>;
739 margin
-bottom
: 0.5em
;
740 margin
-<?php
echo $right; ?
>: 0.5em
;
743 div
#tablestatistics table caption {
744 margin
-<?php
echo $right; ?
>: 0.5em
;
746 /* END table stats */
749 /* server privileges */
751 #tablespecificuserrights td,
753 vertical
-align
: middle
;
755 /* END server privileges */
762 margin
-bottom
: 0.5em
;
769 #span_table_comment {
776 margin
: 0 0.1em
0 0.2em
;
783 font
-family
: "Courier New", Courier
, mono
;
794 background
-color
: #ffffcc;
796 border
: 0.1em solid
#000000;
800 /* user privileges */
801 #fieldset_add_user_login div.item {
802 border
-bottom
: 1px solid silver
;
803 padding
-bottom
: 0.3em
;
804 margin
-bottom
: 0.3em
;
807 #fieldset_add_user_login label {
808 float: <?php
echo $left; ?
>;
812 text
-align
: <?php
echo $right; ?
>;
813 padding
-<?php
echo $right; ?
>: 0.5em
;
816 #fieldset_add_user_login span.options #select_pred_username,
817 #fieldset_add_user_login span.options #select_pred_hostname,
818 #fieldset_add_user_login span.options #select_pred_password {
823 #fieldset_add_user_login span.options {
824 float: <?php
echo $left; ?
>;
828 padding
-<?php
echo $right; ?
>: 0.5em
;
831 #fieldset_add_user_login input {
833 clear
: <?php
echo $right; ?
>;
837 #fieldset_add_user_login span.options input {
841 #fieldset_user_priv div.item {
842 float: <?php
echo $left; ?
>;
847 #fieldset_user_priv div.item div.item {
851 #fieldset_user_priv div.item label {
855 #fieldset_user_priv div.item select {
859 #fieldset_user_global_rights fieldset {
860 float: <?php
echo $left; ?
>;
862 /* END user privileges */
866 div
#serverstatus table caption a.top {
867 float: <?php
echo $right; ?
>;
870 div
#serverstatus div#serverstatusqueriesdetails table,
871 div
#serverstatus table#serverstatustraffic,
872 div
#serverstatus table#serverstatusconnections {
873 float: <?php
echo $left; ?
>;
876 #serverstatussection,
880 div
#serverstatussection table {
884 div
#serverstatussection table .name {
887 div
#serverstatussection table .value {
891 div
#serverstatus table tbody td.descr a,
892 div
#serverstatus table .tblFooters a {
895 div
#serverstatus div#statuslinks a:before,
896 div
#serverstatus div#sectionlinks a:before,
897 div
#serverstatus table tbody td.descr a:before,
898 div
#serverstatus table .tblFooters a:before {
901 div
#serverstatus div#statuslinks a:after,
902 div
#serverstatus div#sectionlinks a:after,
903 div
#serverstatus table tbody td.descr a:after,
904 div
#serverstatus table .tblFooters a:after {
907 /* end serverstatus */
910 body
#bodyquerywindow {
913 background
-image
: none
;
914 background
-color
: #F5F5F5;
917 div
#querywindowcontainer {
923 div
#querywindowcontainer fieldset {
926 /* END querywindow */
931 div
#sqlquerycontainer {
932 float: <?php
echo $left; ?
>;
937 div
#tablefieldscontainer {
938 float: <?php
echo $right; ?
>;
943 div
#tablefieldscontainer select {
953 div
#queryboxcontainer div#bookmarkoptions {
960 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>logo_right
.png
);
961 background
-position
: <?php
echo $right; ?
> bottom
;
962 background
-repeat
: no
-repeat
;
965 #mysqlmaininformation,
966 #pmamaininformation {
967 float: <?php
echo $left; ?
>;
972 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>item_
<?php
echo $GLOBALS['text_dir']; ?
>.png
);
973 vertical
-align
: middle
;
977 margin
-bottom
: 0.3em
;
982 <?php
if ($GLOBALS['cfg']['MainPageIconic']) { ?
>
983 /* iconic view for ul items */
984 li
#li_create_database {
985 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_newdb
.png
);
989 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_lang
.png
);
992 li
#li_select_mysql_collation,
993 li
#li_select_mysql_charset {
994 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
998 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_theme
.png
);
1002 li
#li_server_version{
1003 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_host
.png
);
1007 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1011 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_status
.png
);
1014 li
#li_mysql_variables{
1015 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_vars
.png
);
1018 li
#li_mysql_processes{
1019 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_process
.png
);
1022 li
#li_mysql_collations{
1023 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
1026 li
#li_mysql_engines{
1027 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_engine
.png
);
1030 li
#li_mysql_binlogs {
1031 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_tbl
.png
);
1034 li
#li_mysql_databases {
1035 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_db
.png
);
1039 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_export
.png
);
1043 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_import
.png
);
1046 li
#li_change_password {
1047 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_passwd
.png
);
1051 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_loggoff
.png
);
1056 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_docs
.png
);
1060 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>php_sym
.png
);
1063 li
#li_pma_homepage {
1064 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_home
.png
);
1067 li
#li_mysql_privilegs{
1068 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_rights
.png
);
1071 li
#li_switch_dbstats {
1072 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_dbstatistics
.png
);
1075 li
#li_flush_privileges {
1076 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_reload
.png
);
1078 /* END iconic view for ul items */
1079 <?php
} /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?
>
1082 #body_browse_foreigners {
1083 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1084 margin
: 0.5em
0.5em
0 0.5em
;
1088 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1098 border
: 0.1em solid black
;
1101 #bodythemes a:hover img {
1102 border
: 0.1em solid red
;
1105 #fieldset_select_fields {
1106 float: <?php
echo $left; ?
>;
1115 border
-top
: 0.1em solid silver
;
1116 text
-align
: <?php
echo $right; ?
>;
1119 #table_innodb_bufferpool_usage,
1120 #table_innodb_bufferpool_activity {
1121 float: <?php
echo $left; ?
>;
1124 #div_mysql_charset_collations table {
1125 float: <?php
echo $left; ?
>;
1130 float: <?php
echo $left; ?
>;
1135 float: <?php
echo $left; ?
>;
1139 #div_partition_maintenance,
1140 #div_referential_integrity,
1141 #div_table_maintenance {
1143 float: <?php
echo $left; ?
>;
1146 #div_table_options {
1149 float: <?php
echo $left; ?
>;
1152 #qbe_div_table_list {
1153 float: <?php
echo $left; ?
>;
1156 #qbe_div_sql_query {
1157 float: <?php
echo $left; ?
>;
1162 float: <?php
echo $left; ?
>;
1170 border
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
> solid
1px
;
1175 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;