menu.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. /*
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. */
  15. #menu-wrapper
  16. {
  17. position: fixed;
  18. top: 120px;
  19. width: 150px;
  20. }
  21. .scroll #menu-wrapper
  22. {
  23. position: absolute;
  24. top: 90px;
  25. }
  26. .has-environment #menu-wrapper
  27. {
  28. top: 160px;
  29. }
  30. #menu-wrapper a
  31. {
  32. display: block;
  33. padding: 4px 2px;
  34. overflow: hidden;
  35. text-overflow: ellipsis;
  36. }
  37. #core-selector,#collection-selector
  38. {
  39. margin-top: 20px;
  40. padding-right: 10px;
  41. }
  42. #core-selector a,
  43. #collection-selector a
  44. {
  45. padding: 0;
  46. padding-left: 8px;
  47. }
  48. #core-selector select,
  49. #collection-selector select
  50. {
  51. width: 100%;
  52. }
  53. #core-selector #has-no-cores a,
  54. #collection-selector #has-no-collections a
  55. {
  56. background-image: url( ../../img/ico/database--plus.png );
  57. }
  58. #core-selector #has-no-cores span,
  59. #collection-selector #has-no-collections span
  60. {
  61. color: #8D8D8D;
  62. display: block;
  63. }
  64. #menu-wrapper .active p
  65. {
  66. background-color: #fafafa;
  67. border-color: #c0c0c0;
  68. }
  69. #menu-wrapper p a,
  70. #menu a
  71. {
  72. background-position: 5px 50%;
  73. padding-left: 26px;
  74. padding-top: 5px;
  75. padding-bottom: 5px;
  76. }
  77. #menu-wrapper p a:hover
  78. {
  79. background-color: #f0f0f0;
  80. }
  81. #menu-wrapper .active p a
  82. {
  83. background-color: #c0c0c0;
  84. font-weight: bold;
  85. }
  86. #menu p.loader
  87. {
  88. background-position: 5px 50%;
  89. color: #c0c0c0;
  90. margin-top: 5px;
  91. padding-left: 26px;
  92. }
  93. #menu p a small
  94. {
  95. color: #b5b5b5;
  96. font-weight: normal;
  97. }
  98. #menu p a small span.txt
  99. {
  100. }
  101. #menu p a small:hover span.txt
  102. {
  103. display: inline;
  104. }
  105. #menu .busy
  106. {
  107. border-right-color: #f6f5d9;
  108. }
  109. #menu .busy p a
  110. {
  111. background-color: #f6f5d9;
  112. background-image: url( ../../img/ico/status-away.png );
  113. }
  114. #menu .offline
  115. {
  116. border-right-color: #eccfcf;
  117. }
  118. #menu .offline p a
  119. {
  120. background-color: #eccfcf;
  121. background-image: url( ../../img/ico/status-busy.png );
  122. }
  123. #menu .online
  124. {
  125. border-right-color: #cfecd3;
  126. }
  127. #menu .online p a
  128. {
  129. background-color: #cfecd3;
  130. background-image: url( ../../img/ico/status.png );
  131. }
  132. #menu .ping small
  133. {
  134. color: #000
  135. }
  136. #menu li
  137. {
  138. border-bottom: 1px solid #f0f0f0;
  139. }
  140. #menu li:last-child
  141. {
  142. border-bottom: 0;
  143. }
  144. #menu li.optional
  145. {
  146. }
  147. .sub-menu p
  148. {
  149. border-top: 1px solid #f0f0f0;
  150. }
  151. .sub-menu li:first-child p
  152. {
  153. border-top: 0;
  154. }
  155. .sub-menu p a
  156. {
  157. background-image: url( ../../img/ico/status-offline.png );
  158. }
  159. .sub-menu .active p a
  160. {
  161. background-image: url( ../../img/ico/box.png );
  162. }
  163. .sub-menu ul,
  164. #menu ul
  165. {
  166. padding-top: 5px;
  167. padding-bottom: 10px;
  168. }
  169. .sub-menu .active ul,
  170. #menu .active ul
  171. {
  172. display: block;
  173. }
  174. #menu ul li
  175. {
  176. border-bottom: 0;
  177. }
  178. #core-menu ul li a,
  179. #collection-menu ul li a,
  180. #menu ul li a
  181. {
  182. background-position: 7px 50%;
  183. border-bottom: 1px solid #f0f0f0;
  184. margin-left: 15px;
  185. padding-left: 26px;
  186. }
  187. .sub-menu ul li:last-child a,
  188. #menu ul li:last-child a
  189. {
  190. border-bottom: 0;
  191. }
  192. .sub-menu ul li a:hover,
  193. #menu ul li a:hover
  194. {
  195. background-color: #f0f0f0;
  196. color: #333;
  197. }
  198. .sub-menu ul li.active a,
  199. #menu ul li.active a
  200. {
  201. background-color: #d0d0d0;
  202. border-color: #d0d0d0;
  203. color: #FFF;
  204. }
  205. #menu #index.global p a { background-image: url( ../../img/ico/dashboard.png ); }
  206. #menu #login.global p a { background-image: url( ../../img/ico/users.png ); }
  207. #menu #logging.global p a { background-image: url( ../../img/ico/inbox-document-text.png ); }
  208. #menu #logging.global .level a { background-image: url( ../../img/ico/gear.png ); }
  209. #menu #java-properties.global p a { background-image: url( ../../img/ico/jar.png ); }
  210. #menu #threads.global p a { background-image: url( ../../img/ico/ui-accordion.png ); }
  211. #menu #collections.global p a { background-image: url( ../../img/ico/documents-stack.png ); }
  212. #menu #cores.global p a { background-image: url( ../../img/ico/databases.png ); }
  213. #menu #cluster-suggestions.global p a { background-image: url( ../../img/ico/idea.png ); }
  214. #menu #cloud.global p a { background-image: url( ../../img/ico/network-cloud.png ); }
  215. #menu #cloud.global .tree a { background-image: url( ../../img/ico/folder-tree.png ); }
  216. #menu #cloud.global .nodes a { background-image: url( ../../img/solr-ico.png ); }
  217. #menu #cloud.global .zkstatus a { background-image: url( ../../img/ico/node-master.png ); }
  218. #menu #cloud.global .graph a { background-image: url( ../../img/ico/molecule.png ); }
  219. #menu #cloud.global .rgraph a { background-image: url( ../../img/ico/asterisk.png ); }
  220. .sub-menu .ping.error a
  221. {
  222. background-color: #ffcccc;
  223. background-image: url( ../../img/ico/system-monitor--exclamation.png );
  224. border-color: #ffcccc;
  225. cursor: help;
  226. }
  227. .sub-menu .overview a { background-image: url( ../../img/ico/home.png ); }
  228. .sub-menu .query a { background-image: url( ../../img/ico/magnifier.png ); }
  229. .sub-menu .stream a { background-image: url( ../../img/ico/node.png ); }
  230. .sub-menu .analysis a { background-image: url( ../../img/ico/funnel.png ); }
  231. .sub-menu .documents a { background-image: url( ../../img/ico/documents-stack.png ); }
  232. .sub-menu .files a { background-image: url( ../../img/ico/folder.png ); }
  233. .sub-menu .schema a { background-image: url( ../../img/ico/book-open-text.png ); }
  234. .sub-menu .replication a { background-image: url( ../../img/ico/node.png ); }
  235. .sub-menu .distribution a { background-image: url( ../../img/ico/node-select.png ); }
  236. .sub-menu .ping a { background-image: url( ../../img/ico/system-monitor.png ); }
  237. .sub-menu .logging a { background-image: url( ../../img/ico/inbox-document-text.png ); }
  238. .sub-menu .plugins a { background-image: url( ../../img/ico/block.png ); }
  239. .sub-menu .dataimport a { background-image: url( ../../img/ico/document-import.png ); }
  240. .sub-menu .segments a { background-image: url( ../../img/ico/construction.png ); }
  241. #content #navigation
  242. {
  243. border-right: 1px solid #e0e0e0;
  244. }
  245. #content #navigation a
  246. {
  247. display: block;
  248. padding: 4px 2px;
  249. }
  250. #content #navigation .current
  251. {
  252. border-color: #e0e0e0;
  253. }
  254. #content #navigation a
  255. {
  256. background-position: 5px 50%;
  257. padding-left: 26px;
  258. padding-top: 5px;
  259. padding-bottom: 5px;
  260. overflow: hidden;
  261. text-overflow: ellipsis;
  262. white-space: nowrap;
  263. }
  264. #content #navigation a:hover
  265. {
  266. background-color: #f0f0f0;
  267. }
  268. #content #navigation .current a
  269. {
  270. background-color: #e0e0e0;
  271. font-weight: bold;
  272. }