2
// unplanned execution path
3
if (!defined('PMA_MINIMUM_COMMON')) {
7
/******************************************************************************/
10
<?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
11
font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
15
color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
16
background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
19
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
20
textarea, tt, pre, code {
21
font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
47
text-decoration: none;
52
text-decoration: underline;
67
color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
68
background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
74
color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
75
text-decoration: underline;
80
text-decoration: none;
89
background-color: #6666cc;
106
border: #666699 solid 1px;
117
background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
118
padding: 2px 2px 2px 2px;
121
/* buttons in some browsers (eg. Konqueror) are block elements,
122
this breaks design */
130
padding: 0.1em 0.5em 0.1em 0.5em;
139
vertical-align: middle;
143
/******************************************************************************/
146
fieldset.tblFooters {
148
margin-bottom: 0.5em;
149
text-align: <?php echo $right; ?>;
154
fieldset .formelement {
155
float: <?php echo $left; ?>;
156
margin-<?php echo $right; ?>: 0.5em;
161
/* revert for Gecko */
162
fieldset div[class=formelement] {
168
background-color: transparent;
171
/* odd items 1,3,5,7,... */
173
background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
176
/* even items 2,4,6,8,... */
178
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
181
/* odd table rows 1,3,5,7,... */
184
background-image: none;
185
background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
186
text-align: <?php echo $left; ?>;
189
/* even table rows 2,4,6,8,... */
192
background-image: none;
193
background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
194
text-align: <?php echo $left; ?>;
197
<?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
198
/* marked table rows */
201
background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
202
color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
206
<?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
211
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
212
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
215
/* hovered table rows */
216
table tr.odd:hover th,
217
table tr.even:hover th,
219
background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
220
color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
225
* marks table rows/cells if the db field is in a where condition
231
border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
235
text-align: <?php echo $right; ?>;
238
/* IE doesnt handles 'pre' right */
239
table [class=value] {
244
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
246
font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
265
background-color: #FFFFFF;
267
border: 1px solid #000000;
282
border: 1px dashed #000000;
300
.syntax_digit_integer {
303
.syntax_digit_float {
312
.syntax_alpha_columnType {
313
text-transform: uppercase;
316
.syntax_alpha_columnAttrib {
317
text-transform: uppercase;
320
.syntax_alpha_reservedWord {
321
text-transform: uppercase;
325
.syntax_alpha_functionName {
326
text-transform: uppercase;
329
.syntax_alpha_identifier {
332
.syntax_alpha_charset {
335
.syntax_alpha_variable {
342
.syntax_quote_backtick {
345
/* leave some space between icons and text */
347
vertical-align: middle;
351
/* no extra space in table cells */
357
margin-<?php echo $right; ?>: 0.3em;
358
margin-<?php echo $left; ?>: 0.6em;
361
/* message boxes: warning, error, confirmation */
364
background-color: #FFFFDD;
368
margin: 0.5em 0 0.5em 0;
369
border: 0.1em solid #FFD700;
371
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
372
background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_notice.png);
373
background-repeat: no-repeat;
374
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?>
375
background-position: 10px 50%;
376
padding: 10px 10px 10px 36px;
378
background-position: 99% 50%;
379
padding: 10px 5% 10px 10px;
386
border-bottom: 0.1em solid #FFD700;
388
text-align: <?php echo $left; ?>;
394
background-color: #FFFFCC;
399
margin: 0.5em 0 0.5em 0;
400
border: 0.1em solid #CC0000;
402
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
403
background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_warn.png);
404
background-repeat: no-repeat;
405
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?>
406
background-position: 10px 50%;
407
padding: 10px 10px 10px 36px;
409
background-position: 99% 50%;
410
padding: 10px 5% 10px 10px;
417
border-bottom: 0.1em solid #cc0000;
419
text-align: <?php echo $left; ?>;
424
background-color: #FFFFCC;
430
margin: 0.5em 0 0.5em 0;
431
border: 0.1em solid #ff0000;
433
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
434
background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_error.png);
435
background-repeat: no-repeat;
436
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?>
437
background-position: 10px 50%;
438
padding: 10px 10px 10px 36px;
440
background-position: 99% 50%;
441
padding: 10px 5% 10px 10px;
448
border-bottom: 0.1em solid #ff0000;
450
text-align: <?php echo $left; ?>;
455
background-color: #FFFFCC;
457
fieldset.confirmation {
458
border: 0.1em solid #FF0000;
460
fieldset.confirmation legend {
461
border-left: 0.1em solid #FF0000;
462
border-right: 0.1em solid #FF0000;
464
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
465
background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_really.png);
466
background-repeat: no-repeat;
467
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) { ?>
468
background-position: 5px 50%;
469
padding: 0.2em 0.2em 0.2em 25px;
471
background-position: 97% 50%;
472
padding: 0.2em 25px 0.2em 0.2em;
476
/* end messageboxes */
486
color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
487
background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
492
color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
493
background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
498
.tblHeaders a:active,
499
.tblHeaders a:visited,
501
.tblFooters a:active,
502
.tblFooters a:visited {
504
text-decoration: underline;
508
.tblFooters a:hover {
509
text-decoration: none;
513
/* forbidden, no privilegs */
523
.disabled a:visited {
529
text-decoration: none;
534
background-color: #cccccc;
541
body.loginform a.logo {
550
body.loginform div.container {
551
text-align: <?php echo $left; ?>;
557
float: <?php echo $left; ?>;
563
/******************************************************************************/
564
/* specific elements */
569
list-style-type: none;
575
float: <?php echo $left; ?>;
578
vertical-align: middle;
582
vertical-align: middle;
583
margin-<?php echo $right; ?>: 0.1em;
586
/* default tab styles */
587
.tab, .tabcaution, .tabactive {
589
margin: 0.2em 0.2em 0 0.2em;
590
padding: 0.2em 0.2em 0 0.2em;
599
/* disabled drop/empty tabs */
604
/* enabled drop/empty tabs */
610
background-color: #FF0000;
613
<?php if ( $GLOBALS['cfg']['LightTabs'] ) { ?>
621
padding: 0.1em 0.3em 0.1em 0.3em;
625
border-bottom: 1pt solid black;
628
/* default tab styles */
629
.tab, .tabcaution, .tabactive {
630
background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
631
border: 1pt solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
633
border-top-left-radius: 0.4em;
634
border-top-right-radius: 0.4em;
637
/* enabled hover/active tabs */
643
padding: 0.2em 0.4em 0.2em 0.4em;
644
text-decoration: none;
649
background-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
652
/* disabled drop/empty tabs */
656
cursor: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>error.ico), default;
669
table.calendar td a {
673
table.calendar td a:hover {
674
background-color: #CCFFCC;
678
background-color: #D3DCE3;
681
table.calendar td.selected {
682
background-color: #FFCC99;
695
div#tablestatistics {
696
border-bottom: 0.1em solid #669999;
697
margin-bottom: 0.5em;
698
padding-bottom: 0.5em;
701
div#tablestatistics table {
702
float: <?php echo $left; ?>;
703
margin-bottom: 0.5em;
704
margin-<?php echo $right; ?>: 0.5em;
707
div#tablestatistics table caption {
708
margin-<?php echo $right; ?>: 0.5em;
710
/* END table stats */
713
/* server privileges */
715
#tablespecificuserrights td,
717
vertical-align: middle;
719
/* END server privileges */
726
margin-bottom: 0.5em;
733
#span_table_comment {
740
margin: 0 0.1em 0 0.1em;
743
/* some styles for IDs: */
747
padding: 0 10px 0 10px;
753
padding: 0 10px 0 10px;
759
padding: 0 10px 0 10px;
773
font-family: "Courier New", Courier, mono;
784
background-color: #ffffcc;
786
border: 0.1em solid #000000;
790
/* user privileges */
791
#fieldset_add_user_login div.item {
792
border-bottom: 1px solid silver;
793
padding-bottom: 0.3em;
794
margin-bottom: 0.3em;
797
#fieldset_add_user_login label {
798
float: <?php echo $left; ?>;
802
text-align: <?php echo $right; ?>;
803
padding-<?php echo $right; ?>: 0.5em;
806
#fieldset_add_user_login span.options #select_pred_username,
807
#fieldset_add_user_login span.options #select_pred_hostname,
808
#fieldset_add_user_login span.options #select_pred_password {
813
#fieldset_add_user_login span.options {
814
float: <?php echo $left; ?>;
818
padding-<?php echo $right; ?>: 0.5em;
821
#fieldset_add_user_login input {
823
clear: <?php echo $right; ?>;
827
#fieldset_add_user_login span.options input {
831
#fieldset_user_priv div.item {
832
float: <?php echo $left; ?>;
837
#fieldset_user_priv div.item div.item {
841
#fieldset_user_priv div.item label {
845
#fieldset_user_priv div.item select {
849
#fieldset_user_global_rights fieldset {
850
float: <?php echo $left; ?>;
852
/* END user privileges */
856
div#serverstatus table caption a.top {
857
float: <?php echo $right; ?>;
860
div#serverstatus div#serverstatusqueriesdetails table,
861
div#serverstatus table#serverstatustraffic,
862
div#serverstatus table#serverstatusconnections {
863
float: <?php echo $left; ?>;
866
#serverstatussection,
870
div#serverstatussection table {
874
div#serverstatussection table .name {
877
div#serverstatussection table .value {
881
div#serverstatus table tbody td.descr a,
882
div#serverstatus table .tblFooters a {
885
div#serverstatus div#statuslinks a:before,
886
div#serverstatus div#sectionlinks a:before,
887
div#serverstatus table tbody td.descr a:before,
888
div#serverstatus table .tblFooters a:before {
891
div#serverstatus div#statuslinks a:after,
892
div#serverstatus div#sectionlinks a:after,
893
div#serverstatus table tbody td.descr a:after,
894
div#serverstatus table .tblFooters a:after {
897
/* end serverstatus */
900
body#bodyquerywindow {
903
background-image: none;
904
background-color: #F5F5F5;
907
div#querywindowcontainer {
913
div#querywindowcontainer fieldset {
916
/* END querywindow */
921
div#sqlquerycontainer {
922
float: <?php echo $left; ?>;
927
div#tablefieldscontainer {
928
float: <?php echo $right; ?>;
933
div#tablefieldscontainer select {
943
div#queryboxcontainer div#bookmarkoptions {
950
background-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>logo_right.png);
951
background-position: <?php echo $right; ?> bottom;
952
background-repeat: no-repeat;
953
border-bottom: 1px solid silver;
956
#mysqlmaininformation,
957
#pmamaininformation {
958
float: <?php echo $left; ?>;
963
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>item_<?php echo $GLOBALS['text_dir']; ?>.png);
964
vertical-align: middle;
968
margin-bottom: 0.3em;
973
<?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
974
/* iconic view for ul items */
975
li#li_create_database {
976
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_newdb.png);
980
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
983
li#li_select_mysql_collation,
984
li#li_select_mysql_charset {
985
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
989
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
993
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
997
/* list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
1001
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
1004
li#li_mysql_variables{
1005
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
1008
li#li_mysql_processes{
1009
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
1012
li#li_mysql_collations{
1013
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
1016
li#li_mysql_engines{
1017
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
1020
li#li_mysql_binlogs {
1021
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
1024
li#li_mysql_databases {
1025
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
1029
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
1033
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
1036
li#li_change_password {
1037
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
1041
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
1045
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_docs.png);
1049
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>php_sym.png);
1052
li#li_pma_homepage {
1053
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_home.png);
1056
li#li_mysql_privilegs{
1057
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
1060
li#li_switch_dbstats {
1061
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
1064
li#li_flush_privileges {
1065
list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
1067
/* END iconic view for ul items */
1068
<?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
1071
#body_browse_foreigners {
1072
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1073
margin: 0.5em 0.5em 0 0.5em;
1077
background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1087
border: 0.1em solid black;
1090
#bodythemes a:hover img {
1091
border: 0.1em solid red;
1094
#fieldset_select_fields {
1095
float: <?php echo $left; ?>;
1104
border-top: 0.1em solid silver;
1105
text-align: <?php echo $right; ?>;
1108
#table_innodb_bufferpool_usage,
1109
#table_innodb_bufferpool_activity {
1110
float: <?php echo $left; ?>;
1113
#div_mysql_charset_collations table {
1114
float: <?php echo $left; ?>;
1119
float: <?php echo $left; ?>;
1124
float: <?php echo $left; ?>;
1129
float: <?php echo $left; ?>;
1132
#div_table_options {
1135
float: <?php echo $left; ?>;
1138
#qbe_div_table_list {
1139
float: <?php echo $left; ?>;
1142
#qbe_div_sql_query {
1143
float: <?php echo $left; ?>;
1148
float: <?php echo $left; ?>;