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 font
-size
: <?php
echo (null !== $_SESSION['PMA_Config']->get('fontsize') ?
$_SESSION['PMA_Config']->get('fontsize') : $_COOKIE['pma_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 (isset($_SESSION['tmp_user_values']['custom_color']) ?
$_SESSION['tmp_user_values']['custom_color'] : $GLOBALS['cfg']['MainBackground']); ?
>;
36 <?php
if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?
>
37 textarea
, tt
, pre
, code
{
38 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamilyFixed']; ?
>;
63 text
-decoration
: none
;
68 text
-decoration
: underline
;
83 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
84 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
90 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
91 text
-decoration
: underline
;
96 text
-decoration
: none
;
105 background
-color
: #6666cc;
118 height
: <?php
echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?
>em
;
123 border
: #666699 solid 1px;
132 background
: <?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
135 padding
: 2px
2px
2px
2px
;
138 /* buttons in some browsers (eg. Konqueror) are block elements,
139 this breaks design */
147 padding
: 0.1em
0.5em
0.1em
0.5em
;
156 vertical
-align
: middle
;
160 /******************************************************************************/
163 border
: 1px solid
#000000;
168 fieldset
.tblFooters
{
170 margin
-bottom
: 0.5em
;
171 /* avoid a thick line since this should be used under another fieldset */
173 text
-align
: <?php
echo $right; ?
>;
178 fieldset
.formelement
{
179 float: <?php
echo $left; ?
>;
180 margin
-<?php
echo $right; ?
>: 0.5em
;
185 /* revert for Gecko */
186 fieldset div
[class=formelement
] {
192 background
-color
: transparent
;
195 /* odd items 1,3,5,7,... */
198 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
201 /* even items 2,4,6,8,... */
204 background
: <?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
207 /* odd table rows 1,3,5,7,... */
210 background
-image
: none
;
211 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
212 text
-align
: <?php
echo $left; ?
>;
215 /* even table rows 2,4,6,8,... */
218 background
-image
: none
;
219 background
: <?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
220 text
-align
: <?php
echo $left; ?
>;
223 <?php
if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?
>
224 /* marked table rows */
227 background
: <?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
228 color
: <?php
echo $GLOBALS['cfg']['BrowseMarkerColor']; ?
>;
232 <?php
if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?
>
237 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
238 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
241 /* hovered table rows */
242 table tr
.odd
:hover th
,
243 table tr
.even
:hover th
,
245 background
: <?php
echo $GLOBALS['cfg']['BrowsePointerBackground']; ?
>;
246 color
: <?php
echo $GLOBALS['cfg']['BrowsePointerColor']; ?
>;
251 * marks table rows/cells if the db field is in a where condition
257 border
: 1px solid
<?php
echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?
>;
261 text
-align
: <?php
echo $right; ?
>;
264 /* IE doesnt handles 'pre' right */
265 table
[class=value
] {
270 <?php
if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?
>
272 font
-family
: <?php
echo $GLOBALS['cfg']['FontFamilyFixed']; ?
>;
291 background
-color
: #FFFFFF;
293 border
: 1px solid
#000000;
308 border
: 1px dashed
#000000;
326 .syntax_digit_integer
{
329 .syntax_digit_float
{
338 .syntax_alpha_columnType
{
339 text
-transform
: uppercase
;
342 .syntax_alpha_columnAttrib
{
343 text
-transform
: uppercase
;
346 .syntax_alpha_reservedWord
{
347 text
-transform
: uppercase
;
351 .syntax_alpha_functionName
{
352 text
-transform
: uppercase
;
355 .syntax_alpha_identifier
{
358 .syntax_alpha_charset
{
361 .syntax_alpha_variable
{
368 .syntax_quote_backtick
{
371 /* leave some space between icons and text */
373 vertical
-align
: middle
;
377 /* no extra space in table cells */
383 margin
-<?php
echo $right; ?
>: 0.3em
;
384 margin
-<?php
echo $left; ?
>: 0.6em
;
387 /* message boxes: warning, error, confirmation */
392 border
-bottom
: 2px solid
;
394 text
-align
: <?php
echo $left; ?
>;
405 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
406 background
-repeat
: no
-repeat
;
407 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
408 background
-position
: 10px
50%
;
409 padding
: 0.1em
0.1em
0.1em
36px
;
411 background
-position
: 99%
50%
;
412 padding
: 10px
5%
10px
10px
;
421 background
-color
: #f0fff0;
425 border
-color
: #00FF00;
426 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
427 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_success
.png
);
431 border
-color
: #00FF00;
436 background
-color
: #FFFFDD;
440 border
-color
: #FFD700;
441 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
442 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_notice
.png
);
446 border
-color
: #FFD700;
451 background
-color
: #FFFFCC;
456 border
-color
: #CC0000;
457 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
458 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_warn
.png
);
462 border
-color
: #cc0000;
466 background
-color
: #FFFFCC;
472 border
-color
: #ff0000;
473 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
474 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_error
.png
);
478 border
-color
: #ff0000;
482 background
-color
: #FFFFCC;
484 fieldset
.confirmation
{
485 border
: 0.1em solid
#FF0000;
487 fieldset
.confirmation legend
{
488 border
-left
: 0.1em solid
#FF0000;
489 border
-right
: 0.1em solid
#FF0000;
491 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
492 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_really
.png
);
493 background
-repeat
: no
-repeat
;
494 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
495 background
-position
: 5px
50%
;
496 padding
: 0.2em
0.2em
0.2em
25px
;
498 background
-position
: 97%
50%
;
499 padding
: 0.2em
25px
0.2em
0.2em
;
503 /* end messageboxes */
513 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
514 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
520 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
521 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
525 .tblHeaders a
:active
,
526 .tblHeaders a
:visited
,
531 .tblFooters a
:active
,
532 .tblFooters a
:visited
{
534 text
-decoration
: underline
;
539 .tblFooters a
:hover
{
540 text
-decoration
: none
;
544 /* forbidden, no privilegs */
554 .disabled a
:visited
{
560 text
-decoration
: none
;
565 background
-color
: #cccccc;
572 body
.loginform a
.logo
{
581 body
.loginform div
.container
{
582 text
-align
: <?php
echo $left; ?
>;
588 float: <?php
echo $left; ?
>;
594 /******************************************************************************/
595 /* specific elements */
600 list-style
-type
: none
;
606 float: <?php
echo $left; ?
>;
609 vertical
-align
: middle
;
613 vertical
-align
: middle
;
614 margin
-<?php
echo $right; ?
>: 0.1em
;
617 /* default tab styles */
618 .tab
, .tabcaution
, .tabactive
{
620 margin
: 0.2em
0.2em
0 0.2em
;
621 padding
: 0.2em
0.2em
0 0.2em
;
630 /* disabled drop/empty tabs */
635 /* enabled drop/empty tabs */
641 background
-color
: #FF0000;
644 <?php
if ($GLOBALS['cfg']['LightTabs']) { ?
>
652 padding
: 0.1em
0.3em
0.1em
0.3em
;
656 border
-bottom
: 1pt solid black
;
659 /* default tab styles */
660 .tab
, .tabcaution
, .tabactive
{
661 background
-color
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
662 border
: 1pt solid
<?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
664 border
-top
-left
-radius
: 0.4em
;
665 border
-top
-right
-radius
: 0.4em
;
668 /* enabled hover/active tabs */
674 padding
: 0.2em
0.4em
0.2em
0.4em
;
675 text
-decoration
: none
;
680 background
-color
: <?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
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.1em
;
779 /* some styles for IDs: */
783 padding
: 0 10px
0 10px
;
789 padding
: 0 10px
0 10px
;
795 padding
: 0 10px
0 10px
;
809 font
-family
: "Courier New", Courier
, mono
;
820 background
-color
: #ffffcc;
822 border
: 0.1em solid
#000000;
826 /* user privileges */
827 #fieldset_add_user_login div.item {
828 border
-bottom
: 1px solid silver
;
829 padding
-bottom
: 0.3em
;
830 margin
-bottom
: 0.3em
;
833 #fieldset_add_user_login label {
834 float: <?php
echo $left; ?
>;
838 text
-align
: <?php
echo $right; ?
>;
839 padding
-<?php
echo $right; ?
>: 0.5em
;
842 #fieldset_add_user_login span.options #select_pred_username,
843 #fieldset_add_user_login span.options #select_pred_hostname,
844 #fieldset_add_user_login span.options #select_pred_password {
849 #fieldset_add_user_login span.options {
850 float: <?php
echo $left; ?
>;
854 padding
-<?php
echo $right; ?
>: 0.5em
;
857 #fieldset_add_user_login input {
859 clear
: <?php
echo $right; ?
>;
863 #fieldset_add_user_login span.options input {
867 #fieldset_user_priv div.item {
868 float: <?php
echo $left; ?
>;
873 #fieldset_user_priv div.item div.item {
877 #fieldset_user_priv div.item label {
881 #fieldset_user_priv div.item select {
885 #fieldset_user_global_rights fieldset {
886 float: <?php
echo $left; ?
>;
888 /* END user privileges */
892 div
#serverstatus table caption a.top {
893 float: <?php
echo $right; ?
>;
896 div
#serverstatus div#serverstatusqueriesdetails table,
897 div
#serverstatus table#serverstatustraffic_src,
898 div
#serverstatus table#serverstatustraffic_trg,
899 div
#serverstatus table#serverstatusconnections {
900 float: <?php
echo $left; ?
>;
903 #serverstatussection,
907 div
#serverstatussection table {
911 div
#serverstatussection table .name {
914 div
#serverstatussection table .value {
918 div
#serverstatus table tbody td.descr a,
919 div
#serverstatus table .tblFooters a {
922 div
#serverstatus div#statuslinks a:before,
923 div
#serverstatus div#sectionlinks a:before,
924 div
#serverstatus table tbody td.descr a:before,
925 div
#serverstatus table .tblFooters a:before {
928 div
#serverstatus div#statuslinks a:after,
929 div
#serverstatus div#sectionlinks a:after,
930 div
#serverstatus table tbody td.descr a:after,
931 div
#serverstatus table .tblFooters a:after {
934 /* end serverstatus */
937 body
#bodyquerywindow {
940 background
-image
: none
;
941 background
-color
: #F5F5F5;
944 div
#querywindowcontainer {
950 div
#querywindowcontainer fieldset {
953 /* END querywindow */
958 div
#sqlquerycontainer {
959 float: <?php
echo $left; ?
>;
964 div
#tablefieldscontainer {
965 float: <?php
echo $right; ?
>;
970 div
#tablefieldscontainer select {
980 div
#queryboxcontainer div#bookmarkoptions {
987 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>logo_right
.png
);
988 background
-position
: <?php
echo $right; ?
> bottom
;
989 background
-repeat
: no
-repeat
;
992 #mysqlmaininformation,
993 #pmamaininformation {
994 float: <?php
echo $left; ?
>;
999 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>item_
<?php
echo $GLOBALS['text_dir']; ?
>.png
);
1000 vertical
-align
: middle
;
1004 margin
-bottom
: 0.3em
;
1009 <?php
if ($GLOBALS['cfg']['MainPageIconic']) { ?
>
1010 /* iconic view for ul items */
1011 li
#li_create_database {
1012 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_newdb
.png
);
1016 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_lang
.png
);
1019 li
#li_select_mysql_collation,
1020 li
#li_select_mysql_charset {
1021 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
1025 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_theme
.png
);
1029 li
#li_server_version{
1030 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_host
.png
);
1034 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1038 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_status
.png
);
1041 li
#li_mysql_variables{
1042 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_vars
.png
);
1045 li
#li_mysql_processes{
1046 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_process
.png
);
1049 li
#li_mysql_collations{
1050 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
1053 li
#li_mysql_engines{
1054 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_engine
.png
);
1057 li
#li_mysql_binlogs {
1058 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_tbl
.png
);
1061 li
#li_mysql_databases {
1062 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_db
.png
);
1066 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_export
.png
);
1070 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_import
.png
);
1073 li
#li_change_password {
1074 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_passwd
.png
);
1078 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_loggoff
.png
);
1083 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_docs
.png
);
1087 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>php_sym
.png
);
1090 li
#li_pma_homepage {
1091 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_home
.png
);
1094 li
#li_mysql_privilegs{
1095 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_rights
.png
);
1098 li
#li_switch_dbstats {
1099 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_dbstatistics
.png
);
1102 li
#li_flush_privileges {
1103 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_reload
.png
);
1105 /* END iconic view for ul items */
1106 <?php
} /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?
>
1109 #body_browse_foreigners {
1110 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1111 margin
: 0.5em
0.5em
0 0.5em
;
1115 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1125 border
: 0.1em solid black
;
1128 #bodythemes a:hover img {
1129 border
: 0.1em solid red
;
1132 #fieldset_select_fields {
1133 float: <?php
echo $left; ?
>;
1142 border
-top
: 0.1em solid silver
;
1143 text
-align
: <?php
echo $right; ?
>;
1146 #table_innodb_bufferpool_usage,
1147 #table_innodb_bufferpool_activity {
1148 float: <?php
echo $left; ?
>;
1151 #div_mysql_charset_collations table {
1152 float: <?php
echo $left; ?
>;
1157 float: <?php
echo $left; ?
>;
1162 float: <?php
echo $left; ?
>;
1165 #div_table_copy, #div_partition_maintenance, #div_referential_integrity, #div_table_maintenance {
1167 float: <?php
echo $left; ?
>;
1170 #div_table_options {
1173 float: <?php
echo $left; ?
>;
1176 #qbe_div_table_list {
1177 float: <?php
echo $left; ?
>;
1180 #qbe_div_sql_query {
1181 float: <?php
echo $left; ?
>;
1186 float: <?php
echo $left; ?
>;
1194 border
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
> solid
1px
;
1199 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
1204 float: <?php
echo $left; ?
>;
1209 margin
-<?php
echo $left; ?
>: 60%
;
1211 padding
-<?php
echo $left; ?
>: 1em
;
1215 border
-<?php
echo $left; ?
>: 0.3em solid
<?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
1220 background
-color
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
1221 padding
: 0.1em
0.3em
;
1226 padding
-bottom
: 0.3em
;
1227 border
-bottom
: 0.3em solid
<?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
1228 margin
-bottom
: 0.3em
;
1232 * Progress bar styles
1234 div
.upload_progress_bar_outer
1236 border
: 1px solid black
;
1240 div
.upload_progress_bar_inner
1242 background
-color
: <?php
echo (isset($_SESSION['userconf']['custom_color']) ?
$_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?
>;
1248 table
#serverconnection_src_remote,
1249 table
#serverconnection_trg_remote,
1250 table
#serverconnection_src_local,
1251 table
#serverconnection_trg_local {