PageRenderTime 64ms CodeModel.GetById 31ms RepoModel.GetById 0ms app.codeStats 1ms

/pma/themes/original/css/theme_right.css.php

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