1 | <?php
|
---|
2 | // unplanned execution path
|
---|
3 | if (!defined('PMA_MINIMUM_COMMON')) {
|
---|
4 | exit();
|
---|
5 | }
|
---|
6 | ?>
|
---|
7 | /******************************************************************************/
|
---|
8 | /* general tags */
|
---|
9 | body {
|
---|
10 | <?php if (! empty($GLOBALS['cfg']['FontFamily'])) { ?>
|
---|
11 | font-family: <?php echo $GLOBALS['cfg']['FontFamily']; ?>;
|
---|
12 | <?php } ?>
|
---|
13 | padding: 0;
|
---|
14 | margin: 0.5em;
|
---|
15 | color: <?php echo $GLOBALS['cfg']['MainColor']; ?>;
|
---|
16 | background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
|
---|
17 | }
|
---|
18 |
|
---|
19 | <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
|
---|
20 | textarea, tt, pre, code {
|
---|
21 | font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
|
---|
22 | }
|
---|
23 | <?php } ?>
|
---|
24 |
|
---|
25 | h1 {
|
---|
26 | font-size: 180%;
|
---|
27 | font-weight: bold;
|
---|
28 | }
|
---|
29 |
|
---|
30 | h2 {
|
---|
31 | font-size: 130%;
|
---|
32 | font-weight: bold;
|
---|
33 | }
|
---|
34 |
|
---|
35 | h3 {
|
---|
36 | font-size: 120%;
|
---|
37 | font-weight: bold;
|
---|
38 | }
|
---|
39 |
|
---|
40 | pre, tt, code {
|
---|
41 | font-size: 110%;
|
---|
42 | }
|
---|
43 |
|
---|
44 | a:link,
|
---|
45 | a:visited,
|
---|
46 | a:active {
|
---|
47 | text-decoration: none;
|
---|
48 | color: #333399;
|
---|
49 | }
|
---|
50 |
|
---|
51 | a:hover {
|
---|
52 | text-decoration: underline;
|
---|
53 | color: #cc0000;
|
---|
54 | }
|
---|
55 |
|
---|
56 | dfn {
|
---|
57 | font-style: normal;
|
---|
58 | }
|
---|
59 |
|
---|
60 | dfn:hover {
|
---|
61 | font-style: normal;
|
---|
62 | cursor: help;
|
---|
63 | }
|
---|
64 |
|
---|
65 | th {
|
---|
66 | font-weight: bold;
|
---|
67 | color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
|
---|
68 | background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
|
---|
69 | }
|
---|
70 |
|
---|
71 | th a:link,
|
---|
72 | th a:active,
|
---|
73 | th a:visited {
|
---|
74 | color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
|
---|
75 | text-decoration: underline;
|
---|
76 | }
|
---|
77 |
|
---|
78 | th a:hover {
|
---|
79 | color: #666666;
|
---|
80 | text-decoration: none;
|
---|
81 | }
|
---|
82 |
|
---|
83 | a img {
|
---|
84 | border: 0;
|
---|
85 | }
|
---|
86 |
|
---|
87 | hr {
|
---|
88 | color: #666699;
|
---|
89 | background-color: #6666cc;
|
---|
90 | border: 0;
|
---|
91 | height: 1px;
|
---|
92 | }
|
---|
93 |
|
---|
94 | form {
|
---|
95 | padding: 0;
|
---|
96 | margin: 0;
|
---|
97 | display: inline;
|
---|
98 | }
|
---|
99 |
|
---|
100 | textarea {
|
---|
101 | overflow: visible;
|
---|
102 | }
|
---|
103 |
|
---|
104 | fieldset {
|
---|
105 | margin-top: 1em;
|
---|
106 | border: #666699 solid 1px;
|
---|
107 | padding: 0.5em;
|
---|
108 | }
|
---|
109 |
|
---|
110 | fieldset fieldset {
|
---|
111 | margin: 0.8em;
|
---|
112 | }
|
---|
113 |
|
---|
114 | fieldset legend {
|
---|
115 | color: #666699;
|
---|
116 | font-weight: bold;
|
---|
117 | background: <?php echo $GLOBALS['cfg']['MainBackground']; ?>;
|
---|
118 | padding: 2px 2px 2px 2px;
|
---|
119 | }
|
---|
120 |
|
---|
121 | /* buttons in some browsers (eg. Konqueror) are block elements,
|
---|
122 | this breaks design */
|
---|
123 | button {
|
---|
124 | display: inline;
|
---|
125 | }
|
---|
126 |
|
---|
127 | table caption,
|
---|
128 | table th,
|
---|
129 | table td {
|
---|
130 | padding: 0.1em 0.5em 0.1em 0.5em;
|
---|
131 | margin: 0.1em;
|
---|
132 | vertical-align: top;
|
---|
133 | }
|
---|
134 |
|
---|
135 | img,
|
---|
136 | input,
|
---|
137 | select,
|
---|
138 | button {
|
---|
139 | vertical-align: middle;
|
---|
140 | }
|
---|
141 |
|
---|
142 |
|
---|
143 | /******************************************************************************/
|
---|
144 | /* classes */
|
---|
145 |
|
---|
146 | fieldset.tblFooters {
|
---|
147 | margin-top: 0;
|
---|
148 | margin-bottom: 0.5em;
|
---|
149 | text-align: <?php echo $right; ?>;
|
---|
150 | float: none;
|
---|
151 | clear: both;
|
---|
152 | }
|
---|
153 |
|
---|
154 | fieldset .formelement {
|
---|
155 | float: <?php echo $left; ?>;
|
---|
156 | margin-<?php echo $right; ?>: 0.5em;
|
---|
157 | /* IE */
|
---|
158 | white-space: nowrap;
|
---|
159 | }
|
---|
160 |
|
---|
161 | /* revert for Gecko */
|
---|
162 | fieldset div[class=formelement] {
|
---|
163 | white-space: normal;
|
---|
164 | }
|
---|
165 |
|
---|
166 | button.mult_submit {
|
---|
167 | border: none;
|
---|
168 | background-color: transparent;
|
---|
169 | }
|
---|
170 |
|
---|
171 | /* odd items 1,3,5,7,... */
|
---|
172 | .odd {
|
---|
173 | background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
|
---|
174 | }
|
---|
175 |
|
---|
176 | /* even items 2,4,6,8,... */
|
---|
177 | .even {
|
---|
178 | background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
|
---|
179 | }
|
---|
180 |
|
---|
181 | /* odd table rows 1,3,5,7,... */
|
---|
182 | table tr.odd th,
|
---|
183 | table tr.odd {
|
---|
184 | background-image: none;
|
---|
185 | background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
|
---|
186 | text-align: <?php echo $left; ?>;
|
---|
187 | }
|
---|
188 |
|
---|
189 | /* even table rows 2,4,6,8,... */
|
---|
190 | table tr.even th,
|
---|
191 | table tr.even {
|
---|
192 | background-image: none;
|
---|
193 | background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
|
---|
194 | text-align: <?php echo $left; ?>;
|
---|
195 | }
|
---|
196 |
|
---|
197 | <?php if ($GLOBALS['cfg']['BrowseMarkerEnable']) { ?>
|
---|
198 | /* marked table rows */
|
---|
199 | table tr.marked th,
|
---|
200 | table tr.marked {
|
---|
201 | background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
|
---|
202 | color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
|
---|
203 | }
|
---|
204 | <?php } ?>
|
---|
205 |
|
---|
206 | <?php if ($GLOBALS['cfg']['BrowsePointerEnable']) { ?>
|
---|
207 | /* hovered items */
|
---|
208 | .odd:hover,
|
---|
209 | .even:hover,
|
---|
210 | .hover {
|
---|
211 | background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
|
---|
212 | color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
|
---|
213 | }
|
---|
214 |
|
---|
215 | /* hovered table rows */
|
---|
216 | table tr.odd:hover th,
|
---|
217 | table tr.even:hover th,
|
---|
218 | table tr.hover th {
|
---|
219 | background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
|
---|
220 | color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
|
---|
221 | }
|
---|
222 | <?php } ?>
|
---|
223 |
|
---|
224 | /**
|
---|
225 | * marks table rows/cells if the db field is in a where condition
|
---|
226 | */
|
---|
227 | tr.condition th,
|
---|
228 | tr.condition td,
|
---|
229 | td.condition,
|
---|
230 | th.condition {
|
---|
231 | border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
|
---|
232 | }
|
---|
233 |
|
---|
234 | table .value {
|
---|
235 | text-align: <?php echo $right; ?>;
|
---|
236 | white-space: normal;
|
---|
237 | }
|
---|
238 | /* IE doesnt handles 'pre' right */
|
---|
239 | table [class=value] {
|
---|
240 | white-space: normal;
|
---|
241 | }
|
---|
242 |
|
---|
243 |
|
---|
244 | <?php if (! empty($GLOBALS['cfg']['FontFamilyFixed'])) { ?>
|
---|
245 | .value {
|
---|
246 | font-family: <?php echo $GLOBALS['cfg']['FontFamilyFixed']; ?>;
|
---|
247 | }
|
---|
248 | <?php } ?>
|
---|
249 | .value .attention {
|
---|
250 | color: red;
|
---|
251 | font-weight: bold;
|
---|
252 | }
|
---|
253 | .value .allfine {
|
---|
254 | color: green;
|
---|
255 | }
|
---|
256 |
|
---|
257 |
|
---|
258 | img.lightbulb {
|
---|
259 | cursor: pointer;
|
---|
260 | }
|
---|
261 |
|
---|
262 | .pdflayout {
|
---|
263 | overflow: hidden;
|
---|
264 | clip: inherit;
|
---|
265 | background-color: #FFFFFF;
|
---|
266 | display: none;
|
---|
267 | border: 1px solid #000000;
|
---|
268 | position: relative;
|
---|
269 | }
|
---|
270 |
|
---|
271 | .pdflayout_table {
|
---|
272 | background: #ff9900;
|
---|
273 | color: #000000;
|
---|
274 | overflow: hidden;
|
---|
275 | clip: inherit;
|
---|
276 | z-index: 2;
|
---|
277 | display: inline;
|
---|
278 | visibility: inherit;
|
---|
279 | cursor: move;
|
---|
280 | position: absolute;
|
---|
281 | font-size: 110%;
|
---|
282 | border: 1px dashed #000000;
|
---|
283 | }
|
---|
284 |
|
---|
285 | /* MySQL Parser */
|
---|
286 | .syntax {
|
---|
287 | }
|
---|
288 |
|
---|
289 | .syntax_comment {
|
---|
290 | padding-left: 4pt;
|
---|
291 | padding-right: 4pt;
|
---|
292 | }
|
---|
293 |
|
---|
294 | .syntax_digit {
|
---|
295 | }
|
---|
296 |
|
---|
297 | .syntax_digit_hex {
|
---|
298 | }
|
---|
299 |
|
---|
300 | .syntax_digit_integer {
|
---|
301 | }
|
---|
302 |
|
---|
303 | .syntax_digit_float {
|
---|
304 | }
|
---|
305 |
|
---|
306 | .syntax_punct {
|
---|
307 | }
|
---|
308 |
|
---|
309 | .syntax_alpha {
|
---|
310 | }
|
---|
311 |
|
---|
312 | .syntax_alpha_columnType {
|
---|
313 | text-transform: uppercase;
|
---|
314 | }
|
---|
315 |
|
---|
316 | .syntax_alpha_columnAttrib {
|
---|
317 | text-transform: uppercase;
|
---|
318 | }
|
---|
319 |
|
---|
320 | .syntax_alpha_reservedWord {
|
---|
321 | text-transform: uppercase;
|
---|
322 | font-weight: bold;
|
---|
323 | }
|
---|
324 |
|
---|
325 | .syntax_alpha_functionName {
|
---|
326 | text-transform: uppercase;
|
---|
327 | }
|
---|
328 |
|
---|
329 | .syntax_alpha_identifier {
|
---|
330 | }
|
---|
331 |
|
---|
332 | .syntax_alpha_charset {
|
---|
333 | }
|
---|
334 |
|
---|
335 | .syntax_alpha_variable {
|
---|
336 | }
|
---|
337 |
|
---|
338 | .syntax_quote {
|
---|
339 | white-space: pre;
|
---|
340 | }
|
---|
341 |
|
---|
342 | .syntax_quote_backtick {
|
---|
343 | }
|
---|
344 |
|
---|
345 | /* leave some space between icons and text */
|
---|
346 | .icon {
|
---|
347 | vertical-align: middle;
|
---|
348 | margin-right: 0.3em;
|
---|
349 | margin-left: 0.3em;
|
---|
350 | }
|
---|
351 | /* no extra space in table cells */
|
---|
352 | td .icon {
|
---|
353 | margin: 0;
|
---|
354 | }
|
---|
355 |
|
---|
356 | .selectallarrow {
|
---|
357 | margin-<?php echo $right; ?>: 0.3em;
|
---|
358 | margin-<?php echo $left; ?>: 0.6em;
|
---|
359 | }
|
---|
360 |
|
---|
361 | /* message boxes: warning, error, confirmation */
|
---|
362 | .notice {
|
---|
363 | color: #000000;
|
---|
364 | background-color: #FFFFDD;
|
---|
365 | }
|
---|
366 | h1.notice,
|
---|
367 | div.notice {
|
---|
368 | margin: 0.5em 0 0.5em 0;
|
---|
369 | border: 0.1em solid #FFD700;
|
---|
370 | width: 90%;
|
---|
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;
|
---|
377 | <?php } else { ?>
|
---|
378 | background-position: 99% 50%;
|
---|
379 | padding: 10px 5% 10px 10px;
|
---|
380 | <?php } ?>
|
---|
381 | <?php } else { ?>
|
---|
382 | padding: 0.5em;
|
---|
383 | <?php } ?>
|
---|
384 | }
|
---|
385 | .notice h1 {
|
---|
386 | border-bottom: 0.1em solid #FFD700;
|
---|
387 | font-weight: bold;
|
---|
388 | text-align: <?php echo $left; ?>;
|
---|
389 | margin: 0 0 0.2em 0;
|
---|
390 | }
|
---|
391 |
|
---|
392 | .warning {
|
---|
393 | color: #CC0000;
|
---|
394 | background-color: #FFFFCC;
|
---|
395 | }
|
---|
396 | p.warning,
|
---|
397 | h1.warning,
|
---|
398 | div.warning {
|
---|
399 | margin: 0.5em 0 0.5em 0;
|
---|
400 | border: 0.1em solid #CC0000;
|
---|
401 | width: 90%;
|
---|
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;
|
---|
408 | <?php } else { ?>
|
---|
409 | background-position: 99% 50%;
|
---|
410 | padding: 10px 5% 10px 10px;
|
---|
411 | <?php } ?>
|
---|
412 | <?php } else { ?>
|
---|
413 | padding: 0.5em;
|
---|
414 | <?php } ?>
|
---|
415 | }
|
---|
416 | .warning h1 {
|
---|
417 | border-bottom: 0.1em solid #cc0000;
|
---|
418 | font-weight: bold;
|
---|
419 | text-align: <?php echo $left; ?>;
|
---|
420 | margin: 0 0 0.2em 0;
|
---|
421 | }
|
---|
422 |
|
---|
423 | .error {
|
---|
424 | background-color: #FFFFCC;
|
---|
425 | color: #ff0000;
|
---|
426 | }
|
---|
427 |
|
---|
428 | h1.error,
|
---|
429 | div.error {
|
---|
430 | margin: 0.5em 0 0.5em 0;
|
---|
431 | border: 0.1em solid #ff0000;
|
---|
432 | width: 90%;
|
---|
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;
|
---|
439 | <?php } else { ?>
|
---|
440 | background-position: 99% 50%;
|
---|
441 | padding: 10px 5% 10px 10px;
|
---|
442 | <?php } ?>
|
---|
443 | <?php } else { ?>
|
---|
444 | padding: 0.5em;
|
---|
445 | <?php } ?>
|
---|
446 | }
|
---|
447 | div.error h1 {
|
---|
448 | border-bottom: 0.1em solid #ff0000;
|
---|
449 | font-weight: bold;
|
---|
450 | text-align: <?php echo $left; ?>;
|
---|
451 | margin: 0 0 0.2em 0;
|
---|
452 | }
|
---|
453 |
|
---|
454 | .confirmation {
|
---|
455 | background-color: #FFFFCC;
|
---|
456 | }
|
---|
457 | fieldset.confirmation {
|
---|
458 | border: 0.1em solid #FF0000;
|
---|
459 | }
|
---|
460 | fieldset.confirmation legend {
|
---|
461 | border-left: 0.1em solid #FF0000;
|
---|
462 | border-right: 0.1em solid #FF0000;
|
---|
463 | font-weight: bold;
|
---|
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;
|
---|
470 | <?php } else { ?>
|
---|
471 | background-position: 97% 50%;
|
---|
472 | padding: 0.2em 25px 0.2em 0.2em;
|
---|
473 | <?php } ?>
|
---|
474 | <?php } ?>
|
---|
475 | }
|
---|
476 | /* end messageboxes */
|
---|
477 |
|
---|
478 |
|
---|
479 | .tblcomment {
|
---|
480 | font-weight: normal;
|
---|
481 | color: #000099;
|
---|
482 | }
|
---|
483 |
|
---|
484 | .tblHeaders {
|
---|
485 | font-weight: bold;
|
---|
486 | color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
|
---|
487 | background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
|
---|
488 | }
|
---|
489 |
|
---|
490 | .tblFooters {
|
---|
491 | font-weight: normal;
|
---|
492 | color: <?php echo $GLOBALS['cfg']['ThColor']; ?>;
|
---|
493 | background: <?php echo $GLOBALS['cfg']['ThBackground']; ?>;
|
---|
494 |
|
---|
495 | }
|
---|
496 |
|
---|
497 | .tblHeaders a:link,
|
---|
498 | .tblHeaders a:active,
|
---|
499 | .tblHeaders a:visited,
|
---|
500 | .tblFooters a:link,
|
---|
501 | .tblFooters a:active,
|
---|
502 | .tblFooters a:visited {
|
---|
503 | color: #ffffcc;
|
---|
504 | text-decoration: underline;
|
---|
505 | }
|
---|
506 |
|
---|
507 | .tblHeaders a:hover,
|
---|
508 | .tblFooters a:hover {
|
---|
509 | text-decoration: none;
|
---|
510 | color: #ffffff;
|
---|
511 | }
|
---|
512 |
|
---|
513 | /* forbidden, no privilegs */
|
---|
514 | .noPrivileges {
|
---|
515 | color: #cc0000;
|
---|
516 | font-weight: bold;
|
---|
517 | }
|
---|
518 |
|
---|
519 | /* disabled text */
|
---|
520 | .disabled,
|
---|
521 | .disabled a:link,
|
---|
522 | .disabled a:active,
|
---|
523 | .disabled a:visited {
|
---|
524 | color: #666666;
|
---|
525 | }
|
---|
526 |
|
---|
527 | .disabled a:hover {
|
---|
528 | color: #666666;
|
---|
529 | text-decoration: none;
|
---|
530 | }
|
---|
531 |
|
---|
532 | tr.disabled td,
|
---|
533 | td.disabled {
|
---|
534 | background-color: #cccccc;
|
---|
535 | }
|
---|
536 |
|
---|
537 | /**
|
---|
538 | * login form
|
---|
539 | */
|
---|
540 | body.loginform h1,
|
---|
541 | body.loginform a.logo {
|
---|
542 | display: block;
|
---|
543 | text-align: center;
|
---|
544 | }
|
---|
545 |
|
---|
546 | body.loginform {
|
---|
547 | text-align: center;
|
---|
548 | }
|
---|
549 |
|
---|
550 | body.loginform div.container {
|
---|
551 | text-align: <?php echo $left; ?>;
|
---|
552 | width: 30em;
|
---|
553 | margin: 0 auto;
|
---|
554 | }
|
---|
555 |
|
---|
556 | form.login label {
|
---|
557 | float: <?php echo $left; ?>;
|
---|
558 | width: 10em;
|
---|
559 | font-weight: bolder;
|
---|
560 | }
|
---|
561 |
|
---|
562 |
|
---|
563 | /******************************************************************************/
|
---|
564 | /* specific elements */
|
---|
565 |
|
---|
566 | /* topmenu */
|
---|
567 | ul#topmenu {
|
---|
568 | font-weight: bold;
|
---|
569 | list-style-type: none;
|
---|
570 | margin: 0;
|
---|
571 | padding: 0;
|
---|
572 | }
|
---|
573 |
|
---|
574 | ul#topmenu li {
|
---|
575 | float: <?php echo $left; ?>;
|
---|
576 | margin: 0;
|
---|
577 | padding: 0;
|
---|
578 | vertical-align: middle;
|
---|
579 | }
|
---|
580 |
|
---|
581 | #topmenu img {
|
---|
582 | vertical-align: middle;
|
---|
583 | margin-<?php echo $right; ?>: 0.1em;
|
---|
584 | }
|
---|
585 |
|
---|
586 | /* default tab styles */
|
---|
587 | .tab, .tabcaution, .tabactive {
|
---|
588 | display: block;
|
---|
589 | margin: 0.2em 0.2em 0 0.2em;
|
---|
590 | padding: 0.2em 0.2em 0 0.2em;
|
---|
591 | white-space: nowrap;
|
---|
592 | }
|
---|
593 |
|
---|
594 | /* disabled tabs */
|
---|
595 | span.tab {
|
---|
596 | color: #666666;
|
---|
597 | }
|
---|
598 |
|
---|
599 | /* disabled drop/empty tabs */
|
---|
600 | span.tabcaution {
|
---|
601 | color: #ff6666;
|
---|
602 | }
|
---|
603 |
|
---|
604 | /* enabled drop/empty tabs */
|
---|
605 | a.tabcaution {
|
---|
606 | color: #FF0000;
|
---|
607 | }
|
---|
608 | a.tabcaution:hover {
|
---|
609 | color: #FFFFFF;
|
---|
610 | background-color: #FF0000;
|
---|
611 | }
|
---|
612 |
|
---|
613 | <?php if ( $GLOBALS['cfg']['LightTabs'] ) { ?>
|
---|
614 | /* active tab */
|
---|
615 | a.tabactive {
|
---|
616 | color: black;
|
---|
617 | }
|
---|
618 | <?php } else { ?>
|
---|
619 | #topmenu {
|
---|
620 | margin-top: 0.5em;
|
---|
621 | padding: 0.1em 0.3em 0.1em 0.3em;
|
---|
622 | }
|
---|
623 |
|
---|
624 | ul#topmenu li {
|
---|
625 | border-bottom: 1pt solid black;
|
---|
626 | }
|
---|
627 |
|
---|
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']; ?>;
|
---|
632 | border-bottom: 0;
|
---|
633 | border-top-left-radius: 0.4em;
|
---|
634 | border-top-right-radius: 0.4em;
|
---|
635 | }
|
---|
636 |
|
---|
637 | /* enabled hover/active tabs */
|
---|
638 | a.tab:hover,
|
---|
639 | a.tabcaution:hover,
|
---|
640 | .tabactive,
|
---|
641 | .tabactive:hover {
|
---|
642 | margin: 0;
|
---|
643 | padding: 0.2em 0.4em 0.2em 0.4em;
|
---|
644 | text-decoration: none;
|
---|
645 | }
|
---|
646 |
|
---|
647 | a.tab:hover,
|
---|
648 | .tabactive {
|
---|
649 | background-color: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
|
---|
650 | }
|
---|
651 |
|
---|
652 | /* disabled drop/empty tabs */
|
---|
653 | span.tab,
|
---|
654 | a.warning,
|
---|
655 | span.tabcaution {
|
---|
656 | cursor: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>error.ico), default;
|
---|
657 | }
|
---|
658 | <?php } ?>
|
---|
659 | /* end topmenu */
|
---|
660 |
|
---|
661 |
|
---|
662 | /* Calendar */
|
---|
663 | table.calendar {
|
---|
664 | width: 100%;
|
---|
665 | }
|
---|
666 | table.calendar td {
|
---|
667 | text-align: center;
|
---|
668 | }
|
---|
669 | table.calendar td a {
|
---|
670 | display: block;
|
---|
671 | }
|
---|
672 |
|
---|
673 | table.calendar td a:hover {
|
---|
674 | background-color: #CCFFCC;
|
---|
675 | }
|
---|
676 |
|
---|
677 | table.calendar th {
|
---|
678 | background-color: #D3DCE3;
|
---|
679 | }
|
---|
680 |
|
---|
681 | table.calendar td.selected {
|
---|
682 | background-color: #FFCC99;
|
---|
683 | }
|
---|
684 |
|
---|
685 | img.calendar {
|
---|
686 | border: none;
|
---|
687 | }
|
---|
688 | form.clock {
|
---|
689 | text-align: center;
|
---|
690 | }
|
---|
691 | /* end Calendar */
|
---|
692 |
|
---|
693 |
|
---|
694 | /* table stats */
|
---|
695 | div#tablestatistics {
|
---|
696 | border-bottom: 0.1em solid #669999;
|
---|
697 | margin-bottom: 0.5em;
|
---|
698 | padding-bottom: 0.5em;
|
---|
699 | }
|
---|
700 |
|
---|
701 | div#tablestatistics table {
|
---|
702 | float: <?php echo $left; ?>;
|
---|
703 | margin-bottom: 0.5em;
|
---|
704 | margin-<?php echo $right; ?>: 0.5em;
|
---|
705 | }
|
---|
706 |
|
---|
707 | div#tablestatistics table caption {
|
---|
708 | margin-<?php echo $right; ?>: 0.5em;
|
---|
709 | }
|
---|
710 | /* END table stats */
|
---|
711 |
|
---|
712 |
|
---|
713 | /* server privileges */
|
---|
714 | #tableuserrights td,
|
---|
715 | #tablespecificuserrights td,
|
---|
716 | #tabledatabases td {
|
---|
717 | vertical-align: middle;
|
---|
718 | }
|
---|
719 | /* END server privileges */
|
---|
720 |
|
---|
721 |
|
---|
722 |
|
---|
723 | /* Heading */
|
---|
724 | #serverinfo {
|
---|
725 | font-weight: bold;
|
---|
726 | margin-bottom: 0.5em;
|
---|
727 | }
|
---|
728 |
|
---|
729 | #serverinfo .item {
|
---|
730 | white-space: nowrap;
|
---|
731 | }
|
---|
732 |
|
---|
733 | #span_table_comment {
|
---|
734 | font-weight: normal;
|
---|
735 | font-style: italic;
|
---|
736 | white-space: nowrap;
|
---|
737 | }
|
---|
738 |
|
---|
739 | #serverinfo img {
|
---|
740 | margin: 0 0.1em 0 0.1em;
|
---|
741 | }
|
---|
742 |
|
---|
743 | /* some styles for IDs: */
|
---|
744 | #buttonNo {
|
---|
745 | color: #CC0000;
|
---|
746 | font-weight: bold;
|
---|
747 | padding: 0 10px 0 10px;
|
---|
748 | }
|
---|
749 |
|
---|
750 | #buttonYes {
|
---|
751 | color: #006600;
|
---|
752 | font-weight: bold;
|
---|
753 | padding: 0 10px 0 10px;
|
---|
754 | }
|
---|
755 |
|
---|
756 | #buttonGo {
|
---|
757 | color: #006600;
|
---|
758 | font-weight: bold;
|
---|
759 | padding: 0 10px 0 10px;
|
---|
760 | }
|
---|
761 |
|
---|
762 | #listTable {
|
---|
763 | width: 260px;
|
---|
764 | }
|
---|
765 |
|
---|
766 | #textSqlquery {
|
---|
767 | width: 450px;
|
---|
768 | }
|
---|
769 |
|
---|
770 | #textSQLDUMP {
|
---|
771 | width: 95%;
|
---|
772 | height: 95%;
|
---|
773 | font-family: "Courier New", Courier, mono;
|
---|
774 | font-size: 110%;
|
---|
775 | }
|
---|
776 |
|
---|
777 | #TooltipContainer {
|
---|
778 | position: absolute;
|
---|
779 | z-index: 99;
|
---|
780 | width: 20em;
|
---|
781 | height: auto;
|
---|
782 | overflow: visible;
|
---|
783 | visibility: hidden;
|
---|
784 | background-color: #ffffcc;
|
---|
785 | color: #006600;
|
---|
786 | border: 0.1em solid #000000;
|
---|
787 | padding: 0.5em;
|
---|
788 | }
|
---|
789 |
|
---|
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;
|
---|
795 | }
|
---|
796 |
|
---|
797 | #fieldset_add_user_login label {
|
---|
798 | float: <?php echo $left; ?>;
|
---|
799 | display: block;
|
---|
800 | width: 10em;
|
---|
801 | max-width: 100%;
|
---|
802 | text-align: <?php echo $right; ?>;
|
---|
803 | padding-<?php echo $right; ?>: 0.5em;
|
---|
804 | }
|
---|
805 |
|
---|
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 {
|
---|
809 | width: 100%;
|
---|
810 | max-width: 100%;
|
---|
811 | }
|
---|
812 |
|
---|
813 | #fieldset_add_user_login span.options {
|
---|
814 | float: <?php echo $left; ?>;
|
---|
815 | display: block;
|
---|
816 | width: 12em;
|
---|
817 | max-width: 100%;
|
---|
818 | padding-<?php echo $right; ?>: 0.5em;
|
---|
819 | }
|
---|
820 |
|
---|
821 | #fieldset_add_user_login input {
|
---|
822 | width: 12em;
|
---|
823 | clear: <?php echo $right; ?>;
|
---|
824 | max-width: 100%;
|
---|
825 | }
|
---|
826 |
|
---|
827 | #fieldset_add_user_login span.options input {
|
---|
828 | width: auto;
|
---|
829 | }
|
---|
830 |
|
---|
831 | #fieldset_user_priv div.item {
|
---|
832 | float: <?php echo $left; ?>;
|
---|
833 | width: 9em;
|
---|
834 | max-width: 100%;
|
---|
835 | }
|
---|
836 |
|
---|
837 | #fieldset_user_priv div.item div.item {
|
---|
838 | float: none;
|
---|
839 | }
|
---|
840 |
|
---|
841 | #fieldset_user_priv div.item label {
|
---|
842 | white-space: nowrap;
|
---|
843 | }
|
---|
844 |
|
---|
845 | #fieldset_user_priv div.item select {
|
---|
846 | width: 100%;
|
---|
847 | }
|
---|
848 |
|
---|
849 | #fieldset_user_global_rights fieldset {
|
---|
850 | float: <?php echo $left; ?>;
|
---|
851 | }
|
---|
852 | /* END user privileges */
|
---|
853 |
|
---|
854 |
|
---|
855 | /* serverstatus */
|
---|
856 | div#serverstatus table caption a.top {
|
---|
857 | float: <?php echo $right; ?>;
|
---|
858 | }
|
---|
859 |
|
---|
860 | div#serverstatus div#serverstatusqueriesdetails table,
|
---|
861 | div#serverstatus table#serverstatustraffic,
|
---|
862 | div#serverstatus table#serverstatusconnections {
|
---|
863 | float: <?php echo $left; ?>;
|
---|
864 | }
|
---|
865 |
|
---|
866 | #serverstatussection,
|
---|
867 | .clearfloat {
|
---|
868 | clear: both;
|
---|
869 | }
|
---|
870 | div#serverstatussection table {
|
---|
871 | width: 100%;
|
---|
872 | margin-bottom: 1em;
|
---|
873 | }
|
---|
874 | div#serverstatussection table .name {
|
---|
875 | width: 18em;
|
---|
876 | }
|
---|
877 | div#serverstatussection table .value {
|
---|
878 | width: 6em;
|
---|
879 | }
|
---|
880 |
|
---|
881 | div#serverstatus table tbody td.descr a,
|
---|
882 | div#serverstatus table .tblFooters a {
|
---|
883 | white-space: nowrap;
|
---|
884 | }
|
---|
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 {
|
---|
889 | content: '[';
|
---|
890 | }
|
---|
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 {
|
---|
895 | content: ']';
|
---|
896 | }
|
---|
897 | /* end serverstatus */
|
---|
898 |
|
---|
899 | /* querywindow */
|
---|
900 | body#bodyquerywindow {
|
---|
901 | margin: 0;
|
---|
902 | padding: 0;
|
---|
903 | background-image: none;
|
---|
904 | background-color: #F5F5F5;
|
---|
905 | }
|
---|
906 |
|
---|
907 | div#querywindowcontainer {
|
---|
908 | margin: 0;
|
---|
909 | padding: 0;
|
---|
910 | width: 100%;
|
---|
911 | }
|
---|
912 |
|
---|
913 | div#querywindowcontainer fieldset {
|
---|
914 | margin-top: 0;
|
---|
915 | }
|
---|
916 | /* END querywindow */
|
---|
917 |
|
---|
918 |
|
---|
919 | /* querybox */
|
---|
920 |
|
---|
921 | div#sqlquerycontainer {
|
---|
922 | float: <?php echo $left; ?>;
|
---|
923 | width: 69%;
|
---|
924 | /* height: 15em; */
|
---|
925 | }
|
---|
926 |
|
---|
927 | div#tablefieldscontainer {
|
---|
928 | float: <?php echo $right; ?>;
|
---|
929 | width: 29%;
|
---|
930 | /* height: 15em; */
|
---|
931 | }
|
---|
932 |
|
---|
933 | div#tablefieldscontainer select {
|
---|
934 | width: 100%;
|
---|
935 | /* height: 12em; */
|
---|
936 | }
|
---|
937 |
|
---|
938 | textarea#sqlquery {
|
---|
939 | width: 100%;
|
---|
940 | /* height: 100%; */
|
---|
941 | }
|
---|
942 |
|
---|
943 | div#queryboxcontainer div#bookmarkoptions {
|
---|
944 | margin-top: 0.5em;
|
---|
945 | }
|
---|
946 | /* end querybox */
|
---|
947 |
|
---|
948 | /* main page */
|
---|
949 | #maincontainer {
|
---|
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;
|
---|
954 | }
|
---|
955 |
|
---|
956 | #mysqlmaininformation,
|
---|
957 | #pmamaininformation {
|
---|
958 | float: <?php echo $left; ?>;
|
---|
959 | width: 49%;
|
---|
960 | }
|
---|
961 |
|
---|
962 | #maincontainer ul {
|
---|
963 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>item_<?php echo $GLOBALS['text_dir']; ?>.png);
|
---|
964 | vertical-align: middle;
|
---|
965 | }
|
---|
966 |
|
---|
967 | #maincontainer li {
|
---|
968 | margin-bottom: 0.3em;
|
---|
969 | }
|
---|
970 | /* END main page */
|
---|
971 |
|
---|
972 |
|
---|
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);
|
---|
977 | }
|
---|
978 |
|
---|
979 | li#li_select_lang {
|
---|
980 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_lang.png);
|
---|
981 | }
|
---|
982 |
|
---|
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);
|
---|
986 | }
|
---|
987 |
|
---|
988 | li#li_select_theme{
|
---|
989 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_theme.png);
|
---|
990 | }
|
---|
991 |
|
---|
992 | li#li_server_info{
|
---|
993 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_host.png);
|
---|
994 | }
|
---|
995 |
|
---|
996 | li#li_user_info{
|
---|
997 | /* list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png); */
|
---|
998 | }
|
---|
999 |
|
---|
1000 | li#li_mysql_status{
|
---|
1001 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_status.png);
|
---|
1002 | }
|
---|
1003 |
|
---|
1004 | li#li_mysql_variables{
|
---|
1005 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_vars.png);
|
---|
1006 | }
|
---|
1007 |
|
---|
1008 | li#li_mysql_processes{
|
---|
1009 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_process.png);
|
---|
1010 | }
|
---|
1011 |
|
---|
1012 | li#li_mysql_collations{
|
---|
1013 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_asci.png);
|
---|
1014 | }
|
---|
1015 |
|
---|
1016 | li#li_mysql_engines{
|
---|
1017 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_engine.png);
|
---|
1018 | }
|
---|
1019 |
|
---|
1020 | li#li_mysql_binlogs {
|
---|
1021 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_tbl.png);
|
---|
1022 | }
|
---|
1023 |
|
---|
1024 | li#li_mysql_databases {
|
---|
1025 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_db.png);
|
---|
1026 | }
|
---|
1027 |
|
---|
1028 | li#li_export {
|
---|
1029 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_export.png);
|
---|
1030 | }
|
---|
1031 |
|
---|
1032 | li#li_import {
|
---|
1033 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_import.png);
|
---|
1034 | }
|
---|
1035 |
|
---|
1036 | li#li_change_password {
|
---|
1037 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_passwd.png);
|
---|
1038 | }
|
---|
1039 |
|
---|
1040 | li#li_log_out {
|
---|
1041 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_loggoff.png);
|
---|
1042 | }
|
---|
1043 |
|
---|
1044 | li#li_pma_docs {
|
---|
1045 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_docs.png);
|
---|
1046 | }
|
---|
1047 |
|
---|
1048 | li#li_phpinfo {
|
---|
1049 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>php_sym.png);
|
---|
1050 | }
|
---|
1051 |
|
---|
1052 | li#li_pma_homepage {
|
---|
1053 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_home.png);
|
---|
1054 | }
|
---|
1055 |
|
---|
1056 | li#li_mysql_privilegs{
|
---|
1057 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_rights.png);
|
---|
1058 | }
|
---|
1059 |
|
---|
1060 | li#li_switch_dbstats {
|
---|
1061 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>b_dbstatistics.png);
|
---|
1062 | }
|
---|
1063 |
|
---|
1064 | li#li_flush_privileges {
|
---|
1065 | list-style-image: url(../<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>s_reload.png);
|
---|
1066 | }
|
---|
1067 | /* END iconic view for ul items */
|
---|
1068 | <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
|
---|
1069 |
|
---|
1070 |
|
---|
1071 | #body_browse_foreigners {
|
---|
1072 | background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
|
---|
1073 | margin: 0.5em 0.5em 0 0.5em;
|
---|
1074 | }
|
---|
1075 |
|
---|
1076 | #bodyquerywindow {
|
---|
1077 | background: <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
|
---|
1078 | }
|
---|
1079 |
|
---|
1080 | #bodythemes {
|
---|
1081 | width: 500px;
|
---|
1082 | margin: auto;
|
---|
1083 | text-align: center;
|
---|
1084 | }
|
---|
1085 |
|
---|
1086 | #bodythemes img {
|
---|
1087 | border: 0.1em solid black;
|
---|
1088 | }
|
---|
1089 |
|
---|
1090 | #bodythemes a:hover img {
|
---|
1091 | border: 0.1em solid red;
|
---|
1092 | }
|
---|
1093 |
|
---|
1094 | #fieldset_select_fields {
|
---|
1095 | float: <?php echo $left; ?>;
|
---|
1096 | }
|
---|
1097 |
|
---|
1098 | #selflink {
|
---|
1099 | clear: both;
|
---|
1100 | display: block;
|
---|
1101 | margin-top: 1em;
|
---|
1102 | margin-bottom: 1em;
|
---|
1103 | width: 100%;
|
---|
1104 | border-top: 0.1em solid silver;
|
---|
1105 | text-align: <?php echo $right; ?>;
|
---|
1106 | }
|
---|
1107 |
|
---|
1108 | #table_innodb_bufferpool_usage,
|
---|
1109 | #table_innodb_bufferpool_activity {
|
---|
1110 | float: <?php echo $left; ?>;
|
---|
1111 | }
|
---|
1112 |
|
---|
1113 | #div_mysql_charset_collations table {
|
---|
1114 | float: <?php echo $left; ?>;
|
---|
1115 | }
|
---|
1116 |
|
---|
1117 | #div_table_order {
|
---|
1118 | min-width: 48%;
|
---|
1119 | float: <?php echo $left; ?>;
|
---|
1120 | }
|
---|
1121 |
|
---|
1122 | #div_table_rename {
|
---|
1123 | min-width: 48%;
|
---|
1124 | float: <?php echo $left; ?>;
|
---|
1125 | }
|
---|
1126 |
|
---|
1127 | #div_table_copy {
|
---|
1128 | min-width: 48%;
|
---|
1129 | float: <?php echo $left; ?>;
|
---|
1130 | }
|
---|
1131 |
|
---|
1132 | #div_table_options {
|
---|
1133 | clear: both;
|
---|
1134 | min-width: 48%;
|
---|
1135 | float: <?php echo $left; ?>;
|
---|
1136 | }
|
---|
1137 |
|
---|
1138 | #qbe_div_table_list {
|
---|
1139 | float: <?php echo $left; ?>;
|
---|
1140 | }
|
---|
1141 |
|
---|
1142 | #qbe_div_sql_query {
|
---|
1143 | float: <?php echo $left; ?>;
|
---|
1144 | }
|
---|
1145 |
|
---|
1146 | label.desc {
|
---|
1147 | width: 30em;
|
---|
1148 | float: <?php echo $left; ?>;
|
---|
1149 | }
|
---|