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 !== $GLOBALS['PMA_Config']->get('fontsize') ?
$GLOBALS['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;
316 text
-decoration
: none
;
317 border
-bottom
:1px dotted black
;
331 .syntax_digit_integer
{
334 .syntax_digit_float
{
343 .syntax_alpha_columnType
{
344 text
-transform
: uppercase
;
347 .syntax_alpha_columnAttrib
{
348 text
-transform
: uppercase
;
351 .syntax_alpha_reservedWord
{
352 text
-transform
: uppercase
;
356 .syntax_alpha_functionName
{
357 text
-transform
: uppercase
;
360 .syntax_alpha_identifier
{
363 .syntax_alpha_charset
{
366 .syntax_alpha_variable
{
373 .syntax_quote_backtick
{
376 /* leave some space between icons and text */
378 vertical
-align
: middle
;
382 /* no extra space in table cells */
388 margin
-<?php
echo $right; ?
>: 0.3em
;
389 margin
-<?php
echo $left; ?
>: 0.6em
;
392 /* message boxes: warning, error, confirmation */
397 border
-bottom
: 2px solid
;
399 text
-align
: <?php
echo $left; ?
>;
410 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
411 background
-repeat
: no
-repeat
;
412 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
413 background
-position
: 10px
50%
;
414 padding
: 0.1em
0.1em
0.1em
36px
;
416 background
-position
: 99%
50%
;
417 padding
: 10px
5%
10px
10px
;
426 background
-color
: #f0fff0;
430 border
-color
: #00FF00;
431 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
432 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_success
.png
);
436 border
-color
: #00FF00;
441 background
-color
: #FFFFDD;
445 border
-color
: #FFD700;
446 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
447 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_notice
.png
);
451 border
-color
: #FFD700;
456 background
-color
: #FFFFCC;
461 border
-color
: #CC0000;
462 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
463 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_warn
.png
);
467 border
-color
: #cc0000;
471 background
-color
: #FFFFCC;
477 border
-color
: #ff0000;
478 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
479 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_error
.png
);
483 border
-color
: #ff0000;
487 background
-color
: #FFFFCC;
489 fieldset
.confirmation
{
490 border
: 0.1em solid
#FF0000;
492 fieldset
.confirmation legend
{
493 border
-left
: 0.1em solid
#FF0000;
494 border
-right
: 0.1em solid
#FF0000;
496 <?php
if ($GLOBALS['cfg']['ErrorIconic']) { ?
>
497 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_really
.png
);
498 background
-repeat
: no
-repeat
;
499 <?php
if ($GLOBALS['text_dir'] === 'ltr') { ?
>
500 background
-position
: 5px
50%
;
501 padding
: 0.2em
0.2em
0.2em
25px
;
503 background
-position
: 97%
50%
;
504 padding
: 0.2em
25px
0.2em
0.2em
;
508 /* end messageboxes */
518 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
519 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
525 color
: <?php
echo $GLOBALS['cfg']['ThColor']; ?
>;
526 background
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
530 .tblHeaders a
:active
,
531 .tblHeaders a
:visited
,
536 .tblFooters a
:active
,
537 .tblFooters a
:visited
{
539 text
-decoration
: underline
;
544 .tblFooters a
:hover
{
545 text
-decoration
: none
;
549 /* forbidden, no privilegs */
559 .disabled a
:visited
{
565 text
-decoration
: none
;
570 background
-color
: #cccccc;
577 body
.loginform a
.logo
{
586 body
.loginform div
.container
{
587 text
-align
: <?php
echo $left; ?
>;
593 float: <?php
echo $left; ?
>;
599 /******************************************************************************/
600 /* specific elements */
605 list-style
-type
: none
;
611 float: <?php
echo $left; ?
>;
614 vertical
-align
: middle
;
618 vertical
-align
: middle
;
619 margin
-<?php
echo $right; ?
>: 0.1em
;
622 /* default tab styles */
623 .tab
, .tabcaution
, .tabactive
{
625 margin
: 0.2em
0.2em
0 0.2em
;
626 padding
: 0.2em
0.2em
0 0.2em
;
635 /* disabled drop/empty tabs */
640 /* enabled drop/empty tabs */
646 background
-color
: #FF0000;
649 <?php
if ($GLOBALS['cfg']['LightTabs']) { ?
>
657 padding
: 0.1em
0.3em
0.1em
0.3em
;
661 border
-bottom
: 1pt solid black
;
664 /* default tab styles */
665 .tab
, .tabcaution
, .tabactive
{
666 background
-color
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
667 border
: 1pt solid
<?php
echo $GLOBALS['cfg']['BgTwo']; ?
>;
669 -moz
-border
-radius
: 0.4em
0.4em
0 0;
670 border
-radius
: 0.4em
0.4em
0 0;
673 /* enabled hover/active tabs */
679 padding
: 0.2em
0.4em
0.2em
0.4em
;
680 text
-decoration
: none
;
685 background
-color
: <?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
688 /* to be able to cancel the bottom border, use <li class="active"> */
689 ul
#topmenu li.active {
690 border
-bottom
: 1pt solid
<?php
echo $GLOBALS['cfg']['MainBackground']; ?
>;
693 /* disabled drop/empty tabs */
697 cursor
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>error
.ico
), default;
710 table
.calendar td a
{
714 table
.calendar td a
:hover
{
715 background
-color
: #CCFFCC;
719 background
-color
: #D3DCE3;
722 table
.calendar td
.selected
{
723 background
-color
: #FFCC99;
736 div
#tablestatistics {
737 border
-bottom
: 0.1em solid
#669999;
738 margin
-bottom
: 0.5em
;
739 padding
-bottom
: 0.5em
;
742 div
#tablestatistics table {
743 float: <?php
echo $left; ?
>;
744 margin
-bottom
: 0.5em
;
745 margin
-<?php
echo $right; ?
>: 0.5em
;
748 div
#tablestatistics table caption {
749 margin
-<?php
echo $right; ?
>: 0.5em
;
751 /* END table stats */
754 /* server privileges */
756 #tablespecificuserrights td,
758 vertical
-align
: middle
;
760 /* END server privileges */
767 margin
-bottom
: 0.5em
;
774 #span_table_comment {
781 margin
: 0 0.1em
0 0.1em
;
784 /* some styles for IDs: */
788 padding
: 0 10px
0 10px
;
794 padding
: 0 10px
0 10px
;
800 padding
: 0 10px
0 10px
;
814 font
-family
: "Courier New", Courier
, mono
;
825 background
-color
: #ffffcc;
827 border
: 0.1em solid
#000000;
831 /* user privileges */
832 #fieldset_add_user_login div.item {
833 border
-bottom
: 1px solid silver
;
834 padding
-bottom
: 0.3em
;
835 margin
-bottom
: 0.3em
;
838 #fieldset_add_user_login label {
839 float: <?php
echo $left; ?
>;
843 text
-align
: <?php
echo $right; ?
>;
844 padding
-<?php
echo $right; ?
>: 0.5em
;
847 #fieldset_add_user_login span.options #select_pred_username,
848 #fieldset_add_user_login span.options #select_pred_hostname,
849 #fieldset_add_user_login span.options #select_pred_password {
854 #fieldset_add_user_login span.options {
855 float: <?php
echo $left; ?
>;
859 padding
-<?php
echo $right; ?
>: 0.5em
;
862 #fieldset_add_user_login input {
864 clear
: <?php
echo $right; ?
>;
868 #fieldset_add_user_login span.options input {
872 #fieldset_user_priv div.item {
873 float: <?php
echo $left; ?
>;
878 #fieldset_user_priv div.item div.item {
882 #fieldset_user_priv div.item label {
886 #fieldset_user_priv div.item select {
890 #fieldset_user_global_rights fieldset {
891 float: <?php
echo $left; ?
>;
893 /* END user privileges */
897 div
#serverstatus table caption a.top {
898 float: <?php
echo $right; ?
>;
901 div
#serverstatus div#serverstatusqueriesdetails table,
902 div
#serverstatus table#serverstatustraffic_src,
903 div
#serverstatus table#serverstatustraffic_trg,
904 div
#serverstatus table#serverstatusconnections {
905 float: <?php
echo $left; ?
>;
908 #serverstatussection,
912 div
#serverstatussection table {
916 div
#serverstatussection table .name {
919 div
#serverstatussection table .value {
923 div
#serverstatus table tbody td.descr a,
924 div
#serverstatus table .tblFooters a {
927 div
#serverstatus div#statuslinks a:before,
928 div
#serverstatus div#sectionlinks a:before,
929 div
#serverstatus table tbody td.descr a:before,
930 div
#serverstatus table .tblFooters a:before {
933 div
#serverstatus div#statuslinks a:after,
934 div
#serverstatus div#sectionlinks a:after,
935 div
#serverstatus table tbody td.descr a:after,
936 div
#serverstatus table .tblFooters a:after {
939 /* end serverstatus */
942 body
#bodyquerywindow {
945 background
-image
: none
;
946 background
-color
: #F5F5F5;
949 div
#querywindowcontainer {
955 div
#querywindowcontainer fieldset {
958 /* END querywindow */
963 div
#sqlquerycontainer {
964 float: <?php
echo $left; ?
>;
969 div
#tablefieldscontainer {
970 float: <?php
echo $right; ?
>;
975 div
#tablefieldscontainer select {
984 textarea
#sql_query_edit{
989 div
#queryboxcontainer div#bookmarkoptions {
996 background
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>logo_right
.png
);
997 background
-position
: <?php
echo $right; ?
> bottom
;
998 background
-repeat
: no
-repeat
;
1001 #mysqlmaininformation,
1002 #pmamaininformation {
1003 float: <?php
echo $left; ?
>;
1008 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>item_
<?php
echo $GLOBALS['text_dir']; ?
>.png
);
1009 vertical
-align
: middle
;
1013 margin
-bottom
: 0.3em
;
1018 <?php
if ($GLOBALS['cfg']['MainPageIconic']) { ?
>
1019 /* iconic view for ul items */
1020 li
#li_create_database {
1021 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_newdb
.png
);
1025 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_lang
.png
);
1028 li
#li_select_mysql_collation,
1029 li
#li_select_mysql_charset {
1030 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
1034 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_theme
.png
);
1038 li
#li_server_version{
1039 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_host
.png
);
1043 /* list-style-image: url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1047 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_status
.png
);
1050 li
#li_mysql_variables{
1051 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_vars
.png
);
1054 li
#li_mysql_processes{
1055 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_process
.png
);
1058 li
#li_mysql_collations{
1059 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_asci
.png
);
1062 li
#li_mysql_engines{
1063 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_engine
.png
);
1066 li
#li_mysql_binlogs {
1067 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_tbl
.png
);
1070 li
#li_mysql_databases {
1071 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_db
.png
);
1075 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_export
.png
);
1079 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_import
.png
);
1082 li
#li_change_password {
1083 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_passwd
.png
);
1087 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_loggoff
.png
);
1092 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_docs
.png
);
1096 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>php_sym
.png
);
1099 li
#li_pma_homepage {
1100 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_home
.png
);
1103 li
#li_mysql_privilegs{
1104 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_rights
.png
);
1107 li
#li_switch_dbstats {
1108 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>b_dbstatistics
.png
);
1111 li
#li_flush_privileges {
1112 list-style
-image
: url(<?php
echo $_SESSION['PMA_Theme']->getImgPath(); ?
>s_reload
.png
);
1114 /* END iconic view for ul items */
1115 <?php
} /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?
>
1118 #body_browse_foreigners {
1119 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1120 margin
: 0.5em
0.5em
0 0.5em
;
1124 background
: <?php
echo $GLOBALS['cfg']['NaviBackground']; ?
>;
1134 border
: 0.1em solid black
;
1137 #bodythemes a:hover img {
1138 border
: 0.1em solid red
;
1141 #fieldset_select_fields {
1142 float: <?php
echo $left; ?
>;
1151 border
-top
: 0.1em solid silver
;
1152 text
-align
: <?php
echo $right; ?
>;
1155 #table_innodb_bufferpool_usage,
1156 #table_innodb_bufferpool_activity {
1157 float: <?php
echo $left; ?
>;
1160 #div_mysql_charset_collations table {
1161 float: <?php
echo $left; ?
>;
1166 float: <?php
echo $left; ?
>;
1171 float: <?php
echo $left; ?
>;
1174 #div_table_copy, #div_partition_maintenance, #div_referential_integrity, #div_table_maintenance {
1176 float: <?php
echo $left; ?
>;
1179 #div_table_options {
1182 float: <?php
echo $left; ?
>;
1185 #qbe_div_table_list {
1186 float: <?php
echo $left; ?
>;
1189 #qbe_div_sql_query {
1190 float: <?php
echo $left; ?
>;
1195 float: <?php
echo $left; ?
>;
1203 border
: <?php
echo $GLOBALS['cfg']['MainColor']; ?
> solid
1px
;
1208 background
: <?php
echo $GLOBALS['cfg']['BgOne']; ?
>;
1213 float: <?php
echo $left; ?
>;
1218 margin
-<?php
echo $left; ?
>: 60%
;
1220 padding
-<?php
echo $left; ?
>: 1em
;
1224 border
-<?php
echo $left; ?
>: 0.3em solid
<?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
1229 background
-color
: <?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
1230 padding
: 0.1em
0.3em
;
1234 /* for elements that should be revealed only via js */
1240 padding
-bottom
: 0.3em
;
1241 border
-bottom
: 0.3em solid
<?php
echo $GLOBALS['cfg']['ThBackground']; ?
>;
1242 margin
-bottom
: 0.3em
;
1246 * Progress bar styles
1248 div
.upload_progress_bar_outer
1250 border
: 1px solid black
;
1254 div
.upload_progress_bar_inner
1256 background
-color
: <?php
echo (isset($_SESSION['userconf']['custom_color']) ?
$_SESSION['userconf']['custom_color'] : $GLOBALS['cfg']['NaviBackground']); ?
>;
1262 table
#serverconnection_src_remote,
1263 table
#serverconnection_trg_remote,
1264 table
#serverconnection_src_local,
1265 table
#serverconnection_trg_local {
1273 #clear_fast_filter {
1288 * Validation error message styles