navigation.css.php 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Navigation styles for the pmahomme theme
  5. *
  6. * @package PhpMyAdmin-theme
  7. * @subpackage PMAHomme
  8. */
  9. // unplanned execution path
  10. if (! defined('PMA_MINIMUM_COMMON') && ! defined('TESTSUITE')) {
  11. exit();
  12. }
  13. ?>
  14. /******************************************************************************/
  15. /* Navigation */
  16. #pma_navigation {
  17. width: <?php echo $GLOBALS['cfg']['NaviWidth']; ?>px;
  18. overflow: hidden;
  19. position: fixed;
  20. top: 0;
  21. <?php echo $left; ?>: 0;
  22. height: 100%;
  23. background: url(./themes/pmahomme/img/left_nav_bg.png) repeat-y right 0% <?php echo $GLOBALS['cfg']['NaviBackground']; ?>;
  24. color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
  25. z-index: 800;
  26. }
  27. #pma_navigation_content {
  28. width: 100%;
  29. height: 100%;
  30. position: absolute;
  31. top: 0;
  32. <?php echo $left; ?>: 0;
  33. z-index: 0;
  34. }
  35. #pma_navigation ul {
  36. margin: 0;
  37. }
  38. #pma_navigation form {
  39. margin: 0;
  40. padding: 0;
  41. display: inline;
  42. }
  43. #pma_navigation select#select_server,
  44. #pma_navigation select#lightm_db {
  45. width: 100%;
  46. }
  47. /******************************************************************************/
  48. /* specific elements */
  49. #pma_navigation div.pageselector {
  50. text-align: center;
  51. margin: 0;
  52. margin-<?php echo $left; ?>: 0.75em;
  53. border-<?php echo $left; ?>: 1px solid #666;
  54. }
  55. #pma_navigation div#pmalogo {
  56. <?php //better echo $GLOBALS['cfg']['logoBGC']; ?>
  57. }
  58. #pma_navigation #pmalogo,
  59. #pma_navigation #serverChoice,
  60. #pma_navigation #leftframelinks,
  61. #pma_navigation #recentTableList,
  62. #pma_navigation #databaseList,
  63. #pma_navigation div.pageselector.dbselector {
  64. text-align: center;
  65. padding: 5px 10px 0px;
  66. border: 0;
  67. }
  68. #pma_navigation #recentTableList select,
  69. #pma_navigation #serverChoice select
  70. {
  71. width: 80%;
  72. }
  73. #pma_navigation_content > img.throbber {
  74. display: none;
  75. margin: .3em auto 0;
  76. }
  77. /* Navigation tree*/
  78. #pma_navigation_tree {
  79. margin: 0;
  80. margin-<?php echo $left; ?>: 10px;
  81. color: #444;
  82. height: 74%;
  83. position: relative;
  84. }
  85. #pma_navigation_tree_content {
  86. width: 100%;
  87. overflow: hidden;
  88. overflow-y: auto;
  89. position: absolute;
  90. height: 100%;
  91. }
  92. #pma_navigation_tree a {
  93. color: <?php echo $GLOBALS['cfg']['NaviColor']; ?>;
  94. }
  95. #pma_navigation_tree a:hover {
  96. text-decoration: underline;
  97. }
  98. #pma_navigation_tree li.activePointer {
  99. color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
  100. background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
  101. }
  102. #pma_navigation_tree li.selected {
  103. color: <?php echo $GLOBALS['cfg']['NaviPointerColor']; ?>;
  104. background-color: <?php echo $GLOBALS['cfg']['NaviPointerBackground']; ?>;
  105. }
  106. #pma_navigation_tree ul {
  107. clear: both;
  108. padding: 0;
  109. list-style-type: none;
  110. margin: 0;
  111. }
  112. #pma_navigation_tree ul ul {
  113. position: relative;
  114. }
  115. #pma_navigation_tree li {
  116. white-space: nowrap;
  117. clear: both;
  118. min-height: 16px;
  119. }
  120. #pma_navigation_tree img {
  121. margin: 0;
  122. }
  123. #pma_navigation_tree div.block {
  124. position: relative;
  125. width: 1.5em;
  126. height: 1.5em;
  127. min-width: 16px;
  128. min-height: 16px;
  129. float: <?php echo $left; ?>;
  130. }
  131. #pma_navigation_tree div.block i,
  132. #pma_navigation_tree div.block b {
  133. width: 1.5em;
  134. height: 1.5em;
  135. min-width: 16px;
  136. min-height: 8px;
  137. position: absolute;
  138. bottom: 0.7em;
  139. <?php echo $left; ?>: 0.75em;
  140. z-index: 0;
  141. }
  142. #pma_navigation_tree div.block i { /* Top and right segments for the tree element connections */
  143. display: block;
  144. border-<?php echo $left; ?>: 1px solid #666;
  145. border-bottom: 1px solid #666;
  146. }
  147. #pma_navigation_tree div.block i.first { /* Removes top segment */
  148. border-<?php echo $left; ?>: 0;
  149. }
  150. #pma_navigation_tree div.block b { /* Bottom segment for the tree element connections */
  151. display: block;
  152. height: 0.75em;
  153. bottom: 0;
  154. <?php echo $left; ?>: 0.75em;
  155. border-<?php echo $left; ?>: 1px solid #666;
  156. }
  157. #pma_navigation_tree div.block a,
  158. #pma_navigation_tree div.block u {
  159. position: absolute;
  160. <?php echo $left; ?>: 50%;
  161. top: 50%;
  162. z-index: 10;
  163. }
  164. #pma_navigation_tree div.block img {
  165. position: relative;
  166. top: -0.6em;
  167. <?php echo $left; ?>: 0;
  168. margin-<?php echo $left; ?>: -7px;
  169. }
  170. #pma_navigation_tree div.throbber img {
  171. top: 2px;
  172. <?php echo $left; ?>: 2px;
  173. }
  174. #pma_navigation_tree li.last > ul {
  175. background: none;
  176. }
  177. #pma_navigation_tree li > a, #pma_navigation_tree li > i {
  178. line-height: 1.5em;
  179. height: 1.5em;
  180. padding-<?php echo $left; ?>: 0.3em;
  181. }
  182. #pma_navigation_tree .list_container {
  183. border-<?php echo $left; ?>: 1px solid #666;
  184. margin-<?php echo $left; ?>: 0.75em;
  185. padding-<?php echo $left; ?>: 0.75em;
  186. }
  187. #pma_navigation_tree .last > .list_container {
  188. border-<?php echo $left; ?>: 0 solid #666;
  189. }
  190. /* Fast filter */
  191. li.fast_filter {
  192. padding-<?php echo $left; ?>: 0.75em;
  193. margin-<?php echo $left; ?>: 0.75em;
  194. padding-<?php echo $right; ?>: 35px;
  195. border-<?php echo $left; ?>: 1px solid #666;
  196. }
  197. li.fast_filter input {
  198. padding-<?php echo $right; ?>: .4em;
  199. width: 100%;
  200. }
  201. li.fast_filter span {
  202. position: relative;
  203. <?php echo $right; ?>: 1.5em;
  204. padding: 0.2em;
  205. cursor: pointer;
  206. font-weight: bold;
  207. color: #800;
  208. }
  209. li.fast_filter.db_fast_filter {
  210. border: 0;
  211. }
  212. /* Resize handler */
  213. #pma_navigation_resizer {
  214. width: 3px;
  215. height: 100%;
  216. background-color: #aaa;
  217. cursor: col-resize;
  218. position: fixed;
  219. top: 0;
  220. <?php echo $left; ?>: 240px;
  221. z-index: 801;
  222. }
  223. #pma_navigation_collapser {
  224. width: 20px;
  225. height: 22px;
  226. line-height: 22px;
  227. background: #eee;
  228. color: #555;
  229. font-weight: bold;
  230. position: fixed;
  231. top: 0;
  232. <?php echo $left; ?>: <?php echo $GLOBALS['cfg']['NaviWidth']; ?>px;
  233. text-align: center;
  234. cursor: pointer;
  235. z-index: 800;
  236. text-shadow: 0px 1px 0px #fff;
  237. filter: dropshadow(color=#fff, offx=0, offy=1);
  238. border: 1px solid #888;
  239. }