2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * main css file from theme Darkblue Orange
7 * @package phpMyAdmin-theme
8 * @subpackage Darkblue_orange
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']; ?
>;
56 text
-decoration
: none
;
61 text
-decoration
: underline
;
76 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
77 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
83 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
84 text
-decoration
: underline
;
89 text
-decoration
: none
;
98 background
-color
: #6666cc;
115 border
: #666699 solid 1px;
126 background
: <?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
127 padding
: 2px
2px
2px
2px
;
130 /* buttons in some browsers (eg. Konqueror) are block elements,
131 this breaks design */
139 padding
: 0.1em
0.5em
0.1em
0.5em
;
148 vertical
-align
: middle
;
152 /******************************************************************************/
155 fieldset
.tblFooters
{
157 margin
-bottom
: 0.5em
;
158 /* avoid a thick line since this should be used under another fieldset */
160 text
-align
: <?php
echo $right; ?
>;
165 fieldset
.formelement
{
166 float: <?php
echo $left; ?
>;
167 margin
-<?php
echo $right; ?
>: 0.5em
;
172 /* revert for Gecko */
173 fieldset div
[class=formelement
] {
179 background
-color
: transparent
;
182 /* odd items 1,3,5,7,... */
184 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
187 /* even items 2,4,6,8,... */
189 background
: <?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
192 /* odd table rows 1,3,5,7,... */
195 background
-image
: none
;
196 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
197 text
-align
: <?php
echo $left; ?
>;
200 /* even table rows 2,4,6,8,... */
203 background
-image
: none
;
204 background
: <?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
205 text
-align
: <?php
echo $left; ?
>;
208 <?php
if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?
>
209 /* marked table rows */
212 background
: <?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
213 color
: <?php
echo $GLOBALS['cfg']['BrowseMarkerColor']; ?
>;
217 <?php
if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?
>
222 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
223 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
226 /* hovered table rows */
227 table tr
.odd
:hover th
,
228 table tr
.even
:hover th
,
230 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
231 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
236 * marks table rows/cells if the db field is in a where condition
242 border
: 1px solid
<?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
246 text
-align
: <?php
echo $right; ?
>;
249 /* IE doesnt handles 'pre' right */
250 table
[class=value
] {
255 <?php
if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?
>
257 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamilyFixed']; ?
>;
276 background
-color
: #FFFFFF;
278 border
: 1px solid
#000000;
293 border
: 1px dashed
#000000;
311 .syntax_digit_integer
{
314 .syntax_digit_float
{
323 .syntax_alpha_columnType
{
324 text
-transform
: uppercase
;
327 .syntax_alpha_columnAttrib
{
328 text
-transform
: uppercase
;
331 .syntax_alpha_reservedWord
{
332 text
-transform
: uppercase
;
336 .syntax_alpha_functionName
{
337 text
-transform
: uppercase
;
340 .syntax_alpha_identifier
{
343 .syntax_alpha_charset
{
346 .syntax_alpha_variable
{
353 .syntax_quote_backtick
{
356 /* leave some space between icons and text */
358 vertical
-align
: middle
;
362 /* no extra space in table cells */
368 margin
-<?php
echo $right; ?
>: 0.3em
;
369 margin
-<?php
echo $left; ?
>: 0.6em
;
372 /* message boxes: warning, error, confirmation */
375 background
-color
: #FFFFDD;
379 margin
: 0.5em
0 0.5em
0;
380 border
: 0.1em solid
#FFD700;
382 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
383 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_notice
.png
);
384 background
-repeat
: no
-repeat
;
385 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
386 background
-position
: 10px
50%
;
387 padding
: 10px
10px
10px
36px
;
389 background
-position
: 99%
50%
;
390 padding
: 10px
5%
10px
10px
;
397 border
-bottom
: 0.1em solid
#FFD700;
399 text
-align
: <?php
echo $left; ?
>;
405 background
-color
: #FFFFCC;
410 margin
: 0.5em
0 0.5em
0;
411 border
: 0.1em solid
#CC0000;
413 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
414 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_warn
.png
);
415 background
-repeat
: no
-repeat
;
416 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
417 background
-position
: 10px
50%
;
418 padding
: 10px
10px
10px
36px
;
420 background
-position
: 99%
50%
;
421 padding
: 10px
5%
10px
10px
;
428 border
-bottom
: 0.1em solid
#cc0000;
430 text
-align
: <?php
echo $left; ?
>;
435 background
-color
: #FFFFCC;
441 margin
: 0.5em
0 0.5em
0;
442 border
: 0.1em solid
#ff0000;
444 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
445 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_error
.png
);
446 background
-repeat
: no
-repeat
;
447 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
448 background
-position
: 10px
50%
;
449 padding
: 10px
10px
10px
36px
;
451 background
-position
: 99%
50%
;
452 padding
: 10px
5%
10px
10px
;
459 border
-bottom
: 0.1em solid
#ff0000;
461 text
-align
: <?php
echo $left; ?
>;
466 background
-color
: #FFFFCC;
468 fieldset
.confirmation
{
469 border
: 0.1em solid
#FF0000;
471 fieldset
.confirmation legend
{
472 border
-left
: 0.1em solid
#FF0000;
473 border
-right
: 0.1em solid
#FF0000;
475 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
476 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_really
.png
);
477 background
-repeat
: no
-repeat
;
478 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
479 background
-position
: 5px
50%
;
480 padding
: 0.2em
0.2em
0.2em
25px
;
482 background
-position
: 97%
50%
;
483 padding
: 0.2em
25px
0.2em
0.2em
;
487 /* end messageboxes */
497 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
498 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
503 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
504 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
509 .tblHeaders a
:active
,
510 .tblHeaders a
:visited
,
512 .tblFooters a
:active
,
513 .tblFooters a
:visited
{
515 text
-decoration
: underline
;
519 .tblFooters a
:hover
{
520 text
-decoration
: none
;
524 /* forbidden, no privilegs */
534 .disabled a
:visited
{
540 text
-decoration
: none
;
545 background
-color
: #cccccc;
552 body
.loginform a
.logo
{
561 body
.loginform div
.container
{
562 text
-align
: <?php
echo $left; ?
>;
568 float: <?php
echo $left; ?
>;
574 /******************************************************************************/
575 /* specific elements */
580 list-style
-type
: none
;
586 float: <?php
echo $left; ?
>;
589 vertical
-align
: middle
;
593 vertical
-align
: middle
;
594 margin
-<?php
echo $right; ?
>: 0.1em
;
597 /* default tab styles */
598 .tab
, .tabcaution
, .tabactive
{
600 margin
: 0.2em
0.2em
0 0.2em
;
601 padding
: 0.2em
0.2em
0 0.2em
;
610 /* disabled drop/empty tabs */
615 /* enabled drop/empty tabs */
621 background
-color
: #FF0000;
624 <?php
if ($GLOBALS['cfg']['LightTabs']) { ?
>
632 padding
: 0.1em
0.3em
0.1em
0.3em
;
636 border
-bottom
: 1pt solid black
;
639 /* default tab styles */
640 .tab
, .tabcaution
, .tabactive
{
641 background
-color
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
642 border
: 1pt solid
<?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
644 border
-top
-left
-radius
: 0.4em
;
645 border
-top
-right
-radius
: 0.4em
;
648 /* enabled hover/active tabs */
654 padding
: 0.2em
0.4em
0.2em
0.4em
;
655 text
-decoration
: none
;
660 background
-color
: <?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
663 /* to be able to cancel the bottom border, use <li class="active"> */
664 ul
#topmenu li.active {
665 border
-bottom
: 1pt solid
<?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
668 /* disabled drop/empty tabs */
672 cursor
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>error
.ico
), default;
685 table
.calendar td a
{
689 table
.calendar td a
:hover
{
690 background
-color
: #CCFFCC;
694 background
-color
: #D3DCE3;
697 table
.calendar td
.selected
{
698 background
-color
: #FFCC99;
711 div
#tablestatistics {
712 border
-bottom
: 0.1em solid
#669999;
713 margin
-bottom
: 0.5em
;
714 padding
-bottom
: 0.5em
;
717 div
#tablestatistics table {
718 float: <?php
echo $left; ?
>;
719 margin
-bottom
: 0.5em
;
720 margin
-<?php
echo $right; ?
>: 0.5em
;
723 div
#tablestatistics table caption {
724 margin
-<?php
echo $right; ?
>: 0.5em
;
726 /* END table stats */
729 /* server privileges */
731 #tablespecificuserrights td,
733 vertical
-align
: middle
;
735 /* END server privileges */
742 margin
-bottom
: 0.5em
;
749 #span_table_comment {
756 margin
: 0 0.1em
0 0.1em
;
759 /* some styles for IDs: */
763 padding
: 0 10px
0 10px
;
769 padding
: 0 10px
0 10px
;
775 padding
: 0 10px
0 10px
;
789 font
-family
: "Courier New", Courier
, mono
;
800 background
-color
: #ffffcc;
802 border
: 0.1em solid
#000000;
806 /* user privileges */
807 #fieldset_add_user_login div.item {
808 border
-bottom
: 1px solid silver
;
809 padding
-bottom
: 0.3em
;
810 margin
-bottom
: 0.3em
;
813 #fieldset_add_user_login label {
814 float: <?php
echo $left; ?
>;
818 text
-align
: <?php
echo $right; ?
>;
819 padding
-<?php
echo $right; ?
>: 0.5em
;
822 #fieldset_add_user_login span.options #select_pred_username,
823 #fieldset_add_user_login span.options #select_pred_hostname,
824 #fieldset_add_user_login span.options #select_pred_password {
829 #fieldset_add_user_login span.options {
830 float: <?php
echo $left; ?
>;
834 padding
-<?php
echo $right; ?
>: 0.5em
;
837 #fieldset_add_user_login input {
839 clear
: <?php
echo $right; ?
>;
843 #fieldset_add_user_login span.options input {
847 #fieldset_user_priv div.item {
848 float: <?php
echo $left; ?
>;
853 #fieldset_user_priv div.item div.item {
857 #fieldset_user_priv div.item label {
861 #fieldset_user_priv div.item select {
865 #fieldset_user_global_rights fieldset {
866 float: <?php
echo $left; ?
>;
868 /* END user privileges */
872 div
#serverstatus table caption a.top {
873 float: <?php
echo $right; ?
>;
876 div
#serverstatus div#serverstatusqueriesdetails table,
877 div
#serverstatus table#serverstatustraffic,
878 div
#serverstatus table#serverstatusconnections {
879 float: <?php
echo $left; ?
>;
882 #serverstatussection,
886 div
#serverstatussection table {
890 div
#serverstatussection table .name {
893 div
#serverstatussection table .value {
897 div
#serverstatus table tbody td.descr a,
898 div
#serverstatus table .tblFooters a {
901 div
#serverstatus div#statuslinks a:before,
902 div
#serverstatus div#sectionlinks a:before,
903 div
#serverstatus table tbody td.descr a:before,
904 div
#serverstatus table .tblFooters a:before {
907 div
#serverstatus div#statuslinks a:after,
908 div
#serverstatus div#sectionlinks a:after,
909 div
#serverstatus table tbody td.descr a:after,
910 div
#serverstatus table .tblFooters a:after {
913 /* end serverstatus */
916 body
#bodyquerywindow {
919 background
-image
: none
;
920 background
-color
: #F5F5F5;
923 div
#querywindowcontainer {
929 div
#querywindowcontainer fieldset {
932 /* END querywindow */
937 div
#sqlquerycontainer {
938 float: <?php
echo $left; ?
>;
943 div
#tablefieldscontainer {
944 float: <?php
echo $right; ?
>;
949 div
#tablefieldscontainer select {
959 div
#queryboxcontainer div#bookmarkoptions {
966 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>logo_right
.png
);
967 background
-position
: <?php
echo $right; ?
> bottom
;
968 background
-repeat
: no
-repeat
;
969 border
-bottom
: 1px solid silver
;
972 #mysqlmaininformation,
973 #pmamaininformation {
974 float: <?php
echo $left; ?
>;
979 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>item_
<?php
echo $GLOBALS['text_dir']; ?
>.png
);
980 vertical
-align
: middle
;
984 margin
-bottom
: 0.3em
;
989 <?php
if ($GLOBALS['cfg']['MainPageIconic']) { ?
>
990 /* iconic view for ul items */
991 li
#li_create_database {
992 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_newdb
.png
);
996 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_lang
.png
);
999 li
#li_select_mysql_collation,
1000 li
#li_select_mysql_charset {
1001 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
1005 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_theme
.png
);
1009 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_host
.png
);
1013 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1017 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_status
.png
);
1020 li
#li_mysql_variables{
1021 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_vars
.png
);
1024 li
#li_mysql_processes{
1025 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_process
.png
);
1028 li
#li_mysql_collations{
1029 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
1032 li
#li_mysql_engines{
1033 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_engine
.png
);
1036 li
#li_mysql_binlogs {
1037 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_tbl
.png
);
1040 li
#li_mysql_databases {
1041 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_db
.png
);
1045 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_export
.png
);
1049 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_import
.png
);
1052 li
#li_change_password {
1053 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_passwd
.png
);
1057 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_loggoff
.png
);
1061 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_docs
.png
);
1065 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>php_sym
.png
);
1068 li
#li_pma_homepage {
1069 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_home
.png
);
1072 li
#li_mysql_privilegs{
1073 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_rights
.png
);
1076 li
#li_switch_dbstats {
1077 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_dbstatistics
.png
);
1080 li
#li_flush_privileges {
1081 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_reload
.png
);
1083 /* END iconic view for ul items */
1084 <?php
} /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?
>
1087 #body_browse_foreigners {
1088 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1089 margin
: 0.5em
0.5em
0 0.5em
;
1093 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1103 border
: 0.1em solid black
;
1106 #bodythemes a:hover img {
1107 border
: 0.1em solid red
;
1110 #fieldset_select_fields {
1111 float: <?php
echo $left; ?
>;
1120 border
-top
: 0.1em solid silver
;
1121 text
-align
: <?php
echo $right; ?
>;
1124 #table_innodb_bufferpool_usage,
1125 #table_innodb_bufferpool_activity {
1126 float: <?php
echo $left; ?
>;
1129 #div_mysql_charset_collations table {
1130 float: <?php
echo $left; ?
>;
1135 float: <?php
echo $left; ?
>;
1140 float: <?php
echo $left; ?
>;
1145 float: <?php
echo $left; ?
>;
1148 #div_table_options {
1151 float: <?php
echo $left; ?
>;
1154 #qbe_div_table_list {
1155 float: <?php
echo $left; ?
>;
1158 #qbe_div_sql_query {
1159 float: <?php
echo $left; ?
>;
1164 float: <?php
echo $left; ?
>;