Passed
Push — master ( 003da0...69fb1d )
by William
07:21
created

themes/original/css/common.css.php (1 issue)

Severity
1
<?php
2
/* vim: set expandtab sw=4 ts=4 sts=4: */
3
/**
4
 * Common styles for the original theme
5
 *
6
 * @package    PhpMyAdmin-theme
7
 * @subpackage Original
8
 */
9
declare(strict_types=1);
10
11
// unplanned execution path
12
if (! defined('PHPMYADMIN') && ! defined('TESTSUITE')) {
13
    exit();
14
}
15
?>
16
/******************************************************************************/
17
18
/* general tags */
19
html {
20
    font-size: 82%;
21
}
22
23
input,
24
select,
25
textarea {
26
    font-size: 1em;
27
}
28
29
30
body {
31
<?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
32
    font-family:        <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
33
    <?php
34
}
35
?>
36
    padding:            0;
37
    margin: 0;
38
    margin-<?php echo $left; ?>: 240px;
39
    color:              <?php echo $GLOBALS['cfg']['MainColor']; ?>;
40
    background:         <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
41
}
42
43
body#loginform {
44
    margin: 0;
45
}
46
47
#page_content {
48
    margin: 0 .5em;
49
}
50
51
.desktop50 {
52
    width: 50%;
53
}
54
55
.all100 {
56
    width: 100%;
57
}
58
59
.all85{
60
    width: 85%;
61
}
62
63
.auth_config_tbl{
64
    margin: 0 auto;
65
}
66
67
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
68
    textarea, tt, pre, code {
69
    font-family:        <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
70
    }
71
    <?php
72
}
73
?>
74
h1 {
75
    font-size:          140%;
76
    font-weight:        bold;
77
}
78
79
h2 {
80
    font-size:          120%;
81
    font-weight:        bold;
82
}
83
84
h3 {
85
    font-weight:        bold;
86
}
87
88
a, a:link,
89
a:visited,
90
a:active,
91
button.mult_submit,
92
.checkall_box+label {
93
    text-decoration:    none;
94
    color:              #0000FF;
95
    cursor:             pointer;
96
}
97
98
a:hover,
99
button.mult_submit:hover,
100
button.mult_submit:focus,
101
.checkall_box+label:hover {
102
    text-decoration:    underline;
103
    color:              #FF0000;
104
}
105
106
dfn {
107
    font-style:         normal;
108
}
109
110
dfn:hover {
111
    font-style:         normal;
112
    cursor:             help;
113
}
114
115
th {
116
    font-weight:        bold;
117
    color:              <?php echo $GLOBALS['cfg']['ThColor']; ?>;
118
    background:         <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
119
}
120
121
a img {
122
    border:             0;
123
}
124
125
hr {
126
    color:              <?php echo $GLOBALS['cfg']['MainColor']; ?>;
127
    background-color:   <?php echo $GLOBALS['cfg']['MainColor']; ?>;
128
    border:             0;
129
    height:             1px;
130
}
131
132
form {
133
    padding:            0;
134
    margin:             0;
135
    display:            inline;
136
}
137
138
textarea {
139
    overflow:           visible;
140
}
141
142
th.fillPage {
143
    width: 80%;
144
}
145
146
textarea.charField {
147
    width: 95%;
148
}
149
150
fieldset {
151
    margin-top:         1em;
152
    border:             <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
153
    padding:            0.5em;
154
    background:         <?php echo $GLOBALS['cfg']['BgOne']; ?>;
155
}
156
157
fieldset fieldset {
158
    margin:             0.8em;
159
}
160
161
fieldset legend {
162
    font-weight:        bold;
163
    color:              #444444;
164
    background-color:   <?php echo 'OPERA' != PMA_USR_BROWSER_AGENT ? 'transparent' : $GLOBALS['cfg']['BgOne']; ?>;
0 ignored issues
show
The condition 'OPERA' != PMA_USR_BROWSER_AGENT is always true.
Loading history...
165
}
166
167
.some-margin {
168
    margin: .5em;
169
    margin-top: 1em;
170
}
171
172
/* buttons in some browsers (eg. Konqueror) are block elements,
173
   this breaks design */
174
button {
175
    display:            inline;
176
}
177
178
table caption,
179
table th,
180
table td {
181
    padding:            0.1em 0.5em 0.1em 0.5em;
182
    margin:             0.1em;
183
    vertical-align:     top;
184
}
185
186
img,
187
input,
188
select,
189
button {
190
    vertical-align:     middle;
191
}
192
193
/******************************************************************************/
194
/* classes */
195
.clearfloat {
196
    clear: both;
197
}
198
199
.floatleft {
200
    float: <?php echo $left; ?>;
201
    margin-<?php echo $right; ?>: 1em;
202
}
203
204
.floatright {
205
    float: <?php echo $right; ?>;
206
}
207
208
table.nospacing {
209
    border-spacing: 0;
210
}
211
212
table.nopadding tr th, table.nopadding tr td {
213
    padding: 0;
214
}
215
216
th.left, td.left {
217
    text-align: left;
218
}
219
220
th.center, td.center {
221
    text-align: center;
222
}
223
224
th.right, td.right {
225
    text-align: right;
226
    padding-right: 1em;
227
}
228
229
tr.vtop, th.vtop, td.vtop {
230
    vertical-align: top;
231
}
232
233
tr.vmiddle, th.vmiddle, td.vmiddle {
234
    vertical-align: middle;
235
}
236
237
tr.vbottom, th.vbottom, td.vbottom {
238
    vertical-align: bottom;
239
}
240
241
.paddingtop {
242
    padding-top: 1em;
243
}
244
245
div.tools {
246
    border: 1px solid #000000;
247
    padding: 0.2em;
248
}
249
250
div.tools,
251
fieldset.tblFooters {
252
    margin-top:         0;
253
    margin-bottom:      0.5em;
254
    /* avoid a thick line since this should be used under another fieldset */
255
    border-top:         0;
256
    text-align:         <?php echo $right; ?>;
257
    float:              none;
258
    clear:              both;
259
}
260
261
div.null_div {
262
    height: 20px;
263
    text-align: center;
264
    font-style:normal;
265
    min-width:50px;
266
}
267
268
fieldset .formelement {
269
    float:              <?php echo $left; ?>;
270
    margin-<?php echo $right; ?>:       0.5em;
271
    /* IE */
272
    white-space:        nowrap;
273
}
274
275
/* revert for Gecko */
276
fieldset div[class=formelement] {
277
    white-space:        normal;
278
}
279
280
button.mult_submit {
281
    border:             none;
282
    background-color:   transparent;
283
}
284
285
/* odd items 1,3,5,7,... */
286
table tr:nth-child(odd),
287
#table_index tbody:nth-of-type(odd) tr,
288
#table_index tbody:nth-of-type(odd) th {
289
    background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
290
}
291
292
/* even items 2,4,6,8,... */
293
table tr:nth-child(even),
294
#table_index tbody:nth-of-type(even) tr,
295
#table_index tbody:nth-of-type(even) th {
296
    background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
297
}
298
299
table tr th,
300
table tr {
301
    text-align:         <?php echo $left; ?>;
302
}
303
304
/* marked table rows */
305
td.marked:not(.nomarker),
306
table tr.marked:not(.nomarker) td,
307
table tr.marked:not(.nomarker) th,
308
table tr.marked:not(.nomarker) {
309
    background:   <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
310
    color:   <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
311
}
312
313
/* hovered items */
314
table tr:not(.nopointer):hover,
315
.hover:not(.nopointer) {
316
    background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
317
    color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
318
}
319
320
/* hovered table rows */
321
#table_index tbody:hover tr,
322
#table_index tbody:hover th,
323
table tr.hover:not(.nopointer) th {
324
    background:   <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
325
    color:   <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
326
}
327
328
/**
329
 * marks table rows/cells if the db field is in a where condition
330
 */
331
td.condition,
332
th.condition {
333
    border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
334
}
335
336
/**
337
 * cells with the value NULL
338
 */
339
td.null {
340
    font-style: italic;
341
    color: #7d7d7d;
342
}
343
344
table .valueHeader {
345
    text-align:         <?php echo $right; ?>;
346
    white-space:        normal;
347
}
348
table .value {
349
    text-align:         <?php echo $right; ?>;
350
    white-space:        normal;
351
}
352
/* IE doesnt handles 'pre' right */
353
table [class=value] {
354
    white-space:        normal;
355
}
356
357
358
<?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
359
    .value {
360
        font-family:        <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
361
    }
362
    <?php
363
}
364
?>
365
.attention {
366
    color:              red;
367
    font-weight:        bold;
368
}
369
.allfine {
370
    color:              green;
371
}
372
373
374
img.lightbulb {
375
    cursor:             pointer;
376
}
377
378
.pdflayout {
379
    overflow:           hidden;
380
    clip:               inherit;
381
    background-color:   #FFFFFF;
382
    display:            none;
383
    border:             1px solid #000000;
384
    position:           relative;
385
}
386
387
.pdflayout_table {
388
    background:         #D3DCE3;
389
    color:              #000000;
390
    overflow:           hidden;
391
    clip:               inherit;
392
    z-index:            2;
393
    display:            inline;
394
    visibility:         inherit;
395
    cursor:             move;
396
    position:           absolute;
397
    font-size:          80%;
398
    border:             1px dashed #000000;
399
}
400
401
/* Doc links in SQL */
402
.cm-sql-doc {
403
    text-decoration: none;
404
    border-bottom: 1px dotted #000;
405
    color: inherit !important;
406
}
407
408
/* leave some space between icons and text */
409
.icon {
410
    image-rendering: pixelated;
411
    vertical-align:     middle;
412
    margin-<?php echo $left; ?>:        0.3em;
413
    background-repeat: no-repeat;
414
    background-position: center;
415
}
416
417
/* no extra space in table cells */
418
td .icon {
419
    margin: 0;
420
}
421
422
.selectallarrow {
423
    margin-<?php echo $right; ?>: 0.3em;
424
    margin-<?php echo $left; ?>: 0.6em;
425
}
426
.with-selected {
427
    margin-<?php echo $left; ?>: 2em;
428
}
429
430
/* message boxes: error, confirmation */
431
#pma_errors, #pma_demo, #pma_footer {
432
    position: relative;
433
    padding: 0 0.5em;
434
}
435
436
.success h1,
437
.notice h1,
438
div.error h1 {
439
    border-bottom:      2px solid;
440
    font-weight:        bold;
441
    text-align:         <?php echo $left; ?>;
442
    margin:             0 0 0.2em 0;
443
}
444
445
div.success,
446
div.notice,
447
div.error {
448
    margin:             0.3em 0 0 0;
449
    border:             2px solid;
450
    background-repeat:  no-repeat;
451
    clear:              both;
452
    <?php
453
    if ($GLOBALS['text_dir'] === 'ltr') { ?>
454
        background-position: 10px 50%;
455
        padding:            0.1em 0.1em 0.1em 42px;
456
        <?php
457
    } else { ?>
458
        background-position: 99% 50%;
459
        padding:            0.1em 40px 0.1em 0.1em;
460
        <?php
461
    }
462
    ?>
463
}
464
div.success img.icon,
465
div.notice img.icon,
466
div.error img.icon {
467
    display: block;
468
    float:              <?php echo $left; ?>;
469
    margin-<?php echo $left; ?>: -22px;
470
}
471
472
.success {
473
    color:              #000000;
474
    background-color:   #f0fff0;
475
}
476
h1.success,
477
div.success {
478
    border-color:       #00FF00;
479
}
480
.success h1 {
481
    border-color:       #00FF00;
482
}
483
484
.notice {
485
    color:              #000000;
486
    background-color:   #FFFFDD;
487
}
488
h1.notice,
489
div.notice {
490
    border-color:       #FFD700;
491
}
492
.notice h1 {
493
    border-color:       #FFD700;
494
}
495
496
.error {
497
    background-color:   #FFFFCC;
498
    color:              #ff0000;
499
}
500
501
h1.error,
502
div.error {
503
    border-color:       #ff0000;
504
}
505
div.error h1 {
506
    border-color:       #ff0000;
507
}
508
509
.confirmation {
510
    background-color:   #FFFFCC;
511
}
512
fieldset.confirmation {
513
    border:             0.1em solid #FF0000;
514
}
515
fieldset.confirmation legend {
516
    border-left:        0.1em solid #FF0000;
517
    border-right:       0.1em solid #FF0000;
518
    font-weight:        bold;
519
    background-image:   url(<?php echo $theme->getImgPath('s_really.png');?>);
520
    background-repeat:  no-repeat;
521
    <?php
522
    if ($GLOBALS['text_dir'] === 'ltr') { ?>
523
        background-position: 5px 50%;
524
        padding:            0.2em 0.2em 0.2em 25px;
525
        <?php
526
    } else { ?>
527
        background-position: 97% 50%;
528
        padding:            0.2em 25px 0.2em 0.2em;
529
        <?php
530
    }
531
    ?>
532
}
533
/* end messageboxes */
534
535
.new_central_col{
536
    width:              100%;
537
}
538
539
.tblcomment {
540
    font-size:          70%;
541
    font-weight:        normal;
542
    color:              #000099;
543
}
544
545
.tblHeaders {
546
    font-weight:        bold;
547
    color:              <?php echo $GLOBALS['cfg']['ThColor']; ?>;
548
    background:         <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
549
}
550
551
div.tools,
552
.tblFooters {
553
    font-weight:        normal;
554
    color:              <?php echo $GLOBALS['cfg']['ThColor']; ?>;
555
    background:         <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
556
}
557
558
.tblHeaders a:link,
559
.tblHeaders a:active,
560
.tblHeaders a:visited,
561
div.tools a:link,
562
div.tools a:visited,
563
div.tools a:active,
564
.tblFooters a:link,
565
.tblFooters a:active,
566
.tblFooters a:visited {
567
    color:              #0000FF;
568
}
569
570
.tblHeaders a:hover,
571
div.tools a:hover,
572
.tblFooters a:hover {
573
    color:              #FF0000;
574
}
575
576
/* forbidden, no privilegs */
577
.noPrivileges {
578
    color:              #FF0000;
579
    font-weight:        bold;
580
}
581
582
/* disabled text */
583
.disabled,
584
.disabled a:link,
585
.disabled a:active,
586
.disabled a:visited {
587
    color:              #666666;
588
}
589
590
.disabled a:hover {
591
    color:              #666666;
592
    text-decoration:    none;
593
}
594
595
tr.disabled td,
596
td.disabled {
597
    background-color:   #cccccc;
598
}
599
600
.nowrap {
601
    white-space:        nowrap;
602
}
603
604
/**
605
 * zoom search
606
 */
607
div#resizer {
608
    width:              600px;
609
    height:             400px;
610
}
611
div#querychart {
612
    float:              left;
613
    width:              600px;
614
}
615
616
/**
617
 * login form
618
 */
619
body#loginform h1,
620
body#loginform a.logo {
621
    display: block;
622
    text-align: center;
623
}
624
625
body#loginform {
626
    margin-top: 1em;
627
    text-align: center;
628
}
629
630
body#loginform div.container {
631
    text-align: <?php echo $left; ?>;
632
    width: 30em;
633
    margin: 0 auto;
634
}
635
636
div.container.modal_form {
637
    margin: 0 auto;
638
    width: 30em;
639
    text-align: center;
640
    background: #fff;
641
    z-index: 999;
642
}
643
644
#login_form {
645
    text-align: left;
646
}
647
648
div#modalOverlay {
649
    position: fixed;
650
    top: 0;
651
    left: 0;
652
    height: 100%;
653
    width: 100%;
654
    background: #fff;
655
    z-index: 900;
656
}
657
658
form.login label {
659
    float: <?php echo $left; ?>;
660
    width: 10em;
661
    font-weight: bolder;
662
}
663
664
.commented_column {
665
    border-bottom: 1px dashed black;
666
}
667
668
.column_attribute {
669
    font-size: 70%;
670
}
671
.column_name {
672
    font-size: 80%;
673
    margin: 5px 2px;
674
}
675
676
.cfg_dbg_demo{
677
    margin: 0.5em 1em 0.5em 1em;
678
}
679
680
.central_columns_navigation{
681
    padding:1.5% 0em !important;
682
}
683
684
.central_columns_add_column{
685
    display:inline-block;
686
    margin-left:1%;
687
    max-width:50%
688
}
689
690
.message_errors_found{
691
    margin-top: 20px;
692
}
693
694
.repl_gui_skip_err_cnt{
695
    width: 30px;
696
}
697
698
.font_weight_bold{
699
    font-weight: bold;
700
}
701
702
.color_gray{
703
    color: gray;
704
}
705
706
.max_height_400 {
707
    max-height: 400px;
708
}
709
710
.pma_sliding_message{
711
    display: inline-block;
712
}
713
714
/******************************************************************************/
715
/* specific elements */
716
717
/* topmenu */
718
ul#topmenu, ul#topmenu2, ul.tabs {
719
    font-weight:        bold;
720
    list-style-type:    none;
721
    margin:             0;
722
    padding:            0;
723
}
724
725
ul#topmenu2 {
726
    margin: 0.25em 0.5em 0;
727
    height: 2em;
728
    clear: both;
729
}
730
731
ul#topmenu li, ul#topmenu2 li {
732
    float:              <?php echo $left; ?>;
733
    margin:             0;
734
    padding:            0;
735
    vertical-align:     middle;
736
}
737
738
#topmenu img, #topmenu2 img {
739
    vertical-align:     middle;
740
    margin-<?php echo $right; ?>:       0.1em;
741
}
742
743
/* default tab styles */
744
ul#topmenu a, ul#topmenu span {
745
    display:            block;
746
    margin:             2px 2px 0;
747
    padding:            2px 2px 0;
748
    white-space:        nowrap;
749
}
750
751
ul#topmenu2 a {
752
    display:            block;
753
    margin:             0.1em;
754
    padding:            0.2em;
755
    white-space:        nowrap;
756
}
757
758
span.caution {
759
    color: #FF0000;
760
}
761
span.success {
762
    color: green;
763
}
764
fieldset.caution a {
765
    color:              #FF0000;
766
}
767
fieldset.caution a:hover {
768
    color:              #ffffff;
769
    background-color:   #FF0000;
770
}
771
772
#topmenu {
773
    margin-top:         0.5em;
774
    padding:            0.1em 0.3em 0.1em 0.3em;
775
}
776
777
ul#topmenu ul {
778
    -moz-box-shadow:    2px 2px 3px #666;
779
    -webkit-box-shadow: 2px 2px 3px #666;
780
    box-shadow:         2px 2px 3px #666;
781
}
782
783
ul#topmenu > li {
784
    border-bottom:      1pt solid black;
785
}
786
787
/* default tab styles */
788
ul#topmenu a, ul#topmenu span {
789
    background-color:   <?php echo $GLOBALS['cfg']['BgOne']; ?>;
790
    border:             0 solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
791
    border-width:       1pt 1pt 0 1pt;
792
    -moz-border-radius: 0.4em 0.4em 0 0;
793
    border-radius:      0.4em 0.4em 0 0;
794
}
795
796
ul#topmenu ul a {
797
    border-width:       1pt 0 0 0;
798
    -moz-border-radius: 0;
799
    border-radius:      0;
800
}
801
802
ul#topmenu ul li:first-child a {
803
    border-width:       0;
804
}
805
806
/* enabled hover/active tabs */
807
ul#topmenu > li > a:hover,
808
ul#topmenu > li > .tabactive {
809
    margin:             0;
810
    padding:            2px 4px;
811
    text-decoration:    none;
812
}
813
814
ul#topmenu ul a:hover,
815
ul#topmenu ul .tabactive {
816
    text-decoration:    none;
817
}
818
819
ul#topmenu a.tab:hover,
820
ul#topmenu .tabactive {
821
    background-color:   <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
822
}
823
824
ul#topmenu2 a.tab:hover,
825
ul#topmenu2 a.tabactive {
826
    background-color:   <?php echo $GLOBALS['cfg']['BgOne']; ?>;
827
    -moz-border-radius: 0.3em;
828
    border-radius:      0.3em;
829
    text-decoration:    none;
830
}
831
832
/* to be able to cancel the bottom border, use <li class="active"> */
833
ul#topmenu > li.active {
834
     border-bottom:      1pt solid <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
835
}
836
/* end topmenu */
837
838
/* zoom search */
839
div#dataDisplay input, div#dataDisplay select {
840
    margin: 0;
841
    margin-<?php echo $right; ?>: 0.5em;
842
}
843
div#dataDisplay th {
844
    line-height: 2em;
845
}
846
table#tableFieldsId {
847
    width: 100%;
848
}
849
850
/* Calendar */
851
table.calendar {
852
    width:              100%;
853
}
854
table.calendar td {
855
    text-align:         center;
856
}
857
table.calendar td a {
858
    display:            block;
859
}
860
861
table.calendar td a:hover {
862
    background-color:   #CCFFCC;
863
}
864
865
table.calendar th {
866
    background-color:   #D3DCE3;
867
}
868
869
table.calendar td.selected {
870
    background-color:   #FFCC99;
871
}
872
873
img.calendar {
874
    border:             none;
875
}
876
form.clock {
877
    text-align:         center;
878
}
879
/* end Calendar */
880
881
882
/* table stats */
883
div#tablestatistics table {
884
    float: <?php echo $left; ?>;
885
    margin-top: 0.5em;
886
    margin-bottom: 0.5em;
887
    margin-<?php echo $right; ?>: 0.5em;
888
    min-width: 16em;
889
}
890
/* end table stats */
891
892
893
/* server privileges */
894
#tableuserrights td,
895
#tablespecificuserrights td,
896
#tabledatabases td {
897
    vertical-align: middle;
898
}
899
/* end server privileges */
900
901
902
903
/* Heading */
904
#topmenucontainer {
905
    background: white;
906
    padding-<?php echo $right; ?>: 1em;
907
    width: 100%;
908
}
909
910
#serverinfo {
911
    background: white;
912
    font-weight:        bold;
913
    padding-bottom: 0.5em;
914
    width: 10000px;
915
    overflow: hidden;
916
}
917
918
#serverinfo .item {
919
    white-space:        nowrap;
920
}
921
922
#page_nav_icons {
923
    position: fixed;
924
    top: 0;
925
    <?php echo $right; ?>: 0;
926
    z-index: 99;
927
    padding: .1em 0;
928
}
929
930
#goto_pagetop, #lock_page_icon, #page_settings_icon {
931
    padding: .3em;
932
    background: white;
933
}
934
935
#page_settings_icon {
936
    cursor: pointer;
937
    display: none;
938
}
939
940
#page_settings_modal {
941
    display: none;
942
}
943
944
#pma_navigation_settings {
945
    display: none;
946
}
947
948
#span_table_comment {
949
    font-weight: bold;
950
    font-style: italic;
951
    white-space: nowrap;
952
    margin-left: 10px;
953
    color: #D6D6D6;
954
    text-shadow: none;
955
}
956
957
#serverinfo img {
958
    margin:             0 0.1em 0 0.2em;
959
}
960
961
962
#textSQLDUMP {
963
    width:              95%;
964
    height:             95%;
965
    font-family:        "Courier New", Courier, mono;
966
    font-size:          110%;
967
}
968
969
#TooltipContainer {
970
    position:           absolute;
971
    z-index:            99;
972
    width:              20em;
973
    height:             auto;
974
    overflow:           visible;
975
    visibility:         hidden;
976
    background-color:   #ffffcc;
977
    color:              #006600;
978
    border:             0.1em solid #000000;
979
    padding:            0.5em;
980
}
981
982
/* user privileges */
983
#fieldset_add_user_login div.item {
984
    border-bottom:      1px solid silver;
985
    padding-bottom:     0.3em;
986
    margin-bottom:      0.3em;
987
}
988
989
#fieldset_add_user_login label {
990
    float:              <?php echo $left; ?>;
991
    display:            block;
992
    width:              15em;
993
    max-width:          100%;
994
    text-align:         <?php echo $right; ?>;
995
    padding-<?php echo $right; ?>:      0.5em;
996
}
997
998
#fieldset_add_user_login span.options #select_pred_username,
999
#fieldset_add_user_login span.options #select_pred_hostname,
1000
#fieldset_add_user_login span.options #select_pred_password {
1001
    width:              100%;
1002
    max-width:          100%;
1003
}
1004
1005
#fieldset_add_user_login span.options {
1006
    float: <?php echo $left; ?>;
1007
    display: block;
1008
    width: 12em;
1009
    max-width: 100%;
1010
    padding-<?php echo $right; ?>: 0.5em;
1011
}
1012
1013
#fieldset_add_user_login input {
1014
    width: 12em;
1015
    clear: <?php echo $right; ?>;
1016
    max-width: 100%;
1017
}
1018
1019
#fieldset_add_user_login span.options input {
1020
    width: auto;
1021
}
1022
1023
#fieldset_user_priv div.item {
1024
    float: <?php echo $left; ?>;
1025
    width: 9em;
1026
    max-width: 100%;
1027
}
1028
1029
#fieldset_user_priv div.item div.item {
1030
    float: none;
1031
}
1032
1033
#fieldset_user_priv div.item label {
1034
    white-space: nowrap;
1035
}
1036
1037
#fieldset_user_priv div.item select {
1038
    width: 100%;
1039
}
1040
1041
#fieldset_user_global_rights fieldset {
1042
    float: <?php echo $left; ?>;
1043
}
1044
1045
#fieldset_user_group_rights fieldset {
1046
    float: <?php echo $left; ?>;
1047
}
1048
1049
#fieldset_user_global_rights>legend input {
1050
    margin-<?php echo $left; ?>: 2em;
1051
}
1052
/* end user privileges */
1053
1054
1055
/* serverstatus */
1056
1057
.linkElem:hover {
1058
    text-decoration:    underline;
1059
    color:              #235a81;
1060
    cursor: pointer;
1061
}
1062
1063
h3#serverstatusqueries span {
1064
    font-size:60%;
1065
    display:inline;
1066
}
1067
1068
.buttonlinks {
1069
    float: <?php echo $right; ?>;
1070
    white-space: nowrap;
1071
}
1072
1073
/* Also used for the variables page */
1074
fieldset#tableFilter {
1075
    padding: 0.1em 1em;
1076
}
1077
1078
div#serverStatusTabs {
1079
    margin-top:1em;
1080
}
1081
1082
caption a.top {
1083
    float: <?php echo $right; ?>;
1084
}
1085
1086
div#serverstatusquerieschart {
1087
    float: <?php echo $left; ?>;
1088
    width: 500px;
1089
    height: 350px;
1090
    margin-<?php echo $right;?>: 50px;
1091
}
1092
1093
div#serverstatus table#serverstatusqueriesdetails {
1094
    float: <?php echo $left; ?>;
1095
}
1096
1097
table#serverstatustraffic {
1098
    float: <?php echo $left; ?>;
1099
}
1100
table#serverstatusconnections {
1101
    float: <?php echo $left; ?>;
1102
    margin-<?php echo $left; ?>: 30px;
1103
}
1104
1105
table#serverstatusvariables {
1106
    width: 100%;
1107
    margin-bottom: 1em;
1108
}
1109
table#serverstatusvariables .name {
1110
    width: 18em;
1111
    white-space:nowrap;
1112
}
1113
table#serverstatusvariables .value {
1114
    width: 6em;
1115
}
1116
table#serverstatusconnections {
1117
    float: <?php echo $left; ?>;
1118
    margin-<?php echo $left; ?>: 30px;
1119
}
1120
1121
div#serverstatus table tbody td.descr a,
1122
div#serverstatus table .tblFooters a {
1123
    white-space: nowrap;
1124
}
1125
1126
div.liveChart {
1127
    clear:both;
1128
    min-width:500px;
1129
    height:400px;
1130
    padding-bottom:80px;
1131
}
1132
1133
#addChartDialog input[type="text"] {
1134
    margin: 0;
1135
    padding:3px;
1136
}
1137
1138
div#chartVariableSettings {
1139
    border:1px solid #ddd;
1140
    background-color:#E6E6E6;
1141
    margin-left:10px;
1142
}
1143
1144
table#chartGrid td {
1145
    padding: 3px;
1146
    margin: 0;
1147
}
1148
1149
table#chartGrid div.monitorChart {
1150
    background: #EBEBEB;
1151
    overflow: hidden;
1152
    border: none;
1153
}
1154
1155
div.tabLinks {
1156
    margin-left: 0.3em;
1157
    float: <?php echo $left; ?>;
1158
    padding: 5px 0;
1159
}
1160
1161
div.tabLinks a, div.tabLinks label {
1162
    margin-right: 7px;
1163
}
1164
1165
div.tabLinks .icon {
1166
    margin: -0.2em 0.3em 0 0;
1167
}
1168
1169
.popupContent {
1170
    display: none;
1171
    position: absolute;
1172
    border: 1px solid #CCC;
1173
    margin:0;
1174
    padding:3px;
1175
    -moz-box-shadow:    1px 1px 6px #ddd;
1176
    -webkit-box-shadow: 2px 2px 3px #666;
1177
    box-shadow:         2px 2px 3px #666;
1178
    background-color:white;
1179
    z-index: 2;
1180
}
1181
1182
div#logTable {
1183
    padding-top: 10px;
1184
    clear: both;
1185
}
1186
1187
div#logTable table {
1188
    width:100%;
1189
}
1190
1191
.smallIndent {
1192
    padding-left: 7px;
1193
}
1194
1195
/* end serverstatus */
1196
1197
#sectionlinks {
1198
    margin-bottom: 15px;
1199
    padding: 10px;
1200
    border: 1px solid #CCC;
1201
}
1202
#sectionlinks a {
1203
    margin-<?php echo $right; ?>: 7px;
1204
}
1205
1206
/* server variables */
1207
#serverVariables {
1208
    width: 100%;
1209
}
1210
#serverVariables .var-row > tr {
1211
    line-height: 2em;
1212
}
1213
1214
#serverVariables .var-header {
1215
    font-weight:        bold;
1216
    color:              <?php echo $GLOBALS['cfg']['ThColor']; ?>;
1217
    background:         <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1218
    text-align: <?php echo $left; ?>;
1219
}
1220
#serverVariables .var-row {
1221
    padding: 0.5em;
1222
    min-height: 18px;
1223
}
1224
#serverVariables .var-name {
1225
    font-weight: bold;
1226
}
1227
#serverVariables .var-name.session {
1228
    font-weight: normal;
1229
    font-style: italic;
1230
}
1231
#serverVariables .var-value {
1232
    text-align: <?php echo $right; ?>;
1233
    float: <?php echo $right; ?>;
1234
}
1235
1236
/* server variables editor */
1237
#serverVariables .editLink {
1238
    padding-<?php echo $right; ?>: 1em;
1239
    font-family: sans-serif;
1240
}
1241
#serverVariables .serverVariableEditor {
1242
    width: 100%;
1243
    overflow: hidden;
1244
}
1245
#serverVariables .serverVariableEditor input {
1246
    width: 100%;
1247
    margin: 0 0.5em;
1248
    box-sizing: border-box;
1249
    -ms-box-sizing: border-box;
1250
    -moz-box-sizing: border-box;
1251
    -webkit-box-sizing: border-box;
1252
    height: 2.2em;
1253
}
1254
#serverVariables .serverVariableEditor div {
1255
    display: block;
1256
    overflow: hidden;
1257
    padding-<?php echo $right; ?>: 1em;
1258
}
1259
#serverVariables .serverVariableEditor a {
1260
    margin: 0 0.5em;
1261
    line-height: 2em;
1262
}
1263
/* end server variables */
1264
1265
/* profiling */
1266
1267
div#profilingchart {
1268
    width: 850px;
1269
    height: 370px;
1270
    float: left;
1271
}
1272
1273
#profilingchart .jqplot-highlighter-tooltip{
1274
    top: auto !important;
1275
    left: 11px;
1276
    bottom:24px;
1277
}
1278
/* end profiling */
1279
1280
/* table charting */
1281
.chartOption {
1282
    float: <?php echo $left; ?>;
1283
    margin-<?php echo $right;?>: 40px;
1284
}
1285
/* end table charting */
1286
1287
/* querybox */
1288
1289
div#sqlquerycontainer {
1290
    float: <?php echo $left; ?>;
1291
    width: 69%;
1292
    /* height: 15em; */
1293
}
1294
1295
div#tablefieldscontainer {
1296
    float: <?php echo $right; ?>;
1297
    width: 29%;
1298
    /* height: 15em; */
1299
}
1300
1301
div#tablefieldscontainer select {
1302
    width: 100%;
1303
    /* height: 12em; */
1304
}
1305
1306
textarea#sqlquery {
1307
    width: 100%;
1308
    /* height: 100%; */
1309
}
1310
textarea#sql_query_edit {
1311
    height: 7em;
1312
    width: 95%;
1313
    display: block;
1314
}
1315
div#queryboxcontainer div#bookmarkoptions {
1316
    margin-top: .5em;
1317
}
1318
/* end querybox */
1319
1320
/* main page */
1321
#maincontainer {
1322
    background-image: url(<?php echo $theme->getImgPath('logo_right.png');?>);
1323
    background-position: <?php echo $right; ?> bottom;
1324
    background-repeat: no-repeat;
1325
}
1326
1327
#mysqlmaininformation,
1328
#pmamaininformation {
1329
    float: <?php echo $left; ?>;
1330
    width: 49%;
1331
}
1332
1333
#maincontainer ul {
1334
    list-style-type: disc;
1335
    vertical-align: middle;
1336
}
1337
1338
#maincontainer li {
1339
    margin:  0.2em 0;
1340
}
1341
1342
#full_name_layer {
1343
    position: absolute;
1344
    padding: 2px;
1345
    margin-top: -3px;
1346
    z-index: 801;
1347
1348
    border: solid 1px #888;
1349
    background: #fff;
1350
1351
}
1352
/* end main page */
1353
1354
/* iconic view for ul items */
1355
1356
li.no_bullets {
1357
    list-style-type:none !important;
1358
    margin-<?php echo $left; ?>: -25px !important;      //align with other list items which have bullets
1359
}
1360
1361
/* end iconic view for ul items */
1362
1363
#body_browse_foreigners {
1364
    background:         <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
1365
    margin: .5em .5em 0 .5em;
1366
}
1367
1368
#bodythemes {
1369
    width: 500px;
1370
    margin: auto;
1371
    text-align: center;
1372
}
1373
1374
#bodythemes img {
1375
    border: .1em solid #000;
1376
}
1377
1378
#bodythemes a:hover img {
1379
    border: .1em solid red;
1380
}
1381
1382
#fieldset_select_fields {
1383
    float: <?php echo $left; ?>;
1384
}
1385
1386
#selflink {
1387
    clear: both;
1388
    display: block;
1389
    margin-top: 1em;
1390
    margin-bottom: 1em;
1391
    width: 98%;
1392
    margin-left: 1%;
1393
    border-top: .1em solid silver;
1394
    text-align: <?php echo $right; ?>;
1395
}
1396
1397
#table_innodb_bufferpool_usage,
1398
#table_innodb_bufferpool_activity {
1399
    float: <?php echo $left; ?>;
1400
}
1401
1402
#div_mysql_charset_collations table {
1403
    float: <?php echo $left; ?>;
1404
}
1405
1406
#div_mysql_charset_collations table th,
1407
#div_mysql_charset_collations table td {
1408
    padding: 0.4em;
1409
}
1410
1411
#div_mysql_charset_collations table th#collationHeader {
1412
    width: 35%;
1413
}
1414
1415
#qbe_div_table_list {
1416
    float: <?php echo $left; ?>;
1417
}
1418
1419
#qbe_div_sql_query {
1420
    float: <?php echo $left; ?>;
1421
}
1422
1423
label.desc {
1424
    width: 30em;
1425
    float: <?php echo $left; ?>;
1426
}
1427
1428
label.desc sup {
1429
    position: absolute;
1430
}
1431
1432
code.php {
1433
    display: block;
1434
    padding-left: 0.3em;
1435
    margin-top: 0;
1436
    margin-bottom: 0;
1437
    max-height: 10em;
1438
    overflow: auto;
1439
    direction: ltr;
1440
}
1441
1442
code.sql,
1443
div.sqlvalidate {
1444
    display:            block;
1445
    padding:            0.3em;
1446
    margin-top:         0;
1447
    margin-bottom:      0;
1448
    max-height:         10em;
1449
    overflow:           auto;
1450
    direction:          ltr;
1451
}
1452
1453
.result_query div.sqlOuter,
1454
div.sqlvalidate  {
1455
    border:             <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
1456
    border-top:         0;
1457
    border-bottom:      0;
1458
    background:         <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1459
}
1460
1461
.result_query div.sqlOuter {
1462
    text-align: <?php echo $left; ?>;
1463
}
1464
1465
#PMA_slidingMessage code.sql {
1466
    border:             <?php echo $GLOBALS['cfg']['MainColor']; ?> solid 1px;
1467
    border-top:         0;
1468
    background:         <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1469
}
1470
1471
#main_pane_left {
1472
    width:              60%;
1473
    min-width:          260px;
1474
    float:              <?php echo $left; ?>;
1475
    padding-top:        1em;
1476
}
1477
1478
#main_pane_right {
1479
    overflow:           hidden;
1480
    min-width:          160px;
1481
    padding-top: 1em;
1482
    padding-<?php echo $left; ?>: 1em;
1483
}
1484
1485
.group {
1486
    border-<?php echo $left; ?>: 0.3em solid <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1487
    margin-bottom:      1em;
1488
}
1489
1490
.group h2 {
1491
    background:         <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1492
    padding:            0.1em 0.3em;
1493
    margin-top:         0;
1494
}
1495
1496
.group-cnt {
1497
    padding: 0 0 0 0.5em;
1498
    display: inline-block;
1499
    width: 98%;
1500
}
1501
1502
textarea#partitiondefinition {
1503
    height:3em;
1504
}
1505
1506
1507
/* for elements that should be revealed only via js */
1508
.hide {
1509
    display:            none;
1510
}
1511
1512
#list_server {
1513
    list-style-type: none;
1514
    padding: 0;
1515
}
1516
1517
/**
1518
  *  Progress bar styles
1519
  */
1520
div.upload_progress
1521
{
1522
    width: 400px;
1523
    margin: 3em auto;
1524
    text-align: center;
1525
}
1526
1527
div.upload_progress_bar_outer
1528
{
1529
    border: 1px solid #000;
1530
    width: 202px;
1531
    position: relative;
1532
    margin: 0 auto 1em;
1533
    color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
1534
}
1535
1536
div.upload_progress_bar_inner
1537
{
1538
    background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
1539
    width: 0;
1540
    height: 12px;
1541
    margin: 1px;
1542
    overflow: hidden;
1543
    color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
1544
    position: relative;
1545
}
1546
1547
div.upload_progress_bar_outer div.percentage
1548
{
1549
    position: absolute;
1550
    top: 0;
1551
    left: 0;
1552
    width: 202px;
1553
}
1554
1555
div.upload_progress_bar_inner div.percentage
1556
{
1557
    top: -1px;
1558
    left: -1px;
1559
}
1560
1561
div#statustext {
1562
    margin-top: .5em;
1563
}
1564
1565
table#serverconnection_src_remote,
1566
table#serverconnection_trg_remote,
1567
table#serverconnection_src_local,
1568
table#serverconnection_trg_local  {
1569
  float: left;
1570
}
1571
/**
1572
  *  Validation error message styles
1573
  */
1574
input[type=text].invalid_value,
1575
input[type=password].invalid_value,
1576
input[type=number].invalid_value,
1577
input[type=date].invalid_value,
1578
select.invalid_value,
1579
.invalid_value {
1580
    background: #FFCCCC;
1581
}
1582
1583
/**
1584
  *  Ajax notification styling
1585
  */
1586
 .ajax_notification {
1587
    top: 0;           /** The notification needs to be shown on the top of the page */
1588
    position: fixed;
1589
    margin-top: 0;
1590
    margin-right: auto;
1591
    margin-bottom: 0;
1592
    margin-left: auto;
1593
    padding: 3px 5px;   /** Keep a little space on the sides of the text */
1594
    width: 350px;
1595
    background-color: #FFD700;
1596
    z-index: 1100;      /** If this is not kept at a high z-index, the jQueryUI modal dialogs (z-index:1000) might hide this */
1597
    text-align: center;
1598
    display: block;
1599
    left: 0;
1600
    right: 0;
1601
    background-image: url(<?php echo $theme->getImgPath('ajax_clock_small.gif');?>);
1602
    background-repeat: no-repeat;
1603
    background-position: 2%;
1604
 }
1605
1606
 #loading_parent {
1607
    /** Need this parent to properly center the notification division */
1608
    position: relative;
1609
    width: 100%;
1610
 }
1611
/**
1612
  * Export and Import styles
1613
  */
1614
1615
.export_table_list_container {
1616
    display: inline-block;
1617
    max-height: 20em;
1618
    overflow-y: scroll;
1619
}
1620
1621
.export_table_select th {
1622
    text-align: center;
1623
    vertical-align: middle;
1624
}
1625
1626
.export_table_select .all {
1627
    font-weight: bold;
1628
    border-bottom: 1px solid black;
1629
}
1630
1631
.export_structure, .export_data {
1632
    text-align: center;
1633
}
1634
1635
.export_table_name {
1636
    vertical-align: middle;
1637
}
1638
1639
.exportoptions h2 {
1640
    word-wrap: break-word;
1641
}
1642
1643
.exportoptions h3, .importoptions h3 {
1644
    border-bottom: 1px #999999 solid;
1645
    font-size: 110%;
1646
}
1647
1648
.exportoptions ul, .importoptions ul, .format_specific_options ul {
1649
    list-style-type: none;
1650
    margin-bottom: 15px;
1651
}
1652
1653
.exportoptions li, .importoptions li {
1654
    margin: 7px;
1655
}
1656
.exportoptions label, .importoptions label, .exportoptions p, .importoptions p {
1657
    margin: 5px;
1658
    float: none;
1659
}
1660
1661
#csv_options label.desc, #ldi_options label.desc, #latex_options label.desc, #output label.desc{
1662
    float: left;
1663
    width: 15em;
1664
}
1665
1666
.exportoptions, .importoptions {
1667
    margin: 20px 30px 30px 10px
1668
}
1669
1670
.format_specific_options h3 {
1671
    margin: 10px 0 0 10px;
1672
    border: 0;
1673
}
1674
1675
.format_specific_options {
1676
    border: 1px solid #999;
1677
    margin: 7px 0;
1678
    padding: 3px;
1679
}
1680
1681
p.desc {
1682
    margin: 5px;
1683
}
1684
1685
/**
1686
  * Export styles only
1687
  */
1688
select#db_select,
1689
select#table_select {
1690
    width: 400px;
1691
}
1692
1693
.export_sub_options {
1694
    margin: 20px 0 0 30px;
1695
}
1696
1697
.export_sub_options h4 {
1698
    border-bottom: 1px #999 solid;
1699
}
1700
1701
.export_sub_options li.subgroup {
1702
    display: inline-block;
1703
    margin-top: 0;
1704
}
1705
1706
.export_sub_options li {
1707
    margin-bottom: 0;
1708
}
1709
1710
#output_quick_export {
1711
    display: none;
1712
}
1713
/**
1714
 * Import styles only
1715
 */
1716
1717
.importoptions #import_notification {
1718
    margin: 10px 0;
1719
    font-style: italic;
1720
}
1721
1722
input#input_import_file {
1723
    margin: 5px;
1724
}
1725
1726
.formelementrow {
1727
    margin: 5px 0 5px 0;
1728
}
1729
1730
#filterText {
1731
    vertical-align: baseline;
1732
}
1733
1734
#popup_background {
1735
    display: none;
1736
    position: fixed;
1737
    _position: absolute; /* hack for IE6 */
1738
    width: 100%;
1739
    height: 100%;
1740
    top: 0;
1741
    left: 0;
1742
    background: #000;
1743
    z-index: 1000;
1744
    overflow: hidden;
1745
}
1746
1747
/**
1748
 * Create table styles
1749
 */
1750
#create_table_form table.table-name td {
1751
    vertical-align: middle;
1752
}
1753
1754
/**
1755
 * Table structure styles
1756
 */
1757
#fieldsForm ul.table-structure-actions {
1758
    margin: 0;
1759
    padding: 0;
1760
    list-style: none;
1761
}
1762
#fieldsForm ul.table-structure-actions li {
1763
    float: <?php echo $left; ?>;
1764
    margin-<?php echo $right; ?>: 0.5em; /* same as padding of "table td" */
1765
}
1766
#fieldsForm ul.table-structure-actions .submenu li {
1767
    padding: 0.3em;
1768
    margin: 0.1em;
1769
}
1770
#structure-action-links a {
1771
    margin-<?php echo $right; ?>: 1em;
1772
}
1773
#addColumns input[type="radio"] {
1774
    margin: 0;
1775
    margin-<?php echo $left; ?>: 1em;
1776
}
1777
#addColumns input[type="submit"] {
1778
    margin-<?php echo $left; ?>: 1em;
1779
}
1780
1781
/**
1782
 * Indexes
1783
 */
1784
#index_frm .index_info input[type="text"],
1785
#index_frm .index_info select {
1786
    width: 100%;
1787
    box-sizing:         border-box;
1788
    -ms-box-sizing:     border-box;
1789
    -moz-box-sizing:    border-box;
1790
    -webkit-box-sizing: border-box;
1791
}
1792
1793
#index_frm .slider {
1794
    width: 10em;
1795
    margin: .6em;
1796
    float: <?php echo $left; ?>;
1797
}
1798
1799
#index_frm .add_fields {
1800
    float: <?php echo $left; ?>;
1801
}
1802
1803
#index_frm .add_fields input {
1804
    margin-<?php echo $left; ?>: 1em;
1805
}
1806
1807
#index_frm input {
1808
    margin: 0;
1809
}
1810
1811
#index_frm td {
1812
    vertical-align: middle;
1813
}
1814
1815
table#index_columns {
1816
    width: 100%;
1817
}
1818
1819
table#index_columns select {
1820
    width: 85%;
1821
    float: right;
1822
}
1823
1824
#move_columns_dialog div {
1825
    padding: 1em;
1826
}
1827
1828
#move_columns_dialog ul {
1829
    list-style: none;
1830
    margin: 0;
1831
    padding: 0;
1832
}
1833
1834
#move_columns_dialog li {
1835
    background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1836
    border: 1px solid #aaa;
1837
    color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
1838
    font-weight: bold;
1839
    margin: .4em;
1840
    padding: .2em;
1841
    -webkit-border-radius: 2px;
1842
    -moz-border-radius: 2px;
1843
    border-radius: 2px;
1844
}
1845
1846
/* config forms */
1847
.config-form ul.tabs {
1848
    margin:      1.1em 0.2em 0;
1849
    padding:     0 0 0.3em 0;
1850
    list-style:  none;
1851
    font-weight: bold;
1852
}
1853
1854
.config-form ul.tabs li {
1855
    float: <?php echo $left; ?>;
1856
}
1857
1858
.config-form ul.tabs li a {
1859
    display:          block;
1860
    margin:           0.1em 0.2em 0;
1861
    padding:          0.1em 0.4em;
1862
    white-space:      nowrap;
1863
    text-decoration:  none;
1864
    border:           1px solid <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1865
    border-bottom:    none;
1866
}
1867
1868
.config-form ul.tabs li a:hover,
1869
.config-form ul.tabs li a:active,
1870
.config-form ul.tabs li a.active {
1871
    margin:           0;
1872
    padding:          0.1em 0.6em 0.2em;
1873
}
1874
1875
.config-form ul.tabs li.active a {
1876
    background-color: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
1877
}
1878
1879
.config-form fieldset {
1880
    margin-top:   0;
1881
    padding:      0;
1882
    clear:        both;
1883
    /*border-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;*/
1884
}
1885
1886
.config-form legend {
1887
    display: none;
1888
}
1889
1890
.config-form fieldset p {
1891
    margin:    0;
1892
    padding:   0.5em;
1893
    background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1894
}
1895
1896
.config-form fieldset .errors { /* form error list */
1897
    margin:       0 -2px 1em -2px;
1898
    padding: .5em 1.5em;
1899
    background:   #FBEAD9;
1900
    border:       0 #C83838 solid;
1901
    border-width: 1px 0;
1902
    list-style:   none;
1903
    font-family:  sans-serif;
1904
    font-size:    small;
1905
}
1906
1907
.config-form fieldset .inline_errors { /* field error list */
1908
    margin: .3em .3em .3em 0;
1909
    padding:    0;
1910
    list-style: none;
1911
    color:      #9A0000;
1912
    font-size:  small;
1913
}
1914
1915
.config-form fieldset th {
1916
    padding: .3em .3em .3em .5em;
1917
    text-align:     left;
1918
    vertical-align: top;
1919
    width:          40%;
1920
    background:     transparent;
1921
}
1922
1923
.config-form fieldset .doc,
1924
.config-form fieldset .disabled-notice {
1925
    margin-left: 1em;
1926
}
1927
1928
.config-form fieldset .disabled-notice {
1929
    font-size: 80%;
1930
    text-transform: uppercase;
1931
    color: #E00;
1932
    cursor: help;
1933
}
1934
1935
.config-form fieldset td {
1936
    padding-top: .3em;
1937
    padding-bottom: .3em;
1938
    vertical-align: top;
1939
}
1940
1941
.config-form fieldset th small {
1942
    display:     block;
1943
    font-weight: normal;
1944
    font-family: sans-serif;
1945
    font-size:   x-small;
1946
    color:       #444;
1947
}
1948
1949
.config-form fieldset th,
1950
.config-form fieldset td {
1951
    border-top: 1px <?php echo $GLOBALS['cfg']['BgTwo']; ?> solid;
1952
}
1953
1954
fieldset .group-header th {
1955
    background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
1956
}
1957
1958
fieldset .group-header + tr th {
1959
    padding-top: .6em;
1960
}
1961
1962
fieldset .group-field-1 th,
1963
fieldset .group-header-2 th {
1964
    padding-left: 1.5em;
1965
}
1966
1967
fieldset .group-field-2 th,
1968
fieldset .group-header-3 th {
1969
    padding-left: 3em;
1970
}
1971
1972
fieldset .group-field-3 th {
1973
    padding-left: 4.5em;
1974
}
1975
1976
fieldset .disabled-field th,
1977
fieldset .disabled-field th small,
1978
fieldset .disabled-field td {
1979
    color: #666;
1980
    background-color: #ddd;
1981
}
1982
1983
.config-form .lastrow {
1984
    border-top: 1px #000 solid;
1985
}
1986
1987
.config-form .lastrow {
1988
    background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
1989
    padding: .5em;
1990
    text-align: center;
1991
}
1992
1993
.config-form .lastrow input {
1994
    font-weight: bold;
1995
}
1996
1997
/* form elements */
1998
1999
.config-form span.checkbox {
2000
    padding: 2px;
2001
    display: inline-block;
2002
}
2003
2004
.config-form .custom { /* customized field */
2005
    background: #FFC;
2006
}
2007
2008
.config-form span.checkbox.custom {
2009
    padding:    1px;
2010
    border:     1px #EDEC90 solid;
2011
    background: #FFC;
2012
}
2013
2014
.config-form .field-error {
2015
    border-color: #A11 !important;
2016
}
2017
2018
.config-form input[type="text"],
2019
.config-form input[type="password"],
2020
.config-form input[type="number"],
2021
.config-form select,
2022
.config-form textarea {
2023
    border: 1px #A7A6AA solid;
2024
    height: auto;
2025
}
2026
2027
.config-form input[type="text"]:focus,
2028
.config-form input[type="password"]:focus,
2029
.config-form input[type="number"]:focus,
2030
.config-form select:focus,
2031
.config-form textarea:focus {
2032
    border:     1px #6676FF solid;
2033
    background: #F7FBFF;
2034
}
2035
2036
.config-form .field-comment-mark {
2037
    font-family: serif;
2038
    color: #007;
2039
    cursor: help;
2040
    padding: 0 0.2em;
2041
    font-weight: bold;
2042
    font-style: italic;
2043
}
2044
2045
.config-form .field-comment-warning {
2046
    color: #A00;
2047
}
2048
2049
/* error list */
2050
.config-form dd {
2051
    margin-left: .5em;
2052
}
2053
2054
.config-form dd:before {
2055
    content: "\25B8  ";
2056
}
2057
2058
.click-hide-message {
2059
    cursor: pointer;
2060
}
2061
2062
.prefsmanage_opts {
2063
    margin-<?php echo $left; ?>: 2em;
2064
}
2065
2066
#prefs_autoload {
2067
    margin-bottom: .5em;
2068
    margin-left: .5em;
2069
}
2070
2071
#placeholder .button {
2072
    position: absolute;
2073
    cursor: pointer;
2074
}
2075
2076
#placeholder div.button {
2077
    font-size: smaller;
2078
    color: #999;
2079
    background-color: #eee;
2080
    padding: 2px;
2081
}
2082
2083
.wrapper {
2084
    float: <?php echo $left; ?>;
2085
    margin-bottom: 0.5em;
2086
}
2087
.toggleButton {
2088
    position: relative;
2089
    cursor: pointer;
2090
    font-size: .8em;
2091
    text-align: center;
2092
    line-height: 1.4em;
2093
    height: 1.55em;
2094
    overflow: hidden;
2095
    border-right: .1em solid #888;
2096
    border-left: .1em solid #888;
2097
}
2098
.toggleButton table,
2099
.toggleButton td,
2100
.toggleButton img {
2101
    padding: 0;
2102
    position: relative;
2103
}
2104
.toggleButton .container {
2105
    position: absolute;
2106
}
2107
.toggleButton .container td,
2108
.toggleButton .container tr {
2109
    background-image: none;
2110
    background: none !important;
2111
}
2112
.toggleButton .toggleOn {
2113
    color: #fff;
2114
    padding: 0 1em;
2115
}
2116
.toggleButton .toggleOff {
2117
    padding: 0 1em;
2118
}
2119
2120
.doubleFieldset fieldset {
2121
    width: 48%;
2122
    float: <?php echo $left; ?>;
2123
    padding: 0;
2124
}
2125
.doubleFieldset fieldset.left {
2126
    margin-<?php echo $right; ?>: 1%;
2127
}
2128
.doubleFieldset fieldset.right {
2129
    margin-<?php echo $left; ?>: 1%;
2130
}
2131
.doubleFieldset legend {
2132
    margin-<?php echo $left; ?>: 0.5em;
2133
}
2134
.doubleFieldset div.wrap {
2135
    padding: 0.5em;
2136
}
2137
2138
#table_name_col_no_outer {
2139
    margin-top: 30px;
2140
}
2141
2142
#table_name_col_no {
2143
    position: fixed;
2144
    top: 44px;
2145
    width: 100%;
2146
    background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
2147
}
2148
2149
#table_columns input[type="text"],
2150
#table_columns input[type="password"],
2151
#table_columns input[type="number"],
2152
#table_columns input[type="date"],
2153
#table_columns select {
2154
    width:              10em;
2155
    box-sizing:         border-box;
2156
    -ms-box-sizing:     border-box;
2157
    -moz-box-sizing:    border-box;
2158
    -webkit-box-sizing: border-box;
2159
}
2160
2161
#placeholder {
2162
    position: relative;
2163
    border: 1px solid #aaa;
2164
    float: <?php echo $right; ?>;
2165
    overflow: hidden;
2166
    width: 450px;
2167
    height: 300px;
2168
}
2169
2170
#openlayersmap{
2171
    width: 450px;
2172
    height: 300px;
2173
}
2174
2175
.placeholderDrag {
2176
    cursor: move;
2177
}
2178
2179
#placeholder .button {
2180
    position: absolute;
2181
}
2182
2183
#left_arrow {
2184
    left: 8px;
2185
    top: 26px;
2186
}
2187
2188
#right_arrow {
2189
    left: 26px;
2190
    top: 26px;
2191
}
2192
2193
#up_arrow {
2194
    left: 17px;
2195
    top: 8px;
2196
}
2197
2198
#down_arrow {
2199
    left: 17px;
2200
    top: 44px;
2201
}
2202
2203
#zoom_in {
2204
    left: 17px;
2205
    top: 67px;
2206
}
2207
2208
#zoom_world {
2209
    left: 17px;
2210
    top: 85px;
2211
}
2212
2213
#zoom_out {
2214
    left: 17px;
2215
    top: 103px;
2216
}
2217
2218
.colborder {
2219
    cursor: col-resize;
2220
    height: 100%;
2221
    margin-left: -5px;
2222
    position: absolute;
2223
    width: 5px;
2224
}
2225
2226
.colborder_active {
2227
    border-right: 2px solid #a44;
2228
}
2229
2230
.pma_table td {
2231
    position: static;
2232
}
2233
2234
.pma_table th.draggable span,
2235
.pma_table tbody td span {
2236
    display: block;
2237
    overflow: hidden;
2238
}
2239
2240
.pma_table tbody td span code span {
2241
    display: inline;
2242
}
2243
2244
.modal-copy input {
2245
    display: block;
2246
    width: 100%;
2247
    margin-top: 1.5em;
2248
    padding: .3em 0;
2249
}
2250
2251
.cRsz {
2252
    position: absolute;
2253
}
2254
2255
.draggable {
2256
    cursor: move;
2257
}
2258
2259
.cCpy {
2260
    background: #000;
2261
    color: #FFF;
2262
    font-weight: bold;
2263
    margin: 0.1em;
2264
    padding: 0.3em;
2265
    position: absolute;
2266
}
2267
2268
.cPointer {
2269
    background: url(<?php echo $theme->getImgPath('col_pointer.png');?>);
2270
    height: 20px;
2271
    margin-left: -5px;  /* must be minus half of its width */
2272
    margin-top: -10px;
2273
    position: absolute;
2274
    width: 10px;
2275
}
2276
2277
.tooltip {
2278
    background: #333 !important;
2279
    opacity: .8 !important;
2280
    border: 1px solid #000 !important;
2281
    -moz-border-radius: .3em !important;
2282
    -webkit-border-radius: .3em !important;
2283
    border-radius: .3em !important;
2284
    text-shadow: -1px -1px #000 !important;
2285
    font-size: .8em !important;
2286
    font-weight: bold !important;
2287
    padding: 1px 3px !important;
2288
}
2289
2290
.tooltip * {
2291
    background: none !important;
2292
    color: #FFF !important;
2293
}
2294
2295
2296
.data_full_width {
2297
    width: 100%;
2298
}
2299
2300
.cDrop {
2301
    left: 0;
2302
    position: absolute;
2303
    top: 0;
2304
}
2305
2306
.coldrop {
2307
    background: url(<?php echo $theme->getImgPath('col_drop.png');?>);
2308
    cursor: pointer;
2309
    height: 16px;
2310
    margin-left: 0.5em;
2311
    margin-top: 0.3em;
2312
    position: absolute;
2313
    width: 16px;
2314
}
2315
2316
.coldrop:hover,
2317
.coldrop-hover {
2318
    background-color: #999;
2319
}
2320
2321
.cList {
2322
    background: #EEE;
2323
    border: solid 1px #999;
2324
    position: absolute;
2325
}
2326
2327
.cList .lDiv div {
2328
    padding: .2em .5em .2em .2em;
2329
}
2330
2331
.cList .lDiv div:hover {
2332
    background: #DDD;
2333
    cursor: pointer;
2334
}
2335
2336
.cList .lDiv div input {
2337
    cursor: pointer;
2338
}
2339
2340
.showAllColBtn {
2341
    border-bottom: solid 1px #999;
2342
    border-top: solid 1px #999;
2343
    cursor: pointer;
2344
    font-size: .9em;
2345
    font-weight: bold;
2346
    padding: .35em 1em;
2347
    text-align: center;
2348
}
2349
2350
.showAllColBtn:hover {
2351
    background: #DDD;
2352
}
2353
2354
.navigation {
2355
    background: #E5E5E5;
2356
    border: 1px solid black;
2357
    margin: 0.8em 0;
2358
}
2359
2360
.navigation td {
2361
    margin: 0;
2362
    padding: 0;
2363
    vertical-align: middle;
2364
    white-space: nowrap;
2365
}
2366
2367
.navigation_separator {
2368
    color: #555;
2369
    display: inline-block;
2370
    text-align: center;
2371
    width: 1.2em;
2372
    text-shadow: 1px 0 #FFF;
2373
}
2374
2375
.navigation input[type=submit] {
2376
    background: none;
2377
    border: 0;
2378
    margin: 0;
2379
    padding: 0.3em 0.5em;
2380
    min-width: 1.5em;
2381
    font-weight: bold;
2382
}
2383
2384
.navigation input[type=submit]:hover, .navigation input.edit_mode_active {
2385
    background: #333;
2386
    color: white;
2387
    cursor: pointer;
2388
}
2389
2390
.navigation select {
2391
    margin: 0 .8em;
2392
}
2393
2394
.cEdit {
2395
    margin: 0;
2396
    padding: 0;
2397
    position: absolute;
2398
}
2399
2400
.cEdit input[type=text],
2401
.cEdit input[type=password],
2402
.cEdit input[type=number] {
2403
    background: #FFF;
2404
    height: 100%;
2405
    margin: 0;
2406
    padding: 0;
2407
}
2408
2409
.cEdit .edit_area {
2410
    background: #FFF;
2411
    border: 1px solid #999;
2412
    min-width: 10em;
2413
    padding: .3em .5em;
2414
}
2415
2416
.cEdit .edit_area select,
2417
.cEdit .edit_area textarea {
2418
    width: 97%;
2419
}
2420
2421
.cEdit .cell_edit_hint {
2422
    color: #555;
2423
    font-size: .8em;
2424
    margin: .3em .2em;
2425
}
2426
2427
.cEdit .edit_box {
2428
    overflow-x: hidden;
2429
    overflow-y: scroll;
2430
    padding: 0;
2431
}
2432
2433
.cEdit .edit_box_posting {
2434
    background: #FFF url(<?php echo $theme->getImgPath('ajax_clock_small.gif');?>) no-repeat right center;
2435
    padding-right: 1.5em;
2436
}
2437
2438
.cEdit .edit_area_loading {
2439
    background: #FFF url(<?php echo $theme->getImgPath('ajax_clock_small.gif');?>) no-repeat center;
2440
    height: 10em;
2441
}
2442
2443
.cEdit .goto_link {
2444
    background: #EEE;
2445
    color: #555;
2446
    padding: .2em .3em;
2447
}
2448
2449
.saving_edited_data {
2450
    background: url(<?php echo $theme->getImgPath('ajax_clock_small.gif');?>) no-repeat left;
2451
    padding-left: 20px;
2452
}
2453
2454
/* css for timepicker */
2455
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
2456
.ui-timepicker-div dl { text-align: <?php echo $left; ?>; }
2457
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
2458
.ui-timepicker-div dl dd { margin: 0 10px 10px 85px; }
2459
.ui-timepicker-div td { font-size: 90%; }
2460
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
2461
.ui-timepicker-rtl { direction: rtl; }
2462
.ui-timepicker-rtl dl { text-align: right; }
2463
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }
2464
2465
input.btn {
2466
    color: #333;
2467
    background-color: #D0DCE0;
2468
}
2469
2470
body .ui-widget {
2471
    font-size: 1em;
2472
}
2473
2474
.ui-dialog fieldset legend a {
2475
    color: #0000FF;
2476
}
2477
2478
.ui-draggable {
2479
    z-index: 801;
2480
}
2481
2482
/* jqPlot */
2483
2484
/*rules for the plot target div.  These will be cascaded down to all plot elements
2485
according to css rules*/
2486
.jqplot-target {
2487
    position: relative;
2488
    color: #222222;
2489
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
2490
    font-size: 1em;
2491
/*    height: 300px;
2492
    width: 400px;*/
2493
}
2494
2495
/*rules applied to all axes*/
2496
.jqplot-axis {
2497
    font-size: 0.75em;
2498
}
2499
2500
.jqplot-xaxis {
2501
    margin-top: 10px;
2502
}
2503
2504
.jqplot-x2axis {
2505
    margin-bottom: 10px;
2506
}
2507
2508
.jqplot-yaxis {
2509
    margin-right: 10px;
2510
}
2511
2512
.jqplot-y2axis, .jqplot-y3axis, .jqplot-y4axis, .jqplot-y5axis, .jqplot-y6axis,
2513
.jqplot-y7axis, .jqplot-y8axis, .jqplot-y9axis, .jqplot-yMidAxis {
2514
    margin-left: 10px;
2515
    margin-right: 10px;
2516
}
2517
2518
/*rules applied to all axis tick divs*/
2519
.jqplot-axis-tick, .jqplot-xaxis-tick, .jqplot-yaxis-tick, .jqplot-x2axis-tick,
2520
.jqplot-y2axis-tick, .jqplot-y3axis-tick, .jqplot-y4axis-tick, .jqplot-y5axis-tick,
2521
.jqplot-y6axis-tick, .jqplot-y7axis-tick, .jqplot-y8axis-tick, .jqplot-y9axis-tick,
2522
.jqplot-yMidAxis-tick {
2523
    position: absolute;
2524
    white-space: pre;
2525
}
2526
2527
2528
.jqplot-xaxis-tick {
2529
    top: 0;
2530
    /* initial position untill tick is drawn in proper place */
2531
    left: 15px;
2532
    vertical-align: top;
2533
}
2534
2535
.jqplot-x2axis-tick {
2536
    bottom: 0;
2537
    /* initial position untill tick is drawn in proper place */
2538
    left: 15px;
2539
    vertical-align: bottom;
2540
}
2541
2542
.jqplot-yaxis-tick {
2543
    right: 0;
2544
    /* initial position untill tick is drawn in proper place */
2545
    top: 15px;
2546
    text-align: right;
2547
}
2548
2549
.jqplot-yaxis-tick.jqplot-breakTick {
2550
    right: -20px;
2551
    margin-right: 0;
2552
    padding:1px 5px 1px 5px;
2553
    z-index: 2;
2554
    font-size: 1.5em;
2555
}
2556
2557
.jqplot-y2axis-tick, .jqplot-y3axis-tick, .jqplot-y4axis-tick, .jqplot-y5axis-tick,
2558
.jqplot-y6axis-tick, .jqplot-y7axis-tick, .jqplot-y8axis-tick, .jqplot-y9axis-tick {
2559
    left: 0;
2560
    /* initial position until tick is drawn in proper place */
2561
    top: 15px;
2562
    text-align: left;
2563
}
2564
2565
.jqplot-yMidAxis-tick {
2566
    text-align: center;
2567
    white-space: nowrap;
2568
}
2569
2570
.jqplot-xaxis-label {
2571
    margin-top: 10px;
2572
    font-size: 11pt;
2573
    position: absolute;
2574
}
2575
2576
.jqplot-x2axis-label {
2577
    margin-bottom: 10px;
2578
    font-size: 11pt;
2579
    position: absolute;
2580
}
2581
2582
.jqplot-yaxis-label {
2583
    margin-right: 10px;
2584
/*    text-align: center;*/
2585
    font-size: 11pt;
2586
    position: absolute;
2587
}
2588
2589
.jqplot-yMidAxis-label {
2590
    font-size: 11pt;
2591
    position: absolute;
2592
}
2593
2594
.jqplot-y2axis-label, .jqplot-y3axis-label, .jqplot-y4axis-label,
2595
.jqplot-y5axis-label, .jqplot-y6axis-label, .jqplot-y7axis-label,
2596
.jqplot-y8axis-label, .jqplot-y9axis-label {
2597
/*    text-align: center;*/
2598
    font-size: 11pt;
2599
    margin-left: 10px;
2600
    position: absolute;
2601
}
2602
2603
.jqplot-meterGauge-tick {
2604
    font-size: 0.75em;
2605
    color: #999999;
2606
}
2607
2608
.jqplot-meterGauge-label {
2609
    font-size: 1em;
2610
    color: #999999;
2611
}
2612
2613
table.jqplot-table-legend {
2614
    margin-top: 12px;
2615
    margin-bottom: 12px;
2616
    margin-left: 12px;
2617
    margin-right: 12px;
2618
}
2619
2620
table.jqplot-table-legend, table.jqplot-cursor-legend {
2621
    background-color: rgba(255,255,255,0.6);
2622
    border: 1px solid #cccccc;
2623
    position: absolute;
2624
    font-size: 0.75em;
2625
}
2626
2627
td.jqplot-table-legend {
2628
    vertical-align:middle;
2629
}
2630
2631
/*
2632
These rules could be used instead of assigning
2633
element styles and relying on js object properties.
2634
*/
2635
2636
/*
2637
td.jqplot-table-legend-swatch {
2638
    padding-top: 0.5em;
2639
    text-align: center;
2640
}
2641
2642
tr.jqplot-table-legend:first td.jqplot-table-legend-swatch {
2643
    padding-top: 0px;
2644
}
2645
*/
2646
2647
td.jqplot-seriesToggle:hover, td.jqplot-seriesToggle:active {
2648
    cursor: pointer;
2649
}
2650
2651
.jqplot-table-legend .jqplot-series-hidden {
2652
    text-decoration: line-through;
2653
}
2654
2655
div.jqplot-table-legend-swatch-outline {
2656
    border: 1px solid #cccccc;
2657
    padding:1px;
2658
}
2659
2660
div.jqplot-table-legend-swatch {
2661
    width:0;
2662
    height:0;
2663
    border-top-width: 5px;
2664
    border-bottom-width: 5px;
2665
    border-left-width: 6px;
2666
    border-right-width: 6px;
2667
    border-top-style: solid;
2668
    border-bottom-style: solid;
2669
    border-left-style: solid;
2670
    border-right-style: solid;
2671
}
2672
2673
.jqplot-title {
2674
    top: 0;
2675
    left: 0;
2676
    padding-bottom: 0.5em;
2677
    font-size: 1.2em;
2678
}
2679
2680
table.jqplot-cursor-tooltip {
2681
    border: 1px solid #cccccc;
2682
    font-size: 0.75em;
2683
}
2684
2685
2686
.jqplot-cursor-tooltip {
2687
    border: 1px solid #cccccc;
2688
    font-size: 0.75em;
2689
    white-space: nowrap;
2690
    background: rgba(208,208,208,0.5);
2691
    padding: 1px;
2692
}
2693
2694
.jqplot-highlighter-tooltip, .jqplot-canvasOverlay-tooltip {
2695
    border: 1px solid #cccccc;
2696
    font-size: 0.75em;
2697
    white-space: nowrap;
2698
    background: rgba(208,208,208,0.5);
2699
    padding: 1px;
2700
}
2701
2702
.jqplot-point-label {
2703
    font-size: 0.75em;
2704
    z-index: 2;
2705
}
2706
2707
td.jqplot-cursor-legend-swatch {
2708
    vertical-align: middle;
2709
    text-align: center;
2710
}
2711
2712
div.jqplot-cursor-legend-swatch {
2713
    width: 1.2em;
2714
    height: 0.7em;
2715
}
2716
2717
.jqplot-error {
2718
/*   Styles added to the plot target container when there is an error go here.*/
2719
    text-align: center;
2720
}
2721
2722
.jqplot-error-message {
2723
/*    Styling of the custom error message div goes here.*/
2724
    position: relative;
2725
    top: 46%;
2726
    display: inline-block;
2727
}
2728
2729
div.jqplot-bubble-label {
2730
    font-size: 0.8em;
2731
/*    background: rgba(90%, 90%, 90%, 0.15);*/
2732
    padding-left: 2px;
2733
    padding-right: 2px;
2734
    color: rgb(20%, 20%, 20%);
2735
}
2736
2737
div.jqplot-bubble-label.jqplot-bubble-label-highlight {
2738
    background: rgba(90%, 90%, 90%, 0.7);
2739
}
2740
2741
div.jqplot-noData-container {
2742
    text-align: center;
2743
    background-color: rgba(96%, 96%, 96%, 0.3);
2744
}
2745
2746
.relationalTable td {
2747
    vertical-align: top;
2748
}
2749
2750
.relationalTable select {
2751
    width: 125px;
2752
    margin-right: 5px;
2753
}
2754
2755
.report-data {
2756
    height:13em;
2757
    overflow:scroll;
2758
    width:570px;
2759
    border: solid 1px;
2760
    background: white;
2761
    padding: 2px;
2762
}
2763
2764
.report-description {
2765
    height:10em;
2766
    width:570px;
2767
}
2768
2769
div#page_content div#tableslistcontainer table.data {
2770
    border-top: 0.1px solid #EEEEEE;
2771
}
2772
2773
div#page_content div#tableslistcontainer, div#page_content div.notice, div#page_content div.result_query {
2774
    margin-top: 1em;
2775
}
2776
2777
table.show_create {
2778
    margin-top: 1em;
2779
}
2780
2781
table.show_create td {
2782
    border-right: 1px solid #bbb;
2783
}
2784
2785
#alias_modal table {
2786
    width: 100%;
2787
}
2788
2789
#alias_modal label {
2790
    font-weight: bold;
2791
}
2792
2793
.ui-dialog {
2794
    position: fixed;
2795
}
2796
2797
.small_font {
2798
    font-size: smaller;
2799
}
2800
2801
/* Console styles */
2802
#pma_console_container {
2803
    width: 100%;
2804
    position: fixed;
2805
    bottom: 0;
2806
    <?php echo $left; ?>: 0;
2807
    z-index: 100;
2808
}
2809
#pma_console {
2810
    position: relative;
2811
    margin-<?php echo $left; ?>: 240px;
2812
    z-index: 100;
2813
}
2814
#pma_console .templates {
2815
    display: none;
2816
}
2817
#pma_console .mid_text,
2818
#pma_console .toolbar span {
2819
    vertical-align: middle;
2820
}
2821
#pma_console .toolbar {
2822
    position: relative;
2823
    background: #ccc;
2824
    border-top: solid 1px #aaa;
2825
    cursor: n-resize;
2826
}
2827
#pma_console .toolbar.collapsed:not(:hover) {
2828
    display: inline-block;
2829
    border-top-<?php echo $right; ?>-radius: 3px;
2830
    border-<?php echo $right; ?>: solid 1px #aaa;
2831
}
2832
#pma_console .toolbar.collapsed {
2833
    cursor: default;
2834
}
2835
#pma_console .toolbar.collapsed>.button {
2836
    display: none;
2837
}
2838
#pma_console .message span.text,
2839
#pma_console .message span.action,
2840
#pma_console .toolbar .button,
2841
#pma_console .toolbar .text,
2842
#pma_console .switch_button {
2843
    padding: 0 3px;
2844
    display: inline-block;
2845
}
2846
#pma_console .message span.action,
2847
#pma_console .toolbar .button,
2848
#pma_console .switch_button {
2849
    cursor: pointer;
2850
}
2851
#pma_console .message span.action:hover,
2852
#pma_console .toolbar .button:hover,
2853
#pma_console .switch_button:hover,
2854
#pma_console .toolbar .button.active {
2855
    background: #ddd;
2856
}
2857
#pma_console .toolbar .text {
2858
    font-weight: bold;
2859
}
2860
#pma_console .toolbar .button,
2861
#pma_console .toolbar .text {
2862
    margin-<?php echo $right; ?>: .4em;
2863
}
2864
#pma_console .toolbar .button,
2865
#pma_console .toolbar .text {
2866
    float: <?php echo $right; ?>;
2867
}
2868
#pma_console .content {
2869
    overflow-x: hidden;
2870
    overflow-y: auto;
2871
    margin-bottom: -65px;
2872
    border-top: solid 1px #aaa;
2873
    background: #fff;
2874
    padding-top: .4em;
2875
}
2876
#pma_console .content.console_dark_theme {
2877
    background: #000;
2878
    color: #fff;
2879
}
2880
#pma_console .content.console_dark_theme .CodeMirror-wrap {
2881
    background: #000;
2882
    color: #fff;
2883
}
2884
#pma_console .content.console_dark_theme .action_content {
2885
    color: #000;
2886
}
2887
#pma_console .content.console_dark_theme .message {
2888
    border-color: #373B41;
2889
}
2890
#pma_console .content.console_dark_theme .CodeMirror-cursor {
2891
    border-color: #fff;
2892
}
2893
#pma_console .content.console_dark_theme .cm-keyword {
2894
    color: #de935f;
2895
}
2896
#pma_console .message,
2897
#pma_console .query_input {
2898
    position: relative;
2899
    font-family: Monaco, Consolas, monospace;
2900
    cursor: text;
2901
    margin: 0 10px .2em 1.4em;
2902
}
2903
#pma_console .message {
2904
    border-bottom: solid 1px #ccc;
2905
    padding-bottom: .2em;
2906
}
2907
#pma_console .message.expanded>.action_content {
2908
    position: relative;
2909
}
2910
#pma_console .message:before,
2911
#pma_console .query_input:before {
2912
    left: -0.7em;
2913
    position: absolute;
2914
    content: ">";
2915
}
2916
#pma_console .query_input:before {
2917
    top: -2px;
2918
}
2919
#pma_console .query_input textarea {
2920
    width: 100%;
2921
    height: 4em;
2922
    resize: vertical;
2923
}
2924
#pma_console .message:hover:before {
2925
    color: #7cf;
2926
    font-weight: bold;
2927
}
2928
#pma_console .message.expanded:before {
2929
    content: "]";
2930
}
2931
#pma_console .message.welcome:before {
2932
    display: none;
2933
}
2934
#pma_console .message.failed:before,
2935
#pma_console .message.failed.expanded:before,
2936
#pma_console .message.failed:hover:before {
2937
    content: "=";
2938
    color: #944;
2939
}
2940
#pma_console .message.pending:before {
2941
    opacity: .3;
2942
}
2943
#pma_console .message.collapsed>.query {
2944
    white-space: nowrap;
2945
    text-overflow: ellipsis;
2946
    overflow: hidden;
2947
}
2948
#pma_console .message.expanded>.query {
2949
    display: block;
2950
    white-space: pre;
2951
    word-wrap: break-word;
2952
}
2953
#pma_console .message .text.targetdb,
2954
#pma_console .message.collapsed .action.collapse,
2955
#pma_console .message.expanded .action.expand,
2956
#pma_console .message .action.requery,
2957
#pma_console .message .action.profiling,
2958
#pma_console .message .action.explain,
2959
#pma_console .message .action.bookmark {
2960
    display: none;
2961
}
2962
#pma_console .message.select .action.profiling,
2963
#pma_console .message.select .action.explain,
2964
#pma_console .message.history .text.targetdb,
2965
#pma_console .message.successed .text.targetdb,
2966
#pma_console .message.history .action.requery,
2967
#pma_console .message.history .action.bookmark,
2968
#pma_console .message.bookmark .action.requery,
2969
#pma_console .message.bookmark .action.bookmark,
2970
#pma_console .message.successed .action.requery,
2971
#pma_console .message.successed .action.bookmark {
2972
    display: inline-block;
2973
}
2974
#pma_console .message .action_content {
2975
    position: absolute;
2976
    bottom: 100%;
2977
    background: #ccc;
2978
    border: solid 1px #aaa;
2979
    border-top-<?php echo $left; ?>-radius: 3px;
2980
}
2981
html.ie8 #pma_console .message .action_content {
2982
    position: relative!important;
2983
}
2984
#pma_console .message.bookmark .text.targetdb,
2985
#pma_console .message .text.query_time {
2986
    margin: 0;
2987
    display: inline-block;
2988
}
2989
#pma_console .message.failed .text.query_time,
2990
#pma_console .message .text.failed {
2991
    display: none;
2992
}
2993
#pma_console .message.failed .text.failed {
2994
    display: inline-block;
2995
}
2996
#pma_console .message .text {
2997
    background: #fff;
2998
}
2999
#pma_console .message.collapsed>.action_content {
3000
    display: none;
3001
}
3002
#pma_console .message.collapsed:hover>.action_content {
3003
    display: block;
3004
}
3005
#pma_console .message .bookmark_label {
3006
    padding: 0 4px;
3007
    top: 0;
3008
    background: #369;
3009
    color: #fff;
3010
    border-radius: 3px;
3011
}
3012
#pma_console .message .bookmark_label.shared {
3013
    background: #396;
3014
}
3015
#pma_console .message.expanded .bookmark_label {
3016
    border-top-left-radius: 0;
3017
    border-top-right-radius: 0;
3018
}
3019
#pma_console .query_input {
3020
    position: relative;
3021
}
3022
#pma_console .mid_layer {
3023
    height: 100%;
3024
    width: 100%;
3025
    position: absolute;
3026
    top: 0;
3027
    /* For support IE8, this layer doesn't use filter:opacity or opacity,
3028
    js code will fade this layer opacity to 0.18(using animation) */
3029
    background: #666;
3030
    display: none;
3031
    cursor: pointer;
3032
    z-index: 200;
3033
}
3034
#pma_console .card {
3035
    position: absolute;
3036
    width: 94%;
3037
    height: 100%;
3038
    min-height: 48px;
3039
    <?php echo $left; ?>: 100%;
3040
    top: 0;
3041
    border-<?php echo $left; ?>: solid 1px #999;
3042
    z-index: 300;
3043
    transition: <?php echo $left; ?> 0.2s;
3044
    -ms-transition: <?php echo $left; ?> 0.2s;
3045
    -webkit-transition: <?php echo $left; ?> 0.2s;
3046
    -moz-transition: <?php echo $left; ?> 0.2s;
3047
}
3048
#pma_console .card.show {
3049
    <?php echo $left; ?>: 6%;
3050
    box-shadow: -2px 1px 4px -1px #999;
3051
}
3052
3053
html.ie7 #pma_console .query_input {
3054
    display: none;
3055
}
3056
3057
#pma_bookmarks .content.add_bookmark,
3058
#pma_console_options .content {
3059
    padding: 4px 6px;
3060
}
3061
#pma_bookmarks .content.add_bookmark .options {
3062
    margin-<?php echo $left; ?>: 1.4em;
3063
    padding-bottom: .4em;
3064
    margin-bottom: .4em;
3065
    border-bottom: solid 1px #ccc;
3066
}
3067
#pma_bookmarks .content.add_bookmark .options button {
3068
    margin: 0 7px;
3069
    vertical-align: bottom;
3070
}
3071
#pma_bookmarks .content.add_bookmark input[type=text] {
3072
    margin: 0;
3073
    padding: 2px 4px;
3074
}
3075
#pma_console .button.hide,
3076
#pma_console .message span.text.hide {
3077
    display: none;
3078
}
3079
#debug_console.grouped .ungroup_queries,
3080
#debug_console.ungrouped .group_queries {
3081
    display: inline-block;
3082
}
3083
#debug_console.ungrouped .ungroup_queries,
3084
#debug_console.ungrouped .sort_count,
3085
#debug_console.grouped .group_queries {
3086
    display: none;
3087
}
3088
#debug_console .count {
3089
    margin-right: 8px;
3090
}
3091
#debug_console .show_trace .trace,
3092
#debug_console .show_args .args {
3093
    display: block;
3094
}
3095
#debug_console .hide_trace .trace,
3096
#debug_console .hide_args .args,
3097
#debug_console .show_trace .action.dbg_show_trace,
3098
#debug_console .hide_trace .action.dbg_hide_trace,
3099
#debug_console .traceStep.hide_args .action.dbg_hide_args,
3100
#debug_console .traceStep.show_args .action.dbg_show_args {
3101
    display: none;
3102
}
3103
3104
#debug_console .traceStep:after,
3105
#debug_console .trace.welcome:after,
3106
#debug_console .debug>.welcome:after {
3107
    content: "";
3108
    display: table;
3109
    clear: both;
3110
}
3111
#debug_console .debug_summary {
3112
    float: left;
3113
}
3114
#debug_console .trace.welcome .time {
3115
    float: right;
3116
}
3117
#debug_console .traceStep .file,
3118
#debug_console .script_name {
3119
    float: right;
3120
}
3121
#debug_console .traceStep .args pre {
3122
    margin: 0;
3123
}
3124
3125
/* Code mirror console style*/
3126
3127
.cm-s-pma .CodeMirror-code pre,
3128
.cm-s-pma .CodeMirror-code {
3129
    font-family: Monaco, Consolas, monospace;
3130
}
3131
.cm-s-pma .CodeMirror-measure>pre,
3132
.cm-s-pma .CodeMirror-code>pre,
3133
.cm-s-pma .CodeMirror-lines {
3134
    padding: 0;
3135
}
3136
.cm-s-pma.CodeMirror {
3137
    resize: none;
3138
    height: auto;
3139
    width: 100%;
3140
    min-height: initial;
3141
    max-height: initial;
3142
}
3143
.cm-s-pma .CodeMirror-scroll {
3144
    cursor: text;
3145
}
3146
3147
/* PMA drop-improt style */
3148
3149
.pma_drop_handler {
3150
    display: none;
3151
    position: fixed;
3152
    top: 0;
3153
    left: 0;
3154
    width: 100%;
3155
    background: rgba(0, 0, 0, 0.6);
3156
    height: 100%;
3157
    z-index: 999;
3158
    color: white;
3159
    font-size: 30pt;
3160
    text-align: center;
3161
    padding-top: 20%;
3162
}
3163
3164
.pma_sql_import_status {
3165
    display: none;
3166
    position: fixed;
3167
    bottom: 0;
3168
    right: 25px;
3169
    width: 400px;
3170
    border: 1px solid #999;
3171
    background: #f3f3f3;
3172
    -moz-border-radius: 4px;
3173
    -webkit-border-radius: 4px;
3174
    border-radius: 4px;
3175
    -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
3176
    -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
3177
    box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>2px 2px 5px #ccc;
3178
}
3179
3180
.pma_sql_import_status h2,
3181
.pma_drop_result h2 {
3182
    background-color: #bbb;
3183
    padding: .1em .3em;
3184
    margin-top: 0;
3185
    margin-bottom: 0;
3186
    color: #fff;
3187
    font-size: 1.6em;
3188
    font-weight: normal;
3189
    text-shadow: 0 1px 0 #777;
3190
    -moz-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
3191
    -webkit-box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
3192
    box-shadow: <?php echo $GLOBALS['text_dir'] === 'rtl' ? '-' : ''; ?>1px 1px 15px #999 inset;
3193
}
3194
3195
.pma_sql_import_status div {
3196
    height: 270px;
3197
    overflow-y:auto;
3198
    overflow-x:hidden;
3199
    list-style-type: none;
3200
}
3201
3202
.pma_sql_import_status div li {
3203
    padding: 8px 10px;
3204
    border-bottom: 1px solid #bbb;
3205
    color: rgb(148, 14, 14);
3206
    background: white;
3207
}
3208
3209
.pma_sql_import_status div li .filesize {
3210
    float: right;
3211
}
3212
3213
.pma_sql_import_status h2 .minimize {
3214
    float: right;
3215
    margin-right: 5px;
3216
    padding: 0 10px;
3217
}
3218
3219
.pma_sql_import_status h2 .close {
3220
    float: right;
3221
    margin-right: 5px;
3222
    padding: 0 10px;
3223
    display: none;
3224
}
3225
3226
.pma_sql_import_status h2 .minimize:hover,
3227
.pma_sql_import_status h2 .close:hover,
3228
.pma_drop_result h2 .close:hover {
3229
    background: rgba(155, 149, 149, 0.78);
3230
    cursor: pointer;
3231
}
3232
3233
.pma_drop_file_status {
3234
    color: #235a81;
3235
}
3236
3237
.pma_drop_file_status span.underline:hover {
3238
    cursor: pointer;
3239
    text-decoration: underline;
3240
}
3241
3242
.pma_drop_result {
3243
    position: fixed;
3244
    top: 10%;
3245
    left: 20%;
3246
    width: 60%;
3247
    background: white;
3248
    min-height: 300px;
3249
    z-index: 800;
3250
    -webkit-box-shadow: 0 0 15px #999;
3251
    border-radius: 10px;
3252
    cursor: move;
3253
}
3254
3255
.pma_drop_result h2 .close {
3256
    float: right;
3257
    margin-right: 5px;
3258
    padding: 0 10px;
3259
}
3260
3261
#composite_index_list {
3262
    list-style-type: none;
3263
    list-style-position: inside;
3264
}
3265
3266
span.drag_icon {
3267
    display: inline-block;
3268
    background-image: url('<?php echo $theme->getImgPath('s_sortable.png');?>');
3269
    background-position: center center;
3270
    background-repeat: no-repeat;
3271
    width: 1em;
3272
    height: 3em;
3273
    cursor: move;
3274
}
3275
3276
.topmargin {
3277
    margin-top: 1em;
3278
}
3279
3280
/* styles for sortable tables created with tablesorter jquery plugin */
3281
th.header {
3282
    cursor: pointer;
3283
    color: #0000FF;
3284
}
3285
3286
th.header:hover {
3287
    text-decoration: underline;
3288
}
3289
3290
th.header .sorticon {
3291
    width: 16px;
3292
    height: 16px;
3293
    background-repeat: no-repeat;
3294
    background-position: right center;
3295
    display: inline-table;
3296
    vertical-align: middle;
3297
    float: right;
3298
}
3299
3300
th.headerSortUp .sorticon, th.headerSortDown:hover .sorticon {
3301
    background-image: url(<?php echo $theme->getImgPath('s_desc.png');?>);
3302
}
3303
3304
th.headerSortDown .sorticon, th.headerSortUp:hover .sorticon {
3305
    background-image: url(<?php echo $theme->getImgPath('s_asc.png');?>);
3306
}
3307
/* end of styles of sortable tables */
3308
3309
/* styles for jQuery-ui to support rtl languages */
3310
body .ui-dialog .ui-dialog-titlebar-close {
3311
    <?php echo $right; ?>: .3em;
3312
    <?php echo $left; ?>: initial;
3313
}
3314
3315
body .ui-dialog .ui-dialog-title {
3316
    float: <?php echo $left; ?>;
3317
}
3318
3319
body .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
3320
    float: <?php echo $right; ?>;
3321
}
3322
/* end of styles for jQuery-ui to support rtl languages */
3323
3324
/* Override some jQuery-ui styling to have square corners */
3325
body .ui-corner-all,
3326
body .ui-corner-top,
3327
body .ui-corner-left,
3328
body .ui-corner-tl {
3329
    border-top-left-radius: 0;
3330
}
3331
body .ui-corner-all,
3332
body .ui-corner-top,
3333
body .ui-corner-right,
3334
body .ui-corner-tr {
3335
    border-top-right-radius: 0;
3336
}
3337
body .ui-corner-all,
3338
body .ui-corner-bottom,
3339
body .ui-corner-left,
3340
body .ui-corner-bl {
3341
    border-bottom-left-radius: 0;
3342
}
3343
body .ui-corner-all,
3344
body .ui-corner-bottom,
3345
body .ui-corner-right,
3346
body .ui-corner-br {
3347
    border-bottom-right-radius: 0;
3348
}
3349
/* Override  jQuery-ui styling for ui-dialog */
3350
body .ui-dialog {
3351
    padding: 0;
3352
    border-color: #000000;
3353
}
3354
body .ui-dialog .ui-dialog-titlebar {
3355
    padding: .3em .5em;
3356
    border: none;
3357
    border-bottom: 1px solid #000000;
3358
}
3359
body .ui-dialog .ui-dialog-titlebar button {
3360
    border: 1px solid #999999;
3361
}
3362
body .ui-dialog .ui-dialog-content {
3363
    padding: .2em .4em;
3364
}
3365
body .ui-dialog .ui-dialog-buttonpane {
3366
    background: #D3DCE3;
3367
    border-top: 1px solid #000000;
3368
}
3369
body .ui-dialog .ui-dialog-buttonpane button {
3370
    margin: .1em 0 .1em .4em;
3371
    border: 1px solid #999999;
3372
    color: #000000;
3373
}
3374
body .ui-dialog .ui-button-text-only .ui-button-text {
3375
    padding: .2em .6em;
3376
}
3377
3378
.scrollindicator {
3379
    display: none;
3380
}
3381
3382
@media only screen and (max-width: 768px) {
3383
    /* For mobile phones: */
3384
    #main_pane_left {
3385
        width: 100%;
3386
    }
3387
3388
    #main_pane_right {
3389
        padding-top: 0;
3390
        padding-<?php echo $left; ?>: 1px;
3391
        padding-<?php echo $right; ?>: 1px;
3392
    }
3393
3394
    ul#topmenu,
3395
    ul.tabs {
3396
        display: flex;
3397
    }
3398
3399
    .navigationbar {
3400
        display: inline-flex;
3401
        margin: 0 !important;
3402
        border-radius: 0 !important;
3403
        overflow: auto;
3404
    }
3405
3406
    .scrollindicator {
3407
        padding: 5px;
3408
        cursor: pointer;
3409
        display: inline;
3410
    }
3411
3412
    .responsivetable {
3413
        overflow-x: auto;
3414
    }
3415
3416
    body#loginform div.container {
3417
        width: 100%;
3418
    }
3419
3420
    .largescreenonly {
3421
        display: none;
3422
    }
3423
3424
    .width100, .desktop50 {
3425
        width: 100%;
3426
    }
3427
3428
    .width96 {
3429
        width: 96% !important;
3430
    }
3431
3432
    #page_nav_icons {
3433
        display: none;
3434
    }
3435
3436
    table#serverstatusconnections {
3437
        margin-left: 0;
3438
    }
3439
3440
    #table_name_col_no {
3441
        top: 62px
3442
    }
3443
3444
    .tdblock tr td {
3445
        display: block;
3446
    }
3447
3448
    #table_columns {
3449
        margin-top: 60px;
3450
    }
3451
3452
    #table_columns .tablesorter {
3453
        min-width: 100%;
3454
    }
3455
3456
    .doubleFieldset fieldset {
3457
        width: 98%;
3458
    }
3459
3460
    div#serverstatusquerieschart {
3461
        width: 100%;
3462
        height: 450px;
3463
    }
3464
3465
    .ui-dialog {
3466
        margin: 1%;
3467
        width: 95% !important;
3468
    }
3469
3470
    #serverinfo .item {
3471
        margin: 4px;
3472
    }
3473
}
3474
3475
/* templates/database/designer */
3476
/* side menu */
3477
#name-panel {
3478
    overflow:hidden;
3479
}
3480