home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / phpMyAdmin / phpmyadmin.css.php < prev    next >
Encoding:
PHP Script  |  2008-06-23  |  16.1 KB  |  802 lines

  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4.  *
  5.  * @version $Id: phpmyadmin.css.php 10950 2007-12-01 16:06:01Z lem9 $
  6.  */
  7.  
  8. /**
  9.  *
  10.  */
  11. // sometimes, we lose $_REQUEST['js_frame']
  12. define('PMA_FRAME',empty($_REQUEST['js_frame']) ? 'right' : $_REQUEST['js_frame']);
  13.  
  14. define('PMA_MINIMUM_COMMON', true);
  15. require_once './libraries/common.inc.php';
  16. require_once './libraries/sqlparser.lib.php';
  17.  
  18. // MSIE 6 (at least some unpatched versions) has problems loading CSS
  19. // when zlib_compression is on
  20. if (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER == '6'
  21.  && (ini_get('zlib.output_compression'))) {
  22.     ini_set('zlib.output_compression', 'Off');
  23. }
  24.  
  25. if ($GLOBALS['text_dir'] === 'ltr') {
  26.     $right = 'right';
  27.     $left = 'left';
  28. } else {
  29.     $right = 'left';
  30.     $left = 'right';
  31. }
  32.  
  33. // Send correct type:
  34. header('Content-Type: text/css; charset=ISO-8859-1');
  35.  
  36. // Cache output in client - the nocache query parameter makes sure that this
  37. // file is reloaded when config changes
  38. header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');
  39.  
  40. ?>
  41. html {
  42.     font-size: <?php echo $_SESSION['PMA_Config']->get('fontsize'); ?>;
  43. }
  44.  
  45. input, select, textarea {
  46.     font-size: 1em;
  47. }
  48.  
  49. div.item label {
  50.     white-space: nowrap;
  51. }
  52.  
  53. /* @deprecated */
  54. .nowrap {
  55.     white-space: nowrap;
  56. }
  57. div.nowrap {
  58.     margin: 0;
  59.     padding: 0;
  60. }
  61.  
  62. <?php
  63. if ($_SESSION['PMA_Theme']->checkVersion('2.7.0')) {
  64.     ?>
  65.  
  66. form {
  67.     margin: 0;
  68.     padding: 0;
  69.     display: inline;
  70. }
  71.  
  72. a img {
  73.     border: 0;
  74. }
  75.  
  76.  
  77. /* server privileges */
  78. #tableuserrights td,
  79. #tablespecificuserrights td,
  80. #tabledatabases td {
  81.     vertical-align: middle;
  82. }
  83. /* END server privileges */
  84.  
  85.  
  86. /* leave some space between icons and text */
  87. .icon {
  88.     vertical-align: middle;
  89.     margin-right: 0.3em;
  90.     margin-left: 0.3em;
  91. }
  92. /* no extra space in table cells */
  93. td .icon {
  94.     margin: 0;
  95. }
  96.  
  97. .selectallarrow {
  98.     margin-<?php echo $right; ?>: 0.3em;
  99.     margin-<?php echo $left; ?>: 0.6em;
  100. }
  101.  
  102. div#tablestatistics {
  103.     border-bottom: 0.1em solid #669999;
  104.     margin-bottom: 0.5em;
  105.     padding-bottom: 0.5em;
  106. }
  107.  
  108. div#tablestatistics table {
  109.     float: <?php echo $left; ?>;
  110.     margin-bottom: 0.5em;
  111.     margin-right: 0.5em;
  112. }
  113.  
  114. div#tablestatistics table caption {
  115.     margin-right: 0.5em;
  116. }
  117.  
  118.  
  119. /* left frame content */
  120. body#body_leftFrame {
  121.     background-color: <?php echo $GLOBALS['cfg']['LeftBgColor']; ?>;
  122. }
  123.  
  124. div#pmalogo,
  125. div#leftframelinks,
  126. div#databaseList {
  127.     text-align: center;
  128.     border-bottom: 0.1em solid #669999;
  129.     margin-bottom: 0.5em;
  130.     padding-bottom: 0.5em;
  131. }
  132.  
  133. div#leftframelinks .icon {
  134.     vertical-align: middle;
  135.     padding: 0;
  136.     margin: 0;
  137. }
  138.  
  139. div#leftframelinks a:hover {
  140.     background-color: #669999;
  141. }
  142.  
  143. /* leftdatabaselist */
  144. div#left_tableList ul {
  145.     list-style-type: none;
  146.     list-style-position: outside;
  147.     margin: 0;
  148.     padding: 0;
  149.     background-color: <?php echo $GLOBALS['cfg']['LeftBgColor']; ?>;
  150. }
  151.  
  152. div#left_tableList li {
  153.     margin: 0;
  154.     padding: 0;
  155.     white-space: nowrap;
  156. }
  157.  
  158. <?php if ($GLOBALS['cfg']['LeftPointerEnable']) { ?>
  159. div#left_tableList li:hover {
  160.     background-color: <?php echo $GLOBALS['cfg']['LeftPointerColor']; ?>;
  161. }
  162. <?php } ?>
  163.  
  164. div#left_tableList img {
  165.     padding: 0;
  166.     vertical-align: middle;
  167. }
  168.  
  169. div#left_tableList ul ul {
  170.     margin-left: 0em;
  171.     padding-left: 0.1em;
  172.     border-left: 0.1em solid #669999;
  173.     padding-bottom: 0.1em;
  174.     border-bottom: 0.1em solid #669999;
  175. }
  176. /* END left frame content */
  177.  
  178.  
  179. /* querywindow */
  180. body#bodyquerywindow {
  181.     margin: 0;
  182.     padding: 0;
  183. }
  184.  
  185. div#querywindowcontainer {
  186.     margin: 0;
  187.     padding: 0;
  188.     width: 100%;
  189. }
  190.  
  191. div#querywindowcontainer fieldset {
  192.     margin-top: 0;
  193. }
  194. /* END querywindow */
  195.  
  196.  
  197. /* querybox */
  198.  
  199. /* Gecko bug */
  200. div[class=formelementrow],
  201. div[id=queryfieldscontainer] {
  202.     border: 1px solid transparent;
  203. }
  204.  
  205. div#sqlquerycontainer {
  206.     float: left;
  207.     width: 69%;
  208.     /* height: 15em; */
  209. }
  210.  
  211. div#tablefieldscontainer  {
  212.     float: right;
  213.     width: 29%;
  214.     /* height: 15em; */
  215. }
  216.  
  217. div#tablefieldscontainer select  {
  218.     width: 100%;
  219.     /* height: 12em; */
  220. }
  221.  
  222. textarea#sqlquery {
  223.     width: 100%;
  224.     /* height: 100%; */
  225. }
  226.  
  227. div#queryboxcontainer div#bookmarkoptions {
  228.     margin-top: 0.5em;
  229. }
  230. /* end querybox */
  231.  
  232.  
  233. fieldset .formelement {
  234.     line-height: 2.4em;
  235.     float: left;
  236.     margin-right: 0.5em;
  237.     /* IE */
  238.     white-space: nowrap;
  239. }
  240. /* revert for Gecko */
  241. fieldset div[class=formelement] {
  242.     white-space: normal;
  243. }
  244.  
  245. /* IE */
  246. fieldset .formelement input,
  247. fieldset .formelement select {
  248.     margin-top: 0.5em;
  249.     margin-bottom: 0.5em;
  250. }
  251. /* revert for Gecko */
  252. fieldset div[class=formelement] input,
  253. fieldset div[class=formelement] select {
  254.     margin-top: auto;
  255.     margin-bottom: auto;
  256.     height: auto;
  257. }
  258.  
  259. /* Calendar */
  260. table.calendar      { width: 100%; }
  261. table.calendar td   { text-align: center; }
  262. table.calendar td a { display: block; }
  263.  
  264. table.calendar td a:hover {
  265.     background-color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
  266. }
  267.  
  268. table.calendar th {
  269.     background-color: <?php echo $GLOBALS['cfg']['ThBgcolor']; ?>;
  270. }
  271.  
  272. table.calendar td.selected {
  273.     background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
  274. }
  275.  
  276. img.calendar { border: none; }
  277. form.clock   { text-align: center; }
  278. /* end Calendar */
  279.  
  280.  
  281. /* Options, eg. on import page */
  282. fieldset {
  283.     background-color: <?php echo $GLOBALS['cfg']['BgcolorOne']; ?>;
  284. }
  285. fieldset legend {
  286.     background-color: transparent;
  287. }
  288.  
  289. /* buttons in some browsers (eg. Konqueror) are block elements, this breaks design */
  290. button { display: inline; }
  291.  
  292. /* Textarea */
  293. textarea { overflow: auto; }
  294.  
  295.  
  296. /* topmenu */
  297.  
  298. /* Gecko 1.7 bug (FF 1.0) */
  299. #topmenucontainer {
  300.     border: 1px solid <?php echo $GLOBALS['cfg']['RightBgColor']; ?>;
  301. }
  302.  
  303. ul#topmenu {
  304.     font-weight: bold;
  305.     list-style-type: none;
  306.     margin: 0;
  307.     padding: 0;
  308. }
  309.  
  310. ul#topmenu li {
  311.     float: left;
  312.     margin: 0;
  313.     padding: 0;
  314.     vertical-align: middle;
  315. }
  316.  
  317. #topmenu img {
  318.     vertical-align: middle;
  319.     margin-right: 0.1em;
  320. }
  321.  
  322. /* default tab styles */
  323. .tab, .tabcaution, .tabactive {
  324.     display: block;
  325.     margin: 0.2em 0.2em 0 0.2em;
  326.     padding: 0.2em 0.2em 0 0.2em;
  327.     white-space: nowrap;
  328. }
  329.  
  330. /* disabled tabs */
  331. span.tab {
  332.     color: #666666;
  333. }
  334.  
  335. /* disabled drop/empty tabs */
  336. span.tabcaution {
  337.     color: #ff6666;
  338. }
  339.  
  340. /* enabled drop/empty tabs */
  341. a.tabcaution {
  342.     color: #FF0000;
  343. }
  344. a.tabcaution:hover {
  345.     color: #FFFFFF;
  346.     background-color: #FF0000;
  347. }
  348.  
  349. <?php if ($GLOBALS['cfg']['LightTabs']) { ?>
  350. /* active tab */
  351. a.tabactive {
  352.     color: black;
  353. }
  354. <?php } else { ?>
  355. #topmenu {
  356.     margin-top: 0.5em;
  357.     padding: 0.1em 0.3em 0.1em 0.3em;
  358. }
  359.  
  360. ul#topmenu li {
  361.     border-bottom: 1pt solid black;
  362. }
  363.  
  364. /* default tab styles */
  365. .tab, .tabcaution, .tabactive {
  366.     background-color: <?php echo $GLOBALS['cfg']['BgcolorOne']; ?>;
  367.     border: 1pt solid <?php echo $GLOBALS['cfg']['BgcolorTwo']; ?>;
  368.     border-bottom: 0;
  369.     border-top-left-radius: 0.4em;
  370.     border-top-right-radius: 0.4em;
  371. }
  372.  
  373. /* enabled hover/active tabs */
  374. a.tab:hover, a.tabcaution:hover, .tabactive, .tabactive:hover {
  375.     margin: 0;
  376.     padding: 0.2em 0.4em 0.2em 0.4em;
  377.     text-decoration: none;
  378. }
  379.  
  380. a.tab:hover, .tabactive {
  381.     background-color: <?php echo $GLOBALS['cfg']['BgcolorTwo']; ?>;
  382. }
  383.  
  384. /* disabled drop/empty tabs */
  385. span.tab, span.tabcaution {
  386.     cursor: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/error.ico), default;
  387. }
  388. <?php } ?>
  389. /* end topmenu */
  390.  
  391.  
  392.  
  393. /* data tables */
  394. table caption,
  395. table th,
  396. table td {
  397.     padding: 0.1em 0.5em 0.1em 0.5em;
  398.     margin: 0;
  399.     margin: 0.1em;
  400.     vertical-align: top;
  401. }
  402.  
  403. /* odd table rows 1,3,5,7,... */
  404. table tr.odd th,
  405. table tr.odd {
  406.     background-color: <?php echo $GLOBALS['cfg']['BgcolorOne']; ?>;
  407. }
  408.  
  409. /* even table rows 2,4,6,8,... */
  410. table tr.even th,
  411. table tr.even {
  412.     background-color: <?php echo $GLOBALS['cfg']['BgcolorTwo']; ?>;
  413. }
  414.  
  415. /* marked table rows */
  416. table tr.marked th,
  417. table tr.marked {
  418.     background-color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
  419. }
  420.  
  421. /* hovered table rows */
  422. table tr.odd:hover,
  423. table tr.even:hover,
  424. table tr.odd:hover th,
  425. table tr.even:hover th,
  426. table tr.hover th,
  427. table tr.hover {
  428.     background-color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
  429. }
  430.  
  431. table .value {
  432.     text-align: right;
  433.     white-space: nowrap;
  434. }
  435. /* IE doesnt handles 'pre' right */
  436. table [class=value] {
  437.     white-space: pre;
  438. }
  439.  
  440. .value {
  441.     font-family: "Courier New", Courier, monospace;
  442. }
  443. .value .attention {
  444.     color: red;
  445.     font-weight: bold;
  446. }
  447. .value .allfine {
  448.     color: green;
  449. }
  450.  
  451.  
  452. /* serverstatus */
  453. div#serverstatus table caption a.top {
  454.     float: right;
  455. }
  456.  
  457. div#serverstatus div#serverstatusqueriesdetails table,
  458. div#serverstatus table#serverstatustraffic,
  459. div#serverstatus table#serverstatusconnections {
  460.     float: left;
  461. }
  462.  
  463. #serverstatussection,
  464. .clearfloat {
  465.     clear: both;
  466. }
  467. div#serverstatussection table {
  468.     width: 100%;
  469.     margin-bottom: 1em;
  470. }
  471. div#serverstatussection table .name {
  472.     width: 18em;
  473. }
  474. div#serverstatussection table .value {
  475.     width: 6em;
  476. }
  477.  
  478. div#serverstatus table tbody td.descr a,
  479. div#serverstatus table .tblFooters a {
  480.     white-space: nowrap;
  481. }
  482. div#serverstatus div#statuslinks a:before,
  483. div#serverstatus div#sectionlinks a:before,
  484. div#serverstatus table tbody td.descr a:before,
  485. div#serverstatus table .tblFooters a:before {
  486.     content: '[';
  487. }
  488. div#serverstatus div#statuslinks a:after,
  489. div#serverstatus div#sectionlinks a:after,
  490. div#serverstatus table tbody td.descr a:after,
  491. div#serverstatus table .tblFooters a:after {
  492.     content: ']';
  493. }
  494. /* end serverstatus */
  495.  
  496. img.lightbulb {
  497.     cursor: pointer;
  498. }
  499.  
  500.     <?php
  501. } // end styles 2.7.0
  502.  
  503. if ($_SESSION['PMA_Theme']->checkVersion('2.7.1')) {
  504.     ?>
  505.  
  506. /********************/
  507. /* NEW in PMA 2.7.1 */
  508. /********************/
  509.  
  510. body.loginform h1,
  511. body.loginform a.logo {
  512.     display: block;
  513.     text-align: center;
  514. }
  515.  
  516. form.login label {
  517.     float: left;
  518.     width: 10em;
  519.     font-weight: bolder;
  520. }
  521.  
  522.  
  523. /* main page */
  524. #maincontainer {
  525.     background-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/logo_right.png);
  526.     background-position: <?php echo $right; ?> bottom;
  527.     background-repeat: no-repeat;
  528.     border-bottom: 1px solid silver;
  529. }
  530.  
  531. #mysqlmaininformation,
  532. #pmamaininformation {
  533.     float: <?php echo $left; ?>;
  534.     width: 49%;
  535. }
  536.  
  537. #maincontainer ul {
  538.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/item_<?php echo $GLOBALS['text_dir']; ?>.png);
  539.     vertical-align: middle;
  540. }
  541.  
  542. #maincontainer li {
  543.     margin-bottom: 0.3em;
  544. }
  545. /* END main page */
  546.  
  547.  
  548. <?php if ($GLOBALS['cfg']['MainPageIconic']) { ?>
  549. /* iconic view for ul items */
  550. li#li_create_database {
  551.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/b_newdb.png);
  552. }
  553.  
  554. li#li_select_lang {
  555.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_lang.png);
  556. }
  557.  
  558. li#li_select_mysql_collation,
  559. li#li_select_mysql_charset {
  560.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_asci.png);
  561. }
  562.  
  563. li#li_select_theme{
  564.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_theme.png);
  565. }
  566.  
  567. li#li_server_info{
  568.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_host.png);
  569. }
  570.  
  571. li#li_user_info{
  572.     /* list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_rights.png); */
  573. }
  574.  
  575. li#li_mysql_status{
  576.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_status.png);
  577. }
  578.  
  579. li#li_mysql_variables{
  580.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_vars.png);
  581. }
  582.  
  583. li#li_mysql_processes{
  584.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_process.png);
  585. }
  586.  
  587. li#li_mysql_collations{
  588.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_asci.png);
  589. }
  590.  
  591. li#li_mysql_engines{
  592.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/b_engine.png);
  593. }
  594.  
  595. li#li_mysql_binlogs {
  596.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_tbl.png);
  597. }
  598.  
  599. li#li_mysql_databases {
  600.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_db.png);
  601. }
  602.  
  603. li#li_export {
  604.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/b_export.png);
  605. }
  606.  
  607. li#li_import {
  608.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/b_import.png);
  609. }
  610.  
  611. li#li_change_password {
  612.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_passwd.png);
  613. }
  614.  
  615. li#li_log_out {
  616.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_loggoff.png);
  617. }
  618.  
  619. li#li_pma_docs {
  620.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/b_docs.png);
  621. }
  622.  
  623. li#li_phpinfo {
  624.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/php_sym.png);
  625. }
  626.  
  627. li#li_pma_homepage {
  628.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/b_home.png);
  629. }
  630.  
  631. li#li_mysql_privilegs{
  632.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_rights.png);
  633. }
  634.  
  635. li#li_switch_dbstats {
  636.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/b_dbstatistics.png);
  637. }
  638.  
  639. li#li_flush_privileges {
  640.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_reload.png);
  641. }
  642. /* END iconic view for ul items */
  643. <?php } /* end if $GLOBALS['cfg']['MainPageIconic'] */ ?>
  644.  
  645.  
  646. #body_browse_foreigners {
  647.     background-color:   <?php echo $cfg['LeftBgColor']; ?>;
  648.     margin:             5px 5px 0 5px;
  649. }
  650.  
  651. #bodyquerywindow {
  652.     background-color:   <?php echo $cfg['LeftBgColor']; ?>;
  653. }
  654.  
  655. #bodythemes {
  656.     width: 500px;
  657.     margin: auto;
  658.     text-align: center;
  659. }
  660.  
  661. #bodythemes img {
  662.     border: 0.1em solid black;
  663. }
  664.  
  665. #bodythemes a:hover img {
  666.     border: 0.1em solid red;
  667. }
  668.  
  669. #fieldset_select_fields {
  670.     float: left;
  671. }
  672.  
  673. #selflink {
  674.     clear: both;
  675.     display: block;
  676.     margin-top: 1em;
  677.     margin-bottom: 1em;
  678.     width: 100%;
  679.     border-top: 0.1em solid silver;
  680.     text-align: <?php echo $right; ?>;
  681. }
  682.  
  683. #table_innodb_bufferpool_usage,
  684. #table_innodb_bufferpool_activity {
  685.     float: <?php echo $left; ?>;
  686. }
  687.  
  688. #div_mysql_charset_collations table {
  689.     float: <?php echo $left; ?>;
  690. }
  691.  
  692. #div_table_order {
  693.     min-width: 48%;
  694.     float: <?php echo $left; ?>;
  695. }
  696.  
  697. #div_table_rename {
  698.     min-width: 48%;
  699.     float: <?php echo $left; ?>;
  700. }
  701.  
  702. #div_table_copy {
  703.     min-width: 48%;
  704.     float: <?php echo $left; ?>;
  705. }
  706.  
  707. #div_table_options {
  708.     clear: both;
  709.     min-width: 48%;
  710.     float: <?php echo $left; ?>;
  711. }
  712.  
  713. #qbe_div_table_list {
  714.     float: <?php echo $left; ?>;
  715. }
  716.  
  717. #qbe_div_sql_query {
  718.     float: <?php echo $left; ?>;
  719. }
  720.     <?php
  721.     $GLOBALS['cfg']['BgOne'] = $GLOBALS['cfg']['BgcolorOne'];
  722.     $GLOBALS['cfg']['BgTwo'] = $GLOBALS['cfg']['BgcolorTwo'];
  723. } // end styles 2.7.1
  724.  
  725. if ($_SESSION['PMA_Theme']->checkVersion('2.9')) {
  726.     ?>
  727.  
  728. /********************/
  729. /* NEW in PMA 2.9   */
  730. /********************/
  731.  
  732. <?php if ($GLOBALS['cfg']['BrowseMarkerColor']) { ?>
  733. /* marked items */
  734. .marked a,
  735. .marked {
  736.     background: <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
  737.     color: <?php echo $GLOBALS['cfg']['BrowseMarkerColor']; ?>;
  738. }
  739. <?php } ?>
  740.  
  741. /* odd items 1,3,5,7,... */
  742. .odd {
  743.     background: <?php echo $GLOBALS['cfg']['BgOne']; ?>;
  744. }
  745.  
  746. /* even items 2,4,6,8,... */
  747. .even {
  748.     background: <?php echo $GLOBALS['cfg']['BgTwo']; ?>;
  749. }
  750.  
  751. /* hovered items */
  752. .odd:hover,
  753. .even:hover,
  754. .hover {
  755.     background: <?php echo $GLOBALS['cfg']['BrowsePointerBackground']; ?>;
  756.     color: <?php echo $GLOBALS['cfg']['BrowsePointerColor']; ?>;
  757. }
  758.  
  759. /**
  760.  * marks table rows/cells if the db field is in a where condition
  761.  */
  762. tr.condition th,
  763. tr.condition td,
  764. td.condition,
  765. th.condition {
  766.     border: 1px solid <?php echo $GLOBALS['cfg']['BrowseMarkerBackground']; ?>;
  767. }
  768.  
  769. label.desc {
  770.     width: 30em;
  771.     float: <?php echo $left; ?>;
  772. }
  773.  
  774. body.loginform {
  775.     text-align: center;
  776. }
  777.  
  778. body.loginform div.container {
  779.     text-align: <?php echo $left; ?>;
  780.     width: 30em;
  781.     margin: 0 auto;
  782. }
  783.  
  784. #body_leftFrame #list_server {
  785.     list-style-image: url(<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/s_host.png);
  786.     list-style-position: inside;
  787.     list-style-type: none;
  788.     margin: 0;
  789.     padding: 0;
  790. }
  791.  
  792. #body_leftFrame #list_server li {
  793.     margin: 0;
  794.     padding: 0;
  795.     font-size:          80%;
  796. }
  797.     <?php
  798. } // end styles 2.9
  799.  
  800. $_SESSION['PMA_Theme_Manager']->printCss(PMA_FRAME);
  801. ?>
  802.