PageRenderTime 47ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/pma/themes/darkblue_orange/css/theme_right.css.php

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